0s autopkgtest [19:36:45]: starting date and time: 2025-10-18 19:36:45+0000 0s autopkgtest [19:36:45]: git checkout: 4b346b80 nova: make wait_reboot return success even when a no-op 0s autopkgtest [19:36:45]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.0wflxp55/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:python3-defaults --apt-upgrade glib2.0 --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=python3-defaults/3.13.7-2 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest-ppc64el --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@bos03-ppc64el-40.secgroup --name adt-resolute-ppc64el-glib2.0-20251018-193645-juju-7f2275-prod-proposed-migration-environment-2-4a736ee2-114d-4b35-bce9-243db4658526 --image adt/ubuntu-resolute-ppc64el-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --net-id=net_prod-proposed-migration-ppc64el -e TERM=linux --mirror=http://ftpmaster.internal/ubuntu/ 4s Creating nova instance adt-resolute-ppc64el-glib2.0-20251018-193645-juju-7f2275-prod-proposed-migration-environment-2-4a736ee2-114d-4b35-bce9-243db4658526 from image adt/ubuntu-resolute-ppc64el-server-20251018.img (UUID 746a0a80-14f1-4bf7-89b6-cbb5ab236a4e)... 60s autopkgtest [19:37:45]: testbed dpkg architecture: ppc64el 60s autopkgtest [19:37:45]: testbed apt version: 3.1.8ubuntu1 61s autopkgtest [19:37:46]: @@@@@@@@@@@@@@@@@@@@ test bed setup 61s autopkgtest [19:37:46]: testbed release detected to be: None 62s autopkgtest [19:37:47]: updating testbed package index (apt update) 62s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [83.3 kB] 62s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 62s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 63s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 63s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [16.7 kB] 63s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [5028 B] 63s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [456 kB] 63s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [50.7 kB] 63s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el Packages [92.0 kB] 63s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/restricted ppc64el Packages [940 B] 63s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/universe ppc64el Packages [317 kB] 63s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse ppc64el Packages [4660 B] 63s Fetched 1026 kB in 1s (944 kB/s) 64s Reading package lists... 65s Failed to check for VM: Permission denied 65s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 65s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 65s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 65s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 66s Reading package lists... 66s Reading package lists... 66s Building dependency tree... 66s Reading state information... 66s Calculating upgrade... 66s The following packages will be upgraded: 66s gir1.2-girepository-2.0 libgirepository-1.0-1 libpython3-stdlib python3 66s python3-minimal 67s 5 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 67s Need to get 185 kB of archives. 67s After this operation, 2048 B of additional disk space will be used. 67s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el python3-minimal ppc64el 3.13.7-2 [27.8 kB] 67s Get:2 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el python3 ppc64el 3.13.7-2 [23.9 kB] 67s Get:3 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el libpython3-stdlib ppc64el 3.13.7-2 [10.6 kB] 67s Get:4 http://ftpmaster.internal/ubuntu resolute/main ppc64el libgirepository-1.0-1 ppc64el 1.86.0-6 [97.4 kB] 67s Get:5 http://ftpmaster.internal/ubuntu resolute/main ppc64el gir1.2-girepository-2.0 ppc64el 1.86.0-6 [25.3 kB] 67s dpkg-preconfigure: unable to re-open stdin: No such file or directory 67s Fetched 185 kB in 0s (447 kB/s) 68s (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 ... 76461 files and directories currently installed.) 68s Preparing to unpack .../python3-minimal_3.13.7-2_ppc64el.deb ... 68s Unpacking python3-minimal (3.13.7-2) over (3.13.7-1) ... 68s Setting up python3-minimal (3.13.7-2) ... 68s (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 ... 76461 files and directories currently installed.) 68s Preparing to unpack .../python3_3.13.7-2_ppc64el.deb ... 68s running python pre-rtupdate hooks for python3.13... 68s Unpacking python3 (3.13.7-2) over (3.13.7-1) ... 68s Preparing to unpack .../libpython3-stdlib_3.13.7-2_ppc64el.deb ... 68s Unpacking libpython3-stdlib:ppc64el (3.13.7-2) over (3.13.7-1) ... 68s Preparing to unpack .../libgirepository-1.0-1_1.86.0-6_ppc64el.deb ... 68s Unpacking libgirepository-1.0-1:ppc64el (1.86.0-6) over (1.84.0-1) ... 68s Preparing to unpack .../gir1.2-girepository-2.0_1.86.0-6_ppc64el.deb ... 68s Unpacking gir1.2-girepository-2.0:ppc64el (1.86.0-6) over (1.84.0-1) ... 68s Setting up libgirepository-1.0-1:ppc64el (1.86.0-6) ... 68s Setting up libpython3-stdlib:ppc64el (3.13.7-2) ... 68s Setting up python3 (3.13.7-2) ... 68s running python rtupdate hooks for python3.13... 68s running python post-rtupdate hooks for python3.13... 69s Setting up gir1.2-girepository-2.0:ppc64el (1.86.0-6) ... 69s Processing triggers for man-db (2.13.1-1) ... 69s Processing triggers for libc-bin (2.42-0ubuntu3) ... 70s autopkgtest [19:37:55]: upgrading testbed (apt dist-upgrade and autopurge) 70s Reading package lists... 70s Building dependency tree... 70s Reading state information... 70s Calculating upgrade... 70s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 71s Reading package lists... 71s Building dependency tree... 71s Reading state information... 71s Solving dependencies... 71s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 74s autopkgtest [19:37:59]: testbed running kernel: Linux 6.17.0-5-generic #5-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 22 10:02:41 UTC 2025 74s autopkgtest [19:37:59]: @@@@@@@@@@@@@@@@@@@@ apt-source glib2.0 87s Get:1 http://ftpmaster.internal/ubuntu resolute/main glib2.0 2.86.0-2 (dsc) [4834 B] 87s Get:2 http://ftpmaster.internal/ubuntu resolute/main glib2.0 2.86.0-2 (tar) [661 kB] 87s Get:3 http://ftpmaster.internal/ubuntu resolute/main glib2.0 2.86.0-2 (tar) [5679 kB] 87s Get:4 http://ftpmaster.internal/ubuntu resolute/main glib2.0 2.86.0-2 (diff) [140 kB] 87s gpgv: Signature made Fri Sep 12 02:03:07 2025 UTC 87s gpgv: using RSA key 43B03E28326C54CFA2EC66A340F65066AD7C16DB 87s gpgv: Can't check signature: No public key 87s dpkg-source: warning: cannot verify inline signature for ./glib2.0_2.86.0-2.dsc: no acceptable signature found 88s autopkgtest [19:38:13]: testing package glib2.0 version 2.86.0-2 94s autopkgtest [19:38:19]: build not needed 103s autopkgtest [19:38:28]: test build: preparing testbed 103s Reading package lists... 104s Building dependency tree... 104s Reading state information... 104s Solving dependencies... 104s The following NEW packages will be installed: 104s build-essential cpp cpp-15 cpp-15-powerpc64le-linux-gnu 104s cpp-powerpc64le-linux-gnu g++ g++-15 g++-15-powerpc64le-linux-gnu 104s g++-powerpc64le-linux-gnu gcc gcc-15 gcc-15-powerpc64le-linux-gnu 104s gcc-powerpc64le-linux-gnu libasan8 libblkid-dev libcc1-0 libffi-dev 104s libgcc-15-dev libgio-2.0-dev libgomp1 libisl23 libitm1 liblsan0 libmount-dev 104s libmpc3 libpcre2-16-0 libpcre2-32-0 libpcre2-dev libpcre2-posix3 libpkgconf3 104s libquadmath0 libselinux1-dev libsepol-dev libstdc++-15-dev 104s libsysprof-capture-4-dev libtsan2 libubsan1 pkgconf pkgconf-bin uuid-dev 104s zlib1g-dev 104s 0 upgraded, 41 newly installed, 0 to remove and 0 not upgraded. 104s Need to get 67.4 MB of archives. 104s After this operation, 247 MB of additional disk space will be used. 104s Get:1 http://ftpmaster.internal/ubuntu resolute/main ppc64el libisl23 ppc64el 0.27-1 [882 kB] 105s Get:2 http://ftpmaster.internal/ubuntu resolute/main ppc64el libmpc3 ppc64el 1.3.1-1build3 [62.6 kB] 105s Get:3 http://ftpmaster.internal/ubuntu resolute/main ppc64el cpp-15-powerpc64le-linux-gnu ppc64el 15.2.0-5ubuntu1 [11.4 MB] 106s Get:4 http://ftpmaster.internal/ubuntu resolute/main ppc64el cpp-15 ppc64el 15.2.0-5ubuntu1 [1036 B] 106s Get:5 http://ftpmaster.internal/ubuntu resolute/main ppc64el cpp-powerpc64le-linux-gnu ppc64el 4:15.2.0-4ubuntu1 [5746 B] 106s Get:6 http://ftpmaster.internal/ubuntu resolute/main ppc64el cpp ppc64el 4:15.2.0-4ubuntu1 [22.4 kB] 106s Get:7 http://ftpmaster.internal/ubuntu resolute/main ppc64el libcc1-0 ppc64el 15.2.0-5ubuntu1 [49.0 kB] 106s Get:8 http://ftpmaster.internal/ubuntu resolute/main ppc64el libgomp1 ppc64el 15.2.0-5ubuntu1 [169 kB] 106s Get:9 http://ftpmaster.internal/ubuntu resolute/main ppc64el libitm1 ppc64el 15.2.0-5ubuntu1 [32.3 kB] 106s Get:10 http://ftpmaster.internal/ubuntu resolute/main ppc64el libasan8 ppc64el 15.2.0-5ubuntu1 [3006 kB] 106s Get:11 http://ftpmaster.internal/ubuntu resolute/main ppc64el liblsan0 ppc64el 15.2.0-5ubuntu1 [1374 kB] 107s Get:12 http://ftpmaster.internal/ubuntu resolute/main ppc64el libtsan2 ppc64el 15.2.0-5ubuntu1 [2729 kB] 107s Get:13 http://ftpmaster.internal/ubuntu resolute/main ppc64el libubsan1 ppc64el 15.2.0-5ubuntu1 [1231 kB] 107s Get:14 http://ftpmaster.internal/ubuntu resolute/main ppc64el libquadmath0 ppc64el 15.2.0-5ubuntu1 [160 kB] 107s Get:15 http://ftpmaster.internal/ubuntu resolute/main ppc64el libgcc-15-dev ppc64el 15.2.0-5ubuntu1 [1670 kB] 107s Get:16 http://ftpmaster.internal/ubuntu resolute/main ppc64el gcc-15-powerpc64le-linux-gnu ppc64el 15.2.0-5ubuntu1 [22.4 MB] 108s Get:17 http://ftpmaster.internal/ubuntu resolute/main ppc64el gcc-15 ppc64el 15.2.0-5ubuntu1 [523 kB] 108s Get:18 http://ftpmaster.internal/ubuntu resolute/main ppc64el gcc-powerpc64le-linux-gnu ppc64el 4:15.2.0-4ubuntu1 [1220 B] 108s Get:19 http://ftpmaster.internal/ubuntu resolute/main ppc64el gcc ppc64el 4:15.2.0-4ubuntu1 [5032 B] 108s Get:20 http://ftpmaster.internal/ubuntu resolute/main ppc64el libstdc++-15-dev ppc64el 15.2.0-5ubuntu1 [2744 kB] 109s Get:21 http://ftpmaster.internal/ubuntu resolute/main ppc64el g++-15-powerpc64le-linux-gnu ppc64el 15.2.0-5ubuntu1 [13.0 MB] 110s Get:22 http://ftpmaster.internal/ubuntu resolute/main ppc64el g++-15 ppc64el 15.2.0-5ubuntu1 [23.7 kB] 110s Get:23 http://ftpmaster.internal/ubuntu resolute/main ppc64el g++-powerpc64le-linux-gnu ppc64el 4:15.2.0-4ubuntu1 [970 B] 110s Get:24 http://ftpmaster.internal/ubuntu resolute/main ppc64el g++ ppc64el 4:15.2.0-4ubuntu1 [1092 B] 110s Get:25 http://ftpmaster.internal/ubuntu resolute/main ppc64el build-essential ppc64el 12.12ubuntu1 [5094 B] 110s Get:26 http://ftpmaster.internal/ubuntu resolute/main ppc64el libffi-dev ppc64el 3.5.2-1build1 [69.9 kB] 110s Get:27 http://ftpmaster.internal/ubuntu resolute/main ppc64el uuid-dev ppc64el 2.41-4ubuntu4 [58.6 kB] 110s Get:28 http://ftpmaster.internal/ubuntu resolute/main ppc64el libblkid-dev ppc64el 2.41-4ubuntu4 [292 kB] 110s Get:29 http://ftpmaster.internal/ubuntu resolute/main ppc64el libsepol-dev ppc64el 3.8.1-1 [505 kB] 110s Get:30 http://ftpmaster.internal/ubuntu resolute/main ppc64el libpcre2-16-0 ppc64el 10.46-1 [292 kB] 110s Get:31 http://ftpmaster.internal/ubuntu resolute/main ppc64el libpcre2-32-0 ppc64el 10.46-1 [275 kB] 110s Get:32 http://ftpmaster.internal/ubuntu resolute/main ppc64el libpcre2-posix3 ppc64el 10.46-1 [7334 B] 110s Get:33 http://ftpmaster.internal/ubuntu resolute/main ppc64el libpcre2-dev ppc64el 10.46-1 [937 kB] 110s Get:34 http://ftpmaster.internal/ubuntu resolute/main ppc64el libselinux1-dev ppc64el 3.8.1-1build1 [207 kB] 110s Get:35 http://ftpmaster.internal/ubuntu resolute/main ppc64el libmount-dev ppc64el 2.41-4ubuntu4 [36.3 kB] 110s Get:36 http://ftpmaster.internal/ubuntu resolute/main ppc64el libsysprof-capture-4-dev ppc64el 48.0-2 [62.2 kB] 110s Get:37 http://ftpmaster.internal/ubuntu resolute/main ppc64el libpkgconf3 ppc64el 1.8.1-4build1 [37.9 kB] 110s Get:38 http://ftpmaster.internal/ubuntu resolute/main ppc64el pkgconf-bin ppc64el 1.8.1-4build1 [22.7 kB] 110s Get:39 http://ftpmaster.internal/ubuntu resolute/main ppc64el pkgconf ppc64el 1.8.1-4build1 [16.8 kB] 110s Get:40 http://ftpmaster.internal/ubuntu resolute/main ppc64el zlib1g-dev ppc64el 1:1.3.dfsg+really1.3.1-1ubuntu2 [903 kB] 110s Get:41 http://ftpmaster.internal/ubuntu resolute/main ppc64el libgio-2.0-dev ppc64el 2.86.0-2 [2202 kB] 111s Fetched 67.4 MB in 6s (10.5 MB/s) 111s Selecting previously unselected package libisl23:ppc64el. 111s (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 ... 76461 files and directories currently installed.) 111s Preparing to unpack .../00-libisl23_0.27-1_ppc64el.deb ... 111s Unpacking libisl23:ppc64el (0.27-1) ... 111s Selecting previously unselected package libmpc3:ppc64el. 111s Preparing to unpack .../01-libmpc3_1.3.1-1build3_ppc64el.deb ... 111s Unpacking libmpc3:ppc64el (1.3.1-1build3) ... 111s Selecting previously unselected package cpp-15-powerpc64le-linux-gnu. 111s Preparing to unpack .../02-cpp-15-powerpc64le-linux-gnu_15.2.0-5ubuntu1_ppc64el.deb ... 111s Unpacking cpp-15-powerpc64le-linux-gnu (15.2.0-5ubuntu1) ... 111s Selecting previously unselected package cpp-15. 111s Preparing to unpack .../03-cpp-15_15.2.0-5ubuntu1_ppc64el.deb ... 111s Unpacking cpp-15 (15.2.0-5ubuntu1) ... 111s Selecting previously unselected package cpp-powerpc64le-linux-gnu. 111s Preparing to unpack .../04-cpp-powerpc64le-linux-gnu_4%3a15.2.0-4ubuntu1_ppc64el.deb ... 111s Unpacking cpp-powerpc64le-linux-gnu (4:15.2.0-4ubuntu1) ... 111s Selecting previously unselected package cpp. 111s Preparing to unpack .../05-cpp_4%3a15.2.0-4ubuntu1_ppc64el.deb ... 111s Unpacking cpp (4:15.2.0-4ubuntu1) ... 111s Selecting previously unselected package libcc1-0:ppc64el. 111s Preparing to unpack .../06-libcc1-0_15.2.0-5ubuntu1_ppc64el.deb ... 111s Unpacking libcc1-0:ppc64el (15.2.0-5ubuntu1) ... 111s Selecting previously unselected package libgomp1:ppc64el. 111s Preparing to unpack .../07-libgomp1_15.2.0-5ubuntu1_ppc64el.deb ... 111s Unpacking libgomp1:ppc64el (15.2.0-5ubuntu1) ... 111s Selecting previously unselected package libitm1:ppc64el. 111s Preparing to unpack .../08-libitm1_15.2.0-5ubuntu1_ppc64el.deb ... 111s Unpacking libitm1:ppc64el (15.2.0-5ubuntu1) ... 111s Selecting previously unselected package libasan8:ppc64el. 111s Preparing to unpack .../09-libasan8_15.2.0-5ubuntu1_ppc64el.deb ... 111s Unpacking libasan8:ppc64el (15.2.0-5ubuntu1) ... 111s Selecting previously unselected package liblsan0:ppc64el. 111s Preparing to unpack .../10-liblsan0_15.2.0-5ubuntu1_ppc64el.deb ... 111s Unpacking liblsan0:ppc64el (15.2.0-5ubuntu1) ... 111s Selecting previously unselected package libtsan2:ppc64el. 111s Preparing to unpack .../11-libtsan2_15.2.0-5ubuntu1_ppc64el.deb ... 111s Unpacking libtsan2:ppc64el (15.2.0-5ubuntu1) ... 111s Selecting previously unselected package libubsan1:ppc64el. 111s Preparing to unpack .../12-libubsan1_15.2.0-5ubuntu1_ppc64el.deb ... 111s Unpacking libubsan1:ppc64el (15.2.0-5ubuntu1) ... 111s Selecting previously unselected package libquadmath0:ppc64el. 111s Preparing to unpack .../13-libquadmath0_15.2.0-5ubuntu1_ppc64el.deb ... 111s Unpacking libquadmath0:ppc64el (15.2.0-5ubuntu1) ... 111s Selecting previously unselected package libgcc-15-dev:ppc64el. 111s Preparing to unpack .../14-libgcc-15-dev_15.2.0-5ubuntu1_ppc64el.deb ... 111s Unpacking libgcc-15-dev:ppc64el (15.2.0-5ubuntu1) ... 111s Selecting previously unselected package gcc-15-powerpc64le-linux-gnu. 111s Preparing to unpack .../15-gcc-15-powerpc64le-linux-gnu_15.2.0-5ubuntu1_ppc64el.deb ... 111s Unpacking gcc-15-powerpc64le-linux-gnu (15.2.0-5ubuntu1) ... 112s Selecting previously unselected package gcc-15. 112s Preparing to unpack .../16-gcc-15_15.2.0-5ubuntu1_ppc64el.deb ... 112s Unpacking gcc-15 (15.2.0-5ubuntu1) ... 112s Selecting previously unselected package gcc-powerpc64le-linux-gnu. 112s Preparing to unpack .../17-gcc-powerpc64le-linux-gnu_4%3a15.2.0-4ubuntu1_ppc64el.deb ... 112s Unpacking gcc-powerpc64le-linux-gnu (4:15.2.0-4ubuntu1) ... 112s Selecting previously unselected package gcc. 112s Preparing to unpack .../18-gcc_4%3a15.2.0-4ubuntu1_ppc64el.deb ... 112s Unpacking gcc (4:15.2.0-4ubuntu1) ... 112s Selecting previously unselected package libstdc++-15-dev:ppc64el. 112s Preparing to unpack .../19-libstdc++-15-dev_15.2.0-5ubuntu1_ppc64el.deb ... 112s Unpacking libstdc++-15-dev:ppc64el (15.2.0-5ubuntu1) ... 112s Selecting previously unselected package g++-15-powerpc64le-linux-gnu. 112s Preparing to unpack .../20-g++-15-powerpc64le-linux-gnu_15.2.0-5ubuntu1_ppc64el.deb ... 112s Unpacking g++-15-powerpc64le-linux-gnu (15.2.0-5ubuntu1) ... 112s Selecting previously unselected package g++-15. 112s Preparing to unpack .../21-g++-15_15.2.0-5ubuntu1_ppc64el.deb ... 112s Unpacking g++-15 (15.2.0-5ubuntu1) ... 112s Selecting previously unselected package g++-powerpc64le-linux-gnu. 112s Preparing to unpack .../22-g++-powerpc64le-linux-gnu_4%3a15.2.0-4ubuntu1_ppc64el.deb ... 112s Unpacking g++-powerpc64le-linux-gnu (4:15.2.0-4ubuntu1) ... 112s Selecting previously unselected package g++. 112s Preparing to unpack .../23-g++_4%3a15.2.0-4ubuntu1_ppc64el.deb ... 112s Unpacking g++ (4:15.2.0-4ubuntu1) ... 112s Selecting previously unselected package build-essential. 112s Preparing to unpack .../24-build-essential_12.12ubuntu1_ppc64el.deb ... 112s Unpacking build-essential (12.12ubuntu1) ... 112s Selecting previously unselected package libffi-dev:ppc64el. 112s Preparing to unpack .../25-libffi-dev_3.5.2-1build1_ppc64el.deb ... 112s Unpacking libffi-dev:ppc64el (3.5.2-1build1) ... 112s Selecting previously unselected package uuid-dev:ppc64el. 112s Preparing to unpack .../26-uuid-dev_2.41-4ubuntu4_ppc64el.deb ... 112s Unpacking uuid-dev:ppc64el (2.41-4ubuntu4) ... 112s Selecting previously unselected package libblkid-dev:ppc64el. 112s Preparing to unpack .../27-libblkid-dev_2.41-4ubuntu4_ppc64el.deb ... 112s Unpacking libblkid-dev:ppc64el (2.41-4ubuntu4) ... 112s Selecting previously unselected package libsepol-dev:ppc64el. 112s Preparing to unpack .../28-libsepol-dev_3.8.1-1_ppc64el.deb ... 112s Unpacking libsepol-dev:ppc64el (3.8.1-1) ... 112s Selecting previously unselected package libpcre2-16-0:ppc64el. 112s Preparing to unpack .../29-libpcre2-16-0_10.46-1_ppc64el.deb ... 112s Unpacking libpcre2-16-0:ppc64el (10.46-1) ... 112s Selecting previously unselected package libpcre2-32-0:ppc64el. 112s Preparing to unpack .../30-libpcre2-32-0_10.46-1_ppc64el.deb ... 112s Unpacking libpcre2-32-0:ppc64el (10.46-1) ... 112s Selecting previously unselected package libpcre2-posix3:ppc64el. 112s Preparing to unpack .../31-libpcre2-posix3_10.46-1_ppc64el.deb ... 112s Unpacking libpcre2-posix3:ppc64el (10.46-1) ... 112s Selecting previously unselected package libpcre2-dev:ppc64el. 112s Preparing to unpack .../32-libpcre2-dev_10.46-1_ppc64el.deb ... 112s Unpacking libpcre2-dev:ppc64el (10.46-1) ... 112s Selecting previously unselected package libselinux1-dev:ppc64el. 112s Preparing to unpack .../33-libselinux1-dev_3.8.1-1build1_ppc64el.deb ... 112s Unpacking libselinux1-dev:ppc64el (3.8.1-1build1) ... 112s Selecting previously unselected package libmount-dev:ppc64el. 112s Preparing to unpack .../34-libmount-dev_2.41-4ubuntu4_ppc64el.deb ... 112s Unpacking libmount-dev:ppc64el (2.41-4ubuntu4) ... 112s Selecting previously unselected package libsysprof-capture-4-dev:ppc64el. 112s Preparing to unpack .../35-libsysprof-capture-4-dev_48.0-2_ppc64el.deb ... 112s Unpacking libsysprof-capture-4-dev:ppc64el (48.0-2) ... 112s Selecting previously unselected package libpkgconf3:ppc64el. 112s Preparing to unpack .../36-libpkgconf3_1.8.1-4build1_ppc64el.deb ... 112s Unpacking libpkgconf3:ppc64el (1.8.1-4build1) ... 112s Selecting previously unselected package pkgconf-bin. 112s Preparing to unpack .../37-pkgconf-bin_1.8.1-4build1_ppc64el.deb ... 112s Unpacking pkgconf-bin (1.8.1-4build1) ... 112s Selecting previously unselected package pkgconf:ppc64el. 112s Preparing to unpack .../38-pkgconf_1.8.1-4build1_ppc64el.deb ... 112s Unpacking pkgconf:ppc64el (1.8.1-4build1) ... 113s Selecting previously unselected package zlib1g-dev:ppc64el. 113s Preparing to unpack .../39-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu2_ppc64el.deb ... 113s Unpacking zlib1g-dev:ppc64el (1:1.3.dfsg+really1.3.1-1ubuntu2) ... 113s Selecting previously unselected package libgio-2.0-dev:ppc64el. 113s Preparing to unpack .../40-libgio-2.0-dev_2.86.0-2_ppc64el.deb ... 113s Unpacking libgio-2.0-dev:ppc64el (2.86.0-2) ... 113s Setting up libgomp1:ppc64el (15.2.0-5ubuntu1) ... 113s Setting up libffi-dev:ppc64el (3.5.2-1build1) ... 113s Setting up libpcre2-16-0:ppc64el (10.46-1) ... 113s Setting up libsysprof-capture-4-dev:ppc64el (48.0-2) ... 113s Setting up libpcre2-32-0:ppc64el (10.46-1) ... 113s Setting up libpkgconf3:ppc64el (1.8.1-4build1) ... 113s Setting up uuid-dev:ppc64el (2.41-4ubuntu4) ... 113s Setting up libquadmath0:ppc64el (15.2.0-5ubuntu1) ... 113s Setting up libmpc3:ppc64el (1.3.1-1build3) ... 113s Setting up libsepol-dev:ppc64el (3.8.1-1) ... 113s Setting up pkgconf-bin (1.8.1-4build1) ... 113s Setting up libubsan1:ppc64el (15.2.0-5ubuntu1) ... 113s Setting up zlib1g-dev:ppc64el (1:1.3.dfsg+really1.3.1-1ubuntu2) ... 113s Setting up libpcre2-posix3:ppc64el (10.46-1) ... 113s Setting up libasan8:ppc64el (15.2.0-5ubuntu1) ... 113s Setting up libtsan2:ppc64el (15.2.0-5ubuntu1) ... 113s Setting up libisl23:ppc64el (0.27-1) ... 113s Setting up libcc1-0:ppc64el (15.2.0-5ubuntu1) ... 113s Setting up liblsan0:ppc64el (15.2.0-5ubuntu1) ... 113s Setting up libitm1:ppc64el (15.2.0-5ubuntu1) ... 113s Setting up libblkid-dev:ppc64el (2.41-4ubuntu4) ... 113s Setting up libgcc-15-dev:ppc64el (15.2.0-5ubuntu1) ... 113s Setting up libpcre2-dev:ppc64el (10.46-1) ... 113s Setting up libselinux1-dev:ppc64el (3.8.1-1build1) ... 113s Setting up pkgconf:ppc64el (1.8.1-4build1) ... 113s Setting up cpp-15-powerpc64le-linux-gnu (15.2.0-5ubuntu1) ... 113s Setting up libstdc++-15-dev:ppc64el (15.2.0-5ubuntu1) ... 113s Setting up cpp-15 (15.2.0-5ubuntu1) ... 113s Setting up libmount-dev:ppc64el (2.41-4ubuntu4) ... 113s Setting up cpp-powerpc64le-linux-gnu (4:15.2.0-4ubuntu1) ... 113s Setting up libgio-2.0-dev:ppc64el (2.86.0-2) ... 113s Setting up gcc-15-powerpc64le-linux-gnu (15.2.0-5ubuntu1) ... 113s Setting up gcc-15 (15.2.0-5ubuntu1) ... 113s Setting up gcc-powerpc64le-linux-gnu (4:15.2.0-4ubuntu1) ... 113s Setting up cpp (4:15.2.0-4ubuntu1) ... 113s Setting up g++-15-powerpc64le-linux-gnu (15.2.0-5ubuntu1) ... 113s Setting up gcc (4:15.2.0-4ubuntu1) ... 113s Setting up g++-15 (15.2.0-5ubuntu1) ... 113s Setting up g++-powerpc64le-linux-gnu (4:15.2.0-4ubuntu1) ... 113s Setting up g++ (4:15.2.0-4ubuntu1) ... 113s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 113s Setting up build-essential (12.12ubuntu1) ... 113s Processing triggers for libc-bin (2.42-0ubuntu3) ... 113s Processing triggers for man-db (2.13.1-1) ... 114s Processing triggers for libglib2.0-0t64:ppc64el (2.86.0-2) ... 114s No schema files found: doing nothing. 114s Processing triggers for install-info (7.1.1-1ubuntu1) ... 115s autopkgtest [19:38:40]: test build: [----------------------- 115s + mode=dynamic 115s + getopt -o --long static -n debian/tests/build -- 115s + getopt_temp= -- 115s + eval set -- -- 115s + set -- -- 115s + true 115s + shift 115s + break 115s + mktemp -d 115s + WORKDIR=/tmp/tmp.lKYIXkobdW 115s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 115s + cd /tmp/tmp.lKYIXkobdW 115s + [ -n ] 115s + CROSS_COMPILE= 115s + cat 115s + cat 115s + cat 115s + cat 115s + cat 115s + cat 115s + cflags= 115s + pcflags= 115s + packages=glib-2.0 115s + pkg-config --cflags --libs glib-2.0 115s + 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 116s build (glib, dynamic): OK 116s run (glib, dynamic): OK 116s + echo build (glib, dynamic): OK 116s + [ -x glib-dynamic ] 116s + foo=bar ./glib-dynamic 116s + echo run (glib, dynamic): OK 116s + cflags= 116s + pcflags= 116s + packages=gobject-2.0 116s + pkg-config --cflags --libs gobject-2.0 116s + 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 116s build (gobject, dynamic): OK 116s + echo build (gobject, dynamic): OK 116s + [ -x gobject-dynamic ] 116s + foo=bar ./gobject-dynamic 116s + echo run (gobject, dynamic): OK 116s + cflags= 116s + pcflags= 116s + packages=gio-2.0 116s + pkg-config --cflags --libs gio-2.0 116s + 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 116s run (gobject, dynamic): OK 116s build (gio, dynamic): OK 116s run (gio, dynamic): OK 116s + echo build (gio, dynamic): OK 116s + [ -x gio-dynamic ] 116s + foo=bar ./gio-dynamic 116s + echo run (gio, dynamic): OK 116s + cflags= 116s + pcflags= 116s + packages=gio-unix-2.0 116s + pkg-config --cflags --libs gio-unix-2.0 116s + 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 116s build (gio-unix, dynamic): OK 116s + echo build (gio-unix, dynamic): OK 116s + [ -x gio-unix-dynamic ] 116s + foo=bar ./gio-unix-dynamic 116s + echo run (gio-unix, dynamic): OK 116s + cflags= 116s + pcflags= 116s + packages=gmodule-2.0 116s + pkg-config --cflags --libs gmodule-2.0 116s + 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 116s run (gio-unix, dynamic): OK 116s build (gmodule, dynamic): OK 116s run (gmodule, dynamic): OK 116s + echo build (gmodule, dynamic): OK 116s + [ -x gmodule-dynamic ] 116s + foo=bar ./gmodule-dynamic 116s + echo run (gmodule, dynamic): OK 116s + cflags= 116s + pcflags= 116s + packages=gthread-2.0 116s + pkg-config --cflags --libs gthread-2.0 116s + 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 116s build (gthread, dynamic): OK 116s run (gthread, dynamic): OK 116s + echo build (gthread, dynamic): OK 116s + [ -x gthread-dynamic ] 116s + foo=bar ./gthread-dynamic 116s + echo run (gthread, dynamic): OK 116s + rm -rf /tmp/tmp.lKYIXkobdW 117s autopkgtest [19:38:42]: test build: -----------------------] 117s autopkgtest [19:38:42]: test build: - - - - - - - - - - results - - - - - - - - - - 117s build PASS (superficial) 118s autopkgtest [19:38:43]: test build-static: preparing testbed 118s Reading package lists... 118s Building dependency tree... 118s Reading state information... 118s Solving dependencies... 118s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 119s autopkgtest [19:38:44]: test build-static: [----------------------- 120s + mode=dynamic 120s + getopt -o --long static -n debian/tests/build -- --static 120s + getopt_temp= --static -- 120s + eval set -- --static -- 120s + set -- --static -- 120s + true 120s + mode=static 120s + shift 120s + continue 120s + true 120s + shift 120s + break 120s + mktemp -d 120s + WORKDIR=/tmp/tmp.ktAt9oXQEf 120s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 120s + cd /tmp/tmp.ktAt9oXQEf 120s + [ -n ] 120s + CROSS_COMPILE= 120s + cat 120s + cat 120s + cat 120s + cat 120s + cat 120s + cat 120s + cflags= 120s + pcflags= 120s + packages=glib-2.0 120s + cflags=-static 120s + pcflags=--static 120s + pkg-config --static --cflags --libs glib-2.0 120s + 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 120s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/15/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 120s (.text+0x154): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 120s /usr/bin/ld: (.text+0x438): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 120s /usr/bin/ld: (.text+0x1a4): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 120s build (glib, static): OK 120s + echo build (glib, static): OK 120s + [ -x glib-static ] 120s + foo=bar ./glib-static 120s + echo run (glib, static): OK 120s + cflags= 120s + pcflags= 120s + packages=gobject-2.0 120s + cflags=-static 120s + pcflags=--static 120s run (glib, static): OK 120s + pkg-config --static --cflags --libs gobject-2.0 120s + 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 120s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/15/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 120s (.text+0x154): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 120s /usr/bin/ld: (.text+0x438): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 120s /usr/bin/ld: (.text+0x1a4): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 120s build (gobject, static): OK 120s + echo build (gobject, static): OK 120s + [ -x gobject-static ] 120s + foo=bar ./gobject-static 120s run (gobject, static): OK 120s + echo run (gobject, static): OK 120s + cflags= 120s + pcflags= 120s + packages=gio-2.0 120s + cflags=-static 120s + pcflags=--static 120s + continue 120s + cflags= 120s + pcflags= 120s + packages=gio-unix-2.0 120s + cflags=-static 120s + pcflags=--static 120s + continue 120s + cflags= 120s + pcflags= 120s + packages=gmodule-2.0 120s + cflags=-static 120s + pcflags=--static 120s + pkg-config --static --cflags --libs gmodule-2.0 120s + 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 120s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/15/../../../powerpc64le-linux-gnu/libgmodule-2.0.a(gmodule.c.o): in function `g_module_open_full': 120s (.text+0x944): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 120s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/15/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 120s (.text+0x154): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 120s /usr/bin/ld: (.text+0x438): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 120s /usr/bin/ld: (.text+0x1a4): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 120s build (gmodule, static): OK 120s + echo build (gmodule, static): OK 120s + [ -x gmodule-static ] 120s + foo=bar ./gmodule-static 120s run (gmodule, static): OK 120s + echo run (gmodule, static): OK 120s + cflags= 120s + pcflags= 120s + packages=gthread-2.0 120s + cflags=-static 120s + pcflags=--static 120s + pkg-config --static --cflags --libs gthread-2.0 120s + 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 120s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/15/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 120s (.text+0x154): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 120s /usr/bin/ld: (.text+0x438): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 120s /usr/bin/ld: (.text+0x1a4): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 120s build (gthread, static): OK 120s run (gthread, static): OK 120s + echo build (gthread, static): OK 120s + [ -x gthread-static ] 120s + foo=bar ./gthread-static 120s + echo run (gthread, static): OK 120s + rm -rf /tmp/tmp.ktAt9oXQEf 121s autopkgtest [19:38:46]: test build-static: -----------------------] 121s build-static PASS (superficial) 121s autopkgtest [19:38:46]: test build-static: - - - - - - - - - - results - - - - - - - - - - 122s autopkgtest [19:38:47]: test girepository-tools: preparing testbed 144s Creating nova instance adt-resolute-ppc64el-glib2.0-20251018-193645-juju-7f2275-prod-proposed-migration-environment-2-4a736ee2-114d-4b35-bce9-243db4658526 from image adt/ubuntu-resolute-ppc64el-server-20251018.img (UUID 746a0a80-14f1-4bf7-89b6-cbb5ab236a4e)... 204s autopkgtest [19:40:09]: testbed dpkg architecture: ppc64el 204s autopkgtest [19:40:09]: testbed apt version: 3.1.8ubuntu1 205s autopkgtest [19:40:10]: @@@@@@@@@@@@@@@@@@@@ test bed setup 205s autopkgtest [19:40:10]: testbed release detected to be: resolute 206s autopkgtest [19:40:11]: updating testbed package index (apt update) 206s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [83.3 kB] 206s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 206s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 207s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 207s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [50.7 kB] 207s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [16.7 kB] 207s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [456 kB] 207s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [5028 B] 207s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el Packages [92.0 kB] 207s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/restricted ppc64el Packages [940 B] 207s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/universe ppc64el Packages [317 kB] 207s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse ppc64el Packages [4660 B] 207s Fetched 1026 kB in 1s (935 kB/s) 208s Reading package lists... 209s Failed to check for VM: Permission denied 209s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 209s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 209s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 209s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 210s Reading package lists... 210s Reading package lists... 210s Building dependency tree... 210s Reading state information... 210s Calculating upgrade... 210s The following packages will be upgraded: 210s gir1.2-girepository-2.0 libgirepository-1.0-1 libpython3-stdlib python3 210s python3-minimal 210s 5 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 210s Need to get 185 kB of archives. 210s After this operation, 2048 B of additional disk space will be used. 210s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el python3-minimal ppc64el 3.13.7-2 [27.8 kB] 210s Get:2 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el python3 ppc64el 3.13.7-2 [23.9 kB] 210s Get:3 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el libpython3-stdlib ppc64el 3.13.7-2 [10.6 kB] 210s Get:4 http://ftpmaster.internal/ubuntu resolute/main ppc64el libgirepository-1.0-1 ppc64el 1.86.0-6 [97.4 kB] 211s Get:5 http://ftpmaster.internal/ubuntu resolute/main ppc64el gir1.2-girepository-2.0 ppc64el 1.86.0-6 [25.3 kB] 211s dpkg-preconfigure: unable to re-open stdin: No such file or directory 211s Fetched 185 kB in 0s (436 kB/s) 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 ... 76461 files and directories currently installed.) 211s Preparing to unpack .../python3-minimal_3.13.7-2_ppc64el.deb ... 211s Unpacking python3-minimal (3.13.7-2) over (3.13.7-1) ... 211s Setting up python3-minimal (3.13.7-2) ... 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 ... 76461 files and directories currently installed.) 211s Preparing to unpack .../python3_3.13.7-2_ppc64el.deb ... 212s running python pre-rtupdate hooks for python3.13... 212s Unpacking python3 (3.13.7-2) over (3.13.7-1) ... 212s Preparing to unpack .../libpython3-stdlib_3.13.7-2_ppc64el.deb ... 212s Unpacking libpython3-stdlib:ppc64el (3.13.7-2) over (3.13.7-1) ... 212s Preparing to unpack .../libgirepository-1.0-1_1.86.0-6_ppc64el.deb ... 212s Unpacking libgirepository-1.0-1:ppc64el (1.86.0-6) over (1.84.0-1) ... 212s Preparing to unpack .../gir1.2-girepository-2.0_1.86.0-6_ppc64el.deb ... 212s Unpacking gir1.2-girepository-2.0:ppc64el (1.86.0-6) over (1.84.0-1) ... 212s Setting up libgirepository-1.0-1:ppc64el (1.86.0-6) ... 212s Setting up libpython3-stdlib:ppc64el (3.13.7-2) ... 212s Setting up python3 (3.13.7-2) ... 212s running python rtupdate hooks for python3.13... 212s running python post-rtupdate hooks for python3.13... 212s Setting up gir1.2-girepository-2.0:ppc64el (1.86.0-6) ... 212s Processing triggers for man-db (2.13.1-1) ... 213s Processing triggers for libc-bin (2.42-0ubuntu3) ... 213s autopkgtest [19:40:18]: upgrading testbed (apt dist-upgrade and autopurge) 213s Reading package lists... 213s Building dependency tree... 213s Reading state information... 213s Calculating upgrade... 213s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 214s Reading package lists... 214s Building dependency tree... 214s Reading state information... 214s Solving dependencies... 214s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 217s Reading package lists... 217s Building dependency tree... 217s Reading state information... 217s Solving dependencies... 217s The following NEW packages will be installed: 217s gir1.2-glib-2.0-dev girepository-tools libgirepository-2.0-0 217s native-architecture 217s 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. 217s Need to get 1088 kB of archives. 217s After this operation, 12.9 MB of additional disk space will be used. 217s Get:1 http://ftpmaster.internal/ubuntu resolute/main ppc64el gir1.2-glib-2.0-dev ppc64el 2.86.0-2 [865 kB] 218s Get:2 http://ftpmaster.internal/ubuntu resolute/main ppc64el native-architecture all 0.2.6 [2140 B] 218s Get:3 http://ftpmaster.internal/ubuntu resolute/main ppc64el libgirepository-2.0-0 ppc64el 2.86.0-2 [86.0 kB] 218s Get:4 http://ftpmaster.internal/ubuntu resolute/main ppc64el girepository-tools ppc64el 2.86.0-2 [135 kB] 218s Fetched 1088 kB in 1s (1518 kB/s) 218s Selecting previously unselected package gir1.2-glib-2.0-dev:ppc64el. 218s (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 ... 76461 files and directories currently installed.) 218s Preparing to unpack .../gir1.2-glib-2.0-dev_2.86.0-2_ppc64el.deb ... 218s Unpacking gir1.2-glib-2.0-dev:ppc64el (2.86.0-2) ... 218s Selecting previously unselected package native-architecture. 218s Preparing to unpack .../native-architecture_0.2.6_all.deb ... 218s Unpacking native-architecture (0.2.6) ... 218s Selecting previously unselected package libgirepository-2.0-0:ppc64el. 218s Preparing to unpack .../libgirepository-2.0-0_2.86.0-2_ppc64el.deb ... 218s Unpacking libgirepository-2.0-0:ppc64el (2.86.0-2) ... 218s Selecting previously unselected package girepository-tools:ppc64el. 218s Preparing to unpack .../girepository-tools_2.86.0-2_ppc64el.deb ... 218s Unpacking girepository-tools:ppc64el (2.86.0-2) ... 218s Setting up native-architecture (0.2.6) ... 218s Setting up libgirepository-2.0-0:ppc64el (2.86.0-2) ... 218s Setting up gir1.2-glib-2.0-dev:ppc64el (2.86.0-2) ... 218s Setting up girepository-tools:ppc64el (2.86.0-2) ... 218s Processing triggers for man-db (2.13.1-1) ... 219s Processing triggers for libc-bin (2.42-0ubuntu3) ... 233s autopkgtest [19:40:38]: test girepository-tools: [----------------------- 233s + cd /tmp/autopkgtest.GrinVw/autopkgtest_tmp 233s + dpkg-architecture -qDEB_HOST_GNU_TYPE 233s dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation) 233s + DEB_HOST_GNU_TYPE=powerpc64le-linux-gnu 233s + dpkg-architecture -qDEB_HOST_MULTIARCH 233s dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation) 233s + DEB_HOST_MULTIARCH=powerpc64le-linux-gnu 233s + powerpc64le-linux-gnu-gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 233s + powerpc64le-linux-gnu-gi-compile-repository -o GLib.typelib /usr/lib/powerpc64le-linux-gnu/gir-1.0/GLib-2.0.gir 233s typelib: GLib-2.0 234s + powerpc64le-linux-gnu-gi-decompile-typelib -o GLib.gir GLib.typelib 234s autopkgtest [19:40:39]: test girepository-tools: -----------------------] 234s girepository-tools PASS (superficial) 234s autopkgtest [19:40:39]: test girepository-tools: - - - - - - - - - - results - - - - - - - - - - 235s autopkgtest [19:40:40]: test libgio-2.0-dev-bin: preparing testbed 244s Creating nova instance adt-resolute-ppc64el-glib2.0-20251018-193645-juju-7f2275-prod-proposed-migration-environment-2-4a736ee2-114d-4b35-bce9-243db4658526 from image adt/ubuntu-resolute-ppc64el-server-20251018.img (UUID 746a0a80-14f1-4bf7-89b6-cbb5ab236a4e)... 297s autopkgtest [19:41:42]: testbed dpkg architecture: ppc64el 297s autopkgtest [19:41:42]: testbed apt version: 3.1.8ubuntu1 297s autopkgtest [19:41:42]: @@@@@@@@@@@@@@@@@@@@ test bed setup 298s autopkgtest [19:41:43]: testbed release detected to be: resolute 298s autopkgtest [19:41:43]: updating testbed package index (apt update) 299s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [83.3 kB] 299s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 299s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 299s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 299s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [16.7 kB] 299s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [456 kB] 299s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [50.7 kB] 299s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [5028 B] 299s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el Packages [92.0 kB] 299s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/restricted ppc64el Packages [940 B] 299s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/universe ppc64el Packages [317 kB] 300s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse ppc64el Packages [4660 B] 300s Fetched 1026 kB in 1s (995 kB/s) 300s Reading package lists... 301s Failed to check for VM: Permission denied 301s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 301s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 301s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 301s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 302s Reading package lists... 302s Reading package lists... 303s Building dependency tree... 303s Reading state information... 303s Calculating upgrade... 303s The following packages will be upgraded: 303s gir1.2-girepository-2.0 libgirepository-1.0-1 libpython3-stdlib python3 303s python3-minimal 303s 5 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 303s Need to get 185 kB of archives. 303s After this operation, 2048 B of additional disk space will be used. 303s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el python3-minimal ppc64el 3.13.7-2 [27.8 kB] 303s Get:2 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el python3 ppc64el 3.13.7-2 [23.9 kB] 303s Get:3 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el libpython3-stdlib ppc64el 3.13.7-2 [10.6 kB] 303s Get:4 http://ftpmaster.internal/ubuntu resolute/main ppc64el libgirepository-1.0-1 ppc64el 1.86.0-6 [97.4 kB] 303s Get:5 http://ftpmaster.internal/ubuntu resolute/main ppc64el gir1.2-girepository-2.0 ppc64el 1.86.0-6 [25.3 kB] 304s dpkg-preconfigure: unable to re-open stdin: No such file or directory 304s Fetched 185 kB in 0s (381 kB/s) 304s (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 ... 76461 files and directories currently installed.) 304s Preparing to unpack .../python3-minimal_3.13.7-2_ppc64el.deb ... 304s Unpacking python3-minimal (3.13.7-2) over (3.13.7-1) ... 304s Setting up python3-minimal (3.13.7-2) ... 304s (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 ... 76461 files and directories currently installed.) 304s Preparing to unpack .../python3_3.13.7-2_ppc64el.deb ... 304s running python pre-rtupdate hooks for python3.13... 304s Unpacking python3 (3.13.7-2) over (3.13.7-1) ... 304s Preparing to unpack .../libpython3-stdlib_3.13.7-2_ppc64el.deb ... 304s Unpacking libpython3-stdlib:ppc64el (3.13.7-2) over (3.13.7-1) ... 304s Preparing to unpack .../libgirepository-1.0-1_1.86.0-6_ppc64el.deb ... 304s Unpacking libgirepository-1.0-1:ppc64el (1.86.0-6) over (1.84.0-1) ... 304s Preparing to unpack .../gir1.2-girepository-2.0_1.86.0-6_ppc64el.deb ... 304s Unpacking gir1.2-girepository-2.0:ppc64el (1.86.0-6) over (1.84.0-1) ... 304s Setting up libgirepository-1.0-1:ppc64el (1.86.0-6) ... 304s Setting up libpython3-stdlib:ppc64el (3.13.7-2) ... 304s Setting up python3 (3.13.7-2) ... 304s running python rtupdate hooks for python3.13... 304s running python post-rtupdate hooks for python3.13... 304s Setting up gir1.2-girepository-2.0:ppc64el (1.86.0-6) ... 304s Processing triggers for man-db (2.13.1-1) ... 305s Processing triggers for libc-bin (2.42-0ubuntu3) ... 305s autopkgtest [19:41:50]: upgrading testbed (apt dist-upgrade and autopurge) 305s Reading package lists... 305s Building dependency tree... 305s Reading state information... 306s Calculating upgrade... 306s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 306s Reading package lists... 306s Building dependency tree... 306s Reading state information... 306s Solving dependencies... 306s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 309s Reading package lists... 310s Building dependency tree... 310s Reading state information... 310s Solving dependencies... 310s The following NEW packages will be installed: 310s libgio-2.0-dev-bin python3-packaging 310s 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. 310s Need to get 184 kB of archives. 310s After this operation, 1077 kB of additional disk space will be used. 310s Get:1 http://ftpmaster.internal/ubuntu resolute/main ppc64el python3-packaging all 25.0-1 [52.8 kB] 310s Get:2 http://ftpmaster.internal/ubuntu resolute/main ppc64el libgio-2.0-dev-bin ppc64el 2.86.0-2 [131 kB] 310s Fetched 184 kB in 0s (435 kB/s) 310s Selecting previously unselected package python3-packaging. 310s (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 ... 76461 files and directories currently installed.) 311s Preparing to unpack .../python3-packaging_25.0-1_all.deb ... 311s Unpacking python3-packaging (25.0-1) ... 311s Selecting previously unselected package libgio-2.0-dev-bin. 311s Preparing to unpack .../libgio-2.0-dev-bin_2.86.0-2_ppc64el.deb ... 311s Unpacking libgio-2.0-dev-bin (2.86.0-2) ... 311s Setting up python3-packaging (25.0-1) ... 311s Setting up libgio-2.0-dev-bin (2.86.0-2) ... 311s Processing triggers for man-db (2.13.1-1) ... 316s autopkgtest [19:42:01]: test libgio-2.0-dev-bin: [----------------------- 316s + gdbus-codegen --help 316s usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 316s [--c-namespace NAMESPACE] [--c-generate-object-manager] 316s [--c-generate-autocleanup {none,objects,all}] 316s [--generate-docbook OUTFILES] [--generate-md OUTFILES] 316s [--generate-rst OUTFILES] [--pragma-once] 316s [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 316s [--glib-min-required VERSION] 316s [--glib-max-allowed VERSION] 316s [--symbol-decorator SYMBOL_DECORATOR] 316s [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 316s [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 316s [--generate-c-code OUTFILES | --header | --body | 316s --interface-info-header | --interface-info-body] 316s [--output FILE | --output-directory OUTDIR] 316s FILE [FILE ...] 316s 316s D-Bus code and documentation generator 316s 316s positional arguments: 316s FILE D-Bus introspection XML file 316s 316s options: 316s -h, --help show this help message and exit 316s --interface-prefix PREFIX 316s String to strip from D-Bus interface names for code 316s and docs 316s --c-namespace NAMESPACE 316s The namespace to use for generated C code 316s --c-generate-object-manager 316s Generate a GDBusObjectManagerClient subclass when 316s generating C code 316s --c-generate-autocleanup {none,objects,all} 316s Generate autocleanup support 316s --generate-docbook OUTFILES 316s Generate Docbook in OUTFILES-org.Project.IFace.xml 316s --generate-md OUTFILES 316s Generate Markdown in OUTFILES-org.Project.IFace.md 316s --generate-rst OUTFILES 316s Generate reStructuredText in OUTFILES- 316s org.Project.IFace.rst 316s --pragma-once Use "pragma once" as the inclusion guard 316s --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 316s Add annotation (may be used several times) 316s --glib-min-required VERSION 316s Minimum version of GLib to be supported by the 316s outputted code (default: 2.30) 316s --glib-max-allowed VERSION 316s Maximum version of GLib to be used by the outputted 316s code (default: current GLib version) 316s --symbol-decorator SYMBOL_DECORATOR 316s Macro used to decorate a symbol in the outputted 316s header, possibly to export symbols 316s --symbol-decorator-header SYMBOL_DECORATOR_HEADER 316s Additional header required for decorator specified by 316s --symbol-decorator 316s --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 316s Additional define required for decorator specified by 316s --symbol-decorator 316s --generate-c-code OUTFILES 316s Generate C code in OUTFILES.[ch] 316s --header Generate C headers 316s --body Generate C code 316s --interface-info-header 316s Generate GDBusInterfaceInfo C header 316s --interface-info-body 316s Generate GDBusInterfaceInfo C code 316s --output FILE Write output into the specified file 316s --output-directory OUTDIR 316s Location to output generated files 316s + glib-compile-resources --version 316s + glib-genmarshal --version 316s 2.86.0 316s glib-genmarshal version 2.86.0 316s glib-genmarshal comes with ABSOLUTELY NO WARRANTY. 316s You may redistribute copies of glib-genmarshal under the terms of 316s the GNU General Public License which can be found in the 316s GLib source package. Sources, examples and contact 316s information are available at http://www.gtk.org 316s + glib-gettextize --version 316s + glib-mkenums --version 316s /usr/bin/glib-gettextize (GNU glib) 2.86.0 316s Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc. 316s This is free software; see the source for copying conditions. There is NO 316s warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 316s Written by Ulrich Drepper 316s glib-mkenums version 2.86.0 316s glib-mkenums comes with ABSOLUTELY NO WARRANTY. 316s You may redistribute copies of glib-mkenums under the terms of 316s the GNU General Public License which can be found in the 316s GLib source package. Sources, examples and contact 316s information are available at http://www.gtk.org 316s + gobject-query tree 316s + gtester --version 316s + gtester-report --version 316s GObject 316s gtester version 2.86.0 316s gtester-report (GLib utils) version 2.86.0. 317s autopkgtest [19:42:02]: test libgio-2.0-dev-bin: -----------------------] 317s autopkgtest [19:42:02]: test libgio-2.0-dev-bin: - - - - - - - - - - results - - - - - - - - - - 317s libgio-2.0-dev-bin PASS (superficial) 318s autopkgtest [19:42:03]: test libglib2.0-dev: preparing testbed 340s Creating nova instance adt-resolute-ppc64el-glib2.0-20251018-193645-juju-7f2275-prod-proposed-migration-environment-2-4a736ee2-114d-4b35-bce9-243db4658526 from image adt/ubuntu-resolute-ppc64el-server-20251018.img (UUID 746a0a80-14f1-4bf7-89b6-cbb5ab236a4e)... 388s autopkgtest [19:43:13]: testbed dpkg architecture: ppc64el 388s autopkgtest [19:43:13]: testbed apt version: 3.1.8ubuntu1 388s autopkgtest [19:43:13]: @@@@@@@@@@@@@@@@@@@@ test bed setup 389s autopkgtest [19:43:14]: testbed release detected to be: resolute 389s autopkgtest [19:43:14]: updating testbed package index (apt update) 390s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [83.3 kB] 390s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 390s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 390s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 390s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [456 kB] 391s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [50.7 kB] 391s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [5028 B] 391s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [16.7 kB] 391s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el Packages [92.0 kB] 391s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/restricted ppc64el Packages [940 B] 391s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/universe ppc64el Packages [317 kB] 391s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse ppc64el Packages [4660 B] 391s Fetched 1026 kB in 1s (906 kB/s) 392s Reading package lists... 392s Failed to check for VM: Permission denied 392s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 393s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 393s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 393s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 394s Reading package lists... 394s Reading package lists... 394s Building dependency tree... 394s Reading state information... 394s Calculating upgrade... 394s The following packages will be upgraded: 394s gir1.2-girepository-2.0 libgirepository-1.0-1 libpython3-stdlib python3 394s python3-minimal 394s 5 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 394s Need to get 185 kB of archives. 394s After this operation, 2048 B of additional disk space will be used. 394s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el python3-minimal ppc64el 3.13.7-2 [27.8 kB] 394s Get:2 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el python3 ppc64el 3.13.7-2 [23.9 kB] 394s Get:3 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el libpython3-stdlib ppc64el 3.13.7-2 [10.6 kB] 394s Get:4 http://ftpmaster.internal/ubuntu resolute/main ppc64el libgirepository-1.0-1 ppc64el 1.86.0-6 [97.4 kB] 394s Get:5 http://ftpmaster.internal/ubuntu resolute/main ppc64el gir1.2-girepository-2.0 ppc64el 1.86.0-6 [25.3 kB] 395s Fetched 185 kB in 0s (420 kB/s) 395s dpkg-preconfigure: unable to re-open stdin: No such file or directory 395s (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 ... 76461 files and directories currently installed.) 395s Preparing to unpack .../python3-minimal_3.13.7-2_ppc64el.deb ... 395s Unpacking python3-minimal (3.13.7-2) over (3.13.7-1) ... 395s Setting up python3-minimal (3.13.7-2) ... 395s (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 ... 76461 files and directories currently installed.) 395s Preparing to unpack .../python3_3.13.7-2_ppc64el.deb ... 395s running python pre-rtupdate hooks for python3.13... 395s Unpacking python3 (3.13.7-2) over (3.13.7-1) ... 395s Preparing to unpack .../libpython3-stdlib_3.13.7-2_ppc64el.deb ... 395s Unpacking libpython3-stdlib:ppc64el (3.13.7-2) over (3.13.7-1) ... 395s Preparing to unpack .../libgirepository-1.0-1_1.86.0-6_ppc64el.deb ... 395s Unpacking libgirepository-1.0-1:ppc64el (1.86.0-6) over (1.84.0-1) ... 395s Preparing to unpack .../gir1.2-girepository-2.0_1.86.0-6_ppc64el.deb ... 395s Unpacking gir1.2-girepository-2.0:ppc64el (1.86.0-6) over (1.84.0-1) ... 395s Setting up libgirepository-1.0-1:ppc64el (1.86.0-6) ... 395s Setting up libpython3-stdlib:ppc64el (3.13.7-2) ... 395s Setting up python3 (3.13.7-2) ... 395s running python rtupdate hooks for python3.13... 395s running python post-rtupdate hooks for python3.13... 395s Setting up gir1.2-girepository-2.0:ppc64el (1.86.0-6) ... 395s Processing triggers for man-db (2.13.1-1) ... 396s Processing triggers for libc-bin (2.42-0ubuntu3) ... 396s autopkgtest [19:43:21]: upgrading testbed (apt dist-upgrade and autopurge) 396s Reading package lists... 397s Building dependency tree... 397s Reading state information... 397s Calculating upgrade... 397s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 397s Reading package lists... 397s Building dependency tree... 397s Reading state information... 397s Solving dependencies... 397s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 401s Reading package lists... 401s Building dependency tree... 401s Reading state information... 401s Solving dependencies... 401s The following NEW packages will be installed: 401s build-essential cpp cpp-15 cpp-15-powerpc64le-linux-gnu 401s cpp-powerpc64le-linux-gnu g++ g++-15 g++-15-powerpc64le-linux-gnu 401s g++-powerpc64le-linux-gnu gcc gcc-15 gcc-15-powerpc64le-linux-gnu 401s gcc-powerpc64le-linux-gnu gir1.2-glib-2.0-dev girepository-tools libasan8 401s libblkid-dev libcc1-0 libffi-dev libgcc-15-dev libgio-2.0-dev 401s libgio-2.0-dev-bin libgirepository-2.0-0 libglib2.0-bin libglib2.0-dev 401s libglib2.0-dev-bin libgomp1 libisl23 libitm1 liblsan0 libmount-dev libmpc3 401s libpcre2-16-0 libpcre2-32-0 libpcre2-dev libpcre2-posix3 libpkgconf3 401s libquadmath0 libselinux1-dev libsepol-dev libstdc++-15-dev 401s libsysprof-capture-4-dev libtsan2 libubsan1 native-architecture pkgconf 401s pkgconf-bin python3-packaging uuid-dev zlib1g-dev 402s 0 upgraded, 50 newly installed, 0 to remove and 0 not upgraded. 402s Need to get 68.8 MB of archives. 402s After this operation, 261 MB of additional disk space will be used. 402s Get:1 http://ftpmaster.internal/ubuntu resolute/main ppc64el libisl23 ppc64el 0.27-1 [882 kB] 402s Get:2 http://ftpmaster.internal/ubuntu resolute/main ppc64el libmpc3 ppc64el 1.3.1-1build3 [62.6 kB] 402s Get:3 http://ftpmaster.internal/ubuntu resolute/main ppc64el cpp-15-powerpc64le-linux-gnu ppc64el 15.2.0-5ubuntu1 [11.4 MB] 403s Get:4 http://ftpmaster.internal/ubuntu resolute/main ppc64el cpp-15 ppc64el 15.2.0-5ubuntu1 [1036 B] 403s Get:5 http://ftpmaster.internal/ubuntu resolute/main ppc64el cpp-powerpc64le-linux-gnu ppc64el 4:15.2.0-4ubuntu1 [5746 B] 403s Get:6 http://ftpmaster.internal/ubuntu resolute/main ppc64el cpp ppc64el 4:15.2.0-4ubuntu1 [22.4 kB] 403s Get:7 http://ftpmaster.internal/ubuntu resolute/main ppc64el libcc1-0 ppc64el 15.2.0-5ubuntu1 [49.0 kB] 403s Get:8 http://ftpmaster.internal/ubuntu resolute/main ppc64el libgomp1 ppc64el 15.2.0-5ubuntu1 [169 kB] 403s Get:9 http://ftpmaster.internal/ubuntu resolute/main ppc64el libitm1 ppc64el 15.2.0-5ubuntu1 [32.3 kB] 403s Get:10 http://ftpmaster.internal/ubuntu resolute/main ppc64el libasan8 ppc64el 15.2.0-5ubuntu1 [3006 kB] 403s Get:11 http://ftpmaster.internal/ubuntu resolute/main ppc64el liblsan0 ppc64el 15.2.0-5ubuntu1 [1374 kB] 403s Get:12 http://ftpmaster.internal/ubuntu resolute/main ppc64el libtsan2 ppc64el 15.2.0-5ubuntu1 [2729 kB] 403s Get:13 http://ftpmaster.internal/ubuntu resolute/main ppc64el libubsan1 ppc64el 15.2.0-5ubuntu1 [1231 kB] 403s Get:14 http://ftpmaster.internal/ubuntu resolute/main ppc64el libquadmath0 ppc64el 15.2.0-5ubuntu1 [160 kB] 403s Get:15 http://ftpmaster.internal/ubuntu resolute/main ppc64el libgcc-15-dev ppc64el 15.2.0-5ubuntu1 [1670 kB] 403s Get:16 http://ftpmaster.internal/ubuntu resolute/main ppc64el gcc-15-powerpc64le-linux-gnu ppc64el 15.2.0-5ubuntu1 [22.4 MB] 404s Get:17 http://ftpmaster.internal/ubuntu resolute/main ppc64el gcc-15 ppc64el 15.2.0-5ubuntu1 [523 kB] 404s Get:18 http://ftpmaster.internal/ubuntu resolute/main ppc64el gcc-powerpc64le-linux-gnu ppc64el 4:15.2.0-4ubuntu1 [1220 B] 404s Get:19 http://ftpmaster.internal/ubuntu resolute/main ppc64el gcc ppc64el 4:15.2.0-4ubuntu1 [5032 B] 404s Get:20 http://ftpmaster.internal/ubuntu resolute/main ppc64el libstdc++-15-dev ppc64el 15.2.0-5ubuntu1 [2744 kB] 404s Get:21 http://ftpmaster.internal/ubuntu resolute/main ppc64el g++-15-powerpc64le-linux-gnu ppc64el 15.2.0-5ubuntu1 [13.0 MB] 405s Get:22 http://ftpmaster.internal/ubuntu resolute/main ppc64el g++-15 ppc64el 15.2.0-5ubuntu1 [23.7 kB] 405s Get:23 http://ftpmaster.internal/ubuntu resolute/main ppc64el g++-powerpc64le-linux-gnu ppc64el 4:15.2.0-4ubuntu1 [970 B] 405s Get:24 http://ftpmaster.internal/ubuntu resolute/main ppc64el g++ ppc64el 4:15.2.0-4ubuntu1 [1092 B] 405s Get:25 http://ftpmaster.internal/ubuntu resolute/main ppc64el build-essential ppc64el 12.12ubuntu1 [5094 B] 405s Get:26 http://ftpmaster.internal/ubuntu resolute/main ppc64el gir1.2-glib-2.0-dev ppc64el 2.86.0-2 [865 kB] 405s Get:27 http://ftpmaster.internal/ubuntu resolute/main ppc64el native-architecture all 0.2.6 [2140 B] 405s Get:28 http://ftpmaster.internal/ubuntu resolute/main ppc64el libgirepository-2.0-0 ppc64el 2.86.0-2 [86.0 kB] 405s Get:29 http://ftpmaster.internal/ubuntu resolute/main ppc64el girepository-tools ppc64el 2.86.0-2 [135 kB] 405s Get:30 http://ftpmaster.internal/ubuntu resolute/main ppc64el libffi-dev ppc64el 3.5.2-1build1 [69.9 kB] 405s Get:31 http://ftpmaster.internal/ubuntu resolute/main ppc64el uuid-dev ppc64el 2.41-4ubuntu4 [58.6 kB] 405s Get:32 http://ftpmaster.internal/ubuntu resolute/main ppc64el libblkid-dev ppc64el 2.41-4ubuntu4 [292 kB] 405s Get:33 http://ftpmaster.internal/ubuntu resolute/main ppc64el libsepol-dev ppc64el 3.8.1-1 [505 kB] 405s Get:34 http://ftpmaster.internal/ubuntu resolute/main ppc64el libpcre2-16-0 ppc64el 10.46-1 [292 kB] 405s Get:35 http://ftpmaster.internal/ubuntu resolute/main ppc64el libpcre2-32-0 ppc64el 10.46-1 [275 kB] 405s Get:36 http://ftpmaster.internal/ubuntu resolute/main ppc64el libpcre2-posix3 ppc64el 10.46-1 [7334 B] 405s Get:37 http://ftpmaster.internal/ubuntu resolute/main ppc64el libpcre2-dev ppc64el 10.46-1 [937 kB] 405s Get:38 http://ftpmaster.internal/ubuntu resolute/main ppc64el libselinux1-dev ppc64el 3.8.1-1build1 [207 kB] 405s Get:39 http://ftpmaster.internal/ubuntu resolute/main ppc64el libmount-dev ppc64el 2.41-4ubuntu4 [36.3 kB] 405s Get:40 http://ftpmaster.internal/ubuntu resolute/main ppc64el libsysprof-capture-4-dev ppc64el 48.0-2 [62.2 kB] 405s Get:41 http://ftpmaster.internal/ubuntu resolute/main ppc64el libpkgconf3 ppc64el 1.8.1-4build1 [37.9 kB] 405s Get:42 http://ftpmaster.internal/ubuntu resolute/main ppc64el pkgconf-bin ppc64el 1.8.1-4build1 [22.7 kB] 405s Get:43 http://ftpmaster.internal/ubuntu resolute/main ppc64el pkgconf ppc64el 1.8.1-4build1 [16.8 kB] 405s Get:44 http://ftpmaster.internal/ubuntu resolute/main ppc64el zlib1g-dev ppc64el 1:1.3.dfsg+really1.3.1-1ubuntu2 [903 kB] 405s Get:45 http://ftpmaster.internal/ubuntu resolute/main ppc64el libgio-2.0-dev ppc64el 2.86.0-2 [2202 kB] 405s Get:46 http://ftpmaster.internal/ubuntu resolute/main ppc64el python3-packaging all 25.0-1 [52.8 kB] 405s Get:47 http://ftpmaster.internal/ubuntu resolute/main ppc64el libgio-2.0-dev-bin ppc64el 2.86.0-2 [131 kB] 405s Get:48 http://ftpmaster.internal/ubuntu resolute/main ppc64el libglib2.0-bin ppc64el 2.86.0-2 [111 kB] 405s Get:49 http://ftpmaster.internal/ubuntu resolute/main ppc64el libglib2.0-dev-bin ppc64el 2.86.0-2 [18.2 kB] 405s Get:50 http://ftpmaster.internal/ubuntu resolute/main ppc64el libglib2.0-dev ppc64el 2.86.0-2 [18.9 kB] 405s Fetched 68.8 MB in 4s (18.4 MB/s) 405s Selecting previously unselected package libisl23:ppc64el. 405s (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 ... 76461 files and directories currently installed.) 406s Preparing to unpack .../00-libisl23_0.27-1_ppc64el.deb ... 406s Unpacking libisl23:ppc64el (0.27-1) ... 406s Selecting previously unselected package libmpc3:ppc64el. 406s Preparing to unpack .../01-libmpc3_1.3.1-1build3_ppc64el.deb ... 406s Unpacking libmpc3:ppc64el (1.3.1-1build3) ... 406s Selecting previously unselected package cpp-15-powerpc64le-linux-gnu. 406s Preparing to unpack .../02-cpp-15-powerpc64le-linux-gnu_15.2.0-5ubuntu1_ppc64el.deb ... 406s Unpacking cpp-15-powerpc64le-linux-gnu (15.2.0-5ubuntu1) ... 406s Selecting previously unselected package cpp-15. 406s Preparing to unpack .../03-cpp-15_15.2.0-5ubuntu1_ppc64el.deb ... 406s Unpacking cpp-15 (15.2.0-5ubuntu1) ... 406s Selecting previously unselected package cpp-powerpc64le-linux-gnu. 406s Preparing to unpack .../04-cpp-powerpc64le-linux-gnu_4%3a15.2.0-4ubuntu1_ppc64el.deb ... 406s Unpacking cpp-powerpc64le-linux-gnu (4:15.2.0-4ubuntu1) ... 406s Selecting previously unselected package cpp. 406s Preparing to unpack .../05-cpp_4%3a15.2.0-4ubuntu1_ppc64el.deb ... 406s Unpacking cpp (4:15.2.0-4ubuntu1) ... 406s Selecting previously unselected package libcc1-0:ppc64el. 406s Preparing to unpack .../06-libcc1-0_15.2.0-5ubuntu1_ppc64el.deb ... 406s Unpacking libcc1-0:ppc64el (15.2.0-5ubuntu1) ... 406s Selecting previously unselected package libgomp1:ppc64el. 406s Preparing to unpack .../07-libgomp1_15.2.0-5ubuntu1_ppc64el.deb ... 406s Unpacking libgomp1:ppc64el (15.2.0-5ubuntu1) ... 406s Selecting previously unselected package libitm1:ppc64el. 406s Preparing to unpack .../08-libitm1_15.2.0-5ubuntu1_ppc64el.deb ... 406s Unpacking libitm1:ppc64el (15.2.0-5ubuntu1) ... 406s Selecting previously unselected package libasan8:ppc64el. 406s Preparing to unpack .../09-libasan8_15.2.0-5ubuntu1_ppc64el.deb ... 406s Unpacking libasan8:ppc64el (15.2.0-5ubuntu1) ... 406s Selecting previously unselected package liblsan0:ppc64el. 406s Preparing to unpack .../10-liblsan0_15.2.0-5ubuntu1_ppc64el.deb ... 406s Unpacking liblsan0:ppc64el (15.2.0-5ubuntu1) ... 406s Selecting previously unselected package libtsan2:ppc64el. 406s Preparing to unpack .../11-libtsan2_15.2.0-5ubuntu1_ppc64el.deb ... 406s Unpacking libtsan2:ppc64el (15.2.0-5ubuntu1) ... 406s Selecting previously unselected package libubsan1:ppc64el. 406s Preparing to unpack .../12-libubsan1_15.2.0-5ubuntu1_ppc64el.deb ... 406s Unpacking libubsan1:ppc64el (15.2.0-5ubuntu1) ... 406s Selecting previously unselected package libquadmath0:ppc64el. 406s Preparing to unpack .../13-libquadmath0_15.2.0-5ubuntu1_ppc64el.deb ... 406s Unpacking libquadmath0:ppc64el (15.2.0-5ubuntu1) ... 406s Selecting previously unselected package libgcc-15-dev:ppc64el. 406s Preparing to unpack .../14-libgcc-15-dev_15.2.0-5ubuntu1_ppc64el.deb ... 406s Unpacking libgcc-15-dev:ppc64el (15.2.0-5ubuntu1) ... 406s Selecting previously unselected package gcc-15-powerpc64le-linux-gnu. 406s Preparing to unpack .../15-gcc-15-powerpc64le-linux-gnu_15.2.0-5ubuntu1_ppc64el.deb ... 406s Unpacking gcc-15-powerpc64le-linux-gnu (15.2.0-5ubuntu1) ... 406s Selecting previously unselected package gcc-15. 406s Preparing to unpack .../16-gcc-15_15.2.0-5ubuntu1_ppc64el.deb ... 406s Unpacking gcc-15 (15.2.0-5ubuntu1) ... 406s Selecting previously unselected package gcc-powerpc64le-linux-gnu. 406s Preparing to unpack .../17-gcc-powerpc64le-linux-gnu_4%3a15.2.0-4ubuntu1_ppc64el.deb ... 407s Unpacking gcc-powerpc64le-linux-gnu (4:15.2.0-4ubuntu1) ... 407s Selecting previously unselected package gcc. 407s Preparing to unpack .../18-gcc_4%3a15.2.0-4ubuntu1_ppc64el.deb ... 407s Unpacking gcc (4:15.2.0-4ubuntu1) ... 407s Selecting previously unselected package libstdc++-15-dev:ppc64el. 407s Preparing to unpack .../19-libstdc++-15-dev_15.2.0-5ubuntu1_ppc64el.deb ... 407s Unpacking libstdc++-15-dev:ppc64el (15.2.0-5ubuntu1) ... 407s Selecting previously unselected package g++-15-powerpc64le-linux-gnu. 407s Preparing to unpack .../20-g++-15-powerpc64le-linux-gnu_15.2.0-5ubuntu1_ppc64el.deb ... 407s Unpacking g++-15-powerpc64le-linux-gnu (15.2.0-5ubuntu1) ... 407s Selecting previously unselected package g++-15. 407s Preparing to unpack .../21-g++-15_15.2.0-5ubuntu1_ppc64el.deb ... 407s Unpacking g++-15 (15.2.0-5ubuntu1) ... 407s Selecting previously unselected package g++-powerpc64le-linux-gnu. 407s Preparing to unpack .../22-g++-powerpc64le-linux-gnu_4%3a15.2.0-4ubuntu1_ppc64el.deb ... 407s Unpacking g++-powerpc64le-linux-gnu (4:15.2.0-4ubuntu1) ... 407s Selecting previously unselected package g++. 407s Preparing to unpack .../23-g++_4%3a15.2.0-4ubuntu1_ppc64el.deb ... 407s Unpacking g++ (4:15.2.0-4ubuntu1) ... 407s Selecting previously unselected package build-essential. 407s Preparing to unpack .../24-build-essential_12.12ubuntu1_ppc64el.deb ... 407s Unpacking build-essential (12.12ubuntu1) ... 407s Selecting previously unselected package gir1.2-glib-2.0-dev:ppc64el. 407s Preparing to unpack .../25-gir1.2-glib-2.0-dev_2.86.0-2_ppc64el.deb ... 407s Unpacking gir1.2-glib-2.0-dev:ppc64el (2.86.0-2) ... 407s Selecting previously unselected package native-architecture. 407s Preparing to unpack .../26-native-architecture_0.2.6_all.deb ... 407s Unpacking native-architecture (0.2.6) ... 407s Selecting previously unselected package libgirepository-2.0-0:ppc64el. 407s Preparing to unpack .../27-libgirepository-2.0-0_2.86.0-2_ppc64el.deb ... 407s Unpacking libgirepository-2.0-0:ppc64el (2.86.0-2) ... 407s Selecting previously unselected package girepository-tools:ppc64el. 407s Preparing to unpack .../28-girepository-tools_2.86.0-2_ppc64el.deb ... 407s Unpacking girepository-tools:ppc64el (2.86.0-2) ... 407s Selecting previously unselected package libffi-dev:ppc64el. 407s Preparing to unpack .../29-libffi-dev_3.5.2-1build1_ppc64el.deb ... 407s Unpacking libffi-dev:ppc64el (3.5.2-1build1) ... 407s Selecting previously unselected package uuid-dev:ppc64el. 407s Preparing to unpack .../30-uuid-dev_2.41-4ubuntu4_ppc64el.deb ... 407s Unpacking uuid-dev:ppc64el (2.41-4ubuntu4) ... 407s Selecting previously unselected package libblkid-dev:ppc64el. 407s Preparing to unpack .../31-libblkid-dev_2.41-4ubuntu4_ppc64el.deb ... 407s Unpacking libblkid-dev:ppc64el (2.41-4ubuntu4) ... 407s Selecting previously unselected package libsepol-dev:ppc64el. 407s Preparing to unpack .../32-libsepol-dev_3.8.1-1_ppc64el.deb ... 407s Unpacking libsepol-dev:ppc64el (3.8.1-1) ... 407s Selecting previously unselected package libpcre2-16-0:ppc64el. 407s Preparing to unpack .../33-libpcre2-16-0_10.46-1_ppc64el.deb ... 407s Unpacking libpcre2-16-0:ppc64el (10.46-1) ... 407s Selecting previously unselected package libpcre2-32-0:ppc64el. 407s Preparing to unpack .../34-libpcre2-32-0_10.46-1_ppc64el.deb ... 407s Unpacking libpcre2-32-0:ppc64el (10.46-1) ... 407s Selecting previously unselected package libpcre2-posix3:ppc64el. 407s Preparing to unpack .../35-libpcre2-posix3_10.46-1_ppc64el.deb ... 407s Unpacking libpcre2-posix3:ppc64el (10.46-1) ... 407s Selecting previously unselected package libpcre2-dev:ppc64el. 407s Preparing to unpack .../36-libpcre2-dev_10.46-1_ppc64el.deb ... 407s Unpacking libpcre2-dev:ppc64el (10.46-1) ... 407s Selecting previously unselected package libselinux1-dev:ppc64el. 407s Preparing to unpack .../37-libselinux1-dev_3.8.1-1build1_ppc64el.deb ... 407s Unpacking libselinux1-dev:ppc64el (3.8.1-1build1) ... 407s Selecting previously unselected package libmount-dev:ppc64el. 407s Preparing to unpack .../38-libmount-dev_2.41-4ubuntu4_ppc64el.deb ... 407s Unpacking libmount-dev:ppc64el (2.41-4ubuntu4) ... 407s Selecting previously unselected package libsysprof-capture-4-dev:ppc64el. 407s Preparing to unpack .../39-libsysprof-capture-4-dev_48.0-2_ppc64el.deb ... 407s Unpacking libsysprof-capture-4-dev:ppc64el (48.0-2) ... 407s Selecting previously unselected package libpkgconf3:ppc64el. 407s Preparing to unpack .../40-libpkgconf3_1.8.1-4build1_ppc64el.deb ... 407s Unpacking libpkgconf3:ppc64el (1.8.1-4build1) ... 407s Selecting previously unselected package pkgconf-bin. 407s Preparing to unpack .../41-pkgconf-bin_1.8.1-4build1_ppc64el.deb ... 407s Unpacking pkgconf-bin (1.8.1-4build1) ... 407s Selecting previously unselected package pkgconf:ppc64el. 407s Preparing to unpack .../42-pkgconf_1.8.1-4build1_ppc64el.deb ... 407s Unpacking pkgconf:ppc64el (1.8.1-4build1) ... 407s Selecting previously unselected package zlib1g-dev:ppc64el. 407s Preparing to unpack .../43-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu2_ppc64el.deb ... 407s Unpacking zlib1g-dev:ppc64el (1:1.3.dfsg+really1.3.1-1ubuntu2) ... 407s Selecting previously unselected package libgio-2.0-dev:ppc64el. 407s Preparing to unpack .../44-libgio-2.0-dev_2.86.0-2_ppc64el.deb ... 407s Unpacking libgio-2.0-dev:ppc64el (2.86.0-2) ... 408s Selecting previously unselected package python3-packaging. 408s Preparing to unpack .../45-python3-packaging_25.0-1_all.deb ... 408s Unpacking python3-packaging (25.0-1) ... 408s Selecting previously unselected package libgio-2.0-dev-bin. 408s Preparing to unpack .../46-libgio-2.0-dev-bin_2.86.0-2_ppc64el.deb ... 408s Unpacking libgio-2.0-dev-bin (2.86.0-2) ... 408s Selecting previously unselected package libglib2.0-bin. 408s Preparing to unpack .../47-libglib2.0-bin_2.86.0-2_ppc64el.deb ... 408s Unpacking libglib2.0-bin (2.86.0-2) ... 408s Selecting previously unselected package libglib2.0-dev-bin. 408s Preparing to unpack .../48-libglib2.0-dev-bin_2.86.0-2_ppc64el.deb ... 408s Unpacking libglib2.0-dev-bin (2.86.0-2) ... 408s Selecting previously unselected package libglib2.0-dev:ppc64el. 408s Preparing to unpack .../49-libglib2.0-dev_2.86.0-2_ppc64el.deb ... 408s Unpacking libglib2.0-dev:ppc64el (2.86.0-2) ... 408s Setting up native-architecture (0.2.6) ... 408s Setting up libgirepository-2.0-0:ppc64el (2.86.0-2) ... 408s Setting up libglib2.0-bin (2.86.0-2) ... 408s Setting up libgomp1:ppc64el (15.2.0-5ubuntu1) ... 408s Setting up libffi-dev:ppc64el (3.5.2-1build1) ... 408s Setting up libpcre2-16-0:ppc64el (10.46-1) ... 408s Setting up libsysprof-capture-4-dev:ppc64el (48.0-2) ... 408s Setting up libpcre2-32-0:ppc64el (10.46-1) ... 408s Setting up python3-packaging (25.0-1) ... 408s Setting up libpkgconf3:ppc64el (1.8.1-4build1) ... 408s Setting up uuid-dev:ppc64el (2.41-4ubuntu4) ... 408s Setting up libquadmath0:ppc64el (15.2.0-5ubuntu1) ... 408s Setting up libmpc3:ppc64el (1.3.1-1build3) ... 408s Setting up libsepol-dev:ppc64el (3.8.1-1) ... 408s Setting up pkgconf-bin (1.8.1-4build1) ... 408s Setting up libubsan1:ppc64el (15.2.0-5ubuntu1) ... 408s Setting up zlib1g-dev:ppc64el (1:1.3.dfsg+really1.3.1-1ubuntu2) ... 408s Setting up libpcre2-posix3:ppc64el (10.46-1) ... 408s Setting up gir1.2-glib-2.0-dev:ppc64el (2.86.0-2) ... 408s Setting up libasan8:ppc64el (15.2.0-5ubuntu1) ... 408s Setting up libtsan2:ppc64el (15.2.0-5ubuntu1) ... 408s Setting up libisl23:ppc64el (0.27-1) ... 408s Setting up libcc1-0:ppc64el (15.2.0-5ubuntu1) ... 408s Setting up liblsan0:ppc64el (15.2.0-5ubuntu1) ... 408s Setting up libitm1:ppc64el (15.2.0-5ubuntu1) ... 408s Setting up libblkid-dev:ppc64el (2.41-4ubuntu4) ... 408s Setting up libgio-2.0-dev-bin (2.86.0-2) ... 408s Setting up girepository-tools:ppc64el (2.86.0-2) ... 408s Setting up libgcc-15-dev:ppc64el (15.2.0-5ubuntu1) ... 408s Setting up libpcre2-dev:ppc64el (10.46-1) ... 408s Setting up libselinux1-dev:ppc64el (3.8.1-1build1) ... 408s Setting up pkgconf:ppc64el (1.8.1-4build1) ... 408s Setting up cpp-15-powerpc64le-linux-gnu (15.2.0-5ubuntu1) ... 408s Setting up libstdc++-15-dev:ppc64el (15.2.0-5ubuntu1) ... 408s Setting up cpp-15 (15.2.0-5ubuntu1) ... 408s Setting up libmount-dev:ppc64el (2.41-4ubuntu4) ... 408s Setting up cpp-powerpc64le-linux-gnu (4:15.2.0-4ubuntu1) ... 408s Setting up libglib2.0-dev-bin (2.86.0-2) ... 408s Setting up libgio-2.0-dev:ppc64el (2.86.0-2) ... 408s Setting up gcc-15-powerpc64le-linux-gnu (15.2.0-5ubuntu1) ... 408s Setting up gcc-15 (15.2.0-5ubuntu1) ... 408s Setting up gcc-powerpc64le-linux-gnu (4:15.2.0-4ubuntu1) ... 408s Setting up cpp (4:15.2.0-4ubuntu1) ... 408s Setting up g++-15-powerpc64le-linux-gnu (15.2.0-5ubuntu1) ... 408s Setting up gcc (4:15.2.0-4ubuntu1) ... 408s Setting up g++-15 (15.2.0-5ubuntu1) ... 408s Setting up g++-powerpc64le-linux-gnu (4:15.2.0-4ubuntu1) ... 408s Setting up g++ (4:15.2.0-4ubuntu1) ... 408s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 408s Setting up build-essential (12.12ubuntu1) ... 408s Processing triggers for install-info (7.1.1-1ubuntu1) ... 408s Processing triggers for libc-bin (2.42-0ubuntu3) ... 408s Processing triggers for man-db (2.13.1-1) ... 409s Processing triggers for libglib2.0-0t64:ppc64el (2.86.0-2) ... 409s No schema files found: doing nothing. 409s Setting up libglib2.0-dev:ppc64el (2.86.0-2) ... 414s autopkgtest [19:43:39]: test libglib2.0-dev: [----------------------- 414s + debian/tests/build 414s + mode=dynamic 414s + getopt -o --long static -n debian/tests/build -- 414s + getopt_temp= -- 414s + eval set -- -- 414s + set -- -- 414s + true 414s + shift 414s + break 414s + mktemp -d 414s + WORKDIR=/tmp/tmp.VaCcQgFwvT 414s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 414s + cd /tmp/tmp.VaCcQgFwvT 414s + [ -n ] 414s + CROSS_COMPILE= 414s + cat 414s + cat 414s + cat 414s + cat 414s + cat 414s + cat 414s + cflags= 414s + pcflags= 414s + packages=glib-2.0 414s + pkg-config --cflags --libs glib-2.0 414s + 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 415s build (glib, dynamic): OK 415s run (glib, dynamic): OK 415s + echo build (glib, dynamic): OK 415s + [ -x glib-dynamic ] 415s + foo=bar ./glib-dynamic 415s + echo run (glib, dynamic): OK 415s + cflags= 415s + pcflags= 415s + packages=gobject-2.0 415s + pkg-config --cflags --libs gobject-2.0 415s + 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 415s build (gobject, dynamic): OK 415s + echo build (gobject, dynamic): OK 415s + [ -x gobject-dynamic ] 415s + foo=bar ./gobject-dynamic 415s run (gobject, dynamic): OK 415s + echo run (gobject, dynamic): OK 415s + cflags= 415s + pcflags= 415s + packages=gio-2.0 415s + pkg-config --cflags --libs gio-2.0 415s + 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 415s + echo build (gio, dynamic): OK 415s + [ -x gio-dynamic ] 415s + foo=bar ./gio-dynamic 415s + echo run (gio, dynamic): OK 415s + cflags= 415s + pcflags= 415s + packages=gio-unix-2.0 415s + pkg-config --cflags --libs gio-unix-2.0 415s + 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 415s build (gio, dynamic): OK 415s run (gio, dynamic): OK 415s + echo build (gio-unix, dynamic): OK 415s + [ -x gio-unix-dynamic ] 415s + foo=bar ./gio-unix-dynamic 415s + echo run (gio-unix, dynamic): OK 415s + cflags= 415s + pcflags= 415s + packages=gmodule-2.0 415s + pkg-config --cflags --libs gmodule-2.0 415s + 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 415s build (gio-unix, dynamic): OK 415s run (gio-unix, dynamic): OK 415s + echo build (gmodule, dynamic): OK 415s + [ -x gmodule-dynamic ] 415s + foo=bar ./gmodule-dynamic 415s + echo run (gmodule, dynamic): OK 415s + cflags= 415s + pcflags= 415s + packages=gthread-2.0 415s + pkg-config --cflags --libs gthread-2.0 415s + 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 415s build (gmodule, dynamic): OK 415s run (gmodule, dynamic): OK 415s + echo build (gthread, dynamic): OK 415s + [ -x gthread-dynamic ] 415s + foo=bar ./gthread-dynamic 415s + echo run (gthread, dynamic): OK 415s + rm -rf /tmp/tmp.VaCcQgFwvT 415s build (gthread, dynamic): OK 415s run (gthread, dynamic): OK 415s + debian/tests/build-static 415s + mode=dynamic 415s + getopt -o --long static -n debian/tests/build -- --static 415s + getopt_temp= --static -- 415s + eval set -- --static -- 415s + set -- --static -- 415s + true 415s + mode=static 415s + shift 415s + continue 415s + true 415s + shift 415s + break 415s + mktemp -d 415s + WORKDIR=/tmp/tmp.ZdkeWnq5Fn 415s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 415s + cd /tmp/tmp.ZdkeWnq5Fn 415s + [ -n ] 415s + CROSS_COMPILE= 415s + cat 415s + cat 415s + cat 415s + cat 415s + cat 415s + cat 415s + cflags= 415s + pcflags= 415s + packages=glib-2.0 415s + cflags=-static 415s + pcflags=--static 415s + pkg-config --static --cflags --libs glib-2.0 415s + 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 415s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/15/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 415s (.text+0x154): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 415s /usr/bin/ld: (.text+0x438): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 415s /usr/bin/ld: (.text+0x1a4): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 415s + echo build (glib, static): OK 415s + [ -x glib-static ] 415s + foo=bar ./glib-static 415s build (glib, static): OK 415s + echo run (glib, static): OK 415s + cflags=run (glib, static): OK 415s 415s + pcflags= 415s + packages=gobject-2.0 415s + cflags=-static 415s + pcflags=--static 415s + pkg-config --static --cflags --libs gobject-2.0 415s + 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 415s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/15/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 415s (.text+0x154): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 415s /usr/bin/ld: (.text+0x438): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 415s /usr/bin/ld: (.text+0x1a4): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 416s build (gobject, static): OK 416s run (gobject, static): OK 416s + echo build (gobject, static): OK 416s + [ -x gobject-static ] 416s + foo=bar ./gobject-static 416s + echo run (gobject, static): OK 416s + cflags= 416s + pcflags= 416s + packages=gio-2.0 416s + cflags=-static 416s + pcflags=--static 416s + continue 416s + cflags= 416s + pcflags= 416s + packages=gio-unix-2.0 416s + cflags=-static 416s + pcflags=--static 416s + continue 416s + cflags= 416s + pcflags= 416s + packages=gmodule-2.0 416s + cflags=-static 416s + pcflags=--static 416s + pkg-config --static --cflags --libs gmodule-2.0 416s + 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 416s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/15/../../../powerpc64le-linux-gnu/libgmodule-2.0.a(gmodule.c.o): in function `g_module_open_full': 416s (.text+0x944): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 416s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/15/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 416s (.text+0x154): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 416s /usr/bin/ld: (.text+0x438): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 416s /usr/bin/ld: (.text+0x1a4): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 416s + echo build (gmodule, static): OK 416s + [ -x gmodule-static ] 416s + foo=bar ./gmodule-static 416s + echo run (gmodule, static): OK 416s + cflags= 416s + pcflags= 416s + packages=gthread-2.0 416s + cflags=-static 416s + pcflags=--static 416s + pkg-config --static --cflags --libs gthread-2.0 416s + 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 416s build (gmodule, static): OK 416s run (gmodule, static): OK 416s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/15/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 416s (.text+0x154): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 416s /usr/bin/ld: (.text+0x438): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 416s /usr/bin/ld: (.text+0x1a4): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 416s + echo build (gthread, static): OK 416s + [ -x gthread-static ] 416s + foo=bar ./gthread-static 416s build (gthread, static): OK 416s + echo run (gthread, static): OK 416s + rm -rf /tmp/tmp.ZdkeWnq5Fn 416s run (gthread, static): OK 416s + debian/tests/girepository-tools 416s + cd /tmp/autopkgtest.GrinVw/autopkgtest_tmp 416s + dpkg-architecture -qDEB_HOST_GNU_TYPE 416s + DEB_HOST_GNU_TYPE=powerpc64le-linux-gnu 416s + dpkg-architecture -qDEB_HOST_MULTIARCH 416s + DEB_HOST_MULTIARCH=powerpc64le-linux-gnu 416s + powerpc64le-linux-gnu-gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 416s typelib: GLib-2.0 416s + powerpc64le-linux-gnu-gi-compile-repository -o GLib.typelib /usr/lib/powerpc64le-linux-gnu/gir-1.0/GLib-2.0.gir 416s + powerpc64le-linux-gnu-gi-decompile-typelib -o GLib.gir GLib.typelib 416s + debian/tests/libgio-2.0-dev-bin 416s + gdbus-codegen --help 416s usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 416s [--c-namespace NAMESPACE] [--c-generate-object-manager] 416s [--c-generate-autocleanup {none,objects,all}] 416s [--generate-docbook OUTFILES] [--generate-md OUTFILES] 416s [--generate-rst OUTFILES] [--pragma-once] 416s [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 416s [--glib-min-required VERSION] 416s [--glib-max-allowed VERSION] 416s [--symbol-decorator SYMBOL_DECORATOR] 416s [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 416s [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 416s [--generate-c-code OUTFILES | --header | --body | 416s --interface-info-header | --interface-info-body] 416s [--output FILE | --output-directory OUTDIR] 416s FILE [FILE ...] 416s 416s D-Bus code and documentation generator 416s 416s positional arguments: 416s FILE D-Bus introspection XML file 416s 416s options: 416s -h, --help show this help message and exit 416s --interface-prefix PREFIX 416s String to strip from D-Bus interface names for code 416s and docs 416s --c-namespace NAMESPACE 416s The namespace to use for generated C code 416s --c-generate-object-manager 416s Generate a GDBusObjectManagerClient subclass when 416s generating C code 416s --c-generate-autocleanup {none,objects,all} 416s Generate autocleanup support 416s --generate-docbook OUTFILES 416s Generate Docbook in OUTFILES-org.Project.IFace.xml 416s --generate-md OUTFILES 416s Generate Markdown in OUTFILES-org.Project.IFace.md 416s --generate-rst OUTFILES 416s Generate reStructuredText in OUTFILES- 416s org.Project.IFace.rst 416s --pragma-once Use "pragma once" as the inclusion guard 416s --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 416s Add annotation (may be used several times) 416s --glib-min-required VERSION 416s Minimum version of GLib to be supported by the 416s outputted code (default: 2.30) 416s --glib-max-allowed VERSION 416s Maximum version of GLib to be used by the outputted 416s code (default: current GLib version) 416s --symbol-decorator SYMBOL_DECORATOR 416s Macro used to decorate a symbol in the outputted 416s header, possibly to export symbols 416s --symbol-decorator-header SYMBOL_DECORATOR_HEADER 416s Additional header required for decorator specified by 416s --symbol-decorator 416s --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 416s Additional define required for decorator specified by 416s --symbol-decorator 416s --generate-c-code OUTFILES 416s Generate C code in OUTFILES.[ch] 416s --header Generate C headers 416s --body Generate C code 416s --interface-info-header 416s Generate GDBusInterfaceInfo C header 416s --interface-info-body 416s Generate GDBusInterfaceInfo C code 416s --output FILE Write output into the specified file 416s --output-directory OUTDIR 416s Location to output generated files 416s + glib-compile-resources --version 416s + glib-genmarshal --version 416s 2.86.0 416s glib-genmarshal version 2.86.0 416s glib-genmarshal comes with ABSOLUTELY NO WARRANTY. 416s You may redistribute copies of glib-genmarshal under the terms of 416s the GNU General Public License which can be found in the 416s GLib source package. Sources, examples and contact 416s information are available at http://www.gtk.org 416s + glib-gettextize --version 416s /usr/bin/glib-gettextize (GNU glib) 2.86.0 416s Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc. 416s This is free software; see the source for copying conditions. There is NO 416s warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 416s Written by Ulrich Drepper 416s + glib-mkenums --version 416s glib-mkenums version 2.86.0 416s glib-mkenums comes with ABSOLUTELY NO WARRANTY. 416s You may redistribute copies of glib-mkenums under the terms of 416s the GNU General Public License which can be found in the 416s GLib source package. Sources, examples and contact 416s information are available at http://www.gtk.org 416s + gobject-query tree 416s GObject 416s + gtester --version 416s gtester version 2.86.0 416s + gtester-report --version 416s gtester-report (GLib utils) version 2.86.0. 416s + cd /tmp/autopkgtest.GrinVw/autopkgtest_tmp 416s + dpkg-architecture -qDEB_HOST_MULTIARCH 416s + DEB_HOST_MULTIARCH=powerpc64le-linux-gnu 416s + gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 416s + gi-compile-repository -o GLib.typelib /usr/lib/powerpc64le-linux-gnu/gir-1.0/GLib-2.0.gir 416s typelib: GLib-2.0 417s + gi-decompile-typelib -o GLib.gir GLib.typelib 417s autopkgtest [19:43:42]: test libglib2.0-dev: -----------------------] 418s autopkgtest [19:43:43]: test libglib2.0-dev: - - - - - - - - - - results - - - - - - - - - - 418s libglib2.0-dev PASS (superficial) 418s autopkgtest [19:43:43]: test installed-tests: preparing testbed 441s Creating nova instance adt-resolute-ppc64el-glib2.0-20251018-193645-juju-7f2275-prod-proposed-migration-environment-2-4a736ee2-114d-4b35-bce9-243db4658526 from image adt/ubuntu-resolute-ppc64el-server-20251018.img (UUID 746a0a80-14f1-4bf7-89b6-cbb5ab236a4e)... 495s autopkgtest [19:45:00]: testbed dpkg architecture: ppc64el 495s autopkgtest [19:45:00]: testbed apt version: 3.1.8ubuntu1 496s autopkgtest [19:45:01]: @@@@@@@@@@@@@@@@@@@@ test bed setup 496s autopkgtest [19:45:01]: testbed release detected to be: resolute 497s autopkgtest [19:45:02]: updating testbed package index (apt update) 497s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [83.3 kB] 497s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 497s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 497s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 497s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [16.7 kB] 497s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [456 kB] 498s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [5028 B] 498s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [50.7 kB] 498s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el Packages [92.0 kB] 498s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/restricted ppc64el Packages [940 B] 498s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/universe ppc64el Packages [317 kB] 498s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse ppc64el Packages [4660 B] 498s Fetched 1026 kB in 1s (1126 kB/s) 499s Reading package lists... 499s Failed to check for VM: Permission denied 499s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 499s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 499s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 500s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 500s Reading package lists... 500s Reading package lists... 500s Building dependency tree... 500s Reading state information... 501s Calculating upgrade... 501s The following packages will be upgraded: 501s gir1.2-girepository-2.0 libgirepository-1.0-1 libpython3-stdlib python3 501s python3-minimal 501s 5 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 501s Need to get 185 kB of archives. 501s After this operation, 2048 B of additional disk space will be used. 501s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el python3-minimal ppc64el 3.13.7-2 [27.8 kB] 501s Get:2 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el python3 ppc64el 3.13.7-2 [23.9 kB] 501s Get:3 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el libpython3-stdlib ppc64el 3.13.7-2 [10.6 kB] 501s Get:4 http://ftpmaster.internal/ubuntu resolute/main ppc64el libgirepository-1.0-1 ppc64el 1.86.0-6 [97.4 kB] 501s Get:5 http://ftpmaster.internal/ubuntu resolute/main ppc64el gir1.2-girepository-2.0 ppc64el 1.86.0-6 [25.3 kB] 501s dpkg-preconfigure: unable to re-open stdin: No such file or directory 501s Fetched 185 kB in 0s (435 kB/s) 502s (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 ... 76461 files and directories currently installed.) 502s Preparing to unpack .../python3-minimal_3.13.7-2_ppc64el.deb ... 502s Unpacking python3-minimal (3.13.7-2) over (3.13.7-1) ... 502s Setting up python3-minimal (3.13.7-2) ... 502s (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 ... 76461 files and directories currently installed.) 502s Preparing to unpack .../python3_3.13.7-2_ppc64el.deb ... 502s running python pre-rtupdate hooks for python3.13... 502s Unpacking python3 (3.13.7-2) over (3.13.7-1) ... 502s Preparing to unpack .../libpython3-stdlib_3.13.7-2_ppc64el.deb ... 502s Unpacking libpython3-stdlib:ppc64el (3.13.7-2) over (3.13.7-1) ... 502s Preparing to unpack .../libgirepository-1.0-1_1.86.0-6_ppc64el.deb ... 502s Unpacking libgirepository-1.0-1:ppc64el (1.86.0-6) over (1.84.0-1) ... 502s Preparing to unpack .../gir1.2-girepository-2.0_1.86.0-6_ppc64el.deb ... 502s Unpacking gir1.2-girepository-2.0:ppc64el (1.86.0-6) over (1.84.0-1) ... 502s Setting up libgirepository-1.0-1:ppc64el (1.86.0-6) ... 502s Setting up libpython3-stdlib:ppc64el (3.13.7-2) ... 502s Setting up python3 (3.13.7-2) ... 502s running python rtupdate hooks for python3.13... 502s running python post-rtupdate hooks for python3.13... 502s Setting up gir1.2-girepository-2.0:ppc64el (1.86.0-6) ... 502s Processing triggers for man-db (2.13.1-1) ... 503s Processing triggers for libc-bin (2.42-0ubuntu3) ... 504s autopkgtest [19:45:09]: upgrading testbed (apt dist-upgrade and autopurge) 504s Reading package lists... 504s Building dependency tree... 504s Reading state information... 504s Calculating upgrade... 504s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 504s Reading package lists... 504s Building dependency tree... 504s Reading state information... 504s Solving dependencies... 505s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 508s Reading package lists... 508s Building dependency tree... 508s Reading state information... 508s Solving dependencies... 508s The following NEW packages will be installed: 508s dbus-x11 desktop-file-utils gir1.2-glib-2.0-dev girepository-tools 508s gnome-desktop-testing libdrm-amdgpu1 libfontenc1 libgbm1 libgio-2.0-dev-bin 508s libgirepository-2.0-0 libgl1 libgl1-mesa-dri libglib2.0-bin 508s libglib2.0-dev-bin libglib2.0-tests libglvnd0 libglx-mesa0 libglx0 libice6 508s libpixman-1-0 libsm6 libunwind8 libvulkan1 libx11-xcb1 libxaw7 libxcb-dri3-0 508s libxcb-glx0 libxcb-present0 libxcb-randr0 libxcb-shm0 libxcb-sync1 508s libxcb-xfixes0 libxfont2 libxkbfile1 libxmu6 libxpm4 libxrandr2 libxrender1 508s libxshmfence1 libxt6t64 libxxf86vm1 mesa-libgallium native-architecture 508s python3-dbusmock python3-packaging tzdata-legacy x11-common x11-xkb-utils 508s xserver-common xvfb 508s 0 upgraded, 50 newly installed, 0 to remove and 0 not upgraded. 508s Need to get 20.1 MB of archives. 508s After this operation, 114 MB of additional disk space will be used. 508s Get:1 http://ftpmaster.internal/ubuntu resolute/main ppc64el dbus-x11 ppc64el 1.16.2-2ubuntu2 [24.4 kB] 508s Get:2 http://ftpmaster.internal/ubuntu resolute/main ppc64el desktop-file-utils ppc64el 0.28-1 [62.3 kB] 509s Get:3 http://ftpmaster.internal/ubuntu resolute/main ppc64el gir1.2-glib-2.0-dev ppc64el 2.86.0-2 [865 kB] 509s Get:4 http://ftpmaster.internal/ubuntu resolute/main ppc64el native-architecture all 0.2.6 [2140 B] 509s Get:5 http://ftpmaster.internal/ubuntu resolute/main ppc64el libgirepository-2.0-0 ppc64el 2.86.0-2 [86.0 kB] 509s Get:6 http://ftpmaster.internal/ubuntu resolute/main ppc64el girepository-tools ppc64el 2.86.0-2 [135 kB] 509s Get:7 http://ftpmaster.internal/ubuntu resolute/universe ppc64el gnome-desktop-testing ppc64el 2021.1-4 [17.7 kB] 509s Get:8 http://ftpmaster.internal/ubuntu resolute/main ppc64el libdrm-amdgpu1 ppc64el 2.4.125-1 [25.5 kB] 509s Get:9 http://ftpmaster.internal/ubuntu resolute/main ppc64el libfontenc1 ppc64el 1:1.1.8-1build1 [15.8 kB] 509s Get:10 http://ftpmaster.internal/ubuntu resolute/main ppc64el libx11-xcb1 ppc64el 2:1.8.12-1build1 [8022 B] 509s Get:11 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxcb-dri3-0 ppc64el 1.17.0-2build1 [7970 B] 509s Get:12 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxcb-present0 ppc64el 1.17.0-2build1 [6334 B] 509s Get:13 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxcb-randr0 ppc64el 1.17.0-2build1 [19.1 kB] 509s Get:14 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxcb-sync1 ppc64el 1.17.0-2build1 [9924 B] 509s Get:15 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxcb-xfixes0 ppc64el 1.17.0-2build1 [10.8 kB] 509s Get:16 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxshmfence1 ppc64el 1.3.3-1 [5364 B] 509s Get:17 http://ftpmaster.internal/ubuntu resolute/main ppc64el mesa-libgallium ppc64el 25.2.3-1ubuntu1 [12.6 MB] 510s Get:18 http://ftpmaster.internal/ubuntu resolute/main ppc64el libgbm1 ppc64el 25.2.3-1ubuntu1 [41.3 kB] 510s Get:19 http://ftpmaster.internal/ubuntu resolute/main ppc64el python3-packaging all 25.0-1 [52.8 kB] 510s Get:20 http://ftpmaster.internal/ubuntu resolute/main ppc64el libgio-2.0-dev-bin ppc64el 2.86.0-2 [131 kB] 510s Get:21 http://ftpmaster.internal/ubuntu resolute/main ppc64el libvulkan1 ppc64el 1.4.321.0-1 [167 kB] 510s Get:22 http://ftpmaster.internal/ubuntu resolute/main ppc64el libgl1-mesa-dri ppc64el 25.2.3-1ubuntu1 [35.4 kB] 510s Get:23 http://ftpmaster.internal/ubuntu resolute/main ppc64el libglib2.0-bin ppc64el 2.86.0-2 [111 kB] 510s Get:24 http://ftpmaster.internal/ubuntu resolute/main ppc64el libglib2.0-dev-bin ppc64el 2.86.0-2 [18.2 kB] 510s Get:25 http://ftpmaster.internal/ubuntu resolute/universe ppc64el python3-dbusmock all 0.37.1-1 [90.7 kB] 510s Get:26 http://ftpmaster.internal/ubuntu resolute/main ppc64el tzdata-legacy all 2025b-3ubuntu1 [99.3 kB] 510s Get:27 http://ftpmaster.internal/ubuntu resolute/universe ppc64el libglib2.0-tests ppc64el 2.86.0-2 [2427 kB] 510s Get:28 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxcb-glx0 ppc64el 1.17.0-2build1 [26.4 kB] 510s Get:29 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxcb-shm0 ppc64el 1.17.0-2build1 [6078 B] 510s Get:30 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxxf86vm1 ppc64el 1:1.1.4-1build4 [11.1 kB] 510s Get:31 http://ftpmaster.internal/ubuntu resolute/main ppc64el libglx-mesa0 ppc64el 25.2.3-1ubuntu1 [132 kB] 510s Get:32 http://ftpmaster.internal/ubuntu resolute/main ppc64el x11-common all 1:7.7+24ubuntu1 [22.4 kB] 510s Get:33 http://ftpmaster.internal/ubuntu resolute/main ppc64el libice6 ppc64el 2:1.1.1-1 [49.9 kB] 510s Get:34 http://ftpmaster.internal/ubuntu resolute/main ppc64el libpixman-1-0 ppc64el 0.44.0-3 [334 kB] 510s Get:35 http://ftpmaster.internal/ubuntu resolute/main ppc64el libsm6 ppc64el 2:1.2.6-1 [18.6 kB] 510s Get:36 http://ftpmaster.internal/ubuntu resolute/main ppc64el libunwind8 ppc64el 1.8.1-0.1ubuntu1 [67.7 kB] 510s Get:37 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxt6t64 ppc64el 1:1.2.1-1.3 [203 kB] 510s Get:38 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxmu6 ppc64el 2:1.1.3-3build3 [56.8 kB] 510s Get:39 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxpm4 ppc64el 1:3.5.17-1build2 [49.9 kB] 510s Get:40 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxaw7 ppc64el 2:1.0.16-1 [230 kB] 510s Get:41 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxfont2 ppc64el 1:2.0.6-1build1 [116 kB] 510s Get:42 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxkbfile1 ppc64el 1:1.1.0-1build4 [88.9 kB] 510s Get:43 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxrender1 ppc64el 1:0.9.12-1 [23.0 kB] 510s Get:44 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxrandr2 ppc64el 2:1.5.4-1 [21.7 kB] 510s Get:45 http://ftpmaster.internal/ubuntu resolute/main ppc64el x11-xkb-utils ppc64el 7.7+9 [201 kB] 510s Get:46 http://ftpmaster.internal/ubuntu resolute/main ppc64el xserver-common all 2:21.1.18-1ubuntu1 [34.6 kB] 510s Get:47 http://ftpmaster.internal/ubuntu resolute/main ppc64el libglvnd0 ppc64el 1.7.0-1build2 [67.1 kB] 510s Get:48 http://ftpmaster.internal/ubuntu resolute/main ppc64el libglx0 ppc64el 1.7.0-1build2 [42.3 kB] 510s Get:49 http://ftpmaster.internal/ubuntu resolute/main ppc64el libgl1 ppc64el 1.7.0-1build2 [108 kB] 510s Get:50 http://ftpmaster.internal/ubuntu resolute/universe ppc64el xvfb ppc64el 2:21.1.18-1ubuntu1 [1101 kB] 510s Fetched 20.1 MB in 2s (10.0 MB/s) 510s Selecting previously unselected package dbus-x11. 510s (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 ... 76461 files and directories currently installed.) 510s Preparing to unpack .../00-dbus-x11_1.16.2-2ubuntu2_ppc64el.deb ... 510s Unpacking dbus-x11 (1.16.2-2ubuntu2) ... 510s Selecting previously unselected package desktop-file-utils. 510s Preparing to unpack .../01-desktop-file-utils_0.28-1_ppc64el.deb ... 510s Unpacking desktop-file-utils (0.28-1) ... 510s Selecting previously unselected package gir1.2-glib-2.0-dev:ppc64el. 510s Preparing to unpack .../02-gir1.2-glib-2.0-dev_2.86.0-2_ppc64el.deb ... 510s Unpacking gir1.2-glib-2.0-dev:ppc64el (2.86.0-2) ... 510s Selecting previously unselected package native-architecture. 510s Preparing to unpack .../03-native-architecture_0.2.6_all.deb ... 510s Unpacking native-architecture (0.2.6) ... 511s Selecting previously unselected package libgirepository-2.0-0:ppc64el. 511s Preparing to unpack .../04-libgirepository-2.0-0_2.86.0-2_ppc64el.deb ... 511s Unpacking libgirepository-2.0-0:ppc64el (2.86.0-2) ... 511s Selecting previously unselected package girepository-tools:ppc64el. 511s Preparing to unpack .../05-girepository-tools_2.86.0-2_ppc64el.deb ... 511s Unpacking girepository-tools:ppc64el (2.86.0-2) ... 511s Selecting previously unselected package gnome-desktop-testing. 511s Preparing to unpack .../06-gnome-desktop-testing_2021.1-4_ppc64el.deb ... 511s Unpacking gnome-desktop-testing (2021.1-4) ... 511s Selecting previously unselected package libdrm-amdgpu1:ppc64el. 511s Preparing to unpack .../07-libdrm-amdgpu1_2.4.125-1_ppc64el.deb ... 511s Unpacking libdrm-amdgpu1:ppc64el (2.4.125-1) ... 511s Selecting previously unselected package libfontenc1:ppc64el. 511s Preparing to unpack .../08-libfontenc1_1%3a1.1.8-1build1_ppc64el.deb ... 511s Unpacking libfontenc1:ppc64el (1:1.1.8-1build1) ... 511s Selecting previously unselected package libx11-xcb1:ppc64el. 511s Preparing to unpack .../09-libx11-xcb1_2%3a1.8.12-1build1_ppc64el.deb ... 511s Unpacking libx11-xcb1:ppc64el (2:1.8.12-1build1) ... 511s Selecting previously unselected package libxcb-dri3-0:ppc64el. 511s Preparing to unpack .../10-libxcb-dri3-0_1.17.0-2build1_ppc64el.deb ... 511s Unpacking libxcb-dri3-0:ppc64el (1.17.0-2build1) ... 511s Selecting previously unselected package libxcb-present0:ppc64el. 511s Preparing to unpack .../11-libxcb-present0_1.17.0-2build1_ppc64el.deb ... 511s Unpacking libxcb-present0:ppc64el (1.17.0-2build1) ... 511s Selecting previously unselected package libxcb-randr0:ppc64el. 511s Preparing to unpack .../12-libxcb-randr0_1.17.0-2build1_ppc64el.deb ... 511s Unpacking libxcb-randr0:ppc64el (1.17.0-2build1) ... 511s Selecting previously unselected package libxcb-sync1:ppc64el. 511s Preparing to unpack .../13-libxcb-sync1_1.17.0-2build1_ppc64el.deb ... 511s Unpacking libxcb-sync1:ppc64el (1.17.0-2build1) ... 511s Selecting previously unselected package libxcb-xfixes0:ppc64el. 511s Preparing to unpack .../14-libxcb-xfixes0_1.17.0-2build1_ppc64el.deb ... 511s Unpacking libxcb-xfixes0:ppc64el (1.17.0-2build1) ... 511s Selecting previously unselected package libxshmfence1:ppc64el. 511s Preparing to unpack .../15-libxshmfence1_1.3.3-1_ppc64el.deb ... 511s Unpacking libxshmfence1:ppc64el (1.3.3-1) ... 511s Selecting previously unselected package mesa-libgallium:ppc64el. 511s Preparing to unpack .../16-mesa-libgallium_25.2.3-1ubuntu1_ppc64el.deb ... 511s Unpacking mesa-libgallium:ppc64el (25.2.3-1ubuntu1) ... 511s Selecting previously unselected package libgbm1:ppc64el. 511s Preparing to unpack .../17-libgbm1_25.2.3-1ubuntu1_ppc64el.deb ... 511s Unpacking libgbm1:ppc64el (25.2.3-1ubuntu1) ... 511s Selecting previously unselected package python3-packaging. 511s Preparing to unpack .../18-python3-packaging_25.0-1_all.deb ... 511s Unpacking python3-packaging (25.0-1) ... 511s Selecting previously unselected package libgio-2.0-dev-bin. 511s Preparing to unpack .../19-libgio-2.0-dev-bin_2.86.0-2_ppc64el.deb ... 511s Unpacking libgio-2.0-dev-bin (2.86.0-2) ... 511s Selecting previously unselected package libvulkan1:ppc64el. 511s Preparing to unpack .../20-libvulkan1_1.4.321.0-1_ppc64el.deb ... 511s Unpacking libvulkan1:ppc64el (1.4.321.0-1) ... 511s Selecting previously unselected package libgl1-mesa-dri:ppc64el. 511s Preparing to unpack .../21-libgl1-mesa-dri_25.2.3-1ubuntu1_ppc64el.deb ... 511s Unpacking libgl1-mesa-dri:ppc64el (25.2.3-1ubuntu1) ... 511s Selecting previously unselected package libglib2.0-bin. 511s Preparing to unpack .../22-libglib2.0-bin_2.86.0-2_ppc64el.deb ... 511s Unpacking libglib2.0-bin (2.86.0-2) ... 511s Selecting previously unselected package libglib2.0-dev-bin. 511s Preparing to unpack .../23-libglib2.0-dev-bin_2.86.0-2_ppc64el.deb ... 511s Unpacking libglib2.0-dev-bin (2.86.0-2) ... 511s Selecting previously unselected package python3-dbusmock. 511s Preparing to unpack .../24-python3-dbusmock_0.37.1-1_all.deb ... 511s Unpacking python3-dbusmock (0.37.1-1) ... 511s Selecting previously unselected package tzdata-legacy. 511s Preparing to unpack .../25-tzdata-legacy_2025b-3ubuntu1_all.deb ... 511s Unpacking tzdata-legacy (2025b-3ubuntu1) ... 511s Selecting previously unselected package libglib2.0-tests. 511s Preparing to unpack .../26-libglib2.0-tests_2.86.0-2_ppc64el.deb ... 511s Unpacking libglib2.0-tests (2.86.0-2) ... 511s Selecting previously unselected package libxcb-glx0:ppc64el. 511s Preparing to unpack .../27-libxcb-glx0_1.17.0-2build1_ppc64el.deb ... 511s Unpacking libxcb-glx0:ppc64el (1.17.0-2build1) ... 511s Selecting previously unselected package libxcb-shm0:ppc64el. 511s Preparing to unpack .../28-libxcb-shm0_1.17.0-2build1_ppc64el.deb ... 511s Unpacking libxcb-shm0:ppc64el (1.17.0-2build1) ... 511s Selecting previously unselected package libxxf86vm1:ppc64el. 511s Preparing to unpack .../29-libxxf86vm1_1%3a1.1.4-1build4_ppc64el.deb ... 511s Unpacking libxxf86vm1:ppc64el (1:1.1.4-1build4) ... 511s Selecting previously unselected package libglx-mesa0:ppc64el. 511s Preparing to unpack .../30-libglx-mesa0_25.2.3-1ubuntu1_ppc64el.deb ... 511s Unpacking libglx-mesa0:ppc64el (25.2.3-1ubuntu1) ... 511s Selecting previously unselected package x11-common. 511s Preparing to unpack .../31-x11-common_1%3a7.7+24ubuntu1_all.deb ... 511s Unpacking x11-common (1:7.7+24ubuntu1) ... 511s Selecting previously unselected package libice6:ppc64el. 511s Preparing to unpack .../32-libice6_2%3a1.1.1-1_ppc64el.deb ... 511s Unpacking libice6:ppc64el (2:1.1.1-1) ... 511s Selecting previously unselected package libpixman-1-0:ppc64el. 511s Preparing to unpack .../33-libpixman-1-0_0.44.0-3_ppc64el.deb ... 511s Unpacking libpixman-1-0:ppc64el (0.44.0-3) ... 511s Selecting previously unselected package libsm6:ppc64el. 512s Preparing to unpack .../34-libsm6_2%3a1.2.6-1_ppc64el.deb ... 512s Unpacking libsm6:ppc64el (2:1.2.6-1) ... 512s Selecting previously unselected package libunwind8:ppc64el. 512s Preparing to unpack .../35-libunwind8_1.8.1-0.1ubuntu1_ppc64el.deb ... 512s Unpacking libunwind8:ppc64el (1.8.1-0.1ubuntu1) ... 512s Selecting previously unselected package libxt6t64:ppc64el. 512s Preparing to unpack .../36-libxt6t64_1%3a1.2.1-1.3_ppc64el.deb ... 512s Unpacking libxt6t64:ppc64el (1:1.2.1-1.3) ... 512s Selecting previously unselected package libxmu6:ppc64el. 512s Preparing to unpack .../37-libxmu6_2%3a1.1.3-3build3_ppc64el.deb ... 512s Unpacking libxmu6:ppc64el (2:1.1.3-3build3) ... 512s Selecting previously unselected package libxpm4:ppc64el. 512s Preparing to unpack .../38-libxpm4_1%3a3.5.17-1build2_ppc64el.deb ... 512s Unpacking libxpm4:ppc64el (1:3.5.17-1build2) ... 512s Selecting previously unselected package libxaw7:ppc64el. 512s Preparing to unpack .../39-libxaw7_2%3a1.0.16-1_ppc64el.deb ... 512s Unpacking libxaw7:ppc64el (2:1.0.16-1) ... 512s Selecting previously unselected package libxfont2:ppc64el. 512s Preparing to unpack .../40-libxfont2_1%3a2.0.6-1build1_ppc64el.deb ... 512s Unpacking libxfont2:ppc64el (1:2.0.6-1build1) ... 512s Selecting previously unselected package libxkbfile1:ppc64el. 512s Preparing to unpack .../41-libxkbfile1_1%3a1.1.0-1build4_ppc64el.deb ... 512s Unpacking libxkbfile1:ppc64el (1:1.1.0-1build4) ... 512s Selecting previously unselected package libxrender1:ppc64el. 512s Preparing to unpack .../42-libxrender1_1%3a0.9.12-1_ppc64el.deb ... 512s Unpacking libxrender1:ppc64el (1:0.9.12-1) ... 512s Selecting previously unselected package libxrandr2:ppc64el. 512s Preparing to unpack .../43-libxrandr2_2%3a1.5.4-1_ppc64el.deb ... 512s Unpacking libxrandr2:ppc64el (2:1.5.4-1) ... 512s Selecting previously unselected package x11-xkb-utils. 512s Preparing to unpack .../44-x11-xkb-utils_7.7+9_ppc64el.deb ... 512s Unpacking x11-xkb-utils (7.7+9) ... 512s Selecting previously unselected package xserver-common. 512s Preparing to unpack .../45-xserver-common_2%3a21.1.18-1ubuntu1_all.deb ... 512s Unpacking xserver-common (2:21.1.18-1ubuntu1) ... 512s Selecting previously unselected package libglvnd0:ppc64el. 512s Preparing to unpack .../46-libglvnd0_1.7.0-1build2_ppc64el.deb ... 512s Unpacking libglvnd0:ppc64el (1.7.0-1build2) ... 512s Selecting previously unselected package libglx0:ppc64el. 512s Preparing to unpack .../47-libglx0_1.7.0-1build2_ppc64el.deb ... 512s Unpacking libglx0:ppc64el (1.7.0-1build2) ... 512s Selecting previously unselected package libgl1:ppc64el. 512s Preparing to unpack .../48-libgl1_1.7.0-1build2_ppc64el.deb ... 512s Unpacking libgl1:ppc64el (1.7.0-1build2) ... 512s Selecting previously unselected package xvfb. 512s Preparing to unpack .../49-xvfb_2%3a21.1.18-1ubuntu1_ppc64el.deb ... 512s Unpacking xvfb (2:21.1.18-1ubuntu1) ... 512s Setting up gnome-desktop-testing (2021.1-4) ... 512s Setting up libxcb-dri3-0:ppc64el (1.17.0-2build1) ... 512s Setting up libpixman-1-0:ppc64el (0.44.0-3) ... 512s Setting up libx11-xcb1:ppc64el (2:1.8.12-1build1) ... 512s Setting up native-architecture (0.2.6) ... 512s Setting up libxcb-xfixes0:ppc64el (1.17.0-2build1) ... 512s Setting up desktop-file-utils (0.28-1) ... 512s Setting up libxpm4:ppc64el (1:3.5.17-1build2) ... 512s Setting up libxrender1:ppc64el (1:0.9.12-1) ... 512s Setting up libgirepository-2.0-0:ppc64el (2.86.0-2) ... 512s Setting up libglvnd0:ppc64el (1.7.0-1build2) ... 512s Setting up libxcb-glx0:ppc64el (1.17.0-2build1) ... 512s Setting up x11-common (1:7.7+24ubuntu1) ... 512s Setting up libglib2.0-bin (2.86.0-2) ... 512s Setting up libxcb-shm0:ppc64el (1.17.0-2build1) ... 512s Setting up python3-dbusmock (0.37.1-1) ... 512s Setting up libunwind8:ppc64el (1.8.1-0.1ubuntu1) ... 512s Setting up tzdata-legacy (2025b-3ubuntu1) ... 512s Setting up libxxf86vm1:ppc64el (1:1.1.4-1build4) ... 512s Setting up libxcb-present0:ppc64el (1.17.0-2build1) ... 512s Setting up libfontenc1:ppc64el (1:1.1.8-1build1) ... 512s Setting up python3-packaging (25.0-1) ... 512s Setting up libxcb-sync1:ppc64el (1.17.0-2build1) ... 512s Setting up libxrandr2:ppc64el (2:1.5.4-1) ... 512s Setting up libvulkan1:ppc64el (1.4.321.0-1) ... 512s Setting up gir1.2-glib-2.0-dev:ppc64el (2.86.0-2) ... 512s Setting up libxshmfence1:ppc64el (1.3.3-1) ... 512s Setting up dbus-x11 (1.16.2-2ubuntu2) ... 512s Setting up libxcb-randr0:ppc64el (1.17.0-2build1) ... 512s Setting up libxkbfile1:ppc64el (1:1.1.0-1build4) ... 512s Setting up libxfont2:ppc64el (1:2.0.6-1build1) ... 512s Setting up libdrm-amdgpu1:ppc64el (2.4.125-1) ... 512s Setting up libice6:ppc64el (2:1.1.1-1) ... 512s Setting up mesa-libgallium:ppc64el (25.2.3-1ubuntu1) ... 512s Setting up libgio-2.0-dev-bin (2.86.0-2) ... 513s Setting up girepository-tools:ppc64el (2.86.0-2) ... 513s Setting up libgbm1:ppc64el (25.2.3-1ubuntu1) ... 513s Setting up libgl1-mesa-dri:ppc64el (25.2.3-1ubuntu1) ... 513s Setting up libsm6:ppc64el (2:1.2.6-1) ... 513s Setting up libglib2.0-dev-bin (2.86.0-2) ... 513s Setting up libglx-mesa0:ppc64el (25.2.3-1ubuntu1) ... 513s Setting up libglx0:ppc64el (1.7.0-1build2) ... 513s Setting up libgl1:ppc64el (1.7.0-1build2) ... 513s Setting up libxt6t64:ppc64el (1:1.2.1-1.3) ... 513s Setting up libglib2.0-tests (2.86.0-2) ... 513s Setting up libxmu6:ppc64el (2:1.1.3-3build3) ... 513s Setting up libxaw7:ppc64el (2:1.0.16-1) ... 513s Setting up x11-xkb-utils (7.7+9) ... 513s Setting up xserver-common (2:21.1.18-1ubuntu1) ... 513s Setting up xvfb (2:21.1.18-1ubuntu1) ... 513s Processing triggers for man-db (2.13.1-1) ... 513s Processing triggers for libc-bin (2.42-0ubuntu3) ... 528s autopkgtest [19:45:33]: test installed-tests: [----------------------- 528s Running as: uid=1000(ubuntu) gid=1000(ubuntu) groups=1000(ubuntu),4(adm),24(cdrom),27(sudo),30(dip),103(lxd) 528s passwd entry: ubuntu:x:1000:1000:Ubuntu:/home/ubuntu:/bin/bash 528s group entry: ubuntu:x:1000: 528s Environment: 528s ADTTMP=/tmp/autopkgtest.GrinVw/autopkgtest_tmp 528s ADT_ARTIFACTS=/tmp/autopkgtest.GrinVw/installed-tests-artifacts 528s ADT_TEST_TRIGGERS=python3-defaults/3.13.7-2 528s AUTOPKGTEST_ARTIFACTS=/tmp/autopkgtest.GrinVw/installed-tests-artifacts 528s AUTOPKGTEST_TESTBED_ARCH=ppc64el 528s AUTOPKGTEST_TEST_ARCH=ppc64el 528s AUTOPKGTEST_TMP=/tmp/autopkgtest.GrinVw/autopkgtest_tmp 528s DEBIAN_FRONTEND=noninteractive 528s DEBUGINFOD_URLS=https://debuginfod.ubuntu.com 528s DEB_BUILD_OPTIONS=parallel=2 528s GIO_USE_VFS=local 528s GIO_USE_VOLUME_MONITOR=unix 528s HOME=/home/ubuntu 528s LANG=C.UTF-8 528s LOGNAME=ubuntu 528s MAIL=/var/mail/ubuntu 528s OLDPWD=/home/ubuntu 528s PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin 528s PWD=/tmp/autopkgtest.GrinVw/build.8ws/src 528s SHELL=/bin/bash 528s SHLVL=1 528s SUDO_COMMAND=/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.GrinVw/wrapper.sh --artifacts=/tmp/autopkgtest.GrinVw/installed-tests-artifacts --chdir=/tmp/autopkgtest.GrinVw/build.8ws/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.GrinVw/installed-tests-stderr --stdout=/tmp/autopkgtest.GrinVw/installed-tests-stdout --tmp=/tmp/autopkgtest.GrinVw/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=python3-defaults/3.13.7-2 --make-executable=/tmp/autopkgtest.GrinVw/build.8ws/src/debian/tests/installed-tests -- /tmp/autopkgtest.GrinVw/build.8ws/src/debian/tests/installed-tests 528s SUDO_GID=1000 528s SUDO_UID=1000 528s SUDO_USER=ubuntu 528s TERM=linux 528s USER=ubuntu 528s XDG_RUNTIME_DIR=/tmp/autopkgtest.GrinVw/autopkgtest_tmp 528s http_proxy=http://squid.internal:3128/ 528s https_proxy=http://squid.internal:3128/ 528s 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 528s run-with-locales: de_DE=ISO-8859-1... 528s Character set: ISO-8859-1 528s Source file: de_DE 528s Output: /tmp/tmp.L4DEsBtdRY/de_DE 529s run-with-locales: de_DE.utf8... 529s Character set: UTF-8 529s Source file: de_DE 529s Output: /tmp/tmp.L4DEsBtdRY/de_DE.utf8 530s run-with-locales: de_DE@euro.utf8... 530s Character set: UTF-8 530s Source file: de_DE@euro 530s Output: /tmp/tmp.L4DEsBtdRY/de_DE@euro.utf8 531s run-with-locales: el_GR.utf8... 531s Character set: UTF-8 531s Source file: el_GR 531s Output: /tmp/tmp.L4DEsBtdRY/el_GR.utf8 532s run-with-locales: en_GB=ISO-8859-1... 532s Character set: ISO-8859-1 532s Source file: en_GB 532s Output: /tmp/tmp.L4DEsBtdRY/en_GB 533s run-with-locales: en_GB.utf8... 533s Character set: UTF-8 533s Source file: en_GB 533s Output: /tmp/tmp.L4DEsBtdRY/en_GB.utf8 534s run-with-locales: en_US=ISO-8859-1... 534s Character set: ISO-8859-1 534s Source file: en_US 534s Output: /tmp/tmp.L4DEsBtdRY/en_US 534s run-with-locales: en_US.utf8... 534s Character set: UTF-8 534s Source file: en_US 534s Output: /tmp/tmp.L4DEsBtdRY/en_US.utf8 536s run-with-locales: es_ES.utf8... 536s Character set: UTF-8 536s Source file: es_ES 536s Output: /tmp/tmp.L4DEsBtdRY/es_ES.utf8 537s run-with-locales: fa_IR=UTF-8... 537s Character set: UTF-8 537s Source file: fa_IR 537s Output: /tmp/tmp.L4DEsBtdRY/fa_IR 538s run-with-locales: fa_IR.utf8... 538s Character set: UTF-8 538s Source file: fa_IR 538s Output: /tmp/tmp.L4DEsBtdRY/fa_IR.utf8 539s run-with-locales: fr_FR.utf8... 539s Character set: UTF-8 539s Source file: fr_FR 539s Output: /tmp/tmp.L4DEsBtdRY/fr_FR.utf8 541s run-with-locales: hr_HR.utf8... 541s Character set: UTF-8 541s Source file: hr_HR 541s Output: /tmp/tmp.L4DEsBtdRY/hr_HR.utf8 542s run-with-locales: ja_JP.utf8... 542s Character set: UTF-8 542s Source file: ja_JP 542s Output: /tmp/tmp.L4DEsBtdRY/ja_JP.utf8 543s run-with-locales: ja_JP.EUC-JP... 543s Character set: EUC-JP 543s Source file: ja_JP 543s Output: /tmp/tmp.L4DEsBtdRY/ja_JP.eucjp 543s run-with-locales: lt_LT.utf8... 543s Character set: UTF-8 543s Source file: lt_LT 543s Output: /tmp/tmp.L4DEsBtdRY/lt_LT.utf8 544s run-with-locales: pl_PL=ISO-8859-2... 544s Character set: ISO-8859-2 544s Source file: pl_PL 544s Output: /tmp/tmp.L4DEsBtdRY/pl_PL 545s run-with-locales: pl_PL.ISO-8859-2... 545s Character set: ISO-8859-2 545s Source file: pl_PL 545s Output: /tmp/tmp.L4DEsBtdRY/pl_PL.iso88592 545s run-with-locales: pl_PL.utf8... 545s Character set: UTF-8 545s Source file: pl_PL 545s Output: /tmp/tmp.L4DEsBtdRY/pl_PL.utf8 546s run-with-locales: ru_RU=ISO-8859-5... 546s Character set: ISO-8859-5 546s Source file: ru_RU 546s Output: /tmp/tmp.L4DEsBtdRY/ru_RU 547s run-with-locales: ru_RU.utf8... 547s Character set: UTF-8 547s Source file: ru_RU 547s Output: /tmp/tmp.L4DEsBtdRY/ru_RU.utf8 548s run-with-locales: sr_RS=UTF-8... 548s Character set: UTF-8 548s Source file: sr_RS 548s Output: /tmp/tmp.L4DEsBtdRY/sr_RS 549s run-with-locales: sr_RS@latin=UTF-8... 549s Character set: UTF-8 549s Source file: sr_RS@latin 549s Output: /tmp/tmp.L4DEsBtdRY/sr_RS@latin 550s run-with-locales: sv_SE=ISO-8859-1... 550s Character set: ISO-8859-1 550s Source file: sv_SE 550s Output: /tmp/tmp.L4DEsBtdRY/sv_SE 551s run-with-locales: sv_SE.utf8... 551s Character set: UTF-8 551s Source file: sv_SE 551s Output: /tmp/tmp.L4DEsBtdRY/sv_SE.utf8 552s run-with-locales: tr_TR=ISO-8859-9... 552s Character set: ISO-8859-9 552s Source file: tr_TR 552s Output: /tmp/tmp.L4DEsBtdRY/tr_TR 552s run-with-locales: tr_TR.utf8... 552s Character set: UTF-8 552s Source file: tr_TR 552s Output: /tmp/tmp.L4DEsBtdRY/tr_TR.utf8 553s run-with-locales: tt_RU=UTF-8... 553s Character set: UTF-8 553s Source file: tt_RU 553s Output: /tmp/tmp.L4DEsBtdRY/tt_RU 555s run-with-locales: tt_RU.utf8... 555s Character set: UTF-8 555s Source file: tt_RU 555s Output: /tmp/tmp.L4DEsBtdRY/tt_RU.utf8 556s run-with-locales: tt_RU@iqtelif=UTF-8... 556s Character set: UTF-8 556s Source file: tt_RU@iqtelif 556s Output: /tmp/tmp.L4DEsBtdRY/tt_RU@iqtelif 557s /tmp/tmp.L4DEsBtdRY 557s /tmp/tmp.L4DEsBtdRY/sr_RS 557s /tmp/tmp.L4DEsBtdRY/sr_RS/LC_TELEPHONE 557s /tmp/tmp.L4DEsBtdRY/sr_RS/LC_NAME 557s /tmp/tmp.L4DEsBtdRY/sr_RS/LC_ADDRESS 557s /tmp/tmp.L4DEsBtdRY/sr_RS/LC_COLLATE 557s /tmp/tmp.L4DEsBtdRY/sr_RS/LC_TIME 557s /tmp/tmp.L4DEsBtdRY/sr_RS/LC_MEASUREMENT 557s /tmp/tmp.L4DEsBtdRY/sr_RS/LC_IDENTIFICATION 557s /tmp/tmp.L4DEsBtdRY/sr_RS/LC_CTYPE 557s /tmp/tmp.L4DEsBtdRY/sr_RS/LC_MONETARY 557s /tmp/tmp.L4DEsBtdRY/sr_RS/LC_NUMERIC 557s /tmp/tmp.L4DEsBtdRY/sr_RS/LC_MESSAGES 557s /tmp/tmp.L4DEsBtdRY/sr_RS/LC_MESSAGES/SYS_LC_MESSAGES 557s /tmp/tmp.L4DEsBtdRY/sr_RS/LC_PAPER 557s /tmp/tmp.L4DEsBtdRY/en_US.utf8 557s /tmp/tmp.L4DEsBtdRY/en_US.utf8/LC_TELEPHONE 557s /tmp/tmp.L4DEsBtdRY/en_US.utf8/LC_NAME 557s /tmp/tmp.L4DEsBtdRY/en_US.utf8/LC_ADDRESS 557s /tmp/tmp.L4DEsBtdRY/en_US.utf8/LC_COLLATE 557s /tmp/tmp.L4DEsBtdRY/en_US.utf8/LC_TIME 557s /tmp/tmp.L4DEsBtdRY/en_US.utf8/LC_MEASUREMENT 557s /tmp/tmp.L4DEsBtdRY/en_US.utf8/LC_IDENTIFICATION 557s /tmp/tmp.L4DEsBtdRY/en_US.utf8/LC_CTYPE 557s /tmp/tmp.L4DEsBtdRY/en_US.utf8/LC_MONETARY 557s /tmp/tmp.L4DEsBtdRY/en_US.utf8/LC_NUMERIC 557s /tmp/tmp.L4DEsBtdRY/en_US.utf8/LC_MESSAGES 557s /tmp/tmp.L4DEsBtdRY/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES 557s /tmp/tmp.L4DEsBtdRY/en_US.utf8/LC_PAPER 557s /tmp/tmp.L4DEsBtdRY/tt_RU.utf8 557s /tmp/tmp.L4DEsBtdRY/tt_RU.utf8/LC_TELEPHONE 557s /tmp/tmp.L4DEsBtdRY/tt_RU.utf8/LC_NAME 557s /tmp/tmp.L4DEsBtdRY/tt_RU.utf8/LC_ADDRESS 557s /tmp/tmp.L4DEsBtdRY/tt_RU.utf8/LC_COLLATE 557s /tmp/tmp.L4DEsBtdRY/tt_RU.utf8/LC_TIME 557s /tmp/tmp.L4DEsBtdRY/tt_RU.utf8/LC_MEASUREMENT 557s /tmp/tmp.L4DEsBtdRY/tt_RU.utf8/LC_IDENTIFICATION 557s /tmp/tmp.L4DEsBtdRY/tt_RU.utf8/LC_CTYPE 557s /tmp/tmp.L4DEsBtdRY/tt_RU.utf8/LC_MONETARY 557s /tmp/tmp.L4DEsBtdRY/tt_RU.utf8/LC_NUMERIC 557s /tmp/tmp.L4DEsBtdRY/tt_RU.utf8/LC_MESSAGES 557s /tmp/tmp.L4DEsBtdRY/tt_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 557s /tmp/tmp.L4DEsBtdRY/tt_RU.utf8/LC_PAPER 557s /tmp/tmp.L4DEsBtdRY/lt_LT.utf8 557s /tmp/tmp.L4DEsBtdRY/lt_LT.utf8/LC_TELEPHONE 557s /tmp/tmp.L4DEsBtdRY/lt_LT.utf8/LC_NAME 557s /tmp/tmp.L4DEsBtdRY/lt_LT.utf8/LC_ADDRESS 557s /tmp/tmp.L4DEsBtdRY/lt_LT.utf8/LC_COLLATE 557s /tmp/tmp.L4DEsBtdRY/lt_LT.utf8/LC_TIME 557s /tmp/tmp.L4DEsBtdRY/lt_LT.utf8/LC_MEASUREMENT 557s /tmp/tmp.L4DEsBtdRY/lt_LT.utf8/LC_IDENTIFICATION 557s /tmp/tmp.L4DEsBtdRY/lt_LT.utf8/LC_CTYPE 557s /tmp/tmp.L4DEsBtdRY/lt_LT.utf8/LC_MONETARY 557s /tmp/tmp.L4DEsBtdRY/lt_LT.utf8/LC_NUMERIC 557s /tmp/tmp.L4DEsBtdRY/lt_LT.utf8/LC_MESSAGES 557s /tmp/tmp.L4DEsBtdRY/lt_LT.utf8/LC_MESSAGES/SYS_LC_MESSAGES 557s /tmp/tmp.L4DEsBtdRY/lt_LT.utf8/LC_PAPER 557s /tmp/tmp.L4DEsBtdRY/de_DE.utf8 557s /tmp/tmp.L4DEsBtdRY/de_DE.utf8/LC_TELEPHONE 557s /tmp/tmp.L4DEsBtdRY/de_DE.utf8/LC_NAME 557s /tmp/tmp.L4DEsBtdRY/de_DE.utf8/LC_ADDRESS 557s /tmp/tmp.L4DEsBtdRY/de_DE.utf8/LC_COLLATE 557s /tmp/tmp.L4DEsBtdRY/de_DE.utf8/LC_TIME 557s /tmp/tmp.L4DEsBtdRY/de_DE.utf8/LC_MEASUREMENT 557s /tmp/tmp.L4DEsBtdRY/de_DE.utf8/LC_IDENTIFICATION 557s /tmp/tmp.L4DEsBtdRY/de_DE.utf8/LC_CTYPE 557s /tmp/tmp.L4DEsBtdRY/de_DE.utf8/LC_MONETARY 557s /tmp/tmp.L4DEsBtdRY/de_DE.utf8/LC_NUMERIC 557s /tmp/tmp.L4DEsBtdRY/de_DE.utf8/LC_MESSAGES 557s /tmp/tmp.L4DEsBtdRY/de_DE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 557s /tmp/tmp.L4DEsBtdRY/de_DE.utf8/LC_PAPER 557s /tmp/tmp.L4DEsBtdRY/tt_RU@iqtelif 557s /tmp/tmp.L4DEsBtdRY/tt_RU@iqtelif/LC_TELEPHONE 557s /tmp/tmp.L4DEsBtdRY/tt_RU@iqtelif/LC_NAME 557s /tmp/tmp.L4DEsBtdRY/tt_RU@iqtelif/LC_ADDRESS 557s /tmp/tmp.L4DEsBtdRY/tt_RU@iqtelif/LC_COLLATE 557s /tmp/tmp.L4DEsBtdRY/tt_RU@iqtelif/LC_TIME 557s /tmp/tmp.L4DEsBtdRY/tt_RU@iqtelif/LC_MEASUREMENT 557s /tmp/tmp.L4DEsBtdRY/tt_RU@iqtelif/LC_IDENTIFICATION 557s /tmp/tmp.L4DEsBtdRY/tt_RU@iqtelif/LC_CTYPE 557s /tmp/tmp.L4DEsBtdRY/tt_RU@iqtelif/LC_MONETARY 557s /tmp/tmp.L4DEsBtdRY/tt_RU@iqtelif/LC_NUMERIC 557s /tmp/tmp.L4DEsBtdRY/tt_RU@iqtelif/LC_MESSAGES 557s /tmp/tmp.L4DEsBtdRY/tt_RU@iqtelif/LC_MESSAGES/SYS_LC_MESSAGES 557s /tmp/tmp.L4DEsBtdRY/tt_RU@iqtelif/LC_PAPER 557s /tmp/tmp.L4DEsBtdRY/pl_PL 557s /tmp/tmp.L4DEsBtdRY/pl_PL/LC_TELEPHONE 557s /tmp/tmp.L4DEsBtdRY/pl_PL/LC_NAME 557s /tmp/tmp.L4DEsBtdRY/pl_PL/LC_ADDRESS 557s /tmp/tmp.L4DEsBtdRY/pl_PL/LC_COLLATE 557s /tmp/tmp.L4DEsBtdRY/pl_PL/LC_TIME 557s /tmp/tmp.L4DEsBtdRY/pl_PL/LC_MEASUREMENT 557s /tmp/tmp.L4DEsBtdRY/pl_PL/LC_IDENTIFICATION 557s /tmp/tmp.L4DEsBtdRY/pl_PL/LC_CTYPE 557s /tmp/tmp.L4DEsBtdRY/pl_PL/LC_MONETARY 557s /tmp/tmp.L4DEsBtdRY/pl_PL/LC_NUMERIC 557s /tmp/tmp.L4DEsBtdRY/pl_PL/LC_MESSAGES 557s /tmp/tmp.L4DEsBtdRY/pl_PL/LC_MESSAGES/SYS_LC_MESSAGES 557s /tmp/tmp.L4DEsBtdRY/pl_PL/LC_PAPER 557s /tmp/tmp.L4DEsBtdRY/fr_FR.utf8 557s /tmp/tmp.L4DEsBtdRY/fr_FR.utf8/LC_TELEPHONE 557s /tmp/tmp.L4DEsBtdRY/fr_FR.utf8/LC_NAME 557s /tmp/tmp.L4DEsBtdRY/fr_FR.utf8/LC_ADDRESS 557s /tmp/tmp.L4DEsBtdRY/fr_FR.utf8/LC_COLLATE 557s /tmp/tmp.L4DEsBtdRY/fr_FR.utf8/LC_TIME 557s /tmp/tmp.L4DEsBtdRY/fr_FR.utf8/LC_MEASUREMENT 557s /tmp/tmp.L4DEsBtdRY/fr_FR.utf8/LC_IDENTIFICATION 557s /tmp/tmp.L4DEsBtdRY/fr_FR.utf8/LC_CTYPE 557s /tmp/tmp.L4DEsBtdRY/fr_FR.utf8/LC_MONETARY 557s /tmp/tmp.L4DEsBtdRY/fr_FR.utf8/LC_NUMERIC 557s /tmp/tmp.L4DEsBtdRY/fr_FR.utf8/LC_MESSAGES 557s /tmp/tmp.L4DEsBtdRY/fr_FR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 557s /tmp/tmp.L4DEsBtdRY/fr_FR.utf8/LC_PAPER 557s /tmp/tmp.L4DEsBtdRY/de_DE@euro.utf8 557s /tmp/tmp.L4DEsBtdRY/de_DE@euro.utf8/LC_TELEPHONE 557s /tmp/tmp.L4DEsBtdRY/de_DE@euro.utf8/LC_NAME 557s /tmp/tmp.L4DEsBtdRY/de_DE@euro.utf8/LC_ADDRESS 557s /tmp/tmp.L4DEsBtdRY/de_DE@euro.utf8/LC_COLLATE 557s /tmp/tmp.L4DEsBtdRY/de_DE@euro.utf8/LC_TIME 557s /tmp/tmp.L4DEsBtdRY/de_DE@euro.utf8/LC_MEASUREMENT 557s /tmp/tmp.L4DEsBtdRY/de_DE@euro.utf8/LC_IDENTIFICATION 557s /tmp/tmp.L4DEsBtdRY/de_DE@euro.utf8/LC_CTYPE 557s /tmp/tmp.L4DEsBtdRY/de_DE@euro.utf8/LC_MONETARY 557s /tmp/tmp.L4DEsBtdRY/de_DE@euro.utf8/LC_NUMERIC 557s /tmp/tmp.L4DEsBtdRY/de_DE@euro.utf8/LC_MESSAGES 557s /tmp/tmp.L4DEsBtdRY/de_DE@euro.utf8/LC_MESSAGES/SYS_LC_MESSAGES 557s /tmp/tmp.L4DEsBtdRY/de_DE@euro.utf8/LC_PAPER 557s /tmp/tmp.L4DEsBtdRY/en_GB 557s /tmp/tmp.L4DEsBtdRY/en_GB/LC_TELEPHONE 557s /tmp/tmp.L4DEsBtdRY/en_GB/LC_NAME 557s /tmp/tmp.L4DEsBtdRY/en_GB/LC_ADDRESS 557s /tmp/tmp.L4DEsBtdRY/en_GB/LC_COLLATE 557s /tmp/tmp.L4DEsBtdRY/en_GB/LC_TIME 557s /tmp/tmp.L4DEsBtdRY/en_GB/LC_MEASUREMENT 557s /tmp/tmp.L4DEsBtdRY/en_GB/LC_IDENTIFICATION 557s /tmp/tmp.L4DEsBtdRY/en_GB/LC_CTYPE 557s /tmp/tmp.L4DEsBtdRY/en_GB/LC_MONETARY 557s /tmp/tmp.L4DEsBtdRY/en_GB/LC_NUMERIC 557s /tmp/tmp.L4DEsBtdRY/en_GB/LC_MESSAGES 557s /tmp/tmp.L4DEsBtdRY/en_GB/LC_MESSAGES/SYS_LC_MESSAGES 557s /tmp/tmp.L4DEsBtdRY/en_GB/LC_PAPER 557s /tmp/tmp.L4DEsBtdRY/tt_RU 557s /tmp/tmp.L4DEsBtdRY/tt_RU/LC_TELEPHONE 557s /tmp/tmp.L4DEsBtdRY/tt_RU/LC_NAME 557s /tmp/tmp.L4DEsBtdRY/tt_RU/LC_ADDRESS 557s /tmp/tmp.L4DEsBtdRY/tt_RU/LC_COLLATE 557s /tmp/tmp.L4DEsBtdRY/tt_RU/LC_TIME 557s /tmp/tmp.L4DEsBtdRY/tt_RU/LC_MEASUREMENT 557s /tmp/tmp.L4DEsBtdRY/tt_RU/LC_IDENTIFICATION 557s /tmp/tmp.L4DEsBtdRY/tt_RU/LC_CTYPE 557s /tmp/tmp.L4DEsBtdRY/tt_RU/LC_MONETARY 557s /tmp/tmp.L4DEsBtdRY/tt_RU/LC_NUMERIC 557s /tmp/tmp.L4DEsBtdRY/tt_RU/LC_MESSAGES 557s /tmp/tmp.L4DEsBtdRY/tt_RU/LC_MESSAGES/SYS_LC_MESSAGES 557s /tmp/tmp.L4DEsBtdRY/tt_RU/LC_PAPER 557s /tmp/tmp.L4DEsBtdRY/es_ES.utf8 557s /tmp/tmp.L4DEsBtdRY/es_ES.utf8/LC_TELEPHONE 557s /tmp/tmp.L4DEsBtdRY/es_ES.utf8/LC_NAME 557s /tmp/tmp.L4DEsBtdRY/es_ES.utf8/LC_ADDRESS 557s /tmp/tmp.L4DEsBtdRY/es_ES.utf8/LC_COLLATE 557s /tmp/tmp.L4DEsBtdRY/es_ES.utf8/LC_TIME 557s /tmp/tmp.L4DEsBtdRY/es_ES.utf8/LC_MEASUREMENT 557s /tmp/tmp.L4DEsBtdRY/es_ES.utf8/LC_IDENTIFICATION 557s /tmp/tmp.L4DEsBtdRY/es_ES.utf8/LC_CTYPE 557s /tmp/tmp.L4DEsBtdRY/es_ES.utf8/LC_MONETARY 557s /tmp/tmp.L4DEsBtdRY/es_ES.utf8/LC_NUMERIC 557s /tmp/tmp.L4DEsBtdRY/es_ES.utf8/LC_MESSAGES 557s /tmp/tmp.L4DEsBtdRY/es_ES.utf8/LC_MESSAGES/SYS_LC_MESSAGES 557s /tmp/tmp.L4DEsBtdRY/es_ES.utf8/LC_PAPER 557s /tmp/tmp.L4DEsBtdRY/ja_JP.eucjp 557s /tmp/tmp.L4DEsBtdRY/ja_JP.eucjp/LC_TELEPHONE 557s /tmp/tmp.L4DEsBtdRY/ja_JP.eucjp/LC_NAME 557s /tmp/tmp.L4DEsBtdRY/ja_JP.eucjp/LC_ADDRESS 557s /tmp/tmp.L4DEsBtdRY/ja_JP.eucjp/LC_COLLATE 557s /tmp/tmp.L4DEsBtdRY/ja_JP.eucjp/LC_TIME 557s /tmp/tmp.L4DEsBtdRY/ja_JP.eucjp/LC_MEASUREMENT 557s /tmp/tmp.L4DEsBtdRY/ja_JP.eucjp/LC_IDENTIFICATION 557s /tmp/tmp.L4DEsBtdRY/ja_JP.eucjp/LC_CTYPE 557s /tmp/tmp.L4DEsBtdRY/ja_JP.eucjp/LC_MONETARY 557s /tmp/tmp.L4DEsBtdRY/ja_JP.eucjp/LC_NUMERIC 557s /tmp/tmp.L4DEsBtdRY/ja_JP.eucjp/LC_MESSAGES 557s /tmp/tmp.L4DEsBtdRY/ja_JP.eucjp/LC_MESSAGES/SYS_LC_MESSAGES 557s /tmp/tmp.L4DEsBtdRY/ja_JP.eucjp/LC_PAPER 557s /tmp/tmp.L4DEsBtdRY/hr_HR.utf8 557s /tmp/tmp.L4DEsBtdRY/hr_HR.utf8/LC_TELEPHONE 557s /tmp/tmp.L4DEsBtdRY/hr_HR.utf8/LC_NAME 557s /tmp/tmp.L4DEsBtdRY/hr_HR.utf8/LC_ADDRESS 557s /tmp/tmp.L4DEsBtdRY/hr_HR.utf8/LC_COLLATE 557s /tmp/tmp.L4DEsBtdRY/hr_HR.utf8/LC_TIME 557s /tmp/tmp.L4DEsBtdRY/hr_HR.utf8/LC_MEASUREMENT 557s /tmp/tmp.L4DEsBtdRY/hr_HR.utf8/LC_IDENTIFICATION 557s /tmp/tmp.L4DEsBtdRY/hr_HR.utf8/LC_CTYPE 557s /tmp/tmp.L4DEsBtdRY/hr_HR.utf8/LC_MONETARY 557s /tmp/tmp.L4DEsBtdRY/hr_HR.utf8/LC_NUMERIC 557s /tmp/tmp.L4DEsBtdRY/hr_HR.utf8/LC_MESSAGES 557s /tmp/tmp.L4DEsBtdRY/hr_HR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 557s /tmp/tmp.L4DEsBtdRY/hr_HR.utf8/LC_PAPER 557s /tmp/tmp.L4DEsBtdRY/ja_JP.utf8 557s /tmp/tmp.L4DEsBtdRY/ja_JP.utf8/LC_TELEPHONE 557s /tmp/tmp.L4DEsBtdRY/ja_JP.utf8/LC_NAME 557s /tmp/tmp.L4DEsBtdRY/ja_JP.utf8/LC_ADDRESS 557s /tmp/tmp.L4DEsBtdRY/ja_JP.utf8/LC_COLLATE 557s /tmp/tmp.L4DEsBtdRY/ja_JP.utf8/LC_TIME 557s /tmp/tmp.L4DEsBtdRY/ja_JP.utf8/LC_MEASUREMENT 557s /tmp/tmp.L4DEsBtdRY/ja_JP.utf8/LC_IDENTIFICATION 557s /tmp/tmp.L4DEsBtdRY/ja_JP.utf8/LC_CTYPE 557s /tmp/tmp.L4DEsBtdRY/ja_JP.utf8/LC_MONETARY 557s /tmp/tmp.L4DEsBtdRY/ja_JP.utf8/LC_NUMERIC 557s /tmp/tmp.L4DEsBtdRY/ja_JP.utf8/LC_MESSAGES 557s /tmp/tmp.L4DEsBtdRY/ja_JP.utf8/LC_MESSAGES/SYS_LC_MESSAGES 557s /tmp/tmp.L4DEsBtdRY/ja_JP.utf8/LC_PAPER 557s /tmp/tmp.L4DEsBtdRY/fa_IR 557s /tmp/tmp.L4DEsBtdRY/fa_IR/LC_TELEPHONE 557s /tmp/tmp.L4DEsBtdRY/fa_IR/LC_NAME 557s /tmp/tmp.L4DEsBtdRY/fa_IR/LC_ADDRESS 557s /tmp/tmp.L4DEsBtdRY/fa_IR/LC_COLLATE 557s /tmp/tmp.L4DEsBtdRY/fa_IR/LC_TIME 557s /tmp/tmp.L4DEsBtdRY/fa_IR/LC_MEASUREMENT 557s /tmp/tmp.L4DEsBtdRY/fa_IR/LC_IDENTIFICATION 557s /tmp/tmp.L4DEsBtdRY/fa_IR/LC_CTYPE 557s /tmp/tmp.L4DEsBtdRY/fa_IR/LC_MONETARY 557s /tmp/tmp.L4DEsBtdRY/fa_IR/LC_NUMERIC 557s /tmp/tmp.L4DEsBtdRY/fa_IR/LC_MESSAGES 557s /tmp/tmp.L4DEsBtdRY/fa_IR/LC_MESSAGES/SYS_LC_MESSAGES 557s /tmp/tmp.L4DEsBtdRY/fa_IR/LC_PAPER 557s /tmp/tmp.L4DEsBtdRY/ru_RU.utf8 557s /tmp/tmp.L4DEsBtdRY/ru_RU.utf8/LC_TELEPHONE 557s /tmp/tmp.L4DEsBtdRY/ru_RU.utf8/LC_NAME 557s /tmp/tmp.L4DEsBtdRY/ru_RU.utf8/LC_ADDRESS 557s /tmp/tmp.L4DEsBtdRY/ru_RU.utf8/LC_COLLATE 557s /tmp/tmp.L4DEsBtdRY/ru_RU.utf8/LC_TIME 557s /tmp/tmp.L4DEsBtdRY/ru_RU.utf8/LC_MEASUREMENT 557s /tmp/tmp.L4DEsBtdRY/ru_RU.utf8/LC_IDENTIFICATION 557s /tmp/tmp.L4DEsBtdRY/ru_RU.utf8/LC_CTYPE 557s /tmp/tmp.L4DEsBtdRY/ru_RU.utf8/LC_MONETARY 557s /tmp/tmp.L4DEsBtdRY/ru_RU.utf8/LC_NUMERIC 557s /tmp/tmp.L4DEsBtdRY/ru_RU.utf8/LC_MESSAGES 557s /tmp/tmp.L4DEsBtdRY/ru_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 557s /tmp/tmp.L4DEsBtdRY/ru_RU.utf8/LC_PAPER 557s /tmp/tmp.L4DEsBtdRY/sv_SE 557s /tmp/tmp.L4DEsBtdRY/sv_SE/LC_TELEPHONE 557s /tmp/tmp.L4DEsBtdRY/sv_SE/LC_NAME 557s /tmp/tmp.L4DEsBtdRY/sv_SE/LC_ADDRESS 557s /tmp/tmp.L4DEsBtdRY/sv_SE/LC_COLLATE 557s /tmp/tmp.L4DEsBtdRY/sv_SE/LC_TIME 557s /tmp/tmp.L4DEsBtdRY/sv_SE/LC_MEASUREMENT 557s /tmp/tmp.L4DEsBtdRY/sv_SE/LC_IDENTIFICATION 557s /tmp/tmp.L4DEsBtdRY/sv_SE/LC_CTYPE 557s /tmp/tmp.L4DEsBtdRY/sv_SE/LC_MONETARY 557s /tmp/tmp.L4DEsBtdRY/sv_SE/LC_NUMERIC 557s /tmp/tmp.L4DEsBtdRY/sv_SE/LC_MESSAGES 557s /tmp/tmp.L4DEsBtdRY/sv_SE/LC_MESSAGES/SYS_LC_MESSAGES 557s /tmp/tmp.L4DEsBtdRY/sv_SE/LC_PAPER 557s /tmp/tmp.L4DEsBtdRY/en_US 557s /tmp/tmp.L4DEsBtdRY/en_US/LC_TELEPHONE 557s /tmp/tmp.L4DEsBtdRY/en_US/LC_NAME 557s /tmp/tmp.L4DEsBtdRY/en_US/LC_ADDRESS 557s /tmp/tmp.L4DEsBtdRY/en_US/LC_COLLATE 557s /tmp/tmp.L4DEsBtdRY/en_US/LC_TIME 557s /tmp/tmp.L4DEsBtdRY/en_US/LC_MEASUREMENT 557s /tmp/tmp.L4DEsBtdRY/en_US/LC_IDENTIFICATION 557s /tmp/tmp.L4DEsBtdRY/en_US/LC_CTYPE 557s /tmp/tmp.L4DEsBtdRY/en_US/LC_MONETARY 557s /tmp/tmp.L4DEsBtdRY/en_US/LC_NUMERIC 557s /tmp/tmp.L4DEsBtdRY/en_US/LC_MESSAGES 557s /tmp/tmp.L4DEsBtdRY/en_US/LC_MESSAGES/SYS_LC_MESSAGES 557s /tmp/tmp.L4DEsBtdRY/en_US/LC_PAPER 557s /tmp/tmp.L4DEsBtdRY/tr_TR 557s /tmp/tmp.L4DEsBtdRY/tr_TR/LC_TELEPHONE 557s /tmp/tmp.L4DEsBtdRY/tr_TR/LC_NAME 557s /tmp/tmp.L4DEsBtdRY/tr_TR/LC_ADDRESS 557s /tmp/tmp.L4DEsBtdRY/tr_TR/LC_COLLATE 557s /tmp/tmp.L4DEsBtdRY/tr_TR/LC_TIME 557s /tmp/tmp.L4DEsBtdRY/tr_TR/LC_MEASUREMENT 557s /tmp/tmp.L4DEsBtdRY/tr_TR/LC_IDENTIFICATION 557s /tmp/tmp.L4DEsBtdRY/tr_TR/LC_CTYPE 557s /tmp/tmp.L4DEsBtdRY/tr_TR/LC_MONETARY 557s /tmp/tmp.L4DEsBtdRY/tr_TR/LC_NUMERIC 557s /tmp/tmp.L4DEsBtdRY/tr_TR/LC_MESSAGES 557s /tmp/tmp.L4DEsBtdRY/tr_TR/LC_MESSAGES/SYS_LC_MESSAGES 557s /tmp/tmp.L4DEsBtdRY/tr_TR/LC_PAPER 557s /tmp/tmp.L4DEsBtdRY/el_GR.utf8 557s /tmp/tmp.L4DEsBtdRY/el_GR.utf8/LC_TELEPHONE 557s /tmp/tmp.L4DEsBtdRY/el_GR.utf8/LC_NAME 557s /tmp/tmp.L4DEsBtdRY/el_GR.utf8/LC_ADDRESS 557s /tmp/tmp.L4DEsBtdRY/el_GR.utf8/LC_COLLATE 557s /tmp/tmp.L4DEsBtdRY/el_GR.utf8/LC_TIME 557s /tmp/tmp.L4DEsBtdRY/el_GR.utf8/LC_MEASUREMENT 557s /tmp/tmp.L4DEsBtdRY/el_GR.utf8/LC_IDENTIFICATION 557s /tmp/tmp.L4DEsBtdRY/el_GR.utf8/LC_CTYPE 557s /tmp/tmp.L4DEsBtdRY/el_GR.utf8/LC_MONETARY 557s /tmp/tmp.L4DEsBtdRY/el_GR.utf8/LC_NUMERIC 557s /tmp/tmp.L4DEsBtdRY/el_GR.utf8/LC_MESSAGES 557s /tmp/tmp.L4DEsBtdRY/el_GR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 557s /tmp/tmp.L4DEsBtdRY/el_GR.utf8/LC_PAPER 557s /tmp/tmp.L4DEsBtdRY/de_DE 557s /tmp/tmp.L4DEsBtdRY/de_DE/LC_TELEPHONE 557s /tmp/tmp.L4DEsBtdRY/de_DE/LC_NAME 557s /tmp/tmp.L4DEsBtdRY/de_DE/LC_ADDRESS 557s /tmp/tmp.L4DEsBtdRY/de_DE/LC_COLLATE 557s /tmp/tmp.L4DEsBtdRY/de_DE/LC_TIME 557s /tmp/tmp.L4DEsBtdRY/de_DE/LC_MEASUREMENT 557s /tmp/tmp.L4DEsBtdRY/de_DE/LC_IDENTIFICATION 557s /tmp/tmp.L4DEsBtdRY/de_DE/LC_CTYPE 557s /tmp/tmp.L4DEsBtdRY/de_DE/LC_MONETARY 557s /tmp/tmp.L4DEsBtdRY/de_DE/LC_NUMERIC 557s /tmp/tmp.L4DEsBtdRY/de_DE/LC_MESSAGES 557s /tmp/tmp.L4DEsBtdRY/de_DE/LC_MESSAGES/SYS_LC_MESSAGES 557s /tmp/tmp.L4DEsBtdRY/de_DE/LC_PAPER 557s /tmp/tmp.L4DEsBtdRY/sr_RS@latin 557s /tmp/tmp.L4DEsBtdRY/sr_RS@latin/LC_TELEPHONE 557s /tmp/tmp.L4DEsBtdRY/sr_RS@latin/LC_NAME 557s /tmp/tmp.L4DEsBtdRY/sr_RS@latin/LC_ADDRESS 557s /tmp/tmp.L4DEsBtdRY/sr_RS@latin/LC_COLLATE 557s /tmp/tmp.L4DEsBtdRY/sr_RS@latin/LC_TIME 557s /tmp/tmp.L4DEsBtdRY/sr_RS@latin/LC_MEASUREMENT 557s /tmp/tmp.L4DEsBtdRY/sr_RS@latin/LC_IDENTIFICATION 557s /tmp/tmp.L4DEsBtdRY/sr_RS@latin/LC_CTYPE 557s /tmp/tmp.L4DEsBtdRY/sr_RS@latin/LC_MONETARY 557s /tmp/tmp.L4DEsBtdRY/sr_RS@latin/LC_NUMERIC 557s /tmp/tmp.L4DEsBtdRY/sr_RS@latin/LC_MESSAGES 557s /tmp/tmp.L4DEsBtdRY/sr_RS@latin/LC_MESSAGES/SYS_LC_MESSAGES 557s /tmp/tmp.L4DEsBtdRY/sr_RS@latin/LC_PAPER 557s /tmp/tmp.L4DEsBtdRY/ru_RU 557s /tmp/tmp.L4DEsBtdRY/ru_RU/LC_TELEPHONE 557s /tmp/tmp.L4DEsBtdRY/ru_RU/LC_NAME 557s /tmp/tmp.L4DEsBtdRY/ru_RU/LC_ADDRESS 557s /tmp/tmp.L4DEsBtdRY/ru_RU/LC_COLLATE 557s /tmp/tmp.L4DEsBtdRY/ru_RU/LC_TIME 557s /tmp/tmp.L4DEsBtdRY/ru_RU/LC_MEASUREMENT 557s /tmp/tmp.L4DEsBtdRY/ru_RU/LC_IDENTIFICATION 557s /tmp/tmp.L4DEsBtdRY/ru_RU/LC_CTYPE 557s /tmp/tmp.L4DEsBtdRY/ru_RU/LC_MONETARY 557s /tmp/tmp.L4DEsBtdRY/ru_RU/LC_NUMERIC 557s /tmp/tmp.L4DEsBtdRY/ru_RU/LC_MESSAGES 557s /tmp/tmp.L4DEsBtdRY/ru_RU/LC_MESSAGES/SYS_LC_MESSAGES 557s /tmp/tmp.L4DEsBtdRY/ru_RU/LC_PAPER 557s /tmp/tmp.L4DEsBtdRY/fa_IR.utf8 557s /tmp/tmp.L4DEsBtdRY/fa_IR.utf8/LC_TELEPHONE 557s /tmp/tmp.L4DEsBtdRY/fa_IR.utf8/LC_NAME 557s /tmp/tmp.L4DEsBtdRY/fa_IR.utf8/LC_ADDRESS 557s /tmp/tmp.L4DEsBtdRY/fa_IR.utf8/LC_COLLATE 557s /tmp/tmp.L4DEsBtdRY/fa_IR.utf8/LC_TIME 557s /tmp/tmp.L4DEsBtdRY/fa_IR.utf8/LC_MEASUREMENT 557s /tmp/tmp.L4DEsBtdRY/fa_IR.utf8/LC_IDENTIFICATION 557s /tmp/tmp.L4DEsBtdRY/fa_IR.utf8/LC_CTYPE 557s /tmp/tmp.L4DEsBtdRY/fa_IR.utf8/LC_MONETARY 557s /tmp/tmp.L4DEsBtdRY/fa_IR.utf8/LC_NUMERIC 557s /tmp/tmp.L4DEsBtdRY/fa_IR.utf8/LC_MESSAGES 557s /tmp/tmp.L4DEsBtdRY/fa_IR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 557s /tmp/tmp.L4DEsBtdRY/fa_IR.utf8/LC_PAPER 557s /tmp/tmp.L4DEsBtdRY/en_GB.utf8 557s /tmp/tmp.L4DEsBtdRY/en_GB.utf8/LC_TELEPHONE 557s /tmp/tmp.L4DEsBtdRY/en_GB.utf8/LC_NAME 557s /tmp/tmp.L4DEsBtdRY/en_GB.utf8/LC_ADDRESS 557s /tmp/tmp.L4DEsBtdRY/en_GB.utf8/LC_COLLATE 557s /tmp/tmp.L4DEsBtdRY/en_GB.utf8/LC_TIME 557s /tmp/tmp.L4DEsBtdRY/en_GB.utf8/LC_MEASUREMENT 557s /tmp/tmp.L4DEsBtdRY/en_GB.utf8/LC_IDENTIFICATION 557s /tmp/tmp.L4DEsBtdRY/en_GB.utf8/LC_CTYPE 557s /tmp/tmp.L4DEsBtdRY/en_GB.utf8/LC_MONETARY 557s /tmp/tmp.L4DEsBtdRY/en_GB.utf8/LC_NUMERIC 557s /tmp/tmp.L4DEsBtdRY/en_GB.utf8/LC_MESSAGES 557s /tmp/tmp.L4DEsBtdRY/en_GB.utf8/LC_MESSAGES/SYS_LC_MESSAGES 557s /tmp/tmp.L4DEsBtdRY/en_GB.utf8/LC_PAPER 557s /tmp/tmp.L4DEsBtdRY/pl_PL.utf8 557s /tmp/tmp.L4DEsBtdRY/pl_PL.utf8/LC_TELEPHONE 557s /tmp/tmp.L4DEsBtdRY/pl_PL.utf8/LC_NAME 557s /tmp/tmp.L4DEsBtdRY/pl_PL.utf8/LC_ADDRESS 557s /tmp/tmp.L4DEsBtdRY/pl_PL.utf8/LC_COLLATE 557s /tmp/tmp.L4DEsBtdRY/pl_PL.utf8/LC_TIME 557s /tmp/tmp.L4DEsBtdRY/pl_PL.utf8/LC_MEASUREMENT 557s /tmp/tmp.L4DEsBtdRY/pl_PL.utf8/LC_IDENTIFICATION 557s /tmp/tmp.L4DEsBtdRY/pl_PL.utf8/LC_CTYPE 557s /tmp/tmp.L4DEsBtdRY/pl_PL.utf8/LC_MONETARY 557s /tmp/tmp.L4DEsBtdRY/pl_PL.utf8/LC_NUMERIC 557s /tmp/tmp.L4DEsBtdRY/pl_PL.utf8/LC_MESSAGES 557s /tmp/tmp.L4DEsBtdRY/pl_PL.utf8/LC_MESSAGES/SYS_LC_MESSAGES 557s /tmp/tmp.L4DEsBtdRY/pl_PL.utf8/LC_PAPER 557s /tmp/tmp.L4DEsBtdRY/tr_TR.utf8 557s /tmp/tmp.L4DEsBtdRY/tr_TR.utf8/LC_TELEPHONE 557s /tmp/tmp.L4DEsBtdRY/tr_TR.utf8/LC_NAME 557s /tmp/tmp.L4DEsBtdRY/tr_TR.utf8/LC_ADDRESS 557s /tmp/tmp.L4DEsBtdRY/tr_TR.utf8/LC_COLLATE 557s /tmp/tmp.L4DEsBtdRY/tr_TR.utf8/LC_TIME 557s /tmp/tmp.L4DEsBtdRY/tr_TR.utf8/LC_MEASUREMENT 557s /tmp/tmp.L4DEsBtdRY/tr_TR.utf8/LC_IDENTIFICATION 557s /tmp/tmp.L4DEsBtdRY/tr_TR.utf8/LC_CTYPE 557s /tmp/tmp.L4DEsBtdRY/tr_TR.utf8/LC_MONETARY 557s /tmp/tmp.L4DEsBtdRY/tr_TR.utf8/LC_NUMERIC 557s /tmp/tmp.L4DEsBtdRY/tr_TR.utf8/LC_MESSAGES 557s /tmp/tmp.L4DEsBtdRY/tr_TR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 557s /tmp/tmp.L4DEsBtdRY/tr_TR.utf8/LC_PAPER 557s /tmp/tmp.L4DEsBtdRY/sv_SE.utf8 557s /tmp/tmp.L4DEsBtdRY/sv_SE.utf8/LC_TELEPHONE 557s /tmp/tmp.L4DEsBtdRY/sv_SE.utf8/LC_NAME 557s /tmp/tmp.L4DEsBtdRY/sv_SE.utf8/LC_ADDRESS 557s /tmp/tmp.L4DEsBtdRY/sv_SE.utf8/LC_COLLATE 557s /tmp/tmp.L4DEsBtdRY/sv_SE.utf8/LC_TIME 557s /tmp/tmp.L4DEsBtdRY/sv_SE.utf8/LC_MEASUREMENT 557s /tmp/tmp.L4DEsBtdRY/sv_SE.utf8/LC_IDENTIFICATION 557s /tmp/tmp.L4DEsBtdRY/sv_SE.utf8/LC_CTYPE 557s /tmp/tmp.L4DEsBtdRY/sv_SE.utf8/LC_MONETARY 557s /tmp/tmp.L4DEsBtdRY/sv_SE.utf8/LC_NUMERIC 557s /tmp/tmp.L4DEsBtdRY/sv_SE.utf8/LC_MESSAGES 557s /tmp/tmp.L4DEsBtdRY/sv_SE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 557s /tmp/tmp.L4DEsBtdRY/sv_SE.utf8/LC_PAPER 557s /tmp/tmp.L4DEsBtdRY/pl_PL.iso88592 557s /tmp/tmp.L4DEsBtdRY/pl_PL.iso88592/LC_TELEPHONE 557s /tmp/tmp.L4DEsBtdRY/pl_PL.iso88592/LC_NAME 557s /tmp/tmp.L4DEsBtdRY/pl_PL.iso88592/LC_ADDRESS 557s /tmp/tmp.L4DEsBtdRY/pl_PL.iso88592/LC_COLLATE 557s /tmp/tmp.L4DEsBtdRY/pl_PL.iso88592/LC_TIME 557s /tmp/tmp.L4DEsBtdRY/pl_PL.iso88592/LC_MEASUREMENT 557s /tmp/tmp.L4DEsBtdRY/pl_PL.iso88592/LC_IDENTIFICATION 557s /tmp/tmp.L4DEsBtdRY/pl_PL.iso88592/LC_CTYPE 557s /tmp/tmp.L4DEsBtdRY/pl_PL.iso88592/LC_MONETARY 557s /tmp/tmp.L4DEsBtdRY/pl_PL.iso88592/LC_NUMERIC 557s /tmp/tmp.L4DEsBtdRY/pl_PL.iso88592/LC_MESSAGES 557s /tmp/tmp.L4DEsBtdRY/pl_PL.iso88592/LC_MESSAGES/SYS_LC_MESSAGES 557s /tmp/tmp.L4DEsBtdRY/pl_PL.iso88592/LC_PAPER 557s TAP version 14 557s # random seed: R02S1042b6c68a5825890daec4e9222bf007 557s 1..1 557s # Start of srvtarget tests 557s 1..330 557s # Running test: glib/srvtarget.test 558s ok 1 /srvtarget/srv-target-ordering 558s # slow test /srvtarget/srv-target-ordering executed in 0.78 secs 558s # End of srvtarget tests 558s ok - glib/srvtarget.test 558s # Running test: glib/assert-msg-test.py.test 558s TAP version 13 558s ok 1 __main__.TestAssertMessage.test_gassert 558s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 558s # tmpdir: /tmp/tmpkl7kbejo 558s # Running: ['/usr/libexec/installed-tests/glib/assert-msg-test'] 558s # Return code: -6 558s # Output: 558s # Bail out! GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 558s # Error: 558s # ** 558s # GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 558s ok 2 __main__.TestAssertMessage.test_gdb_gassert # SKIP GDB is not installed, skipping this test! 558s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 558s # tmpdir: /tmp/tmphsm5ukh2 558s 1..2 558s ok - glib/assert-msg-test.py.test 558s # Running test: glib/power-profile-monitor-portal.test 558s TAP version 13 558s ok 1 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal # SKIP xdg-desktop-portal not available 558s ok 2 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal_default # SKIP xdg-desktop-portal not available 558s 1..2 558s ok - glib/power-profile-monitor-portal.test 558s # Running test: glib/markup-subparser.test 558s ok - glib/markup-subparser.test 558s # Running test: glib/socket-service.test 558s ok - glib/socket-service.test 558s TAP version 14 558s # random seed: R02S707bd4b2eb5c2fde5d0af5922e173fa2 558s 1..14 558s # Start of glib tests 558s # Start of markup tests 558s # Start of subparser tests 558s # Start of success tests 558s ok 1 /glib/markup/subparser/success/0 558s ok 2 /glib/markup/subparser/success/1 558s ok 3 /glib/markup/subparser/success/2 558s ok 4 /glib/markup/subparser/success/3 558s ok 5 /glib/markup/subparser/success/4 558s ok 6 /glib/markup/subparser/success/5 558s ok 7 /glib/markup/subparser/success/6 558s # End of success tests 558s # Start of failure tests 558s ok 8 /glib/markup/subparser/failure/0 558s ok 9 /glib/markup/subparser/failure/1 558s ok 10 /glib/markup/subparser/failure/2 558s ok 11 /glib/markup/subparser/failure/3 558s ok 12 /glib/markup/subparser/failure/4 558s ok 13 /glib/markup/subparser/failure/5 558s ok 14 /glib/markup/subparser/failure/6 558s # End of failure tests 558s # End of subparser tests 558s # End of markup tests 558s # End of glib tests 558s TAP version 14 558s # random seed: R02Sb3572522f018cda5fc8bb6665170566b 558s 1..4 558s # Start of socket-service tests 558s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 558s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xfdc6a7a8230 and GSocketClientAsyncConnectData 0xfdc6a7a2ef0 558s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 558s ok 1 /socket-service/start-stop 558s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xfdc6a7ac2c0 and GSocketClientAsyncConnectData 0xfdc6a7abf20 558s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 558s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 558s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xfdc6a7ac240 for GSocketClientAsyncConnectData 0xfdc6a7a2ef0 558s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 558s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 558s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 558s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 558s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 558s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xfdc6a7ac240 for GSocketClientAsyncConnectData 0xfdc6a7abf20 558s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 558s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 558s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 558s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 558s ok 2 /socket-service/read_write_async 558s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xfdc6a7ac2c0 and GSocketClientAsyncConnectData 0xfdc6a7af9a0 558s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 558s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 558s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xfdc6a7aee00 for GSocketClientAsyncConnectData 0xfdc6a7af9a0 558s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 558s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 558s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 558s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 558s ok 3 /socket-service/read_writev_async 558s # Start of threaded tests 558s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=712570 558s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xfdc6a7a0a60 and GSocketClientAsyncConnectData 0xfdc6a7abf20 558s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 558s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 558s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xfdc6a7afb60 for GSocketClientAsyncConnectData 0xfdc6a7abf20 558s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 558s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 558s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 558s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 558s ok 4 /socket-service/threaded/712570 558s # End of threaded tests 558s # End of socket-service tests 558s # Running test: glib/gdbus-error.test 558s TAP version 14 558s # random seed: R02S033391507bba079492179df50a4f2711 558s 1..4 558s # Start of gdbus tests 558s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_P4K1E3/gdbus/registered-errors/.dirs/home 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_P4K1E3/gdbus/registered-errors/.dirs/cache 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_P4K1E3/gdbus/registered-errors/.dirs/system-config1:/tmp/test_gdbus-error_P4K1E3/gdbus/registered-errors/.dirs/system-config2 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_P4K1E3/gdbus/registered-errors/.dirs/config 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_P4K1E3/gdbus/registered-errors/.dirs/system-data1:/tmp/test_gdbus-error_P4K1E3/gdbus/registered-errors/.dirs/system-data2 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_P4K1E3/gdbus/registered-errors/.dirs/data 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_P4K1E3/gdbus/registered-errors/.dirs/state 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_P4K1E3/gdbus/registered-errors/.dirs/runtime 558s ok 1 /gdbus/registered-errors 558s ok - glib/gdbus-error.test 558s # Running test: glib/thread-pool.test 558s ok - glib/thread-pool.test 558s # Running test: glib/objects-refcount1.test 558s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_P4K1E3/gdbus/unregistered-errors/.dirs/home 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_P4K1E3/gdbus/unregistered-errors/.dirs/cache 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_P4K1E3/gdbus/unregistered-errors/.dirs/system-config1:/tmp/test_gdbus-error_P4K1E3/gdbus/unregistered-errors/.dirs/system-config2 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_P4K1E3/gdbus/unregistered-errors/.dirs/config 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_P4K1E3/gdbus/unregistered-errors/.dirs/system-data1:/tmp/test_gdbus-error_P4K1E3/gdbus/unregistered-errors/.dirs/system-data2 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_P4K1E3/gdbus/unregistered-errors/.dirs/data 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_P4K1E3/gdbus/unregistered-errors/.dirs/state 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_P4K1E3/gdbus/unregistered-errors/.dirs/runtime 558s ok 2 /gdbus/unregistered-errors 558s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_P4K1E3/gdbus/transparent-gerror/.dirs/home 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_P4K1E3/gdbus/transparent-gerror/.dirs/cache 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_P4K1E3/gdbus/transparent-gerror/.dirs/system-config1:/tmp/test_gdbus-error_P4K1E3/gdbus/transparent-gerror/.dirs/system-config2 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_P4K1E3/gdbus/transparent-gerror/.dirs/config 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_P4K1E3/gdbus/transparent-gerror/.dirs/system-data1:/tmp/test_gdbus-error_P4K1E3/gdbus/transparent-gerror/.dirs/system-data2 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_P4K1E3/gdbus/transparent-gerror/.dirs/data 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_P4K1E3/gdbus/transparent-gerror/.dirs/state 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_P4K1E3/gdbus/transparent-gerror/.dirs/runtime 558s ok 3 /gdbus/transparent-gerror 558s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_P4K1E3/gdbus/register-error/.dirs/home 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_P4K1E3/gdbus/register-error/.dirs/cache 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_P4K1E3/gdbus/register-error/.dirs/system-config1:/tmp/test_gdbus-error_P4K1E3/gdbus/register-error/.dirs/system-config2 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_P4K1E3/gdbus/register-error/.dirs/config 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_P4K1E3/gdbus/register-error/.dirs/system-data1:/tmp/test_gdbus-error_P4K1E3/gdbus/register-error/.dirs/system-data2 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_P4K1E3/gdbus/register-error/.dirs/data 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_P4K1E3/gdbus/register-error/.dirs/state 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_P4K1E3/gdbus/register-error/.dirs/runtime 558s ok 4 /gdbus/register-error 558s # End of gdbus tests 558s TAP version 14 558s # random seed: R02S9ab779f6d5b04942400dedce3315b04b 558s 1..6 558s # Start of thread_pool tests 558s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3712 558s ok 1 /thread_pool/pool_fail 558s # /thread_pool/shared summary: Tests that a shared, non-exclusive thread pool generally works. 558s ok 2 /thread_pool/shared 558s # /thread_pool/exclusive summary: Tests that an exclusive thread pool generally works. 558s ok 3 /thread_pool/exclusive 558s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 558s # /thread_pool/create_shared_after_exclusive summary: Tests that creating a shared pool after an exclusive one works. 558s ok 4 /thread_pool/create_shared_after_exclusive 558s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/121 558s ok 5 /thread_pool/create_full 558s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 558s # /thread_pool/create_exclusive_after_shared summary: Tests that creating an exclusive pool after a shared one works. 558s ok 6 /thread_pool/create_exclusive_after_shared 558s # End of thread_pool tests 558s TAP version 14 558s # random seed: R02Sb599cae70653a187f0ec7bd51e14d118 558s 1..1 558s # Start of gobject tests 558s # Start of refcount tests 558s # init 0xd09ba26dd80 558s # 558s # init 0xd09ba26de90 558s # 563s # Executing: glib/objects-refcount1.test 563s # dispose 0xd09ba26dd80! 563s # 563s # dispose 0xd09ba26de90! 563s # 563s ok 1 /gobject/refcount/object-basics 563s # slow test /gobject/refcount/object-basics executed in 5.00 secs 563s # End of refcount tests 563s # End of gobject tests 563s ok - glib/objects-refcount1.test 563s # Running test: glib/signals.test 563s TAP version 14 563s # random seed: R02S12a9543abd4796bd268f7cf12bcfcaef 563s 1..31 563s # Start of gobject tests 563s # Start of signals tests 563s ok 1 /gobject/signals/all-types 563s ok 2 /gobject/signals/variant 563s ok 3 /gobject/signals/destroy-target-object 563s ok 4 /gobject/signals/generic-marshaller-1 563s ok 5 /gobject/signals/generic-marshaller-2 563s ok 6 /gobject/signals/generic-marshaller-enum-return-signed 563s ok 7 /gobject/signals/generic-marshaller-enum-return-unsigned 563s ok 8 /gobject/signals/generic-marshaller-int-return 563s ok 9 /gobject/signals/generic-marshaller-uint-return 563s ok 10 /gobject/signals/generic-marshaller-interface-return 563s ok 11 /gobject/signals/custom-marshaller 563s ok 12 /gobject/signals/connect 563s ok 13 /gobject/signals/emission-hook 563s ok 14 /gobject/signals/emitv 563s ok 15 /gobject/signals/accumulator 563s # Signal: accumulator-class-first 563s # Signal: accumulator-class-last 563s # Signal: accumulator-class-cleanup 563s # Signal: accumulator-class-first-last 563s # Signal: accumulator-class-first-last-cleanup 563s # Signal: accumulator-class-last-cleanup 563s ok 16 /gobject/signals/accumulator-class 563s ok 17 /gobject/signals/introspection 563s ok 18 /gobject/signals/block-handler 563s ok 19 /gobject/signals/stop-emission 563s ok 20 /gobject/signals/invocation-hint 563s ok 21 /gobject/signals/test-disconnection-wrong-object 563s ok 22 /gobject/signals/clear-signal-handler 563s # /gobject/signals/lookup summary: Test that g_signal_lookup() works with a variety of inputs. 563s ok 23 /gobject/signals/lookup 563s # /gobject/signals/parse-name summary: Test that g_signal_parse_name() works with a variety of inputs. 563s ok 24 /gobject/signals/parse-name 563s ok 25 /gobject/signals/is-valid-name 563s ok 26 /gobject/signals/weak-ref-disconnect 563s # Start of lookup tests 563s # /gobject/signals/lookup/invalid summary: Test that g_signal_lookup() emits a warning if looking up an invalid signal name. 563s ok 27 /gobject/signals/lookup/invalid 563s # End of lookup tests 563s # Start of parse-name tests 564s ok - glib/signals.test 564s # Running test: glib/resources.test 564s ok - glib/resources.test 564s # Running test: glib/gapplication.test 564s # /gobject/signals/parse-name/invalid summary: Test that g_signal_parse_name() ignores a variety of invalid inputs. 564s # Parser input: 564s # Parser input: 7zip 564s # Parser input: invalid:signal 564s # Parser input: simple-detailed:: 564s # Parser input: simple-detailed: 564s # Parser input: : 564s # Parser input: :: 564s # Parser input: :valid-detail 564s # Parser input: ::valid-detail 564s ok 28 /gobject/signals/parse-name/invalid 564s # End of parse-name tests 564s # Start of invalid-name tests 564s # /gobject/signals/invalid-name/colon summary: Check that g_signal_new() rejects invalid signal names. 564s ok 29 /gobject/signals/invalid-name/colon 564s # /gobject/signals/invalid-name/first-char summary: Check that g_signal_new() rejects invalid signal names. 564s ok 30 /gobject/signals/invalid-name/first-char 564s # /gobject/signals/invalid-name/empty summary: Check that g_signal_new() rejects invalid signal names. 564s ok 31 /gobject/signals/invalid-name/empty 564s # End of invalid-name tests 564s # End of signals tests 564s # End of gobject tests 564s TAP version 14 564s # random seed: R02S375185b49ecd2b6a57be9dd633f965a2 564s 1..19 564s # Start of resource tests 564s ok 1 /resource/file 564s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 564s ok 2 /resource/file-path 564s ok 3 /resource/data 564s ok 4 /resource/data_unaligned 564s ok 5 /resource/data-corrupt 564s # /resource/data-corrupt-compression summary: Test error handling for corrupt GResource files (specifically, corrupt zlib compression). 564s ok 6 /resource/data-corrupt-compression 564s ok 7 /resource/data-empty 564s ok 8 /resource/registered 564s ok 9 /resource/manual 564s ok 10 /resource/manual2 564s ok 11 /resource/automatic 564s ok 12 /resource/module 564s ok 13 /resource/binary-linked 564s ok 14 /resource/64k 564s GLib-GIO-Message: 19:46:08.916: Adding GResources overlay '/auto_loaded/test1.txt=/usr/libexec/installed-tests/glib/test1.overlay' 564s GLib-GIO-Message: 19:46:08.916: Opened file '/usr/libexec/installed-tests/glib/test1.overlay' as a resource overlay 564s GLib-GIO-Message: 19:46:08.916: Mapped file '/usr/libexec/installed-tests/glib/test1.overlay' as a resource overlay 564s ok 15 /resource/overlay 564s ok 16 /resource/digits 564s ok 17 /resource/has-children 564s # Start of uri tests 564s ok 18 /resource/uri/query-info 564s ok 19 /resource/uri/file 564s # End of uri tests 564s # End of resource tests 564s TAP version 14 564s # random seed: R02Sb79062ff2e476a914f489a6268d1a233 564s 1..25 564s # Start of gapplication tests 564s ok 1 /gapplication/no-dbus 564s ok 2 /gapplication/no-appid 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s ok 3 /gapplication/properties 564s ok 4 /gapplication/app-id 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s ok 5 /gapplication/quit 564s ok 6 /gapplication/registered 564s ok 7 /gapplication/local-actions 564s ok 8 /gapplication/local-command-line 564s ok 9 /gapplication/resource-path 564s ok 10 /gapplication/test-help 564s ok 11 /gapplication/command-line-done 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s ok 12 /gapplication/test-busy 564s ok 13 /gapplication/test-handle-local-options1 564s ok 14 /gapplication/test-handle-local-options2 564s ok 15 /gapplication/test-handle-local-options3 564s ok 16 /gapplication/api 564s ok 17 /gapplication/version 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 564s # launching subprocess 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s ok 18 /gapplication/replace 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 564s # launching subprocess 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s ok 19 /gapplication/no-replace 564s # slow test /gapplication/no-replace executed in 0.50 secs 564s # Start of command-line tests 564s # /gapplication/command-line/arguments summary: Test HANDLES_COMMAND_LINE locally with a ->local_command_line vfunc which forces g_application_run() to take a fallback error handling path 564s ok 20 /gapplication/command-line/arguments 564s # End of command-line tests 564s # Start of dbus tests 564s # /gapplication/dbus/activate summary: Test that calling the Activate D-Bus method works 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 564s # Message 0 564s # Message 1 564s # Message 2 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s ok 21 /gapplication/dbus/activate 564s # /gapplication/dbus/open summary: Test that calling the Open D-Bus method works 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 564s # Message 0 564s ok - glib/gapplication.test 564s # Running test: glib/win32-appinfo.test 564s ok - glib/win32-appinfo.test 564s # Running test: glib/gdbus-subscribe.test 564s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 564s # Message 1 564s # Message 2 564s # Message 3 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s ok 22 /gapplication/dbus/open 564s # /gapplication/dbus/command-line summary: Test that calling the CommandLine D-Bus method works 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 564s # Message 0 564s # Message 1 564s # Message 2 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s ok 23 /gapplication/dbus/command-line 564s # /gapplication/dbus/command-line-done summary: Test that GDBusCommandLine.done() works 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s ok 24 /gapplication/dbus/command-line-done 564s # /gapplication/dbus/activate-action summary: Test that calling the ActivateAction D-Bus method works 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 564s # Message 0 564s # Message 1 564s # Message 2 564s # Message 3 564s # Message 4 564s # Message 5 564s # Message 6 564s # Message 7 564s # Message 8 564s # Message 9 564s # Message 10 564s # Message 11 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s ok 25 /gapplication/dbus/activate-action 564s # End of dbus tests 564s # End of gapplication tests 564s TAP version 14 564s # random seed: R02S3525663da083175245df2d9e00759151 564s 1..5 564s # Start of appinfo tests 564s ok 1 /appinfo/utf16-strfuncs 564s ok 2 /appinfo/win32-extract-executable 564s ok 3 /appinfo/win32-rundll32-fixup 564s ok 4 /appinfo/win32-parse-filename 564s ok 5 /appinfo/win32-utf16-conversion-fail 564s # Start of subprocess tests 564s # End of subprocess tests 564s # End of appinfo tests 564s TAP version 14 564s # random seed: R02S9a1df0e85270e61da30176b34dd70a21 564s 1..24 564s # Start of gdbus tests 564s # Start of subscribe tests 564s # Start of conn tests 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/conn/simple/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/conn/simple/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/conn/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/conn/simple/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/conn/simple/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/conn/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/conn/simple/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/conn/simple/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/conn/simple/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/conn/simple/.dirs/runtime 564s # subscriber is :1.0 564s # service is :1.1 564s # service 2 is :1.2 564s # attacker is :1.3 564s # Waiting for AddMatch to be processed 564s # /gdbus/subscribe/conn/simple summary: A broadcast is only received after subscribing to it 564s # Step 0: emitting signal 564s # Sender: service 564s # Destination: (broadcast) 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: Foo 564s # Argument 0: (not a string) 564s # Waiting for signal to reach message bus 564s # Step 1: adding subscription 564s # Sender: (any) 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: (any) 564s # String argument 0: (any) 564s # Flags: 0 564s # Subscribing via connection 564s # Waiting for AddMatch to be processed 564s # Step 2: emitting signal 564s # Sender: service 564s # Destination: (broadcast) 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: Foo 564s # Argument 0: (not a string) 564s # Waiting for signal to reach message bus 564s # Signal received from service :1.1 564s # Signal received from service :1.1 via connection 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: Foo 564s # Argument 0: (not a string) 564s # Sent in step: 2 564s # Received Finished signal from subscriber :1.0 564s # Received Finished signal from service :1.1 564s # Received Finished signal from service 2 :1.2 564s # Received Finished signal from attacker :1.3 564s # Signal from step 0 was received 0 times by GDBusConnection, expected 0 564s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s ok 1 /gdbus/subscribe/conn/simple 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/runtime 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 564s # subscriber is :1.0 564s # service is :1.1 564s # service 2 is :1.2 564s # attacker is :1.3 564s # Waiting for AddMatch to be processed 564s # /gdbus/subscribe/conn/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 564s # Step 0: adding subscription 564s # Sender: (any) 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: (any) 564s # String argument 0: (any) 564s # Flags: 0 564s # Subscribing via connection 564s # Waiting for AddMatch to be processed 564s # Step 1: emitting signal 564s # Sender: service 564s # Destination: (broadcast) 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: Foo 564s # Argument 0: (not a string) 564s # Waiting for signal to reach message bus 564s # Step 2: emitting signal 564s # Sender: service 2 564s # Destination: (broadcast) 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: Foo 564s # Argument 0: (not a string) 564s # Waiting for signal to reach message bus 564s # Step 3: emitting signal 564s # Sender: service 564s # Destination: subscriber :1.0 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: Foo 564s # Argument 0: (not a string) 564s # Waiting for signal to reach message bus 564s # Step 4: emitting signal 564s # Sender: service 2 564s # Destination: subscriber :1.0 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: Foo 564s # Argument 0: (not a string) 564s # Waiting for signal to reach message bus 564s # Signal received from service :1.1 564s # Signal received from service :1.1 via connection 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: Foo 564s # Argument 0: (not a string) 564s # Sent in step: 1 564s # Signal received from service 2 :1.2 564s # Signal received from service 2 :1.2 via connection 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: Foo 564s # Argument 0: (not a string) 564s # Sent in step: 2 564s # Signal received from service :1.1 564s # Signal received from service :1.1 via connection 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: Foo 564s # Argument 0: (not a string) 564s # Sent in step: 3 564s # Signal received from service 2 :1.2 564s # Signal received from service 2 :1.2 via connection 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: Foo 564s # Argument 0: (not a string) 564s # Sent in step: 4 564s # Received Finished signal from subscriber :1.0 564s # Received Finished signal from service :1.1 564s # Received Finished signal from service 2 :1.2 564s # Received Finished signal from attacker :1.3 564s # Signal from step 1 was received 1 times by GDBusConnection, expected 1 564s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 564s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 564s # Signal from step 4 was received 1 times by GDBusConnection, expected 1 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s ok 2 /gdbus/subscribe/conn/broadcast_from_anyone 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/conn/match_twice/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/conn/match_twice/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/conn/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/conn/match_twice/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/conn/match_twice/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/conn/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/conn/match_twice/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/conn/match_twice/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/conn/match_twice/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/conn/match_twice/.dirs/runtime 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 564s # subscriber is :1.0 564s # service is :1.1 564s # service 2 is :1.2 564s # attacker is :1.3 564s # Waiting for AddMatch to be processed 564s # /gdbus/subscribe/conn/match_twice summary: A message matching more than one subscription is received once per subscription 564s # Step 0: adding subscription 564s # Sender: service :1.1 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: (any) 564s # String argument 0: (any) 564s # Flags: 0 564s # Subscribing via connection 564s # Waiting for AddMatch to be processed 564s # Step 1: adding subscription 564s # Sender: (any) 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: (any) 564s # Member: (any) 564s # String argument 0: (any) 564s # Flags: 0 564s # Subscribing via connection 564s # Waiting for AddMatch to be processed 564s # Step 2: adding subscription 564s # Sender: (any) 564s # Path: (any) 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: (any) 564s # String argument 0: (any) 564s # Flags: 0 564s # Subscribing via connection 564s # Waiting for AddMatch to be processed 564s # Step 3: adding subscription 564s # Sender: service :1.1 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: (any) 564s # String argument 0: (any) 564s # Flags: 0 564s # Subscribing via connection 564s # Waiting for AddMatch to be processed 564s # Step 4: emitting signal 564s # Sender: service 564s # Destination: (broadcast) 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: Foo 564s # Argument 0: (not a string) 564s # Waiting for signal to reach message bus 564s # Signal received from service :1.1 564s # Signal received from service :1.1 via connection 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: Foo 564s # Argument 0: (not a string) 564s # Sent in step: 4 564s # Signal received from service :1.1 564s # Signal received from service :1.1 via connection 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: Foo 564s # Argument 0: (not a string) 564s # Sent in step: 4 564s # Signal received from service :1.1 564s # Signal received from service :1.1 via connection 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: Foo 564s # Argument 0: (not a string) 564s # Sent in step: 4 564s # Signal received from service :1.1 564s # Signal received from service :1.1 via connection 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: Foo 564s # Argument 0: (not a string) 564s # Sent in step: 4 564s # Received Finished signal from subscriber :1.0 564s # Received Finished signal from service :1.1 564s # Received Finished signal from service 2 :1.2 564s # Received Finished signal from attacker :1.3 564s # Signal from step 4 was received 4 times by GDBusConnection, expected 4 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s ok 3 /gdbus/subscribe/conn/match_twice 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/runtime 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 564s # subscriber is :1.0 564s # service is :1.1 564s # service 2 is :1.2 564s # attacker is :1.3 564s # Waiting for AddMatch to be processed 564s # /gdbus/subscribe/conn/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 564s # Step 0: adding subscription 564s # Sender: service :1.1 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: (any) 564s # String argument 0: (any) 564s # Flags: 0 564s # Subscribing via connection 564s # Waiting for AddMatch to be processed 564s # Step 1: emitting signal 564s # Sender: attacker 564s # Destination: (broadcast) 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: Foo 564s # Argument 0: (not a string) 564s # Waiting for signal to reach message bus 564s # Step 2: emitting signal 564s # Sender: attacker 564s # Destination: subscriber :1.0 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: Foo 564s # Argument 0: (not a string) 564s # Waiting for signal to reach message bus 564s # Step 3: emitting signal 564s # Sender: service 564s # Destination: (broadcast) 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: Foo 564s # Argument 0: (not a string) 564s # Waiting for signal to reach message bus 564s # Signal received from service :1.1 564s # Signal received from service :1.1 via connection 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: Foo 564s # Argument 0: (not a string) 564s # Sent in step: 3 564s # Received Finished signal from subscriber :1.0 564s # Received Finished signal from service :1.1 564s # Received Finished signal from service 2 :1.2 564s # Received Finished signal from attacker :1.3 564s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 564s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 564s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s ok 4 /gdbus/subscribe/conn/limit_by_unique_name 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/runtime 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 564s # subscriber is :1.0 564s # service is :1.1 564s # service 2 is :1.2 564s # attacker is :1.3 564s # Waiting for AddMatch to be processed 564s # /gdbus/subscribe/conn/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 564s # Step 0: adding subscription 564s # Sender: :0.this.had.better.not.exist 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: (any) 564s # String argument 0: (any) 564s # Flags: 0 564s # Subscribing via connection 564s # Waiting for AddMatch to be processed 564s # Step 1: emitting signal 564s # Sender: attacker 564s # Destination: (broadcast) 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: Foo 564s # Argument 0: (not a string) 564s # Waiting for signal to reach message bus 564s # Step 2: emitting signal 564s # Sender: attacker 564s # Destination: subscriber :1.0 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: Foo 564s # Argument 0: (not a string) 564s # Waiting for signal to reach message bus 564s # Received Finished signal from subscriber :1.0 564s # Received Finished signal from service :1.1 564s # Received Finished signal from service 2 :1.2 564s # Received Finished signal from attacker :1.3 564s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 564s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s ok 5 /gdbus/subscribe/conn/nonexistent_unique_name 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/runtime 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 564s # subscriber is :1.0 564s # service is :1.1 564s # service 2 is :1.2 564s # attacker is :1.3 564s # Waiting for AddMatch to be processed 564s # /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 564s # Step 0: claiming bus name 564s # Name: org.gtk.Test.AlreadyOwned 564s # Owner: service 564s # Step 1: adding subscription 564s # Sender: org.gtk.Test.AlreadyOwned 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: (any) 564s # String argument 0: (any) 564s # Flags: 0 564s # Subscribing via connection 564s # Waiting for AddMatch to be processed 564s # Step 2: adding subscription 564s # Sender: org.gtk.Test.OwnedLater 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: (any) 564s # String argument 0: (any) 564s # Flags: 0 564s # Subscribing via connection 564s # Waiting for AddMatch to be processed 564s # Step 3: emitting signal 564s # Sender: attacker 564s # Destination: (broadcast) 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: Foo 564s # Argument 0: (not a string) 564s # Waiting for signal to reach message bus 564s # Step 4: emitting signal 564s # Sender: attacker 564s # Destination: subscriber :1.0 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: Foo 564s # Argument 0: (not a string) 564s # Waiting for signal to reach message bus 564s # Step 5: emitting signal 564s # Sender: service 564s # Destination: (broadcast) 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: Foo 564s # Argument 0: (not a string) 564s # Waiting for signal to reach message bus 564s # Step 6: claiming bus name 564s # Name: org.gtk.Test.OwnedLater 564s # Owner: service 564s # Step 7: emitting signal 564s # Sender: service 564s # Destination: (broadcast) 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: Foo 564s # Argument 0: (not a string) 564s # Waiting for signal to reach message bus 564s # Signal received from service :1.1 564s # Signal received from service :1.1 via connection 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: Foo 564s # Argument 0: (not a string) 564s # Sent in step: 5 564s # Signal received from service :1.1 564s # Signal received from service :1.1 via connection 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: Foo 564s # Argument 0: (not a string) 564s # Sent in step: 7 564s # Signal received from service :1.1 564s # Signal received from service :1.1 via connection 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: Foo 564s # Argument 0: (not a string) 564s # Sent in step: 7 564s # Received Finished signal from subscriber :1.0 564s # Received Finished signal from service :1.1 564s # Received Finished signal from service 2 :1.2 564s # Received Finished signal from attacker :1.3 564s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 564s # Signal from step 3 was received 0 times by GDBusConnection, expected 0 564s # Signal from step 4 was received 0 times by GDBusConnection, expected 0 564s # Signal from step 5 was received 1 times by GDBusConnection, expected 1 564s # NameOwnerChanged from step 6 was received 0 times by GDBusConnection, expected 0 564s # Signal from step 7 was received 2 times by GDBusConnection, expected 2 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s ok 6 /gdbus/subscribe/conn/limit_by_well_known_name 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/runtime 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 564s # subscriber is :1.0 564s # service is :1.1 564s # service 2 is :1.2 564s # attacker is :1.3 564s # Waiting for AddMatch to be processed 564s # /gdbus/subscribe/conn/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 564s # Step 0: adding subscription 564s # Sender: org.freedesktop.DBus 564s # Path: /org/freedesktop/DBus 564s # Interface: org.freedesktop.DBus 564s # Member: (any) 564s # String argument 0: (any) 564s # Flags: 0 564s # Subscribing via connection 564s # Waiting for AddMatch to be processed 564s # Step 1: emitting signal 564s # Sender: attacker 564s # Destination: (broadcast) 564s # Path: /org/freedesktop/DBus 564s # Interface: org.freedesktop.DBus 564s # Member: NameOwnerChanged 564s # String argument 0: would I lie to you? 564s # Waiting for signal to reach message bus 564s # Step 2: emitting signal 564s # Sender: attacker 564s # Destination: subscriber :1.0 564s # Path: /org/freedesktop/DBus 564s # Interface: org.freedesktop.DBus 564s # Member: NameOwnerChanged 564s # Waiting for signal to reach message bus 564s # Step 3: claiming bus name 564s # Name: org.gtk.Test.OwnedLater 564s # Owner: service 564s # Signal received from message bus org.freedesktop.DBus 564s # Signal received from (unused) org.freedesktop.DBus via connection 564s # Path: /org/freedesktop/DBus 564s # Interface: org.freedesktop.DBus 564s # Member: NameOwnerChanged 564s # Received Finished signal from subscriber :1.0 564s # Received Finished signal from service :1.1 564s # Received Finished signal from service 2 :1.2 564s # Received Finished signal from attacker :1.3 564s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 564s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 564s # NameOwnerChanged from step 3 was received 1 times by GDBusConnection, expected 1 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s ok 7 /gdbus/subscribe/conn/limit_to_message_bus 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/runtime 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 564s # subscriber is :1.0 564s # service is :1.1 564s # service 2 is :1.2 564s # attacker is :1.3 564s # Waiting for AddMatch to be processed 564s # /gdbus/subscribe/conn/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 564s # Step 0: claiming bus name 564s # Name: org.gtk.Test.AlreadyOwned 564s # Owner: service 564s # Step 1: adding subscription 564s # Sender: org.gtk.Test.AlreadyOwned 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: (any) 564s # String argument 0: (any) 564s # Flags: 0 564s # Subscribing via connection 564s # Immediately unsubscribing 564s # Waiting for AddMatch to be processed 564s # Step 2: emitting signal 564s # Sender: service 564s # Destination: (broadcast) 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: Foo 564s # Argument 0: (not a string) 564s # Waiting for signal to reach message bus 564s # Received Finished signal from subscriber :1.0 564s # Received Finished signal from service :1.1 564s # Received Finished signal from service 2 :1.2 564s # Received Finished signal from attacker :1.3 564s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 564s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s ok 8 /gdbus/subscribe/conn/unsubscribe_immediately 564s # End of conn tests 564s # Start of proxy tests 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/proxy/simple/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/proxy/simple/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/proxy/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/proxy/simple/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/proxy/simple/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/proxy/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/proxy/simple/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/proxy/simple/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/proxy/simple/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/proxy/simple/.dirs/runtime 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 564s # subscriber is :1.0 564s # service is :1.1 564s # service 2 is :1.2 564s # attacker is :1.3 564s # Waiting for AddMatch to be processed 564s # /gdbus/subscribe/proxy/simple summary: A broadcast is only received after subscribing to it 564s # Step 0: emitting signal 564s # Sender: service 564s # Destination: (broadcast) 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: Foo 564s # Argument 0: (not a string) 564s # Waiting for signal to reach message bus 564s # Step 1: adding subscription 564s # Sender: (any) 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: (any) 564s # String argument 0: (any) 564s # Flags: 0 564s # Cannot subscribe via proxy: no bus name 564s # Waiting for AddMatch to be processed 564s # Step 2: emitting signal 564s # Sender: service 564s # Destination: (broadcast) 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: Foo 564s # Argument 0: (not a string) 564s # Waiting for signal to reach message bus 564s # Received Finished signal from subscriber :1.0 564s # Received Finished signal from service :1.1 564s # Received Finished signal from service 2 :1.2 564s # Received Finished signal from attacker :1.3 564s # Signal from step 0 was received 0 times by GDBusProxy, expected 0 564s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s ok 9 /gdbus/subscribe/proxy/simple 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/runtime 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 564s # subscriber is :1.0 564s # service is :1.1 564s # service 2 is :1.2 564s # attacker is :1.3 564s # Waiting for AddMatch to be processed 564s # /gdbus/subscribe/proxy/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 564s # Step 0: adding subscription 564s # Sender: (any) 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: (any) 564s # String argument 0: (any) 564s # Flags: 0 564s # Cannot subscribe via proxy: no bus name 564s # Waiting for AddMatch to be processed 564s # Step 1: emitting signal 564s # Sender: service 564s # Destination: (broadcast) 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: Foo 564s # Argument 0: (not a string) 564s # Waiting for signal to reach message bus 564s # Step 2: emitting signal 564s # Sender: service 2 564s # Destination: (broadcast) 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: Foo 564s # Argument 0: (not a string) 564s # Waiting for signal to reach message bus 564s # Step 3: emitting signal 564s # Sender: service 564s # Destination: subscriber :1.0 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: Foo 564s # Argument 0: (not a string) 564s # Waiting for signal to reach message bus 564s # Step 4: emitting signal 564s # Sender: service 2 564s # Destination: subscriber :1.0 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: Foo 564s # Argument 0: (not a string) 564s # Waiting for signal to reach message bus 564s # Received Finished signal from subscriber :1.0 564s # Received Finished signal from service :1.1 564s # Received Finished signal from service 2 :1.2 564s # Received Finished signal from attacker :1.3 564s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 564s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 564s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 564s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s ok 10 /gdbus/subscribe/proxy/broadcast_from_anyone 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/proxy/match_twice/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/proxy/match_twice/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/proxy/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/proxy/match_twice/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/proxy/match_twice/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/proxy/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/proxy/match_twice/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/proxy/match_twice/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/proxy/match_twice/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/proxy/match_twice/.dirs/runtime 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 564s # subscriber is :1.0 564s # service is :1.1 564s # service 2 is :1.2 564s # attacker is :1.3 564s # Waiting for AddMatch to be processed 564s # /gdbus/subscribe/proxy/match_twice summary: A message matching more than one subscription is received once per subscription 564s # Step 0: adding subscription 564s # Sender: service :1.1 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: (any) 564s # String argument 0: (any) 564s # Flags: 0 564s # Subscribing via proxy 564s # Waiting for AddMatch to be processed 564s # Step 1: adding subscription 564s # Sender: (any) 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: (any) 564s # Member: (any) 564s # String argument 0: (any) 564s # Flags: 0 564s # Cannot subscribe via proxy: no bus name 564s # Waiting for AddMatch to be processed 564s # Step 2: adding subscription 564s # Sender: (any) 564s # Path: (any) 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: (any) 564s # String argument 0: (any) 564s # Flags: 0 564s # Cannot subscribe via proxy: no bus name 564s # Waiting for AddMatch to be processed 564s # Step 3: adding subscription 564s # Sender: service :1.1 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: (any) 564s # String argument 0: (any) 564s # Flags: 0 564s # Subscribing via proxy 564s # Waiting for AddMatch to be processed 564s # Step 4: emitting signal 564s # Sender: service 564s # Destination: (broadcast) 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: Foo 564s # Argument 0: (not a string) 564s # Waiting for signal to reach message bus 564s # Signal received from service :1.1 564s # Signal received from service :1.1 via proxy 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: Foo 564s # Argument 0: (not a string) 564s # Sent in step: 4 564s # Signal received from service :1.1 564s # Signal received from service :1.1 via proxy 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: Foo 564s # Argument 0: (not a string) 564s # Sent in step: 4 564s # Received Finished signal from subscriber :1.0 564s # Received Finished signal from service :1.1 564s # Received Finished signal from service 2 :1.2 564s # Received Finished signal from attacker :1.3 564s # Signal from step 4 was received 2 times by GDBusProxy, expected 2 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s ok 11 /gdbus/subscribe/proxy/match_twice 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/runtime 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 564s # subscriber is :1.0 564s # service is :1.1 564s # service 2 is :1.2 564s # attacker is :1.3 564s # Waiting for AddMatch to be processed 564s # /gdbus/subscribe/proxy/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 564s # Step 0: adding subscription 564s # Sender: service :1.1 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: (any) 564s # String argument 0: (any) 564s # Flags: 0 564s # Subscribing via proxy 564s # Waiting for AddMatch to be processed 564s # Step 1: emitting signal 564s # Sender: attacker 564s # Destination: (broadcast) 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: Foo 564s # Argument 0: (not a string) 564s # Waiting for signal to reach message bus 564s # Step 2: emitting signal 564s # Sender: attacker 564s # Destination: subscriber :1.0 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: Foo 564s # Argument 0: (not a string) 564s # Waiting for signal to reach message bus 564s # Step 3: emitting signal 564s # Sender: service 564s # Destination: (broadcast) 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: Foo 564s # Argument 0: (not a string) 564s # Waiting for signal to reach message bus 564s # Signal received from service :1.1 564s # Signal received from service :1.1 via proxy 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: Foo 564s # Argument 0: (not a string) 564s # Sent in step: 3 564s # Received Finished signal from subscriber :1.0 564s # Received Finished signal from service :1.1 564s # Received Finished signal from service 2 :1.2 564s # Received Finished signal from attacker :1.3 564s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 564s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 564s # Signal from step 3 was received 1 times by GDBusProxy, expected 1 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s ok 12 /gdbus/subscribe/proxy/limit_by_unique_name 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/runtime 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 564s # subscriber is :1.0 564s # service is :1.1 564s # service 2 is :1.2 564s # attacker is :1.3 564s # Waiting for AddMatch to be processed 564s # /gdbus/subscribe/proxy/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 564s # Step 0: adding subscription 564s # Sender: :0.this.had.better.not.exist 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: (any) 564s # String argument 0: (any) 564s # Flags: 0 564s # Subscribing via proxy 564s # Waiting for AddMatch to be processed 564s # Step 1: emitting signal 564s # Sender: attacker 564s # Destination: (broadcast) 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: Foo 564s # Argument 0: (not a string) 564s # Waiting for signal to reach message bus 564s # Step 2: emitting signal 564s # Sender: attacker 564s # Destination: subscriber :1.0 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: Foo 564s # Argument 0: (not a string) 564s # Waiting for signal to reach message bus 564s # Received Finished signal from subscriber :1.0 564s # Received Finished signal from service :1.1 564s # Received Finished signal from service 2 :1.2 564s # Received Finished signal from attacker :1.3 564s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 564s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s ok 13 /gdbus/subscribe/proxy/nonexistent_unique_name 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/runtime 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 564s # subscriber is :1.0 564s # service is :1.1 564s # service 2 is :1.2 564s # attacker is :1.3 564s # Waiting for AddMatch to be processed 564s # /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 564s # Step 0: claiming bus name 564s # Name: org.gtk.Test.AlreadyOwned 564s # Owner: service 564s # Step 1: adding subscription 564s # Sender: org.gtk.Test.AlreadyOwned 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: (any) 564s # String argument 0: (any) 564s # Flags: 0 564s # Subscribing via proxy 564s # Waiting for AddMatch to be processed 564s # Step 2: adding subscription 564s # Sender: org.gtk.Test.OwnedLater 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: (any) 564s # String argument 0: (any) 564s # Flags: 0 564s # Subscribing via proxy 564s # Waiting for AddMatch to be processed 564s # Step 3: emitting signal 564s # Sender: attacker 564s # Destination: (broadcast) 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: Foo 564s # Argument 0: (not a string) 564s # Waiting for signal to reach message bus 564s # Step 4: emitting signal 564s # Sender: attacker 564s # Destination: subscriber :1.0 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: Foo 564s # Argument 0: (not a string) 564s # Waiting for signal to reach message bus 564s # Step 5: emitting signal 564s # Sender: service 564s # Destination: (broadcast) 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: Foo 564s # Argument 0: (not a string) 564s # Waiting for signal to reach message bus 564s # Step 6: claiming bus name 564s # Name: org.gtk.Test.OwnedLater 564s # Owner: service 564s # Step 7: emitting signal 564s # Sender: service 564s # Destination: (broadcast) 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: Foo 564s # Argument 0: (not a string) 564s # Waiting for signal to reach message bus 564s # Signal received from service :1.1 564s # Signal received from service :1.1 via proxy 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: Foo 564s # Argument 0: (not a string) 564s # Sent in step: 5 564s # Signal received from service :1.1 564s # Signal received from service :1.1 via proxy 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: Foo 564s # Argument 0: (not a string) 564s # Sent in step: 7 564s # Signal received from service :1.1 564s # Signal received from service :1.1 via proxy 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: Foo 564s # Argument 0: (not a string) 564s # Sent in step: 7 564s # Received Finished signal from subscriber :1.0 564s # Received Finished signal from service :1.1 564s # Received Finished signal from service 2 :1.2 564s # Received Finished signal from attacker :1.3 564s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 564s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 564s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 564s # Signal from step 5 was received 1 times by GDBusProxy, expected 1 564s # NameOwnerChanged from step 6 was received 0 times by GDBusProxy, expected 0 564s # Signal from step 7 was received 2 times by GDBusProxy, expected 2 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s ok 14 /gdbus/subscribe/proxy/limit_by_well_known_name 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/runtime 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 564s # subscriber is :1.0 564s # service is :1.1 564s # service 2 is :1.2 564s # attacker is :1.3 564s # Waiting for AddMatch to be processed 564s # /gdbus/subscribe/proxy/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 564s # Step 0: adding subscription 564s # Sender: org.freedesktop.DBus 564s # Path: /org/freedesktop/DBus 564s # Interface: org.freedesktop.DBus 564s # Member: (any) 564s # String argument 0: (any) 564s # Flags: 0 564s # Subscribing via proxy 564s # Waiting for AddMatch to be processed 564s # Step 1: emitting signal 564s # Sender: attacker 564s # Destination: (broadcast) 564s # Path: /org/freedesktop/DBus 564s # Interface: org.freedesktop.DBus 564s # Member: NameOwnerChanged 564s # String argument 0: would I lie to you? 564s # Waiting for signal to reach message bus 564s # Step 2: emitting signal 564s # Sender: attacker 564s # Destination: subscriber :1.0 564s # Path: /org/freedesktop/DBus 564s # Interface: org.freedesktop.DBus 564s # Member: NameOwnerChanged 564s # Waiting for signal to reach message bus 564s # Step 3: claiming bus name 564s # Name: org.gtk.Test.OwnedLater 564s # Owner: service 564s # Signal received from message bus org.freedesktop.DBus 564s # Signal received from (unused) org.freedesktop.DBus via proxy 564s # Path: /org/freedesktop/DBus 564s # Interface: org.freedesktop.DBus 564s # Member: NameOwnerChanged 564s # Received Finished signal from subscriber :1.0 564s # Received Finished signal from service :1.1 564s # Received Finished signal from service 2 :1.2 564s # Received Finished signal from attacker :1.3 564s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 564s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 564s # NameOwnerChanged from step 3 was received 1 times by GDBusProxy, expected 1 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s ok 15 /gdbus/subscribe/proxy/limit_to_message_bus 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/runtime 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 564s # subscriber is :1.0 564s # service is :1.1 564s # service 2 is :1.2 564s # attacker is :1.3 564s # Waiting for AddMatch to be processed 564s # /gdbus/subscribe/proxy/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 564s # Step 0: claiming bus name 564s # Name: org.gtk.Test.AlreadyOwned 564s # Owner: service 564s # Step 1: adding subscription 564s # Sender: org.gtk.Test.AlreadyOwned 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: (any) 564s # String argument 0: (any) 564s # Flags: 0 564s # Subscribing via proxy 564s # Waiting for AddMatch to be processed 564s # Step 2: emitting signal 564s # Sender: service 564s # Destination: (broadcast) 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: Foo 564s # Argument 0: (not a string) 564s # Waiting for signal to reach message bus 564s # Signal received from service :1.1 564s # Signal received from service :1.1 via proxy 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: Foo 564s # Argument 0: (not a string) 564s # Sent in step: 2 564s # Received Finished signal from subscriber :1.0 564s # Received Finished signal from service :1.1 564s # Received Finished signal from service 2 :1.2 564s # Received Finished signal from attacker :1.3 564s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 564s # Signal from step 2 was received 1 times by GDBusProxy, expected 1 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s ok 16 /gdbus/subscribe/proxy/unsubscribe_immediately 564s # End of proxy tests 564s # Start of parallel tests 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/parallel/simple/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/parallel/simple/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/parallel/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/parallel/simple/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/parallel/simple/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/parallel/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/parallel/simple/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/parallel/simple/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/parallel/simple/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/parallel/simple/.dirs/runtime 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 564s # subscriber is :1.0 564s # service is :1.1 564s # service 2 is :1.2 564s # attacker is :1.3 564s # Waiting for AddMatch to be processed 564s # /gdbus/subscribe/parallel/simple summary: A broadcast is only received after subscribing to it 564s # Step 0: emitting signal 564s # Sender: service 564s # Destination: (broadcast) 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: Foo 564s # Argument 0: (not a string) 564s # Waiting for signal to reach message bus 564s # Step 1: adding subscription 564s # Sender: (any) 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: (any) 564s # String argument 0: (any) 564s # Flags: 0 564s # Subscribing via connection 564s # Cannot subscribe via proxy: no bus name 564s # Waiting for AddMatch to be processed 564s # Step 2: emitting signal 564s # Sender: service 564s # Destination: (broadcast) 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: Foo 564s # Argument 0: (not a string) 564s # Waiting for signal to reach message bus 564s # Signal received from service :1.1 564s # Signal received from service :1.1 via connection 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: Foo 564s # Argument 0: (not a string) 564s # Sent in step: 2 564s # Received Finished signal from subscriber :1.0 564s # Received Finished signal from service :1.1 564s # Received Finished signal from service 2 :1.2 564s # Received Finished signal from attacker :1.3 564s # Signal from step 0 was received 0 times by GDBusConnection, expected 0 564s # Signal from step 0 was received 0 times by GDBusProxy, expected 0 564s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 564s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s ok 17 /gdbus/subscribe/parallel/simple 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/runtime 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 564s # subscriber is :1.0 564s # service is :1.1 564s # service 2 is :1.2 564s # attacker is :1.3 564s # Waiting for AddMatch to be processed 564s # /gdbus/subscribe/parallel/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 564s # Step 0: adding subscription 564s # Sender: (any) 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: (any) 564s # String argument 0: (any) 564s # Flags: 0 564s # Subscribing via connection 564s # Cannot subscribe via proxy: no bus name 564s # Waiting for AddMatch to be processed 564s # Step 1: emitting signal 564s # Sender: service 564s # Destination: (broadcast) 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: Foo 564s # Argument 0: (not a string) 564s # Waiting for signal to reach message bus 564s # Step 2: emitting signal 564s # Sender: service 2 564s # Destination: (broadcast) 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: Foo 564s # Argument 0: (not a string) 564s # Waiting for signal to reach message bus 564s # Step 3: emitting signal 564s # Sender: service 564s # Destination: subscriber :1.0 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: Foo 564s # Argument 0: (not a string) 564s # Waiting for signal to reach message bus 564s # Step 4: emitting signal 564s # Sender: service 2 564s # Destination: subscriber :1.0 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: Foo 564s # Argument 0: (not a string) 564s # Waiting for signal to reach message bus 564s # Signal received from service :1.1 564s # Signal received from service :1.1 via connection 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: Foo 564s # Argument 0: (not a string) 564s # Sent in step: 1 564s # Signal received from service 2 :1.2 564s # Signal received from service 2 :1.2 via connection 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: Foo 564s # Argument 0: (not a string) 564s # Sent in step: 2 564s # Signal received from service :1.1 564s # Signal received from service :1.1 via connection 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: Foo 564s # Argument 0: (not a string) 564s # Sent in step: 3 564s # Signal received from service 2 :1.2 564s # Signal received from service 2 :1.2 via connection 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: Foo 564s # Argument 0: (not a string) 564s # Sent in step: 4 564s # Received Finished signal from subscriber :1.0 564s # Received Finished signal from service :1.1 564s # Received Finished signal from service 2 :1.2 564s # Received Finished signal from attacker :1.3 564s # Signal from step 1 was received 1 times by GDBusConnection, expected 1 564s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 564s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 564s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 564s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 564s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 564s # Signal from step 4 was received 1 times by GDBusConnection, expected 1 564s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s ok 18 /gdbus/subscribe/parallel/broadcast_from_anyone 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/parallel/match_twice/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/parallel/match_twice/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/parallel/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/parallel/match_twice/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/parallel/match_twice/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/parallel/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/parallel/match_twice/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/parallel/match_twice/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/parallel/match_twice/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/parallel/match_twice/.dirs/runtime 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 564s # subscriber is :1.0 564s # service is :1.1 564s # service 2 is :1.2 564s # attacker is :1.3 564s # Waiting for AddMatch to be processed 564s # /gdbus/subscribe/parallel/match_twice summary: A message matching more than one subscription is received once per subscription 564s # Step 0: adding subscription 564s # Sender: service :1.1 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: (any) 564s # String argument 0: (any) 564s # Flags: 0 564s # Subscribing via connection 564s # Subscribing via proxy 564s # Waiting for AddMatch to be processed 564s # Step 1: adding subscription 564s # Sender: (any) 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: (any) 564s # Member: (any) 564s # String argument 0: (any) 564s # Flags: 0 564s # Subscribing via connection 564s # Cannot subscribe via proxy: no bus name 564s # Waiting for AddMatch to be processed 564s # Step 2: adding subscription 564s # Sender: (any) 564s # Path: (any) 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: (any) 564s # String argument 0: (any) 564s # Flags: 0 564s # Subscribing via connection 564s # Cannot subscribe via proxy: no bus name 564s # Waiting for AddMatch to be processed 564s # Step 3: adding subscription 564s # Sender: service :1.1 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: (any) 564s # String argument 0: (any) 564s # Flags: 0 564s # Subscribing via connection 564s # Subscribing via proxy 564s # Waiting for AddMatch to be processed 564s # Step 4: emitting signal 564s # Sender: service 564s # Destination: (broadcast) 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: Foo 564s # Argument 0: (not a string) 564s # Waiting for signal to reach message bus 564s # Signal received from service :1.1 564s # Signal received from service :1.1 via connection 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: Foo 564s # Argument 0: (not a string) 564s # Sent in step: 4 564s # Signal received from service :1.1 564s # Signal received from service :1.1 via proxy 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: Foo 564s # Argument 0: (not a string) 564s # Sent in step: 4 564s # Signal received from service :1.1 564s # Signal received from service :1.1 via connection 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: Foo 564s # Argument 0: (not a string) 564s # Sent in step: 4 564s # Signal received from service :1.1 564s # Signal received from service :1.1 via proxy 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: Foo 564s # Argument 0: (not a string) 564s # Sent in step: 4 564s # Signal received from service :1.1 564s # Signal received from service :1.1 via connection 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: Foo 564s # Argument 0: (not a string) 564s # Sent in step: 4 564s # Signal received from service :1.1 564s # Signal received from service :1.1 via connection 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: Foo 564s # Argument 0: (not a string) 564s # Sent in step: 4 564s # Received Finished signal from subscriber :1.0 564s # Received Finished signal from service :1.1 564s # Received Finished signal from service 2 :1.2 564s # Received Finished signal from attacker :1.3 564s # Signal from step 4 was received 4 times by GDBusConnection, expected 4 564s # Signal from step 4 was received 2 times by GDBusProxy, expected 2 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s ok 19 /gdbus/subscribe/parallel/match_twice 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/runtime 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 564s # subscriber is :1.0 564s # service is :1.1 564s # service 2 is :1.2 564s # attacker is :1.3 564s # Waiting for AddMatch to be processed 564s # /gdbus/subscribe/parallel/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 564s # Step 0: adding subscription 564s # Sender: service :1.1 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: (any) 564s # String argument 0: (any) 564s # Flags: 0 564s # Subscribing via connection 564s # Subscribing via proxy 564s # Waiting for AddMatch to be processed 564s # Step 1: emitting signal 564s # Sender: attacker 564s # Destination: (broadcast) 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: Foo 564s # Argument 0: (not a string) 564s # Waiting for signal to reach message bus 564s # Step 2: emitting signal 564s # Sender: attacker 564s # Destination: subscriber :1.0 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: Foo 564s # Argument 0: (not a string) 564s # Waiting for signal to reach message bus 564s # Step 3: emitting signal 564s # Sender: service 564s # Destination: (broadcast) 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: Foo 564s # Argument 0: (not a string) 564s # Waiting for signal to reach message bus 564s # Signal received from service :1.1 564s # Signal received from service :1.1 via connection 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: Foo 564s # Argument 0: (not a string) 564s # Sent in step: 3 564s # Signal received from service :1.1 564s # Signal received from service :1.1 via proxy 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: Foo 564s # Argument 0: (not a string) 564s # Sent in step: 3 564s # Received Finished signal from subscriber :1.0 564s # Received Finished signal from service :1.1 564s # Received Finished signal from service 2 :1.2 564s # Received Finished signal from attacker :1.3 564s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 564s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 564s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 564s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 564s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 564s # Signal from step 3 was received 1 times by GDBusProxy, expected 1 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s ok 20 /gdbus/subscribe/parallel/limit_by_unique_name 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/runtime 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 564s # subscriber is :1.0 564s # service is :1.1 564s # service 2 is :1.2 564s # attacker is :1.3 564s # Waiting for AddMatch to be processed 564s # /gdbus/subscribe/parallel/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 564s # Step 0: adding subscription 564s # Sender: :0.this.had.better.not.exist 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: (any) 564s # String argument 0: (any) 564s # Flags: 0 564s # Subscribing via connection 564s # Subscribing via proxy 564s # Waiting for AddMatch to be processed 564s # Step 1: emitting signal 564s # Sender: attacker 564s # Destination: (broadcast) 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: Foo 564s # Argument 0: (not a string) 564s # Waiting for signal to reach message bus 564s # Step 2: emitting signal 564s # Sender: attacker 564s # Destination: subscriber :1.0 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: Foo 564s # Argument 0: (not a string) 564s # Waiting for signal to reach message bus 564s # Received Finished signal from subscriber :1.0 564s # Received Finished signal from service :1.1 564s # Received Finished signal from service 2 :1.2 564s # Received Finished signal from attacker :1.3 564s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 564s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 564s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 564s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s ok 21 /gdbus/subscribe/parallel/nonexistent_unique_name 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/runtime 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 564s # subscriber is :1.0 564s # service is :1.1 564s # service 2 is :1.2 564s # attacker is :1.3 564s # Waiting for AddMatch to be processed 564s # /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 564s # Step 0: claiming bus name 564s # Name: org.gtk.Test.AlreadyOwned 564s # Owner: service 564s # Step 1: adding subscription 564s # Sender: org.gtk.Test.AlreadyOwned 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: (any) 564s # String argument 0: (any) 564s # Flags: 0 564s # Subscribing via connection 564s # Subscribing via proxy 564s # Waiting for AddMatch to be processed 564s # Step 2: adding subscription 564s # Sender: org.gtk.Test.OwnedLater 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: (any) 564s # String argument 0: (any) 564s # Flags: 0 564s # Subscribing via connection 564s # Subscribing via proxy 564s # Waiting for AddMatch to be processed 564s # Step 3: emitting signal 564s # Sender: attacker 564s # Destination: (broadcast) 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: Foo 564s # Argument 0: (not a string) 564s # Waiting for signal to reach message bus 564s # Step 4: emitting signal 564s # Sender: attacker 564s # Destination: subscriber :1.0 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: Foo 564s # Argument 0: (not a string) 564s # Waiting for signal to reach message bus 564s # Step 5: emitting signal 564s # Sender: service 564s # Destination: (broadcast) 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: Foo 564s # Argument 0: (not a string) 564s # Waiting for signal to reach message bus 564s # Step 6: claiming bus name 564s # Name: org.gtk.Test.OwnedLater 564s # Owner: service 564s # Step 7: emitting signal 564s # Sender: service 564s # Destination: (broadcast) 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: Foo 564s # Argument 0: (not a string) 564s # Waiting for signal to reach message bus 564s # Signal received from service :1.1 564s # Signal received from service :1.1 via connection 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: Foo 564s # Argument 0: (not a string) 564s # Sent in step: 5 564s # Signal received from service :1.1 564s # Signal received from service :1.1 via proxy 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: Foo 564s # Argument 0: (not a string) 564s # Sent in step: 5 564s # Signal received from service :1.1 564s # Signal received from service :1.1 via connection 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: Foo 564s # Argument 0: (not a string) 564s # Sent in step: 7 564s # Signal received from service :1.1 564s # Signal received from service :1.1 via proxy 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: Foo 564s # Argument 0: (not a string) 564s # Sent in step: 7 564s # Signal received from service :1.1 564s # Signal received from service :1.1 via connection 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: Foo 564s # Argument 0: (not a string) 564s # Sent in step: 7 564s # Signal received from service :1.1 564s # Signal received from service :1.1 via proxy 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: Foo 564s # Argument 0: (not a string) 564s # Sent in step: 7 564s # Received Finished signal from subscriber :1.0 564s # Received Finished signal from service :1.1 564s # Received Finished signal from service 2 :1.2 564s # Received Finished signal from attacker :1.3 564s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 564s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 564s # Signal from step 3 was received 0 times by GDBusConnection, expected 0 564s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 564s # Signal from step 4 was received 0 times by GDBusConnection, expected 0 564s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 564s # Signal from step 5 was received 1 times by GDBusConnection, expected 1 564s # Signal from step 5 was received 1 times by GDBusProxy, expected 1 564s # NameOwnerChanged from step 6 was received 0 times by GDBusConnection, expected 0 564s # NameOwnerChanged from step 6 was received 0 times by GDBusProxy, expected 0 564s # Signal from step 7 was received 2 times by GDBusConnection, expected 2 564s # Signal from step 7 was received 2 times by GDBusProxy, expected 2 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s ok 22 /gdbus/subscribe/parallel/limit_by_well_known_name 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/runtime 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 564s # subscriber is :1.0 564s # service is :1.1 564s # service 2 is :1.2 564s # attacker is :1.3 564s # Waiting for AddMatch to be processed 564s # /gdbus/subscribe/parallel/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 564s # Step 0: adding subscription 564s # Sender: org.freedesktop.DBus 564s # Path: /org/freedesktop/DBus 564s # Interface: org.freedesktop.DBus 564s # Member: (any) 564s # String argument 0: (any) 564s # Flags: 0 564s # Subscribing via connection 564s # Subscribing via proxy 564s # Waiting for AddMatch to be processed 564s # Step 1: emitting signal 564s # Sender: attacker 564s # Destination: (broadcast) 564s # Path: /org/freedesktop/DBus 564s # Interface: org.freedesktop.DBus 564s # Member: NameOwnerChanged 564s # String argument 0: would I lie to you? 564s # Waiting for signal to reach message bus 564s # Step 2: emitting signal 564s # Sender: attacker 564s # Destination: subscriber :1.0 564s # Path: /org/freedesktop/DBus 564s # Interface: org.freedesktop.DBus 564s # Member: NameOwnerChanged 564s # Waiting for signal to reach message bus 564s # Step 3: claiming bus name 564s # Name: org.gtk.Test.OwnedLater 564s # Owner: service 564s # Signal received from message bus org.freedesktop.DBus 564s # Signal received from (unused) org.freedesktop.DBus via connection 564s # Path: /org/freedesktop/DBus 564s # Interface: org.freedesktop.DBus 564s # Member: NameOwnerChanged 564s # Signal received from message bus org.freedesktop.DBus 564s # Signal received from (unused) org.freedesktop.DBus via proxy 564s # Path: /org/freedesktop/DBus 564s # Interface: org.freedesktop.DBus 564s # Member: NameOwnerChanged 564s # Received Finished signal from subscriber :1.0 564s # Received Finished signal from service :1.1 564s # Received Finished signal from service 2 :1.2 564s # Received Finished signal from attacker :1.3 564s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 564s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 564s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 564s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 564s # NameOwnerChanged from step 3 was received 1 times by GDBusConnection, expected 1 564s # NameOwnerChanged from step 3 was received 1 times by GDBusProxy, expected 1 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s ok 23 /gdbus/subscribe/parallel/limit_to_message_bus 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_JSXXE3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/runtime 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 564s # subscriber is :1.0 564s # service is :1.1 564s # service 2 is :1.2 564s # attacker is :1.3 564s # Waiting for AddMatch to be processed 564s # /gdbus/subscribe/parallel/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 564s # Step 0: claiming bus name 564s # Name: org.gtk.Test.AlreadyOwned 564s # Owner: service 564s # Step 1: adding subscription 564s # Sender: org.gtk.Test.AlreadyOwned 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: (any) 564s # String argument 0: (any) 564s # Flags: 0 564s # Subscribing via connection 564s # Immediately unsubscribing 564s # Subscribing via proxy 564s # Waiting for AddMatch to be processed 564s # Step 2: emitting signal 564s # Sender: service 564s # Destination: (broadcast) 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: Foo 564s # Argument 0: (not a string) 564s # Waiting for signal to reach message bus 564s # Signal received from service :1.1 564s # Signal received from service :1.1 via proxy 564s # Path: /org/gtk/GDBus/ExampleInterface 564s # Interface: org.gtk.GDBus.ExampleInterface 564s # Member: Foo 564s # Argument 0: (not a string) 564s # Sent in step: 2 564s # Received Finished signal from subscriber :1.0 564s # Received Finished signal from service :1.1 564s # Received Finished signal from service 2 :1.2 564s # Received Finished signal from attacker :1.3 564s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 564s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 564s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 564s # Signal from step 2 was received 1 times by GDBusProxy, expected 1 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s ok 24 /gdbus/subscribe/parallel/unsubscribe_immediately 564s # End of parallel tests 564s # End of subscribe tests 564s # End of gdbus tests 564s TAP version 14 564s # random seed: R02S3733e0ded043e85f103ff1ee40361fde 564s ok - glib/gdbus-subscribe.test 564s # Running test: glib/g-file-info.test 564s ok - glib/g-file-info.test 564s # Running test: glib/file.test 564s 1..6 564s # Start of g-file-info tests 564s ok 1 /g-file-info/test_g_file_info 564s # /g-file-info/xattrs summary: Test setting and getting escaped xattrs 564s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 564s ok 2 /g-file-info/xattrs 564s # /g-file-info/set-modified-date-time-precision summary: Test that g_file_info_set_modified_date_time() preserves microseconds 564s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3116 564s ok 3 /g-file-info/set-modified-date-time-precision 564s # Start of test_g_file_info tests 564s # /g-file-info/test_g_file_info/modification-time summary: Test that getting the modification time of a file works. 564s ok 4 /g-file-info/test_g_file_info/modification-time 564s # /g-file-info/test_g_file_info/access-time summary: Test that getting the access time of a file works. 564s ok 5 /g-file-info/test_g_file_info/access-time 564s # /g-file-info/test_g_file_info/creation-time summary: Test that getting the creation time of a file works. 564s ok 6 /g-file-info/test_g_file_info/creation-time 564s # End of test_g_file_info tests 564s # End of g-file-info tests 564s TAP version 14 564s # random seed: R02S5e552754958ce2b85cc449383163343c 564s 1..55 564s # Start of file tests 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CTGTE3/file/basic/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CTGTE3/file/basic/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CTGTE3/file/basic/.dirs/system-config1:/tmp/test_file_CTGTE3/file/basic/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CTGTE3/file/basic/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CTGTE3/file/basic/.dirs/system-data1:/tmp/test_file_CTGTE3/file/basic/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CTGTE3/file/basic/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CTGTE3/file/basic/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CTGTE3/file/basic/.dirs/runtime 564s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 564s ok 1 /file/basic 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CTGTE3/file/build-filename/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CTGTE3/file/build-filename/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CTGTE3/file/build-filename/.dirs/system-config1:/tmp/test_file_CTGTE3/file/build-filename/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CTGTE3/file/build-filename/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CTGTE3/file/build-filename/.dirs/system-data1:/tmp/test_file_CTGTE3/file/build-filename/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CTGTE3/file/build-filename/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CTGTE3/file/build-filename/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CTGTE3/file/build-filename/.dirs/runtime 564s ok 2 /file/build-filename 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CTGTE3/file/build-filenamev/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CTGTE3/file/build-filenamev/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CTGTE3/file/build-filenamev/.dirs/system-config1:/tmp/test_file_CTGTE3/file/build-filenamev/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CTGTE3/file/build-filenamev/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CTGTE3/file/build-filenamev/.dirs/system-data1:/tmp/test_file_CTGTE3/file/build-filenamev/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CTGTE3/file/build-filenamev/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CTGTE3/file/build-filenamev/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CTGTE3/file/build-filenamev/.dirs/runtime 564s ok 3 /file/build-filenamev 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CTGTE3/file/parent/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CTGTE3/file/parent/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CTGTE3/file/parent/.dirs/system-config1:/tmp/test_file_CTGTE3/file/parent/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CTGTE3/file/parent/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CTGTE3/file/parent/.dirs/system-data1:/tmp/test_file_CTGTE3/file/parent/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CTGTE3/file/parent/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CTGTE3/file/parent/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CTGTE3/file/parent/.dirs/runtime 564s ok 4 /file/parent 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CTGTE3/file/child/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CTGTE3/file/child/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CTGTE3/file/child/.dirs/system-config1:/tmp/test_file_CTGTE3/file/child/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CTGTE3/file/child/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CTGTE3/file/child/.dirs/system-data1:/tmp/test_file_CTGTE3/file/child/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CTGTE3/file/child/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CTGTE3/file/child/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CTGTE3/file/child/.dirs/runtime 564s ok 5 /file/child 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CTGTE3/file/empty-path/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CTGTE3/file/empty-path/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CTGTE3/file/empty-path/.dirs/system-config1:/tmp/test_file_CTGTE3/file/empty-path/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CTGTE3/file/empty-path/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CTGTE3/file/empty-path/.dirs/system-data1:/tmp/test_file_CTGTE3/file/empty-path/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CTGTE3/file/empty-path/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CTGTE3/file/empty-path/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CTGTE3/file/empty-path/.dirs/runtime 564s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2328 564s # /file/empty-path summary: Check that creating a file with an empty path results in errors 564s ok 6 /file/empty-path 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CTGTE3/file/type/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CTGTE3/file/type/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CTGTE3/file/type/.dirs/system-config1:/tmp/test_file_CTGTE3/file/type/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CTGTE3/file/type/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CTGTE3/file/type/.dirs/system-data1:/tmp/test_file_CTGTE3/file/type/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CTGTE3/file/type/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CTGTE3/file/type/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CTGTE3/file/type/.dirs/runtime 564s ok 7 /file/type 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CTGTE3/file/parse-name/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CTGTE3/file/parse-name/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CTGTE3/file/parse-name/.dirs/system-config1:/tmp/test_file_CTGTE3/file/parse-name/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CTGTE3/file/parse-name/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CTGTE3/file/parse-name/.dirs/system-data1:/tmp/test_file_CTGTE3/file/parse-name/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CTGTE3/file/parse-name/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CTGTE3/file/parse-name/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CTGTE3/file/parse-name/.dirs/runtime 564s ok 8 /file/parse-name 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CTGTE3/file/replace-load/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CTGTE3/file/replace-load/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CTGTE3/file/replace-load/.dirs/system-config1:/tmp/test_file_CTGTE3/file/replace-load/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CTGTE3/file/replace-load/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CTGTE3/file/replace-load/.dirs/system-data1:/tmp/test_file_CTGTE3/file/replace-load/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CTGTE3/file/replace-load/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CTGTE3/file/replace-load/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CTGTE3/file/replace-load/.dirs/runtime 564s ok 9 /file/replace-load 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CTGTE3/file/replace-cancel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CTGTE3/file/replace-cancel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CTGTE3/file/replace-cancel/.dirs/system-config1:/tmp/test_file_CTGTE3/file/replace-cancel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CTGTE3/file/replace-cancel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CTGTE3/file/replace-cancel/.dirs/system-data1:/tmp/test_file_CTGTE3/file/replace-cancel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CTGTE3/file/replace-cancel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CTGTE3/file/replace-cancel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CTGTE3/file/replace-cancel/.dirs/runtime 564s # Bug Reference: https://bugzilla.gnome.org/629301 564s ok 10 /file/replace-cancel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CTGTE3/file/replace-symlink/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CTGTE3/file/replace-symlink/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CTGTE3/file/replace-symlink/.dirs/system-config1:/tmp/test_file_CTGTE3/file/replace-symlink/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CTGTE3/file/replace-symlink/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CTGTE3/file/replace-symlink/.dirs/system-data1:/tmp/test_file_CTGTE3/file/replace-symlink/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CTGTE3/file/replace-symlink/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CTGTE3/file/replace-symlink/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CTGTE3/file/replace-symlink/.dirs/runtime 564s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2325 564s # /file/replace-symlink summary: Test that G_FILE_CREATE_REPLACE_DESTINATION doesn’t follow symlinks 564s # Using temporary directory /tmp/test_file_CTGTE3/g_file_replace_symlink_F2SSE3 564s ok 11 /file/replace-symlink 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CTGTE3/file/async-new-tmp/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CTGTE3/file/async-new-tmp/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CTGTE3/file/async-new-tmp/.dirs/system-config1:/tmp/test_file_CTGTE3/file/async-new-tmp/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CTGTE3/file/async-new-tmp/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CTGTE3/file/async-new-tmp/.dirs/system-data1:/tmp/test_file_CTGTE3/file/async-new-tmp/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CTGTE3/file/async-new-tmp/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CTGTE3/file/async-new-tmp/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CTGTE3/file/async-new-tmp/.dirs/runtime 564s ok 12 /file/async-new-tmp 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CTGTE3/file/async-new-tmp-dir/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CTGTE3/file/async-new-tmp-dir/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CTGTE3/file/async-new-tmp-dir/.dirs/system-config1:/tmp/test_file_CTGTE3/file/async-new-tmp-dir/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CTGTE3/file/async-new-tmp-dir/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CTGTE3/file/async-new-tmp-dir/.dirs/system-data1:/tmp/test_file_CTGTE3/file/async-new-tmp-dir/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CTGTE3/file/async-new-tmp-dir/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CTGTE3/file/async-new-tmp-dir/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CTGTE3/file/async-new-tmp-dir/.dirs/runtime 564s ok 13 /file/async-new-tmp-dir 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CTGTE3/file/async-delete/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CTGTE3/file/async-delete/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CTGTE3/file/async-delete/.dirs/system-config1:/tmp/test_file_CTGTE3/file/async-delete/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CTGTE3/file/async-delete/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CTGTE3/file/async-delete/.dirs/system-data1:/tmp/test_file_CTGTE3/file/async-delete/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CTGTE3/file/async-delete/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CTGTE3/file/async-delete/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CTGTE3/file/async-delete/.dirs/runtime 564s ok 14 /file/async-delete 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CTGTE3/file/async-make-symlink/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CTGTE3/file/async-make-symlink/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CTGTE3/file/async-make-symlink/.dirs/system-config1:/tmp/test_file_CTGTE3/file/async-make-symlink/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CTGTE3/file/async-make-symlink/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CTGTE3/file/async-make-symlink/.dirs/system-data1:/tmp/test_file_CTGTE3/file/async-make-symlink/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CTGTE3/file/async-make-symlink/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CTGTE3/file/async-make-symlink/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CTGTE3/file/async-make-symlink/.dirs/runtime 564s ok 15 /file/async-make-symlink 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CTGTE3/file/copy-preserve-mode/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CTGTE3/file/copy-preserve-mode/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CTGTE3/file/copy-preserve-mode/.dirs/system-config1:/tmp/test_file_CTGTE3/file/copy-preserve-mode/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CTGTE3/file/copy-preserve-mode/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CTGTE3/file/copy-preserve-mode/.dirs/system-data1:/tmp/test_file_CTGTE3/file/copy-preserve-mode/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CTGTE3/file/copy-preserve-mode/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CTGTE3/file/copy-preserve-mode/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CTGTE3/file/copy-preserve-mode/.dirs/runtime 564s # Current umask: 2 564s # Vector 0 564s # Vector 1 564s # Vector 2 564s # Vector 3 564s # Vector 4 564s # Vector 5 564s # Vector 6 564s # Vector 7 564s # Vector 8 564s # Vector 9 564s # Vector 10 564s ok 16 /file/copy-preserve-mode 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CTGTE3/file/copy-async-with-closures/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CTGTE3/file/copy-async-with-closures/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CTGTE3/file/copy-async-with-closures/.dirs/system-config1:/tmp/test_file_CTGTE3/file/copy-async-with-closures/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CTGTE3/file/copy-async-with-closures/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CTGTE3/file/copy-async-with-closures/.dirs/system-data1:/tmp/test_file_CTGTE3/file/copy-async-with-closures/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CTGTE3/file/copy-async-with-closures/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CTGTE3/file/copy-async-with-closures/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CTGTE3/file/copy-async-with-closures/.dirs/runtime 564s ok 17 /file/copy-async-with-closures 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CTGTE3/file/measure/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CTGTE3/file/measure/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CTGTE3/file/measure/.dirs/system-config1:/tmp/test_file_CTGTE3/file/measure/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CTGTE3/file/measure/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CTGTE3/file/measure/.dirs/system-data1:/tmp/test_file_CTGTE3/file/measure/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CTGTE3/file/measure/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CTGTE3/file/measure/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CTGTE3/file/measure/.dirs/runtime 564s ok 18 /file/measure 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CTGTE3/file/measure-async/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CTGTE3/file/measure-async/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CTGTE3/file/measure-async/.dirs/system-config1:/tmp/test_file_CTGTE3/file/measure-async/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CTGTE3/file/measure-async/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CTGTE3/file/measure-async/.dirs/system-data1:/tmp/test_file_CTGTE3/file/measure-async/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CTGTE3/file/measure-async/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CTGTE3/file/measure-async/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CTGTE3/file/measure-async/.dirs/runtime 564s ok 19 /file/measure-async 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CTGTE3/file/load-bytes/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CTGTE3/file/load-bytes/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CTGTE3/file/load-bytes/.dirs/system-config1:/tmp/test_file_CTGTE3/file/load-bytes/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CTGTE3/file/load-bytes/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CTGTE3/file/load-bytes/.dirs/system-data1:/tmp/test_file_CTGTE3/file/load-bytes/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CTGTE3/file/load-bytes/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CTGTE3/file/load-bytes/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CTGTE3/file/load-bytes/.dirs/runtime 564s ok 20 /file/load-bytes 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CTGTE3/file/load-bytes-async/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CTGTE3/file/load-bytes-async/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CTGTE3/file/load-bytes-async/.dirs/system-config1:/tmp/test_file_CTGTE3/file/load-bytes-async/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CTGTE3/file/load-bytes-async/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CTGTE3/file/load-bytes-async/.dirs/system-data1:/tmp/test_file_CTGTE3/file/load-bytes-async/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CTGTE3/file/load-bytes-async/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CTGTE3/file/load-bytes-async/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CTGTE3/file/load-bytes-async/.dirs/runtime 564s ok 21 /file/load-bytes-async 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CTGTE3/file/load-bytes-4gb/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CTGTE3/file/load-bytes-4gb/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CTGTE3/file/load-bytes-4gb/.dirs/system-config1:/tmp/test_file_CTGTE3/file/load-bytes-4gb/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CTGTE3/file/load-bytes-4gb/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CTGTE3/file/load-bytes-4gb/.dirs/system-data1:/tmp/test_file_CTGTE3/file/load-bytes-4gb/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CTGTE3/file/load-bytes-4gb/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CTGTE3/file/load-bytes-4gb/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CTGTE3/file/load-bytes-4gb/.dirs/runtime 564s ok 22 /file/load-bytes-4gb # SKIP Skipping slow >4GB file test 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CTGTE3/file/load-contents-4gb/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CTGTE3/file/load-contents-4gb/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CTGTE3/file/load-contents-4gb/.dirs/system-config1:/tmp/test_file_CTGTE3/file/load-contents-4gb/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CTGTE3/file/load-contents-4gb/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CTGTE3/file/load-contents-4gb/.dirs/system-data1:/tmp/test_file_CTGTE3/file/load-contents-4gb/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CTGTE3/file/load-contents-4gb/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CTGTE3/file/load-contents-4gb/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CTGTE3/file/load-contents-4gb/.dirs/runtime 564s ok 23 /file/load-contents-4gb # SKIP Skipping slow >4GB file test 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CTGTE3/file/load-contents-4gb-async/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CTGTE3/file/load-contents-4gb-async/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CTGTE3/file/load-contents-4gb-async/.dirs/system-config1:/tmp/test_file_CTGTE3/file/load-contents-4gb-async/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CTGTE3/file/load-contents-4gb-async/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CTGTE3/file/load-contents-4gb-async/.dirs/system-data1:/tmp/test_file_CTGTE3/file/load-contents-4gb-async/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CTGTE3/file/load-contents-4gb-async/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CTGTE3/file/load-contents-4gb-async/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CTGTE3/file/load-contents-4gb-async/.dirs/runtime 564s ok 24 /file/load-contents-4gb-async # SKIP Skipping slow >4GB file test 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CTGTE3/file/writev/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CTGTE3/file/writev/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CTGTE3/file/writev/.dirs/system-config1:/tmp/test_file_CTGTE3/file/writev/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CTGTE3/file/writev/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CTGTE3/file/writev/.dirs/system-data1:/tmp/test_file_CTGTE3/file/writev/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CTGTE3/file/writev/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CTGTE3/file/writev/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CTGTE3/file/writev/.dirs/runtime 564s ok 25 /file/writev 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CTGTE3/file/build-attribute-list-for-copy/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CTGTE3/file/build-attribute-list-for-copy/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CTGTE3/file/build-attribute-list-for-copy/.dirs/system-config1:/tmp/test_file_CTGTE3/file/build-attribute-list-for-copy/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CTGTE3/file/build-attribute-list-for-copy/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CTGTE3/file/build-attribute-list-for-copy/.dirs/system-data1:/tmp/test_file_CTGTE3/file/build-attribute-list-for-copy/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CTGTE3/file/build-attribute-list-for-copy/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CTGTE3/file/build-attribute-list-for-copy/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CTGTE3/file/build-attribute-list-for-copy/.dirs/runtime 564s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,unix::mode,xattr::* 564s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,xattr::* 564s # 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::* 564s # 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::* 564s # Attributes for copy: standard::size,time::access,time::access-nsec,time::access-usec,unix::gid,unix::mode,unix::uid,xattr::*,xattr-sys::* 564s # Attributes for copy: standard::size,xattr::* 564s # Attributes for copy: standard::size,unix::mode,xattr::* 564s ok 26 /file/build-attribute-list-for-copy 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CTGTE3/file/move_async/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CTGTE3/file/move_async/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CTGTE3/file/move_async/.dirs/system-config1:/tmp/test_file_CTGTE3/file/move_async/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CTGTE3/file/move_async/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CTGTE3/file/move_async/.dirs/system-data1:/tmp/test_file_CTGTE3/file/move_async/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CTGTE3/file/move_async/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CTGTE3/file/move_async/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CTGTE3/file/move_async/.dirs/runtime 564s ok 27 /file/move_async 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CTGTE3/file/move-async-with-closures/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CTGTE3/file/move-async-with-closures/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CTGTE3/file/move-async-with-closures/.dirs/system-config1:/tmp/test_file_CTGTE3/file/move-async-with-closures/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CTGTE3/file/move-async-with-closures/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CTGTE3/file/move-async-with-closures/.dirs/system-data1:/tmp/test_file_CTGTE3/file/move-async-with-closures/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CTGTE3/file/move-async-with-closures/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CTGTE3/file/move-async-with-closures/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CTGTE3/file/move-async-with-closures/.dirs/runtime 564s ok 28 /file/move-async-with-closures 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CTGTE3/file/query-zero-length-content-type/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CTGTE3/file/query-zero-length-content-type/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CTGTE3/file/query-zero-length-content-type/.dirs/system-config1:/tmp/test_file_CTGTE3/file/query-zero-length-content-type/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CTGTE3/file/query-zero-length-content-type/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CTGTE3/file/query-zero-length-content-type/.dirs/system-data1:/tmp/test_file_CTGTE3/file/query-zero-length-content-type/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CTGTE3/file/query-zero-length-content-type/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CTGTE3/file/query-zero-length-content-type/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CTGTE3/file/query-zero-length-content-type/.dirs/runtime 564s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755795 564s # /file/query-zero-length-content-type summary: empty files should always be considered application/x-zerosize 564s ok 29 /file/query-zero-length-content-type 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CTGTE3/file/query-default-handler-file/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CTGTE3/file/query-default-handler-file/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CTGTE3/file/query-default-handler-file/.dirs/system-config1:/tmp/test_file_CTGTE3/file/query-default-handler-file/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CTGTE3/file/query-default-handler-file/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CTGTE3/file/query-default-handler-file/.dirs/system-data1:/tmp/test_file_CTGTE3/file/query-default-handler-file/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CTGTE3/file/query-default-handler-file/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CTGTE3/file/query-default-handler-file/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CTGTE3/file/query-default-handler-file/.dirs/runtime 564s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_CTGTE3/file/query-default-handler-file/.dirs/data/applications 564s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_CTGTE3/file/query-default-handler-file/.dirs/config 564s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_CTGTE3/file/query-default-handler-file/.dirs/config 564s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_CTGTE3/file/query-default-handler-file/.dirs/config 564s ok 30 /file/query-default-handler-file 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CTGTE3/file/query-default-handler-file-async/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CTGTE3/file/query-default-handler-file-async/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CTGTE3/file/query-default-handler-file-async/.dirs/system-config1:/tmp/test_file_CTGTE3/file/query-default-handler-file-async/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CTGTE3/file/query-default-handler-file-async/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CTGTE3/file/query-default-handler-file-async/.dirs/system-data1:/tmp/test_file_CTGTE3/file/query-default-handler-file-async/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CTGTE3/file/query-default-handler-file-async/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CTGTE3/file/query-default-handler-file-async/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CTGTE3/file/query-default-handler-file-async/.dirs/runtime 564s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_CTGTE3/file/query-default-handler-file-async/.dirs/data/applications 564s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_CTGTE3/file/query-default-handler-file-async/.dirs/config 564s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_CTGTE3/file/query-default-handler-file/.dirs/config to /tmp/test_file_CTGTE3/file/query-default-handler-file-async/.dirs/config 564s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_CTGTE3/file/query-default-handler-file-async/.dirs/config 564s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_CTGTE3/file/query-default-handler-file-async/.dirs/config 564s ok 31 /file/query-default-handler-file-async 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CTGTE3/file/query-default-handler-uri/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CTGTE3/file/query-default-handler-uri/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CTGTE3/file/query-default-handler-uri/.dirs/system-config1:/tmp/test_file_CTGTE3/file/query-default-handler-uri/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CTGTE3/file/query-default-handler-uri/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CTGTE3/file/query-default-handler-uri/.dirs/system-data1:/tmp/test_file_CTGTE3/file/query-default-handler-uri/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CTGTE3/file/query-default-handler-uri/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CTGTE3/file/query-default-handler-uri/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CTGTE3/file/query-default-handler-uri/.dirs/runtime 564s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_CTGTE3/file/query-default-handler-uri/.dirs/data/applications 564s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_CTGTE3/file/query-default-handler-uri/.dirs/config 564s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_CTGTE3/file/query-default-handler-file-async/.dirs/config to /tmp/test_file_CTGTE3/file/query-default-handler-uri/.dirs/config 564s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_CTGTE3/file/query-default-handler-uri/.dirs/config 564s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_CTGTE3/file/query-default-handler-uri/.dirs/config 564s ok 32 /file/query-default-handler-uri 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CTGTE3/file/query-default-handler-uri-async/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CTGTE3/file/query-default-handler-uri-async/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CTGTE3/file/query-default-handler-uri-async/.dirs/system-config1:/tmp/test_file_CTGTE3/file/query-default-handler-uri-async/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CTGTE3/file/query-default-handler-uri-async/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CTGTE3/file/query-default-handler-uri-async/.dirs/system-data1:/tmp/test_file_CTGTE3/file/query-default-handler-uri-async/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CTGTE3/file/query-default-handler-uri-async/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CTGTE3/file/query-default-handler-uri-async/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CTGTE3/file/query-default-handler-uri-async/.dirs/runtime 564s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_CTGTE3/file/query-default-handler-uri-async/.dirs/data/applications 564s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_CTGTE3/file/query-default-handler-uri-async/.dirs/config 564s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_CTGTE3/file/query-default-handler-uri/.dirs/config to /tmp/test_file_CTGTE3/file/query-default-handler-uri-async/.dirs/config 564s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_CTGTE3/file/query-default-handler-uri-async/.dirs/config 564s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_CTGTE3/file/query-default-handler-uri-async/.dirs/config 564s ok 33 /file/query-default-handler-uri-async 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CTGTE3/file/enumerator-cancellation/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CTGTE3/file/enumerator-cancellation/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CTGTE3/file/enumerator-cancellation/.dirs/system-config1:/tmp/test_file_CTGTE3/file/enumerator-cancellation/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CTGTE3/file/enumerator-cancellation/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CTGTE3/file/enumerator-cancellation/.dirs/system-data1:/tmp/test_file_CTGTE3/file/enumerator-cancellation/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CTGTE3/file/enumerator-cancellation/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CTGTE3/file/enumerator-cancellation/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CTGTE3/file/enumerator-cancellation/.dirs/runtime 564s ok 34 /file/enumerator-cancellation 564s # Start of async-create-delete tests 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CTGTE3/file/async-create-delete/0/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CTGTE3/file/async-create-delete/0/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CTGTE3/file/async-create-delete/0/.dirs/system-config1:/tmp/test_file_CTGTE3/file/async-create-delete/0/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CTGTE3/file/async-create-delete/0/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CTGTE3/file/async-create-delete/0/.dirs/system-data1:/tmp/test_file_CTGTE3/file/async-create-delete/0/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CTGTE3/file/async-create-delete/0/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CTGTE3/file/async-create-delete/0/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CTGTE3/file/async-create-delete/0/.dirs/runtime 564s ok 35 /file/async-create-delete/0 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CTGTE3/file/async-create-delete/1/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CTGTE3/file/async-create-delete/1/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CTGTE3/file/async-create-delete/1/.dirs/system-config1:/tmp/test_file_CTGTE3/file/async-create-delete/1/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CTGTE3/file/async-create-delete/1/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CTGTE3/file/async-create-delete/1/.dirs/system-data1:/tmp/test_file_CTGTE3/file/async-create-delete/1/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CTGTE3/file/async-create-delete/1/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CTGTE3/file/async-create-delete/1/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CTGTE3/file/async-create-delete/1/.dirs/runtime 564s ok 36 /file/async-create-delete/1 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CTGTE3/file/async-create-delete/10/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CTGTE3/file/async-create-delete/10/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CTGTE3/file/async-create-delete/10/.dirs/system-config1:/tmp/test_file_CTGTE3/file/async-create-delete/10/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CTGTE3/file/async-create-delete/10/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CTGTE3/file/async-create-delete/10/.dirs/system-data1:/tmp/test_file_CTGTE3/file/async-create-delete/10/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CTGTE3/file/async-create-delete/10/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CTGTE3/file/async-create-delete/10/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CTGTE3/file/async-create-delete/10/.dirs/runtime 565s ok 37 /file/async-create-delete/10 565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CTGTE3/file/async-create-delete/25/.dirs/home 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CTGTE3/file/async-create-delete/25/.dirs/cache 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CTGTE3/file/async-create-delete/25/.dirs/system-config1:/tmp/test_file_CTGTE3/file/async-create-delete/25/.dirs/system-config2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CTGTE3/file/async-create-delete/25/.dirs/config 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CTGTE3/file/async-create-delete/25/.dirs/system-data1:/tmp/test_file_CTGTE3/file/async-create-delete/25/.dirs/system-data2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CTGTE3/file/async-create-delete/25/.dirs/data 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CTGTE3/file/async-create-delete/25/.dirs/state 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CTGTE3/file/async-create-delete/25/.dirs/runtime 565s ok 38 /file/async-create-delete/25 565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CTGTE3/file/async-create-delete/4096/.dirs/home 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CTGTE3/file/async-create-delete/4096/.dirs/cache 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CTGTE3/file/async-create-delete/4096/.dirs/system-config1:/tmp/test_file_CTGTE3/file/async-create-delete/4096/.dirs/system-config2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CTGTE3/file/async-create-delete/4096/.dirs/config 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CTGTE3/file/async-create-delete/4096/.dirs/system-data1:/tmp/test_file_CTGTE3/file/async-create-delete/4096/.dirs/system-data2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CTGTE3/file/async-create-delete/4096/.dirs/data 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CTGTE3/file/async-create-delete/4096/.dirs/state 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CTGTE3/file/async-create-delete/4096/.dirs/runtime 565s ok 39 /file/async-create-delete/4096 565s # End of async-create-delete tests 565s # Start of replace-symlink tests 565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CTGTE3/file/replace-symlink/using-etag/.dirs/home 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CTGTE3/file/replace-symlink/using-etag/.dirs/cache 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CTGTE3/file/replace-symlink/using-etag/.dirs/system-config1:/tmp/test_file_CTGTE3/file/replace-symlink/using-etag/.dirs/system-config2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CTGTE3/file/replace-symlink/using-etag/.dirs/config 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CTGTE3/file/replace-symlink/using-etag/.dirs/system-data1:/tmp/test_file_CTGTE3/file/replace-symlink/using-etag/.dirs/system-data2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CTGTE3/file/replace-symlink/using-etag/.dirs/data 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CTGTE3/file/replace-symlink/using-etag/.dirs/state 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CTGTE3/file/replace-symlink/using-etag/.dirs/runtime 565s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2417 565s # /file/replace-symlink/using-etag summary: Test that ETag checks work when replacing a file through a symlink 565s # Using temporary directory /tmp/test_file_CTGTE3/g_file_replace_symlink_using_etag_B59IE3 567s ok 40 /file/replace-symlink/using-etag 567s # slow test /file/replace-symlink/using-etag executed in 2.01 secs 567s # End of replace-symlink tests 567s # Start of replace tests 567s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CTGTE3/file/replace/write-only/.dirs/home 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CTGTE3/file/replace/write-only/.dirs/cache 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CTGTE3/file/replace/write-only/.dirs/system-config1:/tmp/test_file_CTGTE3/file/replace/write-only/.dirs/system-config2 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CTGTE3/file/replace/write-only/.dirs/config 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CTGTE3/file/replace/write-only/.dirs/system-data1:/tmp/test_file_CTGTE3/file/replace/write-only/.dirs/system-data2 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CTGTE3/file/replace/write-only/.dirs/data 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CTGTE3/file/replace/write-only/.dirs/state 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CTGTE3/file/replace/write-only/.dirs/runtime 567s # /file/replace/write-only summary: Test various situations for g_file_replace() 567s # Current umask: 2 567s # Test 0, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_I4XIE3 567s # Test 1, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_LAYIE3 567s # Test 2, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_591IE3 567s # Test 3, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_HXSIE3 567s # Test 4, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_J7SIE3 567s # Test 5, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_YTSIE3 567s # Test 6, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_QSVIE3 567s # Test 7, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_8MMIE3 567s # Test 8, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_HBMIE3 567s # Test 9, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_HAMIE3 567s # Test 10, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_VCOIE3 567s # Test 11, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_APGIE3 567s # Test 12, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_YXGIE3 567s # Test 13, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_5CGIE3 567s # Test 14, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_77JIE3 567s # Test 15, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_GA9HE3 567s # Test 16, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_B14HE3 567s # Test 17, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_SA2HE3 567s # Test 18, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_VJ6HE3 567s # Test 19, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_56VHE3 567s # Test 20, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_5HZHE3 567s # Test 21, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_DZPHE3 567s # Test 22, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_F3LHE3 567s # Test 23, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_A9LHE3 567s # Test 24, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_IRJHE3 567s # Test 25, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_WSNHE3 567s # Test 26, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_98MHE3 567s # Test 27, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_5GNHE3 567s # Test 28, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_4CEHE3 567s # Test 29, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_J8HHE3 567s # Test 30, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_1WHHE3 567s # Test 31, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_99GHE3 567s # Test 32, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_KHCHE3 567s # Test 33, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_8GAHE3 567s # Test 34, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_9OAHE3 567s # Test 35, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_739GE3 567s # Test 36, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_YEBSE3 567s # Test 37, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_EW9RE3 567s # Test 38, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_UJDSE3 567s # Test 39, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_E4BSE3 567s # Test 40, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_WZ2RE3 567s # Test 41, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_DU5RE3 567s # Test 42, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_GDYRE3 567s # Test 43, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_WDZRE3 567s # Test 44, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_ESQRE3 567s # Test 45, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_1XQRE3 567s # Test 46, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_X8URE3 567s # Test 47, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_O7URE3 567s # Test 48, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_0NLRE3 567s # We do not have CAP_DAC_OVERRIDE or equivalent 567s ok 41 /file/replace/write-only 567s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CTGTE3/file/replace/read-write/.dirs/home 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CTGTE3/file/replace/read-write/.dirs/cache 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CTGTE3/file/replace/read-write/.dirs/system-config1:/tmp/test_file_CTGTE3/file/replace/read-write/.dirs/system-config2 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CTGTE3/file/replace/read-write/.dirs/config 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CTGTE3/file/replace/read-write/.dirs/system-data1:/tmp/test_file_CTGTE3/file/replace/read-write/.dirs/system-data2 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CTGTE3/file/replace/read-write/.dirs/data 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CTGTE3/file/replace/read-write/.dirs/state 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CTGTE3/file/replace/read-write/.dirs/runtime 567s # /file/replace/read-write summary: Test various situations for g_file_replace() 567s # Current umask: 2 567s # Test 0, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_SBLRE3 567s # Test 1, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_1OKRE3 567s # Test 2, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_RENRE3 567s # Test 3, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_ECIRE3 567s # Test 4, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_TKIRE3 567s # Test 5, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_G0HRE3 567s # Test 6, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_L98QE3 567s # Test 7, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_SIBRE3 567s # Test 8, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_QTARE3 567s # Test 9, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_86ARE3 567s # Test 10, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_DM0QE3 567s # Test 11, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_Y0WQE3 567s # Test 12, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_DQWQE3 567s # Test 13, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_4XWQE3 567s # Test 14, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_WE0QE3 567s # Test 15, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_LRYQE3 567s # Test 16, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_5BPQE3 567s # Test 17, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_2RSQE3 567s # Test 18, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_AMJQE3 567s # Test 19, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_RHNQE3 567s # Test 20, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_UAEQE3 567s # Test 21, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_T3CQE3 567s # Test 22, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_B6GQE3 567s # Test 23, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_8JGQE3 567s # Test 24, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_5U7PE3 567s # Test 25, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_IJ5PE3 567s # Test 26, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_WK5PE3 567s # Test 27, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_YZ4PE3 567s # Test 28, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_MX8PE3 567s # Test 29, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_Q30PE3 567s # Test 30, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_4R0PE3 567s # Test 31, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_KY0PE3 567s # Test 32, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_5BZPE3 567s # Test 33, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_4Q3PE3 567s # Test 34, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_W62PE3 567s # Test 35, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_5D3PE3 567s # Test 36, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_82UPE3 567s # Test 37, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_GYSPE3 567s # Test 38, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_MSXPE3 567s # Test 39, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_7TVPE3 567s # Test 40, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_HMRPE3 567s # Test 41, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_V9OPE3 567s # Test 42, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_6LGPE3 567s # Test 43, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_3SJPE3 567s # Test 44, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_MLBPE3 567s # Test 45, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_65APE3 567s # Test 46, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_DZEPE3 567s # Test 47, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_CCFPE3 567s # Test 48, using temporary directory /tmp/test_file_CTGTE3/g_file_replace_RZCPE3 567s # We do not have CAP_DAC_OVERRIDE or equivalent 567s ok 42 /file/replace/read-write 567s # End of replace tests 567s # Start of copy tests 567s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CTGTE3/file/copy/progress/.dirs/home 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CTGTE3/file/copy/progress/.dirs/cache 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CTGTE3/file/copy/progress/.dirs/system-config1:/tmp/test_file_CTGTE3/file/copy/progress/.dirs/system-config2 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CTGTE3/file/copy/progress/.dirs/config 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CTGTE3/file/copy/progress/.dirs/system-data1:/tmp/test_file_CTGTE3/file/copy/progress/.dirs/system-data2 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CTGTE3/file/copy/progress/.dirs/data 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CTGTE3/file/copy/progress/.dirs/state 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CTGTE3/file/copy/progress/.dirs/runtime 567s ok 43 /file/copy/progress 567s # End of copy tests 567s # Start of writev tests 567s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CTGTE3/file/writev/no-bytes-written/.dirs/home 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CTGTE3/file/writev/no-bytes-written/.dirs/cache 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CTGTE3/file/writev/no-bytes-written/.dirs/system-config1:/tmp/test_file_CTGTE3/file/writev/no-bytes-written/.dirs/system-config2 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CTGTE3/file/writev/no-bytes-written/.dirs/config 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CTGTE3/file/writev/no-bytes-written/.dirs/system-data1:/tmp/test_file_CTGTE3/file/writev/no-bytes-written/.dirs/system-data2 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CTGTE3/file/writev/no-bytes-written/.dirs/data 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CTGTE3/file/writev/no-bytes-written/.dirs/state 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CTGTE3/file/writev/no-bytes-written/.dirs/runtime 567s ok 44 /file/writev/no-bytes-written 567s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CTGTE3/file/writev/no-vectors/.dirs/home 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CTGTE3/file/writev/no-vectors/.dirs/cache 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CTGTE3/file/writev/no-vectors/.dirs/system-config1:/tmp/test_file_CTGTE3/file/writev/no-vectors/.dirs/system-config2 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CTGTE3/file/writev/no-vectors/.dirs/config 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CTGTE3/file/writev/no-vectors/.dirs/system-data1:/tmp/test_file_CTGTE3/file/writev/no-vectors/.dirs/system-data2 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CTGTE3/file/writev/no-vectors/.dirs/data 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CTGTE3/file/writev/no-vectors/.dirs/state 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CTGTE3/file/writev/no-vectors/.dirs/runtime 567s ok 45 /file/writev/no-vectors 567s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CTGTE3/file/writev/empty-vectors/.dirs/home 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CTGTE3/file/writev/empty-vectors/.dirs/cache 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CTGTE3/file/writev/empty-vectors/.dirs/system-config1:/tmp/test_file_CTGTE3/file/writev/empty-vectors/.dirs/system-config2 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CTGTE3/file/writev/empty-vectors/.dirs/config 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CTGTE3/file/writev/empty-vectors/.dirs/system-data1:/tmp/test_file_CTGTE3/file/writev/empty-vectors/.dirs/system-data2 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CTGTE3/file/writev/empty-vectors/.dirs/data 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CTGTE3/file/writev/empty-vectors/.dirs/state 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CTGTE3/file/writev/empty-vectors/.dirs/runtime 567s ok 46 /file/writev/empty-vectors 567s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CTGTE3/file/writev/too-big-vectors/.dirs/home 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CTGTE3/file/writev/too-big-vectors/.dirs/cache 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CTGTE3/file/writev/too-big-vectors/.dirs/system-config1:/tmp/test_file_CTGTE3/file/writev/too-big-vectors/.dirs/system-config2 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CTGTE3/file/writev/too-big-vectors/.dirs/config 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CTGTE3/file/writev/too-big-vectors/.dirs/system-data1:/tmp/test_file_CTGTE3/file/writev/too-big-vectors/.dirs/system-data2 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CTGTE3/file/writev/too-big-vectors/.dirs/data 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CTGTE3/file/writev/too-big-vectors/.dirs/state 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CTGTE3/file/writev/too-big-vectors/.dirs/runtime 567s ok 47 /file/writev/too-big-vectors 567s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CTGTE3/file/writev/async/.dirs/home 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CTGTE3/file/writev/async/.dirs/cache 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CTGTE3/file/writev/async/.dirs/system-config1:/tmp/test_file_CTGTE3/file/writev/async/.dirs/system-config2 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CTGTE3/file/writev/async/.dirs/config 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CTGTE3/file/writev/async/.dirs/system-data1:/tmp/test_file_CTGTE3/file/writev/async/.dirs/system-data2 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CTGTE3/file/writev/async/.dirs/data 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CTGTE3/file/writev/async/.dirs/state 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CTGTE3/file/writev/async/.dirs/runtime 567s ok 48 /file/writev/async 567s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CTGTE3/file/writev/async_all/.dirs/home 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CTGTE3/file/writev/async_all/.dirs/cache 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CTGTE3/file/writev/async_all/.dirs/system-config1:/tmp/test_file_CTGTE3/file/writev/async_all/.dirs/system-config2 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CTGTE3/file/writev/async_all/.dirs/config 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CTGTE3/file/writev/async_all/.dirs/system-data1:/tmp/test_file_CTGTE3/file/writev/async_all/.dirs/system-data2 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CTGTE3/file/writev/async_all/.dirs/data 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CTGTE3/file/writev/async_all/.dirs/state 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CTGTE3/file/writev/async_all/.dirs/runtime 567s ok 49 /file/writev/async_all 567s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CTGTE3/file/writev/async_all-empty-vectors/.dirs/home 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CTGTE3/file/writev/async_all-empty-vectors/.dirs/cache 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CTGTE3/file/writev/async_all-empty-vectors/.dirs/system-config1:/tmp/test_file_CTGTE3/file/writev/async_all-empty-vectors/.dirs/system-config2 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CTGTE3/file/writev/async_all-empty-vectors/.dirs/config 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CTGTE3/file/writev/async_all-empty-vectors/.dirs/system-data1:/tmp/test_file_CTGTE3/file/writev/async_all-empty-vectors/.dirs/system-data2 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CTGTE3/file/writev/async_all-empty-vectors/.dirs/data 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CTGTE3/file/writev/async_all-empty-vectors/.dirs/state 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CTGTE3/file/writev/async_all-empty-vectors/.dirs/runtime 567s ok 50 /file/writev/async_all-empty-vectors 567s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CTGTE3/file/writev/async_all-no-vectors/.dirs/home 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CTGTE3/file/writev/async_all-no-vectors/.dirs/cache 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CTGTE3/file/writev/async_all-no-vectors/.dirs/system-config1:/tmp/test_file_CTGTE3/file/writev/async_all-no-vectors/.dirs/system-config2 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CTGTE3/file/writev/async_all-no-vectors/.dirs/config 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CTGTE3/file/writev/async_all-no-vectors/.dirs/system-data1:/tmp/test_file_CTGTE3/file/writev/async_all-no-vectors/.dirs/system-data2 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CTGTE3/file/writev/async_all-no-vectors/.dirs/data 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CTGTE3/file/writev/async_all-no-vectors/.dirs/state 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CTGTE3/file/writev/async_all-no-vectors/.dirs/runtime 567s ok 51 /file/writev/async_all-no-vectors 567s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CTGTE3/file/writev/async_all-to-big-vectors/.dirs/home 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CTGTE3/file/writev/async_all-to-big-vectors/.dirs/cache 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CTGTE3/file/writev/async_all-to-big-vectors/.dirs/system-config1:/tmp/test_file_CTGTE3/file/writev/async_all-to-big-vectors/.dirs/system-config2 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CTGTE3/file/writev/async_all-to-big-vectors/.dirs/config 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CTGTE3/file/writev/async_all-to-big-vectors/.dirs/system-data1:/tmp/test_file_CTGTE3/file/writev/async_all-to-big-vectors/.dirs/system-data2 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CTGTE3/file/writev/async_all-to-big-vectors/.dirs/data 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CTGTE3/file/writev/async_all-to-big-vectors/.dirs/state 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CTGTE3/file/writev/async_all-to-big-vectors/.dirs/runtime 567s ok 52 /file/writev/async_all-to-big-vectors 567s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CTGTE3/file/writev/async_all-cancellation/.dirs/home 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CTGTE3/file/writev/async_all-cancellation/.dirs/cache 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CTGTE3/file/writev/async_all-cancellation/.dirs/system-config1:/tmp/test_file_CTGTE3/file/writev/async_all-cancellation/.dirs/system-config2 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CTGTE3/file/writev/async_all-cancellation/.dirs/config 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CTGTE3/file/writev/async_all-cancellation/.dirs/system-data1:/tmp/test_file_CTGTE3/file/writev/async_all-cancellation/.dirs/system-data2 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CTGTE3/file/writev/async_all-cancellation/.dirs/data 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CTGTE3/file/writev/async_all-cancellation/.dirs/state 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CTGTE3/file/writev/async_all-cancellation/.dirs/runtime 567s ok 53 /file/writev/async_all-cancellation 567s # End of writev tests 567s # Start of from-uri tests 567s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CTGTE3/file/from-uri/ignores-query-string/.dirs/home 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CTGTE3/file/from-uri/ignores-query-string/.dirs/cache 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CTGTE3/file/from-uri/ignores-query-string/.dirs/system-config1:/tmp/test_file_CTGTE3/file/from-uri/ignores-query-string/.dirs/system-config2 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CTGTE3/file/from-uri/ignores-query-string/.dirs/config 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CTGTE3/file/from-uri/ignores-query-string/.dirs/system-data1:/tmp/test_file_CTGTE3/file/from-uri/ignores-query-string/.dirs/system-data2 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CTGTE3/file/from-uri/ignores-query-string/.dirs/data 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CTGTE3/file/from-uri/ignores-query-string/.dirs/state 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CTGTE3/file/from-uri/ignores-query-string/.dirs/runtime 567s ok 54 /file/from-uri/ignores-query-string 567s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CTGTE3/file/from-uri/ignores-fragment/.dirs/home 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CTGTE3/file/from-uri/ignores-fragment/.dirs/cache 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CTGTE3/file/from-uri/ignores-fragment/.dirs/system-config1:/tmp/test_file_CTGTE3/file/from-uri/ignores-fragment/.dirs/system-config2 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CTGTE3/file/from-uri/ignores-fragment/.dirs/config 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CTGTE3/file/from-uri/ignores-fragment/.dirs/system-data1:/tmp/test_file_CTGTE3/file/from-uri/ignores-fragment/.dirs/system-data2 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CTGTE3/file/from-uri/ignores-fragment/.dirs/data 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CTGTE3/file/from-uri/ignores-fragment/.dirs/state 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CTGTE3/file/from-uri/ignores-fragment/.dirs/runtime 567s ok 55 /file/from-uri/ignores-fragment 567s # End of from-uri tests 567s # End of file tests 567s TAP version 14 567s ok - glib/file.test 567s # Running test: glib/markup-collect.test 567s ok - glib/markup-collect.test 567s # Running test: glib/object-info.test 567s ok - glib/object-info.test 567s # Running test: glib/collate.test 567s ok - glib/collate.test 567s # Running test: glib/cxx-17.test 567s ok - glib/cxx-17.test 567s # Running test: glib/flags.test 567s ok - glib/flags.test 567s # Running test: glib/gi-inspect-typelib.py.test 567s # random seed: R02S09fd8ff8423f5045b328d883f0643805 567s 1..21 567s # Start of markup tests 567s # Start of collect tests 567s ok 1 /markup/collect/0 567s ok 2 /markup/collect/1 567s ok 3 /markup/collect/2 567s ok 4 /markup/collect/3 567s ok 5 /markup/collect/4 567s ok 6 /markup/collect/5 567s ok 7 /markup/collect/6 567s ok 8 /markup/collect/7 567s ok 9 /markup/collect/8 567s ok 10 /markup/collect/9 567s ok 11 /markup/collect/10 567s ok 12 /markup/collect/11 567s ok 13 /markup/collect/12 567s ok 14 /markup/collect/13 567s ok 15 /markup/collect/14 567s ok 16 /markup/collect/15 567s ok 17 /markup/collect/16 567s ok 18 /markup/collect/17 567s ok 19 /markup/collect/18 567s ok 20 /markup/collect/19 567s ok 21 /markup/collect/cleanup 567s # End of collect tests 567s # End of markup tests 567s TAP version 14 567s # random seed: R02Sf12ea9a06be4d5d62e926b145abb54d7 567s 1..2 567s # Start of object-info tests 567s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_GZ1OE3/object-info/find-method-using-interfaces/.dirs/home 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_GZ1OE3/object-info/find-method-using-interfaces/.dirs/cache 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_GZ1OE3/object-info/find-method-using-interfaces/.dirs/system-config1:/tmp/test_object-info_GZ1OE3/object-info/find-method-using-interfaces/.dirs/system-config2 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_GZ1OE3/object-info/find-method-using-interfaces/.dirs/config 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_GZ1OE3/object-info/find-method-using-interfaces/.dirs/system-data1:/tmp/test_object-info_GZ1OE3/object-info/find-method-using-interfaces/.dirs/system-data2 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_GZ1OE3/object-info/find-method-using-interfaces/.dirs/data 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_GZ1OE3/object-info/find-method-using-interfaces/.dirs/state 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_GZ1OE3/object-info/find-method-using-interfaces/.dirs/runtime 567s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 567s ok 1 /object-info/find-method-using-interfaces 567s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_GZ1OE3/object-info/find-vfunc-using-interfaces/.dirs/home 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_GZ1OE3/object-info/find-vfunc-using-interfaces/.dirs/cache 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_GZ1OE3/object-info/find-vfunc-using-interfaces/.dirs/system-config1:/tmp/test_object-info_GZ1OE3/object-info/find-vfunc-using-interfaces/.dirs/system-config2 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_GZ1OE3/object-info/find-vfunc-using-interfaces/.dirs/config 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_GZ1OE3/object-info/find-vfunc-using-interfaces/.dirs/system-data1:/tmp/test_object-info_GZ1OE3/object-info/find-vfunc-using-interfaces/.dirs/system-data2 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_GZ1OE3/object-info/find-vfunc-using-interfaces/.dirs/data 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_GZ1OE3/object-info/find-vfunc-using-interfaces/.dirs/state 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_GZ1OE3/object-info/find-vfunc-using-interfaces/.dirs/runtime 567s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 567s ok 2 /object-info/find-vfunc-using-interfaces 567s # End of object-info tests 567s TAP version 14 567s # random seed: R02S04486aee066cc9243e0ebddacd434637 567s 1..9 567s # Start of unicode tests 567s # Start of collate tests 567s ok 1 /unicode/collate/0 567s ok 2 /unicode/collate/1 567s ok 3 /unicode/collate/2 567s # End of collate tests 567s # Start of collate-key tests 567s ok 4 /unicode/collate-key/0 567s ok 5 /unicode/collate-key/1 567s ok 6 /unicode/collate-key/2 567s # End of collate-key tests 567s # Start of collate-filename tests 567s ok 7 /unicode/collate-filename/0 567s ok 8 /unicode/collate-filename/1 567s ok 9 /unicode/collate-filename/2 567s # End of collate-filename tests 567s # End of unicode tests 567s TAP version 14 567s # random seed: R02S74f4141db6852a24f5185982df787ee6 567s 1..2 567s # Start of gtask tests 567s # 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. 567s ok 1 /gtask/name 567s # Start of name tests 567s # 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. 567s ok 2 /gtask/name/macro-wrapper 567s # End of name tests 567s # End of gtask tests 567s TAP version 14 567s # random seed: R02S01bfd97502f2b59e3316224229d43974 567s 1..1 567s # Start of gobject tests 567s # Start of flags tests 567s ok 1 /gobject/flags/validate 567s # End of flags tests 567s # End of gobject tests 567s TAP version 13 567s ok 1 __main__.TestGIInspectTypelibCommandLine.test_help 567s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 567s # tmpdir: /tmp/tmp7qjpjg3t 567s # Running: ['/usr/bin/gi-inspect-typelib', '--help'] 567s # Return code: 0 567s # Output: 567s # Usage: 567s # gi-inspect-typelib [OPTION…] NAMESPACE - Inspect GI typelib 567s # 567s # Help Options: 567s # -h, --help Show help options 567s # 567s # Application Options: 567s # --typelib-version=VERSION Typelib version to inspect 567s # --print-shlibs List the shared libraries the typelib requires 567s # --print-typelibs List other typelibs the inspected typelib requires 567s # Error: 567s ok 2 __main__.TestGIInspectTypelibCommandLine.test_invalid_typelib 567s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 567s # tmpdir: /tmp/tmp12npjgl6 567s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'AnInvalidNameSpace'] 567s # Return code: 1 567s # Output: 567s # 567s # Error: 567s # Failed to load typelib: Typelib file for namespace 'AnInvalidNameSpace' (any version) not found 567s ok 3 __main__.TestGIInspectTypelibCommandLine.test_no_args 567s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 567s # tmpdir: /tmp/tmpmwa8mmvc 567s # Running: ['/usr/bin/gi-inspect-typelib'] 567s # Return code: 1 567s # Output: 567s # 567s # Error: 567s # Please specify exactly one namespace 567s ok 4 __main__.TestGIInspectTypelibForGLibTypelib.test_print_shlibs 567s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 567s # tmpdir: /tmp/tmpgpu5u0vd 567s # Running: ['/usr/bin/gi-inspect-typelib', '--print-shlibs', 'GLib', '--typelib-version=2.0'] 567s # Return code: 0 567s # Output: 567s # shlib: libgobject-2.0.so.0 567s # shlib: libglib-2.0.so.0 567s # Error: 567s ok 5 __main__.TestGIInspectTypelibForGLibTypelib.test_print_typelibs 567s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 567s # tmpdir: /tmp/tmptwmm2mio 567s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', 'GLib', '--typelib-version=2.0'] 567s # Return code: 0 567s # Output: 567s # 567s # Error: 567s ok 6 __main__.TestGIInspectTypelibForGLibTypelib.test_print_typelibs_and_shlibs 567s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 567s # tmpdir: /tmp/tmpc0aupjrr 567s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'GLib', '--typelib-version=2.0'] 567s # Return code: 0 567s # Output: 567s # shlib: libgobject-2.0.so.0 567s # shlib: libglib-2.0.so.0 567s # Error: 567s ok 7 __main__.TestGIInspectTypelibForGObjectTypelib.test_print_shlibs 567s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 567s # tmpdir: /tmp/tmpg_mn60yy 567s # Running: ['/usr/bin/gi-inspect-typelib', '--print-shlibs', 'GObject', '--typelib-version=2.0'] 567s # Return code: 0 567s # Output: 567s # shlib: libgobject-2.0.so.0 567s # Error: 567s ok 8 __main__.TestGIInspectTypelibForGObjectTypelib.test_print_typelibs 567s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 567s # tmpdir: /tmp/tmpado1937o 567s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', 'GObject', '--typelib-version=2.0'] 567s # Return code: 0 567s # Output: 567s # typelib: GLib-2.0 567s # Error: 567s ok 9 __main__.TestGIInspectTypelibForGObjectTypelib.test_print_typelibs_and_shlibs 567s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 567s # tmpdir: /tmp/tmpqd6lt0gp 567s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'GObject', '--typelib-version=2.0'] 567s # Return code: 0 567s # Output: 567s # shlib: libgobject-2.0.so.0 567s # typelib: GLib-2.0 567s # Error: 567s ok 10 __main__.TestGIInspectTypelibForGioTypelib.test_print_shlibs 567s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 567s # tmpdir: /tmp/tmpul9tzltv 567s # Running: ['/usr/bin/gi-inspect-typelib', '--print-shlibs', 'Gio', '--typelib-version=2.0'] 567s # Return code: 0 567s # Output: 567s # shlib: libgio-2.0.so.0 567s # Error: 567s ok 11 __main__.TestGIInspectTypelibForGioTypelib.test_print_typelibs 567s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 567s # tmpdir: /tmp/tmp8zhd4rlj 567s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', 'Gio', '--typelib-version=2.0'] 567s # Return code: 0 567s # Output: 567s # typelib: GObject-2.0 567s # typelib: GLib-2.0 567s # typelib: GModule-2.0 567s # Error: 567s ok 12 __main__.TestGIInspectTypelibForGioTypelib.test_print_typelibs_and_shlibs 567s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 567s # tmpdir: /tmp/tmpw8n35aq5 567s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'Gio', '--typelib-version=2.0'] 567s # Return code: 0 567s # Output: 567s # shlib: libgio-2.0.so.0 567s # typelib: GObject-2.0 567s # typelib: GLib-2.0 567s # typelib: GModule-2.0 567s # Error: 567s 1..12 567s ok - glib/gi-inspect-typelib.py.test 567s # Running test: glib/gdbus-message.test 567s TAP version 14 567s # random seed: R02S8d2528efc1b51bc5a11c50550415ce31 567s 1..3 567s # Start of gdbus tests 567s # Start of message tests 567s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_39WXE3/gdbus/message/lock/.dirs/home 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_39WXE3/gdbus/message/lock/.dirs/cache 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_39WXE3/gdbus/message/lock/.dirs/system-config1:/tmp/test_gdbus-message_39WXE3/gdbus/message/lock/.dirs/system-config2 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_39WXE3/gdbus/message/lock/.dirs/config 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_39WXE3/gdbus/message/lock/.dirs/system-data1:/tmp/test_gdbus-message_39WXE3/gdbus/message/lock/.dirs/system-data2 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_39WXE3/gdbus/message/lock/.dirs/data 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_39WXE3/gdbus/message/lock/.dirs/state 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_39WXE3/gdbus/message/lock/.dirs/runtime 567s ok 1 /gdbus/message/lock 567s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_39WXE3/gdbus/message/copy/.dirs/home 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_39WXE3/gdbus/message/copy/.dirs/cache 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_39WXE3/gdbus/message/copy/.dirs/system-config1:/tmp/test_gdbus-message_39WXE3/gdbus/message/copy/.dirs/system-config2 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_39WXE3/gdbus/message/copy/.dirs/config 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_39WXE3/gdbus/message/copy/.dirs/system-data1:/tmp/test_gdbus-message_39WXE3/gdbus/message/copy/.dirs/system-data2 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_39WXE3/gdbus/message/copy/.dirs/data 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_39WXE3/gdbus/message/copy/.dirs/state 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_39WXE3/gdbus/message/copy/.dirs/runtime 567s ok 2 /gdbus/message/copy 567s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_39WXE3/gdbus/message/bytes-needed/.dirs/home 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_39WXE3/gdbus/message/bytes-needed/.dirs/cache 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_39WXE3/gdbus/message/bytes-needed/.dirs/system-config1:/tmp/test_gdbus-message_39WXE3/gdbus/message/bytes-needed/.dirs/system-config2 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_39WXE3/gdbus/message/bytes-needed/.dirs/config 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_39WXE3/gdbus/message/bytes-needed/.dirs/system-data1:/tmp/test_gdbus-message_39WXE3/gdbus/message/bytes-needed/.dirs/system-data2 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_39WXE3/gdbus/message/bytes-needed/.dirs/data 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_39WXE3/gdbus/message/bytes-needed/.dirs/state 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_39WXE3/gdbus/message/bytes-needed/.dirs/runtime 567s # Vector: 0 567s # Vector: 1 567s # Vector: 2 567s # Vector: 3 567s # Vector: 4 567s # Vector: 5 567s ok 3 /gdbus/message/bytes-needed 567s # End of message tests 567s # End of gdbus tests 567s ok - glib/gdbus-message.test 567s # Running test: glib/gutils-user-database.test 567s ok - glib/gutils-user-database.test 567s # Running test: glib/io-channel.test 567s TAP version 14 567s # random seed: R02S296541c5bdac95c590697e37ad0cad9c 567s 1..1 567s # Start of gutils tests 567s ok 1 /gutils/get_user_database_entry 567s # End of gutils tests 567s TAP version 14 567s # random seed: R02S84d38097ef7de7d7c63ddf269c4881ee 567s 1..2 567s # Start of io-channel tests 567s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_io-channel_EQQXE3/io-channel/read-write/.dirs/home 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_io-channel_EQQXE3/io-channel/read-write/.dirs/cache 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_io-channel_EQQXE3/io-channel/read-write/.dirs/system-config1:/tmp/test_io-channel_EQQXE3/io-channel/read-write/.dirs/system-config2 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_io-channel_EQQXE3/io-channel/read-write/.dirs/config 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_io-channel_EQQXE3/io-channel/read-write/.dirs/system-data1:/tmp/test_io-channel_EQQXE3/io-channel/read-write/.dirs/system-data2 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_io-channel_EQQXE3/io-channel/read-write/.dirs/data 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_io-channel_EQQXE3/io-channel/read-write/.dirs/state 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_io-channel_EQQXE3/io-channel/read-write/.dirs/runtime 567s ok - glib/io-channel.test 567s # Line one 567s # 567s # Line two 567s # 567s # Line three 567s # 567s # /* Hello */ 567s # 567s # \x1234\x567890\x6666 567s # 567s # read 62 bytes, wrote 62 bytes 567s ok 1 /io-channel/read-write 567s # Start of read-line tests 567s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_io-channel_EQQXE3/io-channel/read-line/embedded-nuls/.dirs/home 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_io-channel_EQQXE3/io-channel/read-line/embedded-nuls/.dirs/cache 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_io-channel_EQQXE3/io-channel/read-line/embedded-nuls/.dirs/system-config1:/tmp/test_io-channel_EQQXE3/io-channel/read-line/embedded-nuls/.dirs/system-config2 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_io-channel_EQQXE3/io-channel/read-line/embedded-nuls/.dirs/config 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_io-channel_EQQXE3/io-channel/read-line/embedded-nuls/.dirs/system-data1:/tmp/test_io-channel_EQQXE3/io-channel/read-line/embedded-nuls/.dirs/system-data2 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_io-channel_EQQXE3/io-channel/read-line/embedded-nuls/.dirs/data 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_io-channel_EQQXE3/io-channel/read-line/embedded-nuls/.dirs/state 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_io-channel_EQQXE3/io-channel/read-line/embedded-nuls/.dirs/runtime 567s # /io-channel/read-line/embedded-nuls summary: Test that reading a line containing embedded nuls works when using non-standard line terminators. 567s ok 2 /io-channel/read-line/embedded-nuls 567s # End of read-line tests 567s # End of io-channel tests 567s # Running test: glib/pollable.test 567s TAP version 14 567s # random seed: R02Sa25ef9c68a7431bdb9051ca350f6fad7 567s 1..6 567s # Start of pollable tests 567s ok 1 /pollable/converter 567s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 567s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1700b6e3b8f0 and GSocketClientAsyncConnectData 0x1700b6e3d790 567s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 567s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 567s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1700b6e33df0 for GSocketClientAsyncConnectData 0x1700b6e3d790 567s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 567s ok - glib/pollable.test 567s # Running test: glib/base64.test 567s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 567s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 567s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 567s ok 2 /pollable/socket 567s # Start of unix tests 567s # /pollable/unix/pipe summary: Test that pipes are considered pollable, just like sockets 567s ok 3 /pollable/unix/pipe 567s # /pollable/unix/pty summary: Test that PTYs are considered pollable 567s ok 4 /pollable/unix/pty 567s # /pollable/unix/file summary: Test that regular files are not considered pollable 567s ok 5 /pollable/unix/file 567s # /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 567s ok 6 /pollable/unix/nulldev 567s # End of unix tests 567s # End of pollable tests 567s TAP version 14 567s # random seed: R02S02df51416881927f91c87df44051aacc 567s 1..28 567s # Start of base64 tests 567s ok 1 /base64/encode 567s ok 2 /base64/decode 567s ok 3 /base64/decode-inplace 567s ok 4 /base64/encode-decode 567s # Start of full tests 567s ok 5 /base64/full/1 567s ok 6 /base64/full/2 567s ok 7 /base64/full/3 567s ok 8 /base64/full/4 567s # End of full tests 567s # Start of encode tests 567s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 567s ok 9 /base64/encode/empty 567s # Start of incremental tests 567s # Start of small-block tests 567s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 567s ok - glib/base64.test 567s # Running test: glib/refcount-macro.test 567s ok - glib/refcount-macro.test 567s # Running test: glib/gdbus-connection.test 567s ok 10 /base64/encode/incremental/small-block/1 567s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 567s ok 11 /base64/encode/incremental/small-block/2 567s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 567s ok 12 /base64/encode/incremental/small-block/3 567s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 567s ok 13 /base64/encode/incremental/small-block/4 567s # End of small-block tests 567s # End of incremental tests 567s # End of encode tests 567s # Start of incremental tests 567s # Start of nobreak tests 567s ok 14 /base64/incremental/nobreak/1 567s ok 15 /base64/incremental/nobreak/2 567s ok 16 /base64/incremental/nobreak/3 567s ok 17 /base64/incremental/nobreak/4-a 567s ok 18 /base64/incremental/nobreak/4-b 567s ok 19 /base64/incremental/nobreak/4-c 567s # End of nobreak tests 567s # Start of break tests 567s ok 20 /base64/incremental/break/1 567s ok 21 /base64/incremental/break/2 567s ok 22 /base64/incremental/break/3 567s # End of break tests 567s # Start of smallblock tests 567s ok 23 /base64/incremental/smallblock/1 567s ok 24 /base64/incremental/smallblock/2 567s ok 25 /base64/incremental/smallblock/3 567s ok 26 /base64/incremental/smallblock/4 567s # End of smallblock tests 567s # End of incremental tests 567s # Start of decode tests 567s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 567s ok 27 /base64/decode/empty 567s # End of decode tests 567s # Start of encode-decode tests 567s # Vector 0: 567s # Vector 1: f 567s # Vector 2: fo 567s # Vector 3: foo 567s # Vector 4: foob 567s # Vector 5: fooba 567s # Vector 6: foobar 567s ok 28 /base64/encode-decode/rfc4648 567s # End of encode-decode tests 567s # End of base64 tests 567s TAP version 14 567s # random seed: R02S9a129ec976c405488d443e484b7c5683 567s 1..4 567s # Start of refcount tests 567s ok 1 /refcount/grefcount 567s ok 2 /refcount/gatomicrefcount 567s # Start of grefcount tests 567s ok 3 /refcount/grefcount/saturation 567s # End of grefcount tests 567s # Start of gatomicrefcount tests 567s ok 4 /refcount/gatomicrefcount/saturation 567s # End of gatomicrefcount tests 567s # End of refcount tests 567s TAP version 14 567s # random seed: R02S764741a3776207a1c238da8f80b2fae4 567s 1..9 567s # Start of gdbus tests 567s # Start of connection tests 567s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_0PFXE3/gdbus/connection/bus-failure/.dirs/home 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_0PFXE3/gdbus/connection/bus-failure/.dirs/cache 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_0PFXE3/gdbus/connection/bus-failure/.dirs/system-config1:/tmp/test_gdbus-connection_0PFXE3/gdbus/connection/bus-failure/.dirs/system-config2 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_0PFXE3/gdbus/connection/bus-failure/.dirs/config 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_0PFXE3/gdbus/connection/bus-failure/.dirs/system-data1:/tmp/test_gdbus-connection_0PFXE3/gdbus/connection/bus-failure/.dirs/system-data2 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_0PFXE3/gdbus/connection/bus-failure/.dirs/data 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_0PFXE3/gdbus/connection/bus-failure/.dirs/state 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_0PFXE3/gdbus/connection/bus-failure/.dirs/runtime 567s ok 1 /gdbus/connection/bus-failure 567s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_0PFXE3/gdbus/connection/basic/.dirs/home 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_0PFXE3/gdbus/connection/basic/.dirs/cache 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_0PFXE3/gdbus/connection/basic/.dirs/system-config1:/tmp/test_gdbus-connection_0PFXE3/gdbus/connection/basic/.dirs/system-config2 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_0PFXE3/gdbus/connection/basic/.dirs/config 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_0PFXE3/gdbus/connection/basic/.dirs/system-data1:/tmp/test_gdbus-connection_0PFXE3/gdbus/connection/basic/.dirs/system-data2 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_0PFXE3/gdbus/connection/basic/.dirs/data 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_0PFXE3/gdbus/connection/basic/.dirs/state 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_0PFXE3/gdbus/connection/basic/.dirs/runtime 567s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 567s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 567s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 567s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 567s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 567s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 567s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 567s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 567s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 567s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 567s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 567s ok 2 /gdbus/connection/basic 567s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_0PFXE3/gdbus/connection/life-cycle/.dirs/home 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_0PFXE3/gdbus/connection/life-cycle/.dirs/cache 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_0PFXE3/gdbus/connection/life-cycle/.dirs/system-config1:/tmp/test_gdbus-connection_0PFXE3/gdbus/connection/life-cycle/.dirs/system-config2 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_0PFXE3/gdbus/connection/life-cycle/.dirs/config 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_0PFXE3/gdbus/connection/life-cycle/.dirs/system-data1:/tmp/test_gdbus-connection_0PFXE3/gdbus/connection/life-cycle/.dirs/system-data2 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_0PFXE3/gdbus/connection/life-cycle/.dirs/data 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_0PFXE3/gdbus/connection/life-cycle/.dirs/state 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_0PFXE3/gdbus/connection/life-cycle/.dirs/runtime 567s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 567s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 567s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 567s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 567s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 567s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 567s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 567s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 567s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 567s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 567s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 567s ok 3 /gdbus/connection/life-cycle 567s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_0PFXE3/gdbus/connection/send/.dirs/home 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_0PFXE3/gdbus/connection/send/.dirs/cache 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_0PFXE3/gdbus/connection/send/.dirs/system-config1:/tmp/test_gdbus-connection_0PFXE3/gdbus/connection/send/.dirs/system-config2 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_0PFXE3/gdbus/connection/send/.dirs/config 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_0PFXE3/gdbus/connection/send/.dirs/system-data1:/tmp/test_gdbus-connection_0PFXE3/gdbus/connection/send/.dirs/system-data2 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_0PFXE3/gdbus/connection/send/.dirs/data 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_0PFXE3/gdbus/connection/send/.dirs/state 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_0PFXE3/gdbus/connection/send/.dirs/runtime 567s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 567s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 567s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 567s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 567s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 567s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 567s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 567s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 567s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 567s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 567s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 567s ok 4 /gdbus/connection/send 567s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_0PFXE3/gdbus/connection/signals/.dirs/home 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_0PFXE3/gdbus/connection/signals/.dirs/cache 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_0PFXE3/gdbus/connection/signals/.dirs/system-config1:/tmp/test_gdbus-connection_0PFXE3/gdbus/connection/signals/.dirs/system-config2 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_0PFXE3/gdbus/connection/signals/.dirs/config 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_0PFXE3/gdbus/connection/signals/.dirs/system-data1:/tmp/test_gdbus-connection_0PFXE3/gdbus/connection/signals/.dirs/system-data2 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_0PFXE3/gdbus/connection/signals/.dirs/data 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_0PFXE3/gdbus/connection/signals/.dirs/state 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_0PFXE3/gdbus/connection/signals/.dirs/runtime 567s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 567s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 567s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 567s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 567s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 567s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 567s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 567s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 567s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 567s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 567s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 567s ok 5 /gdbus/connection/signals 567s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_0PFXE3/gdbus/connection/signal-match-rules/.dirs/home 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_0PFXE3/gdbus/connection/signal-match-rules/.dirs/cache 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_0PFXE3/gdbus/connection/signal-match-rules/.dirs/system-config1:/tmp/test_gdbus-connection_0PFXE3/gdbus/connection/signal-match-rules/.dirs/system-config2 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_0PFXE3/gdbus/connection/signal-match-rules/.dirs/config 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_0PFXE3/gdbus/connection/signal-match-rules/.dirs/system-data1:/tmp/test_gdbus-connection_0PFXE3/gdbus/connection/signal-match-rules/.dirs/system-data2 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_0PFXE3/gdbus/connection/signal-match-rules/.dirs/data 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_0PFXE3/gdbus/connection/signal-match-rules/.dirs/state 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_0PFXE3/gdbus/connection/signal-match-rules/.dirs/runtime 567s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 567s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 567s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 567s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 567s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 567s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 567s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 567s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 567s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 567s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 567s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 567s ok 6 /gdbus/connection/signal-match-rules 567s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_0PFXE3/gdbus/connection/filter/.dirs/home 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_0PFXE3/gdbus/connection/filter/.dirs/cache 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_0PFXE3/gdbus/connection/filter/.dirs/system-config1:/tmp/test_gdbus-connection_0PFXE3/gdbus/connection/filter/.dirs/system-config2 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_0PFXE3/gdbus/connection/filter/.dirs/config 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_0PFXE3/gdbus/connection/filter/.dirs/system-data1:/tmp/test_gdbus-connection_0PFXE3/gdbus/connection/filter/.dirs/system-data2 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_0PFXE3/gdbus/connection/filter/.dirs/data 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_0PFXE3/gdbus/connection/filter/.dirs/state 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_0PFXE3/gdbus/connection/filter/.dirs/runtime 567s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 567s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 567s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 567s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 567s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 567s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 567s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 567s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 567s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 567s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 567s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 567s ok 7 /gdbus/connection/filter 567s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_0PFXE3/gdbus/connection/serials/.dirs/home 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_0PFXE3/gdbus/connection/serials/.dirs/cache 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_0PFXE3/gdbus/connection/serials/.dirs/system-config1:/tmp/test_gdbus-connection_0PFXE3/gdbus/connection/serials/.dirs/system-config2 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_0PFXE3/gdbus/connection/serials/.dirs/config 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_0PFXE3/gdbus/connection/serials/.dirs/system-data1:/tmp/test_gdbus-connection_0PFXE3/gdbus/connection/serials/.dirs/system-data2 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_0PFXE3/gdbus/connection/serials/.dirs/data 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_0PFXE3/gdbus/connection/serials/.dirs/state 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_0PFXE3/gdbus/connection/serials/.dirs/runtime 567s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 567s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 567s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 567s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 567s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 567s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 567s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 567s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 567s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 567s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 567s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 567s ok 8 /gdbus/connection/serials 567s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_0PFXE3/gdbus/connection/cancel/.dirs/home 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_0PFXE3/gdbus/connection/cancel/.dirs/cache 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_0PFXE3/gdbus/connection/cancel/.dirs/system-config1:/tmp/test_gdbus-connection_0PFXE3/gdbus/connection/cancel/.dirs/system-config2 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_0PFXE3/gdbus/connection/cancel/.dirs/config 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_0PFXE3/gdbus/connection/cancel/.dirs/system-data1:/tmp/test_gdbus-connection_0PFXE3/gdbus/connection/cancel/.dirs/system-data2 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_0PFXE3/gdbus/connection/cancel/.dirs/data 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_0PFXE3/gdbus/connection/cancel/.dirs/state 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_0PFXE3/gdbus/connection/cancel/.dirs/runtime 567s # /gdbus/connection/cancel summary: Test that cancelling one of two racing g_bus_get() calls does not cancel the other one 567s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 567s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 567s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 567s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 567s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 567s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 567s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 567s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 567s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 567s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 567s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 567s ok 9 /gdbus/connection/cancel 567s # End of connection tests 567s # End of gdbus tests 567s ok - glib/gdbus-connection.test 567s # Running test: glib/signals-refcount3.test 567s TAP version 14 567s # random seed: R02S4207d01ce613a2d85686e702aa4006e6 567s 1..1 567s # Start of gobject tests 567s # Start of refcount tests 567s # init 0x10b89c8ad490 567s # 567s # init 0x10b89c8a5580 567s # 568s # Executing: glib/signals-refcount3.test 572s ok - glib/signals-refcount3.test 572s # dispose 0x10b89c8ad490! 572s # 572s # dispose 0x10b89c8a5580! 572s # 572s ok 1 /gobject/refcount/signals 572s # slow test /gobject/refcount/signals executed in 5.00 secs 572s # End of refcount tests 572s # End of gobject tests 572s # Running test: glib/mem-overflow.test 572s TAP version 14 572s # random seed: R02S4b4730fff3158a15c635d42b2a6fe144 572s 1..2 572s # Start of mem tests 572s ok 1 /mem/overflow 572s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=615379 572s ok - glib/mem-overflow.test 572s # Running test: glib/performance.test 572s ok 2 /mem/empty-alloc 572s # Start of overflow tests 572s # Start of subprocess tests 572s # End of subprocess tests 572s # End of overflow tests 572s # Start of empty-alloc tests 572s # End of empty-alloc tests 572s # End of mem tests 573s # Executing: glib/performance.test 578s # Executing: glib/performance.test 582s simple-construction: Millions of constructed objects per second: 7.011 583s # Executing: glib/performance.test 584s simple-construction1: Millions of constructed objects per second: 59.399 588s # Executing: glib/performance.test 590s complex-construction: Millions of constructed objects per second: 3.942 593s # Executing: glib/performance.test 596s complex-construction1: Millions of constructed objects per second: 4.826 598s # Executing: glib/performance.test 603s # Executing: glib/performance.test 604s complex-construction2: Millions of constructed objects per second: 5.281 605s finalization: Millions of finalized objects per second: 1.101 607s type-check: Million type checks per second: 14.49 608s # Executing: glib/performance.test 608s emit-unhandled: Emissions per second: 1091564 610s emit-unhandled-empty: Emissions per second: 9018653 611s emit-unhandled-generic: Emissions per second: 1213991 613s emit-unhandled-generic-empty: Emissions per second: 9006765 613s # Executing: glib/performance.test 614s emit-unhandled-args: Emissions per second: 1084413 615s emit-handled: Emissions per second: 780108 617s emit-handled-empty: Emissions per second: 782685 618s # Executing: glib/performance.test 618s emit-handled-generic: Emissions per second: 785948 620s emit-handled-generic-empty: Emissions per second: 1200701 621s emit-handled-args: Emissions per second: 782729 622s notify-unhandled: Notify (unhandled) per second: 9290934 623s # Executing: glib/performance.test 624s notify-by-pspec-unhandled: Notify (unhandled) per second: 45942337 625s notify-handled: Notify per second: 505149 626s notify-by-pspec-handled: Notify per second: 530605 628s # Executing: glib/performance.test 628s property-set: Property set per second: 6278900 629s property-set-signaled: Property set per second: 1578636 631s property-get: Property get per second: 6850464 632s refcount: Million refs+unref per second: 6.12 633s # Executing: glib/performance.test 634s refcount-1: Million refs+unref per second: 14.33 635s refcount-toggle: Million refs+unref per second: 12.65 635s ok - glib/performance.test 635s # Running test: glib/charset.test 635s ok - glib/charset.test 635s TAP version 14 635s # random seed: R02Sf83199275f995972678a3046bdbadd6a 635s 1..2 635s # Start of charset tests 635s # Test 0 635s # Test 1 635s # Test 2 635s # Test 3 635s ok 1 /charset/language_names_with_category 635s ok 2 /charset/language_names_with_category_async 635s # End of charset tests 635s # Running test: glib/testing-nonfatal.test 635s ok - glib/testing-nonfatal.test 635s # Running test: glib/utf8-performance.test 635s ok - glib/utf8-performance.test 635s # Running test: glib/tls-certificate.test 635s ok - glib/tls-certificate.test 635s # Running test: glib/init.test 635s TAP version 14 635s # random seed: R02Sd2df08176e754a46de15e546b2316452 635s ** 635s 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?") 635s # 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?") 635s TAP version 14 635s # random seed: R02S37cc9d6a913655a3758f0363a11c176e 635s 1..36 635s # Start of utf8 tests 635s # Start of perf tests 635s # Start of get_char tests 635s # max perf: 43.0 MB/s 635s ok 1 /utf8/perf/get_char/ascii 635s # max perf: inf MB/s 635s ok 2 /utf8/perf/get_char/latin1 635s # max perf: inf MB/s 635s ok 3 /utf8/perf/get_char/cyrillic 635s # max perf: 156.0 MB/s 635s ok 4 /utf8/perf/get_char/han 635s # End of get_char tests 635s # Start of get_char-backwards tests 635s # max perf: inf MB/s 635s ok 5 /utf8/perf/get_char-backwards/ascii 635s # max perf: inf MB/s 635s ok 6 /utf8/perf/get_char-backwards/latin1 635s # max perf: 160.0 MB/s 635s ok 7 /utf8/perf/get_char-backwards/cyrillic 635s # max perf: inf MB/s 635s ok 8 /utf8/perf/get_char-backwards/han 635s # End of get_char-backwards tests 635s # Start of get_char_validated tests 635s # max perf: 43.0 MB/s 635s ok 9 /utf8/perf/get_char_validated/ascii 635s # max perf: 67.0 MB/s 635s ok 10 /utf8/perf/get_char_validated/latin1 635s # max perf: 160.0 MB/s 635s ok 11 /utf8/perf/get_char_validated/cyrillic 635s # max perf: 156.0 MB/s 635s ok 12 /utf8/perf/get_char_validated/han 635s # End of get_char_validated tests 635s # Start of utf8_to_ucs4 tests 635s # max perf: inf MB/s 635s ok 13 /utf8/perf/utf8_to_ucs4/ascii 635s # max perf: inf MB/s 635s ok 14 /utf8/perf/utf8_to_ucs4/latin1 635s # max perf: 160.0 MB/s 635s ok 15 /utf8/perf/utf8_to_ucs4/cyrillic 635s # max perf: 156.0 MB/s 635s ok 16 /utf8/perf/utf8_to_ucs4/han 635s # End of utf8_to_ucs4 tests 635s # Start of utf8_to_ucs4-sized tests 635s # max perf: inf MB/s 635s ok 17 /utf8/perf/utf8_to_ucs4-sized/ascii 635s # max perf: inf MB/s 635s ok 18 /utf8/perf/utf8_to_ucs4-sized/latin1 635s # max perf: 160.0 MB/s 635s ok 19 /utf8/perf/utf8_to_ucs4-sized/cyrillic 635s # max perf: 156.0 MB/s 635s ok 20 /utf8/perf/utf8_to_ucs4-sized/han 635s # End of utf8_to_ucs4-sized tests 635s # Start of utf8_to_ucs4_fast tests 635s # max perf: inf MB/s 635s ok 21 /utf8/perf/utf8_to_ucs4_fast/ascii 635s # max perf: inf MB/s 635s ok 22 /utf8/perf/utf8_to_ucs4_fast/latin1 635s # max perf: 160.0 MB/s 635s ok 23 /utf8/perf/utf8_to_ucs4_fast/cyrillic 635s # max perf: inf MB/s 635s ok 24 /utf8/perf/utf8_to_ucs4_fast/han 635s # End of utf8_to_ucs4_fast tests 635s # Start of utf8_to_ucs4_fast-sized tests 635s # max perf: 43.0 MB/s 635s ok 25 /utf8/perf/utf8_to_ucs4_fast-sized/ascii 635s # max perf: 67.0 MB/s 635s ok 26 /utf8/perf/utf8_to_ucs4_fast-sized/latin1 635s # max perf: 160.0 MB/s 635s ok 27 /utf8/perf/utf8_to_ucs4_fast-sized/cyrillic 635s # max perf: inf MB/s 635s ok 28 /utf8/perf/utf8_to_ucs4_fast-sized/han 635s # End of utf8_to_ucs4_fast-sized tests 635s # Start of utf8_validate tests 635s # max perf: 43.0 MB/s 635s ok 29 /utf8/perf/utf8_validate/ascii 635s # max perf: 67.0 MB/s 635s ok 30 /utf8/perf/utf8_validate/latin1 635s # max perf: 160.0 MB/s 635s ok 31 /utf8/perf/utf8_validate/cyrillic 635s # max perf: inf MB/s 635s ok 32 /utf8/perf/utf8_validate/han 635s # End of utf8_validate tests 635s # Start of utf8_validate-sized tests 635s # max perf: inf MB/s 635s ok 33 /utf8/perf/utf8_validate-sized/ascii 635s # max perf: 67.0 MB/s 635s ok 34 /utf8/perf/utf8_validate-sized/latin1 635s # max perf: inf MB/s 635s ok 35 /utf8/perf/utf8_validate-sized/cyrillic 635s # max perf: inf MB/s 635s ok 36 /utf8/perf/utf8_validate-sized/han 635s # End of utf8_validate-sized tests 635s # End of perf tests 635s # End of utf8 tests 635s TAP version 14 635s # random seed: R02Sd6dc21c8660c9664caf96b1c2a032526 635s 1..19 635s # Start of tls-certificate tests 635s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ‘gio-tls-backend’ 635s ok 1 /tls-certificate/pem-parser 635s ok 2 /tls-certificate/pem-parser-handles-chain 635s ok 3 /tls-certificate/from_file 635s ok 4 /tls-certificate/from_files 635s ok 5 /tls-certificate/from_files_crlf 635s ok 6 /tls-certificate/from_files_pkcs8 635s ok 7 /tls-certificate/from_files_pkcs8enc 635s ok 8 /tls-certificate/list_from_file 635s ok 9 /tls-certificate/pkcs11-uri 635s ok 10 /tls-certificate/pkcs11-uri-unsupported 635s ok 11 /tls-certificate/from_pkcs12 635s ok 12 /tls-certificate/from_pkcs12_file 635s ok 13 /tls-certificate/not-valid-before 635s ok 14 /tls-certificate/not-valid-after 635s ok 15 /tls-certificate/subject-name 635s ok 16 /tls-certificate/issuer-name 635s ok 17 /tls-certificate/dns-names 635s ok 18 /tls-certificate/ip-addresses 635s ok 19 /tls-certificate/pem-parser-no-sentinel 635s # End of tls-certificate tests 635s TAP version 14 635s # random seed: R02S07d60b01f7fa6a83a79d053e046ec10a 635s 1..2 635s # Start of thread tests 635s # Start of deprecated tests 635s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_KTQNE3/thread/deprecated/init/.dirs/home 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_KTQNE3/thread/deprecated/init/.dirs/cache 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_KTQNE3/thread/deprecated/init/.dirs/system-config1:/tmp/test_init_KTQNE3/thread/deprecated/init/.dirs/system-config2 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_KTQNE3/thread/deprecated/init/.dirs/config 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_KTQNE3/thread/deprecated/init/.dirs/system-data1:/tmp/test_init_KTQNE3/thread/deprecated/init/.dirs/system-data2 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_KTQNE3/thread/deprecated/init/.dirs/data 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_KTQNE3/thread/deprecated/init/.dirs/state 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_KTQNE3/thread/deprecated/init/.dirs/runtime 635s ok 1 /thread/deprecated/init 635s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_KTQNE3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/home 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_KTQNE3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/cache 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_KTQNE3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config1:/tmp/test_init_KTQNE3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config2 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_KTQNE3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/config 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_KTQNE3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data1:/tmp/test_init_KTQNE3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data2 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_KTQNE3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/data 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_KTQNE3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/state 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_KTQNE3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/runtime 635s ok 2 /thread/deprecated/init-with-errorcheck-mutexes 635s # End of deprecated tests 635s # End of thread tests 635s TAP version 14 635s # random seed: R02S333e6465d0487e1131fb6e399220d379 635s 1..4 635s # Start of type tests 635s # Start of flags tests 635s ok 1 /type/flags/interface 635s ok 2 /type/flags/final 635s # /type/flags/deprecated summary: Test that trying to instantiate a deprecated type results in a warning. 635s ok 3 /type/flags/deprecated 635s # Start of final tests 635s ok 4 /type/flags/final/instance-check 635s # End of final tests 635s # End of flags tests 635s # End of type tests 635s ok - glib/init.test 635s # Running test: glib/type-flags.test 635s ok - glib/type-flags.test 635s # Running test: glib/gobject-query.py.test 635s TAP version 13 635s ok 1 __main__.TestGobjectQuery.test_froots 635s # gobject-query: /usr/bin/gobject-query 635s # tmpdir: /tmp/tmplequo10j 635s # Running: ['/usr/bin/gobject-query', 'froots'] 635s # Return code: 0 635s # Output: 635s # ├void 635s # ├GInterface 635s # │ └GTypePlugin 635s # ├gchar 635s # ├guchar 635s # ├gboolean 635s # ├gint 635s # ├guint 635s # ├glong 635s # ├gulong 635s # ├gint64 635s # ├guint64 635s # ├GEnum 635s # ├GFlags 635s # ├gfloat 635s # ├gdouble 635s # ├gchararray 635s # ├gpointer 635s # │ └GType 635s # ├GBoxed 635s # │ └GValueArray 635s # ├GParam 635s # │ ├GParamChar 635s # │ ├GParamUChar 635s # │ ├GParamBoolean 635s # │ ├GParamInt 635s # │ ├GParamUInt 635s # │ ├GParamLong 635s # │ ├GParamULong 635s # │ ├GParamInt64 635s # │ ├GParamUInt64 635s # │ ├GParamUnichar 635s # │ ├GParamEnum 635s # │ ├GParamFlags 635s # │ ├GParamFloat 635s # │ ├GParamDouble 635s # │ ├GParamString 635s # │ ├GParamParam 635s # │ ├GParamBoxed 635s # │ ├GParamPointer 635s # │ ├GParamValueArray 635s # │ ├GParamObject 635s # │ ├GParamOverride 635s # │ ├GParamGType 635s # │ └GParamVariant 635s # ├GObject 635s # └GVariant 635s # Error: 635s ok 2 __main__.TestGobjectQuery.test_help 635s # gobject-query: /usr/bin/gobject-query 635s # tmpdir: /tmp/tmpl872m94g 635s # Running: ['/usr/bin/gobject-query', '--help'] 635s # Return code: 0 635s # Output: 635s # usage: gobject-query [-r ] [-{i|b} ""] [-s #] [-{h|x|y}] 635s # -r specify root type 635s # -n don't descend type tree 635s # -h show help 635s # -b specify indent string 635s # -i specify incremental indent string 635s # -s specify line spacing 635s # qualifiers: 635s # froots iterate over fundamental roots 635s # tree print type tree 635s # Error: 635s ok 3 __main__.TestGobjectQuery.test_tree 635s # gobject-query: /usr/bin/gobject-query 635s # tmpdir: /tmp/tmpngdwm02k 635s # Running: ['/usr/bin/gobject-query', 'tree'] 635s # Return code: 0 635s # Output: 635s # GObject 635s # Error: 635s ok 4 __main__.TestGobjectQuery.test_version 635s # gobject-query: /usr/bin/gobject-query 635s # tmpdir: /tmp/tmpc5bezbcd 635s # Running: ['/usr/bin/gobject-query', '--version'] 635s # Return code: 0 635s # Output: 635s # 2.86.0 635s # Error: 635s 1..4 635s ok - glib/gobject-query.py.test 635s # Running test: glib/file-enumerator.test 635s TAP version 14 635s ok - glib/file-enumerator.test 635s # Running test: glib/memory-input-stream.test 635s # random seed: R02S768d13bd00b720838cdbce5e41d8bd67 635s 1..1 635s # Start of file-enumerator tests 635s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 635s ok 1 /file-enumerator/close-on-dispose 635s # End of file-enumerator tests 635s TAP version 14 635s # random seed: R02S21c54ef25edb40c84a5ca97516b14fd0 635s 1..6 635s # Start of memory-input-stream tests 635s ok 1 /memory-input-stream/read-chunks 635s ok - glib/memory-input-stream.test 635s # Running test: glib/autoptr.test 635s ok - glib/autoptr.test 635s # Running test: glib/gdbus-test-codegen-min-required-2-64.test 635s ok 2 /memory-input-stream/async 635s ok 3 /memory-input-stream/seek 635s ok 4 /memory-input-stream/truncate 635s ok 5 /memory-input-stream/read-bytes 635s ok 6 /memory-input-stream/from-bytes 635s # End of memory-input-stream tests 635s TAP version 14 635s # random seed: R02S07ffcd69d4ed0913da8398d7ffe12d6e 635s 1..6 635s # Start of autoptr tests 635s ok 1 /autoptr/autoptr 635s ok 2 /autoptr/autoptr_steal 635s ok 3 /autoptr/autolist 635s ok 4 /autoptr/autoslist 635s ok 5 /autoptr/autoqueue 635s ok 6 /autoptr/autoclass 635s # End of autoptr tests 635s TAP version 14 635s # random seed: R02S6a2f5bd6dea17206c65970564c8b62a0 635s 1..8 635s # Start of gdbus tests 635s # Start of codegen tests 635s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IG6WE3/gdbus/codegen/annotations/.dirs/home 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IG6WE3/gdbus/codegen/annotations/.dirs/cache 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_IG6WE3/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_IG6WE3/gdbus/codegen/annotations/.dirs/system-config2 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IG6WE3/gdbus/codegen/annotations/.dirs/config 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_IG6WE3/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_IG6WE3/gdbus/codegen/annotations/.dirs/system-data2 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IG6WE3/gdbus/codegen/annotations/.dirs/data 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IG6WE3/gdbus/codegen/annotations/.dirs/state 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_IG6WE3/gdbus/codegen/annotations/.dirs/runtime 635s ok 1 /gdbus/codegen/annotations 635s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IG6WE3/gdbus/codegen/interface_stability/.dirs/home 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IG6WE3/gdbus/codegen/interface_stability/.dirs/cache 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_IG6WE3/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_IG6WE3/gdbus/codegen/interface_stability/.dirs/system-config2 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IG6WE3/gdbus/codegen/interface_stability/.dirs/config 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_IG6WE3/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_IG6WE3/gdbus/codegen/interface_stability/.dirs/system-data2 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IG6WE3/gdbus/codegen/interface_stability/.dirs/data 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IG6WE3/gdbus/codegen/interface_stability/.dirs/state 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_IG6WE3/gdbus/codegen/interface_stability/.dirs/runtime 635s ok 2 /gdbus/codegen/interface_stability 635s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IG6WE3/gdbus/codegen/object-manager/.dirs/home 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IG6WE3/gdbus/codegen/object-manager/.dirs/cache 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_IG6WE3/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_IG6WE3/gdbus/codegen/object-manager/.dirs/system-config2 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IG6WE3/gdbus/codegen/object-manager/.dirs/config 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_IG6WE3/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_IG6WE3/gdbus/codegen/object-manager/.dirs/system-data2 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IG6WE3/gdbus/codegen/object-manager/.dirs/data 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IG6WE3/gdbus/codegen/object-manager/.dirs/state 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_IG6WE3/gdbus/codegen/object-manager/.dirs/runtime 635s ok 3 /gdbus/codegen/object-manager 635s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IG6WE3/gdbus/codegen/property-naming/.dirs/home 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IG6WE3/gdbus/codegen/property-naming/.dirs/cache 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_IG6WE3/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_IG6WE3/gdbus/codegen/property-naming/.dirs/system-config2 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IG6WE3/gdbus/codegen/property-naming/.dirs/config 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_IG6WE3/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_IG6WE3/gdbus/codegen/property-naming/.dirs/system-data2 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IG6WE3/gdbus/codegen/property-naming/.dirs/data 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IG6WE3/gdbus/codegen/property-naming/.dirs/state 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_IG6WE3/gdbus/codegen/property-naming/.dirs/runtime 635s ok 4 /gdbus/codegen/property-naming 635s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IG6WE3/gdbus/codegen/autocleanups/.dirs/home 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IG6WE3/gdbus/codegen/autocleanups/.dirs/cache 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_IG6WE3/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_IG6WE3/gdbus/codegen/autocleanups/.dirs/system-config2 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IG6WE3/gdbus/codegen/autocleanups/.dirs/config 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_IG6WE3/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_IG6WE3/gdbus/codegen/autocleanups/.dirs/system-data2 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IG6WE3/gdbus/codegen/autocleanups/.dirs/data 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IG6WE3/gdbus/codegen/autocleanups/.dirs/state 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_IG6WE3/gdbus/codegen/autocleanups/.dirs/runtime 635s ok 5 /gdbus/codegen/autocleanups 635s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IG6WE3/gdbus/codegen/deprecations/.dirs/home 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IG6WE3/gdbus/codegen/deprecations/.dirs/cache 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_IG6WE3/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_IG6WE3/gdbus/codegen/deprecations/.dirs/system-config2 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IG6WE3/gdbus/codegen/deprecations/.dirs/config 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_IG6WE3/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_IG6WE3/gdbus/codegen/deprecations/.dirs/system-data2 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IG6WE3/gdbus/codegen/deprecations/.dirs/data 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IG6WE3/gdbus/codegen/deprecations/.dirs/state 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_IG6WE3/gdbus/codegen/deprecations/.dirs/runtime 635s ok 6 /gdbus/codegen/deprecations 635s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IG6WE3/gdbus/codegen/standalone-interface-info/.dirs/home 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IG6WE3/gdbus/codegen/standalone-interface-info/.dirs/cache 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_IG6WE3/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_IG6WE3/gdbus/codegen/standalone-interface-info/.dirs/system-config2 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IG6WE3/gdbus/codegen/standalone-interface-info/.dirs/config 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_IG6WE3/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_IG6WE3/gdbus/codegen/standalone-interface-info/.dirs/system-data2 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IG6WE3/gdbus/codegen/standalone-interface-info/.dirs/data 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IG6WE3/gdbus/codegen/standalone-interface-info/.dirs/state 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_IG6WE3/gdbus/codegen/standalone-interface-info/.dirs/runtime 635s ok 7 /gdbus/codegen/standalone-interface-info 635s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IG6WE3/gdbus/codegen/unix-fd-list/.dirs/home 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IG6WE3/gdbus/codegen/unix-fd-list/.dirs/cache 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_IG6WE3/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_IG6WE3/gdbus/codegen/unix-fd-list/.dirs/system-config2 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IG6WE3/gdbus/codegen/unix-fd-list/.dirs/config 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_IG6WE3/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_IG6WE3/gdbus/codegen/unix-fd-list/.dirs/system-data2 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IG6WE3/gdbus/codegen/unix-fd-list/.dirs/data 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IG6WE3/gdbus/codegen/unix-fd-list/.dirs/state 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_IG6WE3/gdbus/codegen/unix-fd-list/.dirs/runtime 635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 635s ok 8 /gdbus/codegen/unix-fd-list 635s # End of codegen tests 635s # End of gdbus tests 635s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 635s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 635s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 635s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 635s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 635s ok - glib/gdbus-test-codegen-min-required-2-64.test 635s # Running test: glib/fileutils.test 635s TAP version 14 635s # random seed: R02S4fc25de7ea55ef8e6666cbc8a1741210 635s 1..27 635s # Start of fileutils tests 635s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_Y2YVE3/fileutils/paths/.dirs/home 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/paths/.dirs/cache 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_Y2YVE3/fileutils/paths/.dirs/system-config1:/tmp/test_fileutils_Y2YVE3/fileutils/paths/.dirs/system-config2 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/paths/.dirs/config 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_Y2YVE3/fileutils/paths/.dirs/system-data1:/tmp/test_fileutils_Y2YVE3/fileutils/paths/.dirs/system-data2 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/paths/.dirs/data 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/paths/.dirs/state 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_Y2YVE3/fileutils/paths/.dirs/runtime 635s ok 1 /fileutils/paths 635s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_Y2YVE3/fileutils/build-path/.dirs/home 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/build-path/.dirs/cache 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_Y2YVE3/fileutils/build-path/.dirs/system-config1:/tmp/test_fileutils_Y2YVE3/fileutils/build-path/.dirs/system-config2 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/build-path/.dirs/config 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_Y2YVE3/fileutils/build-path/.dirs/system-data1:/tmp/test_fileutils_Y2YVE3/fileutils/build-path/.dirs/system-data2 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/build-path/.dirs/data 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/build-path/.dirs/state 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_Y2YVE3/fileutils/build-path/.dirs/runtime 635s ok 2 /fileutils/build-path 635s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_Y2YVE3/fileutils/build-pathv/.dirs/home 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/build-pathv/.dirs/cache 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_Y2YVE3/fileutils/build-pathv/.dirs/system-config1:/tmp/test_fileutils_Y2YVE3/fileutils/build-pathv/.dirs/system-config2 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/build-pathv/.dirs/config 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_Y2YVE3/fileutils/build-pathv/.dirs/system-data1:/tmp/test_fileutils_Y2YVE3/fileutils/build-pathv/.dirs/system-data2 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/build-pathv/.dirs/data 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/build-pathv/.dirs/state 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_Y2YVE3/fileutils/build-pathv/.dirs/runtime 635s ok 3 /fileutils/build-pathv 635s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_Y2YVE3/fileutils/build-filename/.dirs/home 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/build-filename/.dirs/cache 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_Y2YVE3/fileutils/build-filename/.dirs/system-config1:/tmp/test_fileutils_Y2YVE3/fileutils/build-filename/.dirs/system-config2 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/build-filename/.dirs/config 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_Y2YVE3/fileutils/build-filename/.dirs/system-data1:/tmp/test_fileutils_Y2YVE3/fileutils/build-filename/.dirs/system-data2 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/build-filename/.dirs/data 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/build-filename/.dirs/state 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_Y2YVE3/fileutils/build-filename/.dirs/runtime 635s ok 4 /fileutils/build-filename 635s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_Y2YVE3/fileutils/build-filenamev/.dirs/home 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/build-filenamev/.dirs/cache 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_Y2YVE3/fileutils/build-filenamev/.dirs/system-config1:/tmp/test_fileutils_Y2YVE3/fileutils/build-filenamev/.dirs/system-config2 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/build-filenamev/.dirs/config 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_Y2YVE3/fileutils/build-filenamev/.dirs/system-data1:/tmp/test_fileutils_Y2YVE3/fileutils/build-filenamev/.dirs/system-data2 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/build-filenamev/.dirs/data 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/build-filenamev/.dirs/state 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_Y2YVE3/fileutils/build-filenamev/.dirs/runtime 635s ok 5 /fileutils/build-filenamev 635s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_Y2YVE3/fileutils/mkdir-with-parents/.dirs/home 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/mkdir-with-parents/.dirs/cache 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_Y2YVE3/fileutils/mkdir-with-parents/.dirs/system-config1:/tmp/test_fileutils_Y2YVE3/fileutils/mkdir-with-parents/.dirs/system-config2 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/mkdir-with-parents/.dirs/config 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_Y2YVE3/fileutils/mkdir-with-parents/.dirs/system-data1:/tmp/test_fileutils_Y2YVE3/fileutils/mkdir-with-parents/.dirs/system-data2 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/mkdir-with-parents/.dirs/data 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/mkdir-with-parents/.dirs/state 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_Y2YVE3/fileutils/mkdir-with-parents/.dirs/runtime 635s # We do not have CAP_DAC_OVERRIDE or equivalent 635s # Checking g_mkdir_with_parents() in subdir ./hum/ 635s # Checking g_mkdir_with_parents() in subdir ./hii///haa/hee/ 635s ok 6 /fileutils/mkdir-with-parents 635s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_Y2YVE3/fileutils/mkdir-with-parents-permission/.dirs/home 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/mkdir-with-parents-permission/.dirs/cache 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_Y2YVE3/fileutils/mkdir-with-parents-permission/.dirs/system-config1:/tmp/test_fileutils_Y2YVE3/fileutils/mkdir-with-parents-permission/.dirs/system-config2 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/mkdir-with-parents-permission/.dirs/config 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_Y2YVE3/fileutils/mkdir-with-parents-permission/.dirs/system-data1:/tmp/test_fileutils_Y2YVE3/fileutils/mkdir-with-parents-permission/.dirs/system-data2 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/mkdir-with-parents-permission/.dirs/data 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/mkdir-with-parents-permission/.dirs/state 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_Y2YVE3/fileutils/mkdir-with-parents-permission/.dirs/runtime 635s # We do not have CAP_DAC_OVERRIDE or equivalent 635s ok 7 /fileutils/mkdir-with-parents-permission 635s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_Y2YVE3/fileutils/format-size-for-display/.dirs/home 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/format-size-for-display/.dirs/cache 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_Y2YVE3/fileutils/format-size-for-display/.dirs/system-config1:/tmp/test_fileutils_Y2YVE3/fileutils/format-size-for-display/.dirs/system-config2 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/format-size-for-display/.dirs/config 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_Y2YVE3/fileutils/format-size-for-display/.dirs/system-data1:/tmp/test_fileutils_Y2YVE3/fileutils/format-size-for-display/.dirs/system-data2 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/format-size-for-display/.dirs/data 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/format-size-for-display/.dirs/state 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_Y2YVE3/fileutils/format-size-for-display/.dirs/runtime 635s ok 8 /fileutils/format-size-for-display 635s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_Y2YVE3/fileutils/errors/.dirs/home 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/errors/.dirs/cache 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_Y2YVE3/fileutils/errors/.dirs/system-config1:/tmp/test_fileutils_Y2YVE3/fileutils/errors/.dirs/system-config2 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/errors/.dirs/config 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_Y2YVE3/fileutils/errors/.dirs/system-data1:/tmp/test_fileutils_Y2YVE3/fileutils/errors/.dirs/system-data2 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/errors/.dirs/data 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/errors/.dirs/state 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_Y2YVE3/fileutils/errors/.dirs/runtime 635s ok 9 /fileutils/errors 635s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_Y2YVE3/fileutils/basename/.dirs/home 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/basename/.dirs/cache 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_Y2YVE3/fileutils/basename/.dirs/system-config1:/tmp/test_fileutils_Y2YVE3/fileutils/basename/.dirs/system-config2 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/basename/.dirs/config 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_Y2YVE3/fileutils/basename/.dirs/system-data1:/tmp/test_fileutils_Y2YVE3/fileutils/basename/.dirs/system-data2 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/basename/.dirs/data 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/basename/.dirs/state 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_Y2YVE3/fileutils/basename/.dirs/runtime 635s ok 10 /fileutils/basename 635s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_Y2YVE3/fileutils/get-basename/.dirs/home 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/get-basename/.dirs/cache 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_Y2YVE3/fileutils/get-basename/.dirs/system-config1:/tmp/test_fileutils_Y2YVE3/fileutils/get-basename/.dirs/system-config2 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/get-basename/.dirs/config 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_Y2YVE3/fileutils/get-basename/.dirs/system-data1:/tmp/test_fileutils_Y2YVE3/fileutils/get-basename/.dirs/system-data2 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/get-basename/.dirs/data 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/get-basename/.dirs/state 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_Y2YVE3/fileutils/get-basename/.dirs/runtime 635s ok 11 /fileutils/get-basename 635s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_Y2YVE3/fileutils/dirname/.dirs/home 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/dirname/.dirs/cache 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_Y2YVE3/fileutils/dirname/.dirs/system-config1:/tmp/test_fileutils_Y2YVE3/fileutils/dirname/.dirs/system-config2 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/dirname/.dirs/config 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_Y2YVE3/fileutils/dirname/.dirs/system-data1:/tmp/test_fileutils_Y2YVE3/fileutils/dirname/.dirs/system-data2 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/dirname/.dirs/data 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/dirname/.dirs/state 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_Y2YVE3/fileutils/dirname/.dirs/runtime 635s ok 12 /fileutils/dirname 635s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_Y2YVE3/fileutils/dir-make-tmp/.dirs/home 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/dir-make-tmp/.dirs/cache 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_Y2YVE3/fileutils/dir-make-tmp/.dirs/system-config1:/tmp/test_fileutils_Y2YVE3/fileutils/dir-make-tmp/.dirs/system-config2 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/dir-make-tmp/.dirs/config 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_Y2YVE3/fileutils/dir-make-tmp/.dirs/system-data1:/tmp/test_fileutils_Y2YVE3/fileutils/dir-make-tmp/.dirs/system-data2 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/dir-make-tmp/.dirs/data 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/dir-make-tmp/.dirs/state 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_Y2YVE3/fileutils/dir-make-tmp/.dirs/runtime 635s ok 13 /fileutils/dir-make-tmp 635s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_Y2YVE3/fileutils/file-open-tmp/.dirs/home 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/file-open-tmp/.dirs/cache 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_Y2YVE3/fileutils/file-open-tmp/.dirs/system-config1:/tmp/test_fileutils_Y2YVE3/fileutils/file-open-tmp/.dirs/system-config2 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/file-open-tmp/.dirs/config 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_Y2YVE3/fileutils/file-open-tmp/.dirs/system-data1:/tmp/test_fileutils_Y2YVE3/fileutils/file-open-tmp/.dirs/system-data2 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/file-open-tmp/.dirs/data 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/file-open-tmp/.dirs/state 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_Y2YVE3/fileutils/file-open-tmp/.dirs/runtime 635s ok 14 /fileutils/file-open-tmp 635s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_Y2YVE3/fileutils/file-test/.dirs/home 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/file-test/.dirs/cache 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_Y2YVE3/fileutils/file-test/.dirs/system-config1:/tmp/test_fileutils_Y2YVE3/fileutils/file-test/.dirs/system-config2 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/file-test/.dirs/config 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_Y2YVE3/fileutils/file-test/.dirs/system-data1:/tmp/test_fileutils_Y2YVE3/fileutils/file-test/.dirs/system-data2 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/file-test/.dirs/data 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/file-test/.dirs/state 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_Y2YVE3/fileutils/file-test/.dirs/runtime 635s ok 15 /fileutils/file-test 635s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_Y2YVE3/fileutils/mkstemp/.dirs/home 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/mkstemp/.dirs/cache 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_Y2YVE3/fileutils/mkstemp/.dirs/system-config1:/tmp/test_fileutils_Y2YVE3/fileutils/mkstemp/.dirs/system-config2 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/mkstemp/.dirs/config 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_Y2YVE3/fileutils/mkstemp/.dirs/system-data1:/tmp/test_fileutils_Y2YVE3/fileutils/mkstemp/.dirs/system-data2 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/mkstemp/.dirs/data 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/mkstemp/.dirs/state 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_Y2YVE3/fileutils/mkstemp/.dirs/runtime 635s ok 16 /fileutils/mkstemp 635s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_Y2YVE3/fileutils/mkdtemp/.dirs/home 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/mkdtemp/.dirs/cache 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_Y2YVE3/fileutils/mkdtemp/.dirs/system-config1:/tmp/test_fileutils_Y2YVE3/fileutils/mkdtemp/.dirs/system-config2 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/mkdtemp/.dirs/config 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_Y2YVE3/fileutils/mkdtemp/.dirs/system-data1:/tmp/test_fileutils_Y2YVE3/fileutils/mkdtemp/.dirs/system-data2 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/mkdtemp/.dirs/data 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/mkdtemp/.dirs/state 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_Y2YVE3/fileutils/mkdtemp/.dirs/runtime 635s ok 17 /fileutils/mkdtemp 635s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_Y2YVE3/fileutils/get-contents/.dirs/home 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/get-contents/.dirs/cache 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_Y2YVE3/fileutils/get-contents/.dirs/system-config1:/tmp/test_fileutils_Y2YVE3/fileutils/get-contents/.dirs/system-config2 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/get-contents/.dirs/config 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_Y2YVE3/fileutils/get-contents/.dirs/system-data1:/tmp/test_fileutils_Y2YVE3/fileutils/get-contents/.dirs/system-data2 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/get-contents/.dirs/data 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/get-contents/.dirs/state 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_Y2YVE3/fileutils/get-contents/.dirs/runtime 635s ok 18 /fileutils/get-contents 635s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_Y2YVE3/fileutils/get-contents-large-file/.dirs/home 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/get-contents-large-file/.dirs/cache 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_Y2YVE3/fileutils/get-contents-large-file/.dirs/system-config1:/tmp/test_fileutils_Y2YVE3/fileutils/get-contents-large-file/.dirs/system-config2 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/get-contents-large-file/.dirs/config 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_Y2YVE3/fileutils/get-contents-large-file/.dirs/system-data1:/tmp/test_fileutils_Y2YVE3/fileutils/get-contents-large-file/.dirs/system-data2 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/get-contents-large-file/.dirs/data 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/get-contents-large-file/.dirs/state 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_Y2YVE3/fileutils/get-contents-large-file/.dirs/runtime 635s ok 19 /fileutils/get-contents-large-file # SKIP Skipping slow largefile test 635s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_Y2YVE3/fileutils/set-contents/.dirs/home 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/set-contents/.dirs/cache 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_Y2YVE3/fileutils/set-contents/.dirs/system-config1:/tmp/test_fileutils_Y2YVE3/fileutils/set-contents/.dirs/system-config2 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/set-contents/.dirs/config 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_Y2YVE3/fileutils/set-contents/.dirs/system-data1:/tmp/test_fileutils_Y2YVE3/fileutils/set-contents/.dirs/system-data2 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/set-contents/.dirs/data 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/set-contents/.dirs/state 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_Y2YVE3/fileutils/set-contents/.dirs/runtime 635s ok 20 /fileutils/set-contents 635s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_Y2YVE3/fileutils/set-contents-full/.dirs/home 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/set-contents-full/.dirs/cache 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_Y2YVE3/fileutils/set-contents-full/.dirs/system-config1:/tmp/test_fileutils_Y2YVE3/fileutils/set-contents-full/.dirs/system-config2 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/set-contents-full/.dirs/config 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_Y2YVE3/fileutils/set-contents-full/.dirs/system-data1:/tmp/test_fileutils_Y2YVE3/fileutils/set-contents-full/.dirs/system-data2 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/set-contents-full/.dirs/data 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/set-contents-full/.dirs/state 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_Y2YVE3/fileutils/set-contents-full/.dirs/runtime 635s # /fileutils/set-contents-full summary: Test g_file_set_contents_full() with various flags 635s # Flags 0 and test 0 635s # Flags 0 and test 1 635s # Flags 0 and test 2 635s # Flags 0 and test 3 635s # Flags 0 and test 4 635s # Flags 0 and test 5 635s # Flags 0 and test 6 635s # Flags 1 and test 0 635s # Flags 1 and test 1 635s # Flags 1 and test 2 635s # Flags 1 and test 3 635s # Flags 1 and test 4 635s # Flags 1 and test 5 635s # Flags 1 and test 6 635s # Flags 2 and test 0 635s # Flags 2 and test 1 635s # Flags 2 and test 2 635s # Flags 2 and test 3 635s # Flags 2 and test 4 635s # Flags 2 and test 5 635s # Flags 2 and test 6 635s # Flags 3 and test 0 635s # Flags 3 and test 1 635s # Flags 3 and test 2 635s # Flags 3 and test 3 635s # Flags 3 and test 4 635s # Flags 3 and test 5 635s # Flags 3 and test 6 635s # Flags 4 and test 0 635s # Flags 4 and test 1 635s # Flags 4 and test 2 635s # Flags 4 and test 3 635s # Flags 4 and test 4 635s # Flags 4 and test 5 635s # Flags 4 and test 6 635s # Flags 5 and test 0 635s # Flags 5 and test 1 635s # Flags 5 and test 2 635s # Flags 5 and test 3 635s # Flags 5 and test 4 635s # Flags 5 and test 5 635s # Flags 5 and test 6 635s # Flags 6 and test 0 635s # Flags 6 and test 1 635s # Flags 6 and test 2 635s # Flags 6 and test 3 635s # Flags 6 and test 4 635s # Flags 6 and test 5 635s # Flags 6 and test 6 635s ok 21 /fileutils/set-contents-full 635s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_Y2YVE3/fileutils/read-link/.dirs/home 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/read-link/.dirs/cache 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_Y2YVE3/fileutils/read-link/.dirs/system-config1:/tmp/test_fileutils_Y2YVE3/fileutils/read-link/.dirs/system-config2 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/read-link/.dirs/config 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_Y2YVE3/fileutils/read-link/.dirs/system-data1:/tmp/test_fileutils_Y2YVE3/fileutils/read-link/.dirs/system-data2 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/read-link/.dirs/data 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/read-link/.dirs/state 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_Y2YVE3/fileutils/read-link/.dirs/runtime 635s ok 22 /fileutils/read-link 635s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_Y2YVE3/fileutils/stdio-wrappers/.dirs/home 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/stdio-wrappers/.dirs/cache 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_Y2YVE3/fileutils/stdio-wrappers/.dirs/system-config1:/tmp/test_fileutils_Y2YVE3/fileutils/stdio-wrappers/.dirs/system-config2 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/stdio-wrappers/.dirs/config 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_Y2YVE3/fileutils/stdio-wrappers/.dirs/system-data1:/tmp/test_fileutils_Y2YVE3/fileutils/stdio-wrappers/.dirs/system-data2 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/stdio-wrappers/.dirs/data 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/stdio-wrappers/.dirs/state 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_Y2YVE3/fileutils/stdio-wrappers/.dirs/runtime 635s # We do not have CAP_DAC_OVERRIDE or equivalent 635s ok 23 /fileutils/stdio-wrappers 635s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_Y2YVE3/fileutils/fopen-modes/.dirs/home 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/fopen-modes/.dirs/cache 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_Y2YVE3/fileutils/fopen-modes/.dirs/system-config1:/tmp/test_fileutils_Y2YVE3/fileutils/fopen-modes/.dirs/system-config2 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/fopen-modes/.dirs/config 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_Y2YVE3/fileutils/fopen-modes/.dirs/system-data1:/tmp/test_fileutils_Y2YVE3/fileutils/fopen-modes/.dirs/system-data2 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/fopen-modes/.dirs/data 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/fopen-modes/.dirs/state 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_Y2YVE3/fileutils/fopen-modes/.dirs/runtime 635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/119 635s # Testing fopen() mode 'w' 635s # Testing fopen() mode 'r' 635s # Testing fopen() mode 'a' 635s # Testing fopen() mode 'w+' 635s # Testing fopen() mode 'r+' 635s # Testing fopen() mode 'a+' 635s # Testing fopen() mode 'wb' 635s # Testing fopen() mode 'rb' 635s # Testing fopen() mode 'ab' 635s # Testing fopen() mode 'w+b' 635s # Testing fopen() mode 'r+b' 635s # Testing fopen() mode 'a+b' 635s # Testing fopen() mode 'wb+' 635s # Testing fopen() mode 'rb+' 635s # Testing fopen() mode 'ab+' 635s # Testing fopen() mode 'we' 635s # Testing fopen() mode 're' 635s # Testing fopen() mode 'ae' 635s # Testing fopen() mode 'w+e' 635s # Testing fopen() mode 'r+e' 635s # Testing fopen() mode 'a+e' 635s # Testing fopen() mode 'wbe' 635s # Testing fopen() mode 'rbe' 635s # Testing fopen() mode 'abe' 635s # Testing fopen() mode 'w+be' 635s # Testing fopen() mode 'r+be' 635s # Testing fopen() mode 'a+be' 635s # Testing fopen() mode 'wb+e' 635s # Testing fopen() mode 'rb+e' 635s # Testing fopen() mode 'ab+e' 635s # Testing fopen() mode 'web' 635s # Testing fopen() mode 'reb' 635s # Testing fopen() mode 'aeb' 635s # Testing fopen() mode 'w+eb' 635s # Testing fopen() mode 'r+eb' 635s # Testing fopen() mode 'a+eb' 635s # Testing fopen() mode 'web+' 635s # Testing fopen() mode 'reb+' 635s # Testing fopen() mode 'aeb+' 635s ok 24 /fileutils/fopen-modes 635s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_Y2YVE3/fileutils/clear-fd/.dirs/home 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/clear-fd/.dirs/cache 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_Y2YVE3/fileutils/clear-fd/.dirs/system-config1:/tmp/test_fileutils_Y2YVE3/fileutils/clear-fd/.dirs/system-config2 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/clear-fd/.dirs/config 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_Y2YVE3/fileutils/clear-fd/.dirs/system-data1:/tmp/test_fileutils_Y2YVE3/fileutils/clear-fd/.dirs/system-data2 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/clear-fd/.dirs/data 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/clear-fd/.dirs/state 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_Y2YVE3/fileutils/clear-fd/.dirs/runtime 635s # /fileutils/clear-fd summary: Test g_clear_fd() and g_autofd 635s # Will be closed by autocleanup: 3, -42 635s # Testing error handling 635s ok 25 /fileutils/clear-fd 635s # Start of set-contents-full tests 635s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_Y2YVE3/fileutils/set-contents-full/read-only-file/.dirs/home 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/set-contents-full/read-only-file/.dirs/cache 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_Y2YVE3/fileutils/set-contents-full/read-only-file/.dirs/system-config1:/tmp/test_fileutils_Y2YVE3/fileutils/set-contents-full/read-only-file/.dirs/system-config2 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/set-contents-full/read-only-file/.dirs/config 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_Y2YVE3/fileutils/set-contents-full/read-only-file/.dirs/system-data1:/tmp/test_fileutils_Y2YVE3/fileutils/set-contents-full/read-only-file/.dirs/system-data2 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/set-contents-full/read-only-file/.dirs/data 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/set-contents-full/read-only-file/.dirs/state 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_Y2YVE3/fileutils/set-contents-full/read-only-file/.dirs/runtime 635s # We do not have CAP_DAC_OVERRIDE or equivalent 635s # /fileutils/set-contents-full/read-only-file summary: Test g_file_set_contents_full() on a read-only file 635s ok 26 /fileutils/set-contents-full/read-only-file 635s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_Y2YVE3/fileutils/set-contents-full/read-only-directory/.dirs/home 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/set-contents-full/read-only-directory/.dirs/cache 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_Y2YVE3/fileutils/set-contents-full/read-only-directory/.dirs/system-config1:/tmp/test_fileutils_Y2YVE3/fileutils/set-contents-full/read-only-directory/.dirs/system-config2 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/set-contents-full/read-only-directory/.dirs/config 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_Y2YVE3/fileutils/set-contents-full/read-only-directory/.dirs/system-data1:/tmp/test_fileutils_Y2YVE3/fileutils/set-contents-full/read-only-directory/.dirs/system-data2 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/set-contents-full/read-only-directory/.dirs/data 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_Y2YVE3/fileutils/set-contents-full/read-only-directory/.dirs/state 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_Y2YVE3/fileutils/set-contents-full/read-only-directory/.dirs/runtime 635s # /fileutils/set-contents-full/read-only-directory summary: Test g_file_set_contents_full() on a file in a read-only directory 635s # Flags 0 635s # We do not have CAP_DAC_OVERRIDE or equivalent 635s # Flags 1 635s # We do not have CAP_DAC_OVERRIDE or equivalent 635s # Flags 2 635s # We do not have CAP_DAC_OVERRIDE or equivalent 635s # Flags 3 635s # We do not have CAP_DAC_OVERRIDE or equivalent 635s # Flags 4 635s # We do not have CAP_DAC_OVERRIDE or equivalent 635s # Flags 5 635s # We do not have CAP_DAC_OVERRIDE or equivalent 635s # Flags 6 635s # We do not have CAP_DAC_OVERRIDE or equivalent 635s ok 27 /fileutils/set-contents-full/read-only-directory 635s # End of set-contents-full tests 635s # Start of clear-fd tests 635s # Start of subprocess tests 635s # End of subprocess tests 635s # End of clear-fd tests 635s # End of fileutils tests 635s Unable to clean up temporary directory /tmp/test_fileutils_Y2YVE3/glib-file-set-contents-full-rodir-J832E3: Directory not empty 635s Unable to clean up temporary directory /tmp/test_fileutils_Y2YVE3/glib-file-set-contents-full-rodir-A742E3: Directory not empty 635s Unable to clean up temporary directory /tmp/test_fileutils_Y2YVE3/glib-file-set-contents-full-rodir-Q3Z2E3: Directory not empty 635s Unable to clean up temporary directory /tmp/test_fileutils_Y2YVE3/glib-file-set-contents-full-rodir-DE92E3: Directory not empty 635s Unable to clean up temporary directory /tmp/test_fileutils_Y2YVE3/glib-file-set-contents-full-rodir-G712E3: Directory not empty 635s Unable to clean up temporary directory /tmp/test_fileutils_Y2YVE3/glib-file-set-contents-full-rodir-L0T2E3: Directory not empty 635s Unable to clean up temporary directory /tmp/test_fileutils_Y2YVE3/glib-file-set-contents-full-rodir-JC12E3: Directory not empty 635s Unable to clean up temporary directory /tmp/test_fileutils_Y2YVE3: Directory not empty 635s ok - glib/fileutils.test 635s # Running test: glib/memory-monitor-portal.test 636s TAP version 13 636s ok 1 __main__.TestLowMemoryMonitorPortal.test_low_memory_warning_portal_signal # SKIP xdg-desktop-portal not available 636s 1..1 636s ok - glib/memory-monitor-portal.test 636s # Running test: glib/data-input-stream.test 636s TAP version 14 636s # random seed: R02S0383a9bd8170d1873cf2527eec34b625 636s 1..10 636s # Start of data-input-stream tests 636s ok 1 /data-input-stream/basic 636s ok 2 /data-input-stream/read-lines-LF 636s ok 3 /data-input-stream/read-lines-LF-valid-utf8 636s ok 4 /data-input-stream/read-lines-LF-invalid-utf8 636s ok 5 /data-input-stream/read-lines-CR 636s ok 6 /data-input-stream/read-lines-CR-LF 636s ok 7 /data-input-stream/read-lines-any 636s ok 8 /data-input-stream/read-until 636s # Test vector 0: part1 # part2 $ part3 ? part4 ? and #$?^ 636s # Test vector 1: {"key": "value"}? and ? 636s ok 9 /data-input-stream/read-upto 636s ok 10 /data-input-stream/read-int 636s # End of data-input-stream tests 636s ok - glib/data-input-stream.test 636s # Running test: glib/objects-refcount2.test 636s TAP version 14 636s # random seed: R02S542b7b84b6db2ac7742345e088eeb78c 636s 1..1 636s # Start of gobject tests 636s # Start of refcount tests 636s # init 0x11a010b7dd60 636s # 636s # . 636s # . 636s # . 636s # . 636s # . 636s # . 636s # . 636s # . 636s # . 636s # . 636s # . 636s # . 636s # . 636s # . 636s # . 636s # . 636s # . 636s # . 636s # . 637s # . 637s # . 637s # . 637s # . 637s # . 637s # . 637s # . 637s # . 637s # . 637s # . 637s # . 637s # . 637s # . 637s # . 637s # . 637s # . 637s # . 637s # . 637s # . 637s # . 637s # . 637s # . 637s # . 637s # . 637s # . 637s # . 637s # . 637s # . 638s # . 638s # . 638s # . 638s # . 638s # . 638s # . 638s # . 638s # . 638s # . 638s # Executing: glib/objects-refcount2.test 638s # . 638s # . 638s # . 638s # . 638s # . 638s # . 638s # . 638s # . 638s # . 638s # . 638s # . 638s # . 638s # . 638s # . 638s # . 638s # . 638s # . 638s # . 638s # . 639s # . 639s # . 639s # . 639s # . 639s # . 639s # . 639s # . 639s # . 639s # . 639s # . 639s # . 639s # . 639s # . 639s # . 639s # . 639s # . 639s # . 639s # . 639s # . 639s # . 639s # . 639s # . 639s # . 639s # . 639s # . 639s # . 639s # . 639s # . 640s # . 640s # . 640s # . 640s # . 640s # . 640s # . 640s # . 640s # . 640s # . 640s # . 640s # . 640s # . 640s # . 640s # . 640s # . 640s # . 640s # . 640s # . 640s # . 640s # . 640s # . 640s # . 640s # . 640s # . 640s # . 640s # . 640s # . 640s # . 640s # . 641s # . 641s # . 641s # . 641s # . 641s # . 641s # . 641s # . 641s # . 641s # . 641s # . 641s # . 641s # . 641s # . 641s # . 641s # . 641s # . 641s # . 641s # . 641s # . 641s # . 641s # . 641s # . 641s # . 641s # . 641s # . 641s # . 641s # . 641s # . 641s # . 642s # . 642s # . 642s # . 642s # . 642s # . 642s # . 642s # . 642s # . 642s # . 642s # . 642s # . 642s # . 642s # . 642s # . 642s # . 642s # . 642s # . 642s # . 642s # . 642s # . 642s # . 642s # . 642s # . 642s # . 642s # . 642s # . 642s # . 642s # . 643s # . 643s # . 643s # . 643s # . 643s # . 643s # . 643s # . 643s # . 643s # . 643s # Executing: glib/objects-refcount2.test 643s # . 643s # . 643s # . 643s # . 643s # . 643s # . 643s # . 643s # . 643s # . 643s # . 643s # . 643s # . 643s # . 643s # . 643s # . 643s # . 643s # . 643s # . 643s # . 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 # . 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 # . 645s # . 645s # . 646s # . 646s # . 646s # . 646s # . 646s # . 646s # . 646s # . 646s # . 646s # . 646s # . 646s # . 646s # . 646s # . 646s # . 646s # . 646s # . 646s # . 646s # . 646s # . 646s # . 646s # . 646s # . 646s # . 646s # . 646s # . 646s # . 646s # . 646s # . 647s # . 647s # . 647s # . 647s # . 647s # . 647s # . 647s # . 647s # . 647s # . 647s # . 647s # . 647s # . 647s # . 647s # . 647s # . 647s # . 647s # . 647s # . 647s # . 647s # . 647s # . 647s # . 647s # . 647s # . 647s # . 647s # . 647s # . 647s # . 648s # . 648s # . 648s # . 648s # . 648s # . 648s # . 648s # . 648s # . 648s # . 648s # . 648s # Executing: glib/objects-refcount2.test 648s # . 648s # . 648s # . 648s # . 648s # . 648s # . 648s # . 648s # . 648s # . 648s # . 648s # . 648s # . 648s # . 648s # . 648s # . 648s # . 648s # . 649s # . 649s # . 649s # . 649s # . 649s # . 649s # . 649s # . 649s # . 649s # . 649s # . 649s # . 649s # . 649s # . 649s # . 649s # . 649s # . 649s # . 649s # . 649s # . 649s # . 649s # . 649s # . 649s # . 649s # . 649s # . 649s # . 649s # . 649s # . 650s # . 650s # . 650s # . 650s # . 650s # . 650s # . 650s # . 650s # . 650s # . 650s # . 650s # . 650s # . 650s # . 650s # . 650s # . 650s # . 650s # . 650s # . 650s # . 650s # . 650s # . 650s # . 650s # . 650s # . 650s # . 650s # . 650s # . 650s # . 651s # . 651s # . 651s # . 651s # . 651s # . 651s # . 651s # . 651s # . 651s # . 651s # . 651s # . 651s # . 651s # . 651s # . 651s # . 651s # . 651s # . 651s # . 651s # . 651s # . 651s # . 651s # . 651s # . 651s # . 651s # . 651s # . 651s # . 651s # . 652s # . 652s # . 652s # . 652s # . 652s # . 652s # . 652s # . 652s # . 652s # . 652s # . 652s # . 652s # . 652s # . 652s # . 652s # . 652s # . 652s # . 652s # . 652s # . 652s # . 652s # . 652s # . 652s # . 652s # . 652s # . 652s # . 652s # . 652s # . 653s # . 653s # . 653s # . 653s # . 653s # . 653s # . 653s # . 653s # . 653s # . 653s # Executing: glib/objects-refcount2.test 653s # . 653s # . 653s # . 653s # . 653s # . 653s # . 653s # . 653s # . 653s # . 653s # . 653s # . 653s # . 653s # . 653s # . 653s # . 653s # . 653s # . 653s # . 653s # . 654s # . 654s # . 654s # . 654s # . 654s # . 654s # . 654s # . 654s # . 654s # . 654s # . 654s # . 654s # . 654s # . 654s # . 654s # . 654s # . 654s # . 654s # . 654s # . 654s # . 654s # . 654s # . 654s # . 654s # . 654s # . 654s # . 654s # . 654s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # Executing: glib/objects-refcount2.test 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 662s # . 662s # . 662s # . 662s # . 662s # . 662s # . 662s # . 662s # . 662s # . 662s # . 662s # . 662s # . 662s # . 662s # . 662s # . 662s # . 662s # . 662s # . 662s # . 662s # . 662s # . 662s # . 662s # . 662s # . 662s # . 662s # . 662s # . 662s # . 662s # . 663s # . 663s # . 663s # . 663s # . 663s # . 663s # . 663s # . 663s # . 663s # . 663s # Executing: glib/objects-refcount2.test 663s # . 663s # . 663s # . 663s # . 663s # . 663s # . 663s # . 663s # . 663s # . 663s # . 663s # . 663s # . 663s # . 663s # . 663s # . 663s # . 663s # . 663s # . 663s # . 664s # . 664s # . 664s # . 664s # . 664s # . 664s # . 664s # . 664s # . 664s # . 664s # . 664s # . 664s # . 664s # . 664s # . 664s # . 664s # . 664s # . 664s # . 664s # . 664s # . 664s # . 664s # . 664s # . 664s # . 664s # . 664s # . 664s # . 664s # . 665s # . 665s # . 665s # . 665s # . 665s # . 665s # . 665s # . 665s # . 665s # . 665s # . 665s # . 665s # . 665s # . 665s # . 665s # . 665s # . 665s # . 665s # . 665s # . 665s # . 665s # . 665s # . 665s # . 665s # . 665s # . 665s # . 665s # . 665s # . 666s # . 666s # . 666s # . 666s # . 666s # . 666s # . 666s # . 666s # . 666s # . 666s # . 666s # . 666s # . 666s # . 666s # . 666s # . 666s # . 666s # . 666s # . 666s # . 666s # . 666s # . 666s # . 666s # . 666s # . 666s # . 666s # . 666s # . 666s # . 666s # . 667s # . 667s # . 667s # . 667s # . 667s # . 667s # . 667s # . 667s # . 667s # . 667s # . 667s # . 667s # . 667s # . 667s # . 667s # . 667s # . 667s # . 667s # . 667s # . 667s # . 667s # . 667s # . 667s # . 667s # . 667s # . 667s # . 667s # . 667s # . 668s # . 668s # . 668s # . 668s # . 668s # . 668s # . 668s # . 668s # . 668s # . 668s # Executing: glib/objects-refcount2.test 668s # . 668s # . 668s # . 668s # . 668s # . 668s # . 668s # . 668s # . 668s # . 668s # . 668s # . 668s # . 668s # . 668s # . 668s # . 668s # . 668s # . 668s # . 668s # . 669s # . 669s # . 669s # . 669s # . 669s # . 669s # . 669s # . 669s # . 669s # . 669s # . 669s # . 669s # . 669s # . 669s # . 669s # . 669s # . 669s # . 669s # . 669s # . 669s # . 669s # . 669s # . 669s # . 669s # . 669s # . 669s # . 669s # . 669s # . 670s # . 670s # . 670s # . 670s # . 670s # . 670s # . 670s # . 670s # . 670s # . 670s # . 670s # . 670s # . 670s # . 670s # . 670s # . 670s # . 670s # . 670s # . 670s # . 670s # . 670s # . 670s # . 670s # . 670s # . 670s # . 670s # . 670s # . 670s # . 670s # . 671s # . 671s # . 671s # . 671s # . 671s # . 671s # . 671s # . 671s # . 671s # . 671s # . 671s # . 671s # . 671s # . 671s # . 671s # . 671s # . 671s # . 671s # . 671s # . 671s # . 671s # . 671s # . 671s # dispose 0x11a010b7dd60! 671s # 671s ok 1 /gobject/refcount/object-advanced 671s # slow test /gobject/refcount/object-advanced executed in 35.46 secs 671s # End of refcount tests 671s # End of gobject tests 671s ok - glib/objects-refcount2.test 671s # Running test: glib/closure-refcount.test 671s TAP version 14 671s # random seed: R02S09c0441ace24002cff32785aee421094 671s 1..1 671s # Start of closure tests 671s # Init 0x5ae5646db0 671s # Yielding from main thread 671s # Yielding from main thread 671s # Yielding from main thread 672s # Yielding from main thread 672s # Yielding from main thread 672s # Yielding from thread1 672s # Yielding from main thread 672s # Yielding from main thread 672s # Yielding from main thread 672s # Yielding from main thread 672s # Yielding from thread2 672s # Yielding from main thread 672s # Yielding from main thread 672s # Yielding from thread1 672s # Yielding from main thread 672s # Yielding from main thread 672s # Yielding from main thread 672s # Yielding from main thread 672s # Yielding from main thread 672s # Yielding from main thread 672s # Yielding from thread2 672s # Yielding from main thread 672s # Yielding from main thread 672s # Yielding from main thread 672s # Yielding from thread1 672s # Yielding from main thread 673s # Yielding from main thread 673s # Yielding from main thread 673s # Yielding from main thread 673s # Yielding from thread2 673s # Yielding from main thread 673s # Yielding from main thread 673s # Executing: glib/closure-refcount.test 673s # Yielding from main thread 673s # Yielding from main thread 673s # Yielding from thread1 673s # Yielding from main thread 673s # Yielding from main thread 673s # Yielding from main thread 673s # Yielding from thread2 673s # Yielding from main thread 673s # Yielding from main thread 673s # Yielding from main thread 673s # Yielding from thread1 673s # Yielding from main thread 673s # Yielding from main thread 673s # Yielding from main thread 673s # Yielding from main thread 674s # Yielding from main thread 674s # Yielding from main thread 674s # Yielding from thread2 674s # Yielding from main thread 674s # Yielding from main thread 674s # Yielding from main thread 674s # Yielding from thread1 674s # Yielding from main thread 674s # Yielding from main thread 674s # Yielding from main thread 674s # Yielding from thread2 674s # Yielding from main thread 674s # Yielding from main thread 674s # Yielding from main thread 674s # Yielding from main thread 674s # Yielding from main thread 674s # Yielding from thread1 674s # Yielding from main thread 674s # Yielding from main thread 674s # Yielding from main thread 674s # Yielding from main thread 674s # Yielding from main thread 674s # Yielding from thread2 674s # Yielding from main thread 675s # Yielding from main thread 675s # Yielding from thread1 675s # Yielding from main thread 675s # Yielding from main thread 675s # Yielding from main thread 675s # Yielding from main thread 675s # Yielding from main thread 675s # Yielding from thread2 675s # Yielding from thread1 675s # Yielding from main thread 675s # Yielding from main thread 675s # Yielding from main thread 675s # Yielding from main thread 675s # Yielding from main thread 675s # Yielding from main thread 675s # Yielding from main thread 675s # Yielding from main thread 675s # Yielding from thread2 675s # Yielding from main thread 675s # Yielding from thread1 675s # Yielding from main thread 676s # Yielding from main thread 676s # Yielding from main thread 676s # Yielding from main thread 676s # Yielding from main thread 676s # Yielding from main thread 676s # Yielding from main thread 676s # Yielding from thread1 676s # Yielding from main thread 676s # Yielding from thread2 676s # Yielding from main thread 676s # Yielding from main thread 676s # Yielding from main thread 676s # Yielding from main thread 676s # Yielding from main thread 676s # Yielding from main thread 676s # Yielding from main thread 676s # Yielding from thread2 676s # Yielding from main thread 676s # Yielding from main thread 676s # Yielding from thread1 676s # Yielding from main thread 676s # Yielding from main thread 676s # Yielding from main thread 677s # Yielding from main thread 677s # Yielding from main thread 677s # Yielding from main thread 677s # Yielding from thread1 677s # Yielding from thread2 677s # Yielding from main thread 677s # Yielding from main thread 677s # Yielding from main thread 677s # Yielding from main thread 677s # Stopping 677s # Stopped 677s ok 1 /closure/refcount 677s # slow test /closure/refcount executed in 5.66 secs 677s # End of closure tests 677s ok - glib/closure-refcount.test 677s # Running test: glib/repository.test 677s TAP version 14 677s # random seed: R02S6bd6df933ff18de043a6855a01968bac 677s 1..24 677s # Start of repository tests 677s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_DR4OE3/repository/basic/.dirs/home 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_DR4OE3/repository/basic/.dirs/cache 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_DR4OE3/repository/basic/.dirs/system-config1:/tmp/test_repository_DR4OE3/repository/basic/.dirs/system-config2 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_DR4OE3/repository/basic/.dirs/config 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_DR4OE3/repository/basic/.dirs/system-data1:/tmp/test_repository_DR4OE3/repository/basic/.dirs/system-data2 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_DR4OE3/repository/basic/.dirs/data 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_DR4OE3/repository/basic/.dirs/state 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_DR4OE3/repository/basic/.dirs/runtime 677s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 677s # /repository/basic summary: Test basic opening of a repository and requiring a typelib 677s ok 1 /repository/basic 677s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_DR4OE3/repository/info/.dirs/home 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_DR4OE3/repository/info/.dirs/cache 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_DR4OE3/repository/info/.dirs/system-config1:/tmp/test_repository_DR4OE3/repository/info/.dirs/system-config2 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_DR4OE3/repository/info/.dirs/config 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_DR4OE3/repository/info/.dirs/system-data1:/tmp/test_repository_DR4OE3/repository/info/.dirs/system-data2 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_DR4OE3/repository/info/.dirs/data 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_DR4OE3/repository/info/.dirs/state 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_DR4OE3/repository/info/.dirs/runtime 677s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 677s # /repository/info summary: Test retrieving some basic info blobs from a typelib 677s ok 2 /repository/info 677s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_DR4OE3/repository/dependencies/.dirs/home 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_DR4OE3/repository/dependencies/.dirs/cache 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_DR4OE3/repository/dependencies/.dirs/system-config1:/tmp/test_repository_DR4OE3/repository/dependencies/.dirs/system-config2 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_DR4OE3/repository/dependencies/.dirs/config 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_DR4OE3/repository/dependencies/.dirs/system-data1:/tmp/test_repository_DR4OE3/repository/dependencies/.dirs/system-data2 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_DR4OE3/repository/dependencies/.dirs/data 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_DR4OE3/repository/dependencies/.dirs/state 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_DR4OE3/repository/dependencies/.dirs/runtime 677s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 677s # /repository/dependencies summary: Test ensures namespace dependencies are correctly exposed 677s ok 3 /repository/dependencies 677s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_DR4OE3/repository/arg-info/.dirs/home 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_DR4OE3/repository/arg-info/.dirs/cache 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_DR4OE3/repository/arg-info/.dirs/system-config1:/tmp/test_repository_DR4OE3/repository/arg-info/.dirs/system-config2 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_DR4OE3/repository/arg-info/.dirs/config 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_DR4OE3/repository/arg-info/.dirs/system-data1:/tmp/test_repository_DR4OE3/repository/arg-info/.dirs/system-data2 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_DR4OE3/repository/arg-info/.dirs/data 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_DR4OE3/repository/arg-info/.dirs/state 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_DR4OE3/repository/arg-info/.dirs/runtime 677s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 677s # /repository/arg-info summary: Test retrieving GIArgInfos from a typelib 677s ok 4 /repository/arg-info 677s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_DR4OE3/repository/callable-info/.dirs/home 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_DR4OE3/repository/callable-info/.dirs/cache 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_DR4OE3/repository/callable-info/.dirs/system-config1:/tmp/test_repository_DR4OE3/repository/callable-info/.dirs/system-config2 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_DR4OE3/repository/callable-info/.dirs/config 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_DR4OE3/repository/callable-info/.dirs/system-data1:/tmp/test_repository_DR4OE3/repository/callable-info/.dirs/system-data2 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_DR4OE3/repository/callable-info/.dirs/data 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_DR4OE3/repository/callable-info/.dirs/state 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_DR4OE3/repository/callable-info/.dirs/runtime 677s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 677s # /repository/callable-info summary: Test retrieving GICallableInfos from a typelib 677s ok 5 /repository/callable-info 677s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_DR4OE3/repository/callback-info/.dirs/home 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_DR4OE3/repository/callback-info/.dirs/cache 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_DR4OE3/repository/callback-info/.dirs/system-config1:/tmp/test_repository_DR4OE3/repository/callback-info/.dirs/system-config2 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_DR4OE3/repository/callback-info/.dirs/config 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_DR4OE3/repository/callback-info/.dirs/system-data1:/tmp/test_repository_DR4OE3/repository/callback-info/.dirs/system-data2 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_DR4OE3/repository/callback-info/.dirs/data 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_DR4OE3/repository/callback-info/.dirs/state 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_DR4OE3/repository/callback-info/.dirs/runtime 677s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 677s # /repository/callback-info summary: Test retrieving GICallbackInfos from a typelib 677s ok 6 /repository/callback-info 677s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_DR4OE3/repository/char-types/.dirs/home 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_DR4OE3/repository/char-types/.dirs/cache 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_DR4OE3/repository/char-types/.dirs/system-config1:/tmp/test_repository_DR4OE3/repository/char-types/.dirs/system-config2 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_DR4OE3/repository/char-types/.dirs/config 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_DR4OE3/repository/char-types/.dirs/system-data1:/tmp/test_repository_DR4OE3/repository/char-types/.dirs/system-data2 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_DR4OE3/repository/char-types/.dirs/data 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_DR4OE3/repository/char-types/.dirs/state 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_DR4OE3/repository/char-types/.dirs/runtime 677s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 677s # /repository/char-types summary: Test that signed and unsigned char GITypeInfo have GITypeTag of INT8 and UINT8 respectively 677s ok 7 /repository/char-types 677s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_DR4OE3/repository/constructor-return-type/.dirs/home 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_DR4OE3/repository/constructor-return-type/.dirs/cache 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_DR4OE3/repository/constructor-return-type/.dirs/system-config1:/tmp/test_repository_DR4OE3/repository/constructor-return-type/.dirs/system-config2 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_DR4OE3/repository/constructor-return-type/.dirs/config 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_DR4OE3/repository/constructor-return-type/.dirs/system-data1:/tmp/test_repository_DR4OE3/repository/constructor-return-type/.dirs/system-data2 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_DR4OE3/repository/constructor-return-type/.dirs/data 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_DR4OE3/repository/constructor-return-type/.dirs/state 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_DR4OE3/repository/constructor-return-type/.dirs/runtime 677s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 677s # /repository/constructor-return-type summary: Test the return type of a constructor, g_object_newv() 677s ok 8 /repository/constructor-return-type 677s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_DR4OE3/repository/enum-info-c-identifier/.dirs/home 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_DR4OE3/repository/enum-info-c-identifier/.dirs/cache 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_DR4OE3/repository/enum-info-c-identifier/.dirs/system-config1:/tmp/test_repository_DR4OE3/repository/enum-info-c-identifier/.dirs/system-config2 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_DR4OE3/repository/enum-info-c-identifier/.dirs/config 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_DR4OE3/repository/enum-info-c-identifier/.dirs/system-data1:/tmp/test_repository_DR4OE3/repository/enum-info-c-identifier/.dirs/system-data2 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_DR4OE3/repository/enum-info-c-identifier/.dirs/data 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_DR4OE3/repository/enum-info-c-identifier/.dirs/state 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_DR4OE3/repository/enum-info-c-identifier/.dirs/runtime 677s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 677s # /repository/enum-info-c-identifier summary: Test that every enum member has a C identifier 677s ok 9 /repository/enum-info-c-identifier 677s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_DR4OE3/repository/enum-info-static-methods/.dirs/home 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_DR4OE3/repository/enum-info-static-methods/.dirs/cache 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_DR4OE3/repository/enum-info-static-methods/.dirs/system-config1:/tmp/test_repository_DR4OE3/repository/enum-info-static-methods/.dirs/system-config2 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_DR4OE3/repository/enum-info-static-methods/.dirs/config 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_DR4OE3/repository/enum-info-static-methods/.dirs/system-data1:/tmp/test_repository_DR4OE3/repository/enum-info-static-methods/.dirs/system-data2 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_DR4OE3/repository/enum-info-static-methods/.dirs/data 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_DR4OE3/repository/enum-info-static-methods/.dirs/state 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_DR4OE3/repository/enum-info-static-methods/.dirs/runtime 677s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 677s # /repository/enum-info-static-methods summary: Test an enum with methods 677s ok 10 /repository/enum-info-static-methods 677s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_DR4OE3/repository/error-quark/.dirs/home 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_DR4OE3/repository/error-quark/.dirs/cache 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_DR4OE3/repository/error-quark/.dirs/system-config1:/tmp/test_repository_DR4OE3/repository/error-quark/.dirs/system-config2 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_DR4OE3/repository/error-quark/.dirs/config 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_DR4OE3/repository/error-quark/.dirs/system-data1:/tmp/test_repository_DR4OE3/repository/error-quark/.dirs/system-data2 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_DR4OE3/repository/error-quark/.dirs/data 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_DR4OE3/repository/error-quark/.dirs/state 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_DR4OE3/repository/error-quark/.dirs/runtime 677s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 677s # /repository/error-quark summary: Test finding an error quark by error domain 677s ok 11 /repository/error-quark 677s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_DR4OE3/repository/flags-info-c-identifier/.dirs/home 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_DR4OE3/repository/flags-info-c-identifier/.dirs/cache 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_DR4OE3/repository/flags-info-c-identifier/.dirs/system-config1:/tmp/test_repository_DR4OE3/repository/flags-info-c-identifier/.dirs/system-config2 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_DR4OE3/repository/flags-info-c-identifier/.dirs/config 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_DR4OE3/repository/flags-info-c-identifier/.dirs/system-data1:/tmp/test_repository_DR4OE3/repository/flags-info-c-identifier/.dirs/system-data2 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_DR4OE3/repository/flags-info-c-identifier/.dirs/data 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_DR4OE3/repository/flags-info-c-identifier/.dirs/state 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_DR4OE3/repository/flags-info-c-identifier/.dirs/runtime 677s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 677s # /repository/flags-info-c-identifier summary: Test that every flags member has a C identifier 677s ok 12 /repository/flags-info-c-identifier 677s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_DR4OE3/repository/fundamental-ref-func/.dirs/home 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_DR4OE3/repository/fundamental-ref-func/.dirs/cache 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_DR4OE3/repository/fundamental-ref-func/.dirs/system-config1:/tmp/test_repository_DR4OE3/repository/fundamental-ref-func/.dirs/system-config2 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_DR4OE3/repository/fundamental-ref-func/.dirs/config 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_DR4OE3/repository/fundamental-ref-func/.dirs/system-data1:/tmp/test_repository_DR4OE3/repository/fundamental-ref-func/.dirs/system-data2 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_DR4OE3/repository/fundamental-ref-func/.dirs/data 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_DR4OE3/repository/fundamental-ref-func/.dirs/state 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_DR4OE3/repository/fundamental-ref-func/.dirs/runtime 677s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 677s # /repository/fundamental-ref-func summary: Test getting the ref func of a fundamental type 677s ok 13 /repository/fundamental-ref-func 677s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_DR4OE3/repository/instance-method-ownership-transfer/.dirs/home 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_DR4OE3/repository/instance-method-ownership-transfer/.dirs/cache 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_DR4OE3/repository/instance-method-ownership-transfer/.dirs/system-config1:/tmp/test_repository_DR4OE3/repository/instance-method-ownership-transfer/.dirs/system-config2 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_DR4OE3/repository/instance-method-ownership-transfer/.dirs/config 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_DR4OE3/repository/instance-method-ownership-transfer/.dirs/system-data1:/tmp/test_repository_DR4OE3/repository/instance-method-ownership-transfer/.dirs/system-data2 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_DR4OE3/repository/instance-method-ownership-transfer/.dirs/data 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_DR4OE3/repository/instance-method-ownership-transfer/.dirs/state 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_DR4OE3/repository/instance-method-ownership-transfer/.dirs/runtime 677s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 677s # /repository/instance-method-ownership-transfer summary: Test two methods of the same object having opposite ownership transfer of the instance parameter 677s ok 14 /repository/instance-method-ownership-transfer 677s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_DR4OE3/repository/object-gtype-interfaces/.dirs/home 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_DR4OE3/repository/object-gtype-interfaces/.dirs/cache 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_DR4OE3/repository/object-gtype-interfaces/.dirs/system-config1:/tmp/test_repository_DR4OE3/repository/object-gtype-interfaces/.dirs/system-config2 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_DR4OE3/repository/object-gtype-interfaces/.dirs/config 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_DR4OE3/repository/object-gtype-interfaces/.dirs/system-data1:/tmp/test_repository_DR4OE3/repository/object-gtype-interfaces/.dirs/system-data2 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_DR4OE3/repository/object-gtype-interfaces/.dirs/data 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_DR4OE3/repository/object-gtype-interfaces/.dirs/state 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_DR4OE3/repository/object-gtype-interfaces/.dirs/runtime 677s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 677s # /repository/object-gtype-interfaces summary: Test gi_repository_get_object_gtype_interfaces() 677s ok 15 /repository/object-gtype-interfaces 677s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_DR4OE3/repository/signal-info-with-array-length-arg/.dirs/home 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_DR4OE3/repository/signal-info-with-array-length-arg/.dirs/cache 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_DR4OE3/repository/signal-info-with-array-length-arg/.dirs/system-config1:/tmp/test_repository_DR4OE3/repository/signal-info-with-array-length-arg/.dirs/system-config2 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_DR4OE3/repository/signal-info-with-array-length-arg/.dirs/config 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_DR4OE3/repository/signal-info-with-array-length-arg/.dirs/system-data1:/tmp/test_repository_DR4OE3/repository/signal-info-with-array-length-arg/.dirs/system-data2 677s ok - glib/repository.test 677s # Running test: glib/search-utils.test 677s ok - glib/search-utils.test 677s # Running test: glib/portal-support-env-var.test 677s ok - glib/portal-support-env-var.test 677s # Running test: glib/network-monitor.test 677s ok - glib/network-monitor.test 677s # Running test: glib/socket.test 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_DR4OE3/repository/signal-info-with-array-length-arg/.dirs/data 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_DR4OE3/repository/signal-info-with-array-length-arg/.dirs/state 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_DR4OE3/repository/signal-info-with-array-length-arg/.dirs/runtime 677s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 677s # /repository/signal-info-with-array-length-arg summary: Test finding the associated array length argument of an array parameter of a signal 677s ok 16 /repository/signal-info-with-array-length-arg 677s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_DR4OE3/repository/type-info-name/.dirs/home 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_DR4OE3/repository/type-info-name/.dirs/cache 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_DR4OE3/repository/type-info-name/.dirs/system-config1:/tmp/test_repository_DR4OE3/repository/type-info-name/.dirs/system-config2 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_DR4OE3/repository/type-info-name/.dirs/config 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_DR4OE3/repository/type-info-name/.dirs/system-data1:/tmp/test_repository_DR4OE3/repository/type-info-name/.dirs/system-data2 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_DR4OE3/repository/type-info-name/.dirs/data 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_DR4OE3/repository/type-info-name/.dirs/state 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_DR4OE3/repository/type-info-name/.dirs/runtime 677s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 677s # /repository/type-info-name summary: Test that gi_base_info_get_name() returns null for GITypeInfo 677s # Bug Reference: https://gitlab.gnome.org/GNOME/gobject-introspection/issues/96 677s ok 17 /repository/type-info-name 677s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_DR4OE3/repository/vfunc-info-with-no-invoker/.dirs/home 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_DR4OE3/repository/vfunc-info-with-no-invoker/.dirs/cache 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_DR4OE3/repository/vfunc-info-with-no-invoker/.dirs/system-config1:/tmp/test_repository_DR4OE3/repository/vfunc-info-with-no-invoker/.dirs/system-config2 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_DR4OE3/repository/vfunc-info-with-no-invoker/.dirs/config 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_DR4OE3/repository/vfunc-info-with-no-invoker/.dirs/system-data1:/tmp/test_repository_DR4OE3/repository/vfunc-info-with-no-invoker/.dirs/system-data2 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_DR4OE3/repository/vfunc-info-with-no-invoker/.dirs/data 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_DR4OE3/repository/vfunc-info-with-no-invoker/.dirs/state 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_DR4OE3/repository/vfunc-info-with-no-invoker/.dirs/runtime 677s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 677s # /repository/vfunc-info-with-no-invoker summary: Test vfunc with no known invoker on object, such as GObject.dispose 677s ok 18 /repository/vfunc-info-with-no-invoker 677s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_DR4OE3/repository/vfunc-info-with-invoker-on-interface/.dirs/home 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_DR4OE3/repository/vfunc-info-with-invoker-on-interface/.dirs/cache 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_DR4OE3/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config1:/tmp/test_repository_DR4OE3/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config2 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_DR4OE3/repository/vfunc-info-with-invoker-on-interface/.dirs/config 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_DR4OE3/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data1:/tmp/test_repository_DR4OE3/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data2 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_DR4OE3/repository/vfunc-info-with-invoker-on-interface/.dirs/data 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_DR4OE3/repository/vfunc-info-with-invoker-on-interface/.dirs/state 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_DR4OE3/repository/vfunc-info-with-invoker-on-interface/.dirs/runtime 677s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 677s # /repository/vfunc-info-with-invoker-on-interface summary: Test vfunc with invoker on interface, such as GFile.read_async 677s ok 19 /repository/vfunc-info-with-invoker-on-interface 677s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_DR4OE3/repository/vfunc-info-with-invoker-on-object/.dirs/home 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_DR4OE3/repository/vfunc-info-with-invoker-on-object/.dirs/cache 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_DR4OE3/repository/vfunc-info-with-invoker-on-object/.dirs/system-config1:/tmp/test_repository_DR4OE3/repository/vfunc-info-with-invoker-on-object/.dirs/system-config2 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_DR4OE3/repository/vfunc-info-with-invoker-on-object/.dirs/config 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_DR4OE3/repository/vfunc-info-with-invoker-on-object/.dirs/system-data1:/tmp/test_repository_DR4OE3/repository/vfunc-info-with-invoker-on-object/.dirs/system-data2 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_DR4OE3/repository/vfunc-info-with-invoker-on-object/.dirs/data 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_DR4OE3/repository/vfunc-info-with-invoker-on-object/.dirs/state 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_DR4OE3/repository/vfunc-info-with-invoker-on-object/.dirs/runtime 677s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 677s # /repository/vfunc-info-with-invoker-on-object summary: Test vfunc with invoker on object, such as GAppLaunchContext.get_display 677s ok 20 /repository/vfunc-info-with-invoker-on-object 677s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_DR4OE3/repository/find-by-gtype/.dirs/home 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_DR4OE3/repository/find-by-gtype/.dirs/cache 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_DR4OE3/repository/find-by-gtype/.dirs/system-config1:/tmp/test_repository_DR4OE3/repository/find-by-gtype/.dirs/system-config2 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_DR4OE3/repository/find-by-gtype/.dirs/config 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_DR4OE3/repository/find-by-gtype/.dirs/system-data1:/tmp/test_repository_DR4OE3/repository/find-by-gtype/.dirs/system-data2 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_DR4OE3/repository/find-by-gtype/.dirs/data 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_DR4OE3/repository/find-by-gtype/.dirs/state 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_DR4OE3/repository/find-by-gtype/.dirs/runtime 677s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 677s # /repository/find-by-gtype summary: Test finding a GType 677s ok 21 /repository/find-by-gtype 677s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_DR4OE3/repository/loaded-namespaces/.dirs/home 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_DR4OE3/repository/loaded-namespaces/.dirs/cache 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_DR4OE3/repository/loaded-namespaces/.dirs/system-config1:/tmp/test_repository_DR4OE3/repository/loaded-namespaces/.dirs/system-config2 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_DR4OE3/repository/loaded-namespaces/.dirs/config 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_DR4OE3/repository/loaded-namespaces/.dirs/system-data1:/tmp/test_repository_DR4OE3/repository/loaded-namespaces/.dirs/system-data2 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_DR4OE3/repository/loaded-namespaces/.dirs/data 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_DR4OE3/repository/loaded-namespaces/.dirs/state 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_DR4OE3/repository/loaded-namespaces/.dirs/runtime 677s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 677s # /repository/loaded-namespaces summary: Test listing loaded namespaces 677s ok 22 /repository/loaded-namespaces 677s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_DR4OE3/repository/dup_default/.dirs/home 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_DR4OE3/repository/dup_default/.dirs/cache 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_DR4OE3/repository/dup_default/.dirs/system-config1:/tmp/test_repository_DR4OE3/repository/dup_default/.dirs/system-config2 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_DR4OE3/repository/dup_default/.dirs/config 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_DR4OE3/repository/dup_default/.dirs/system-data1:/tmp/test_repository_DR4OE3/repository/dup_default/.dirs/system-data2 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_DR4OE3/repository/dup_default/.dirs/data 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_DR4OE3/repository/dup_default/.dirs/state 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_DR4OE3/repository/dup_default/.dirs/runtime 677s ok 23 /repository/dup_default 677s # Start of base-info tests 677s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_DR4OE3/repository/base-info/clear/.dirs/home 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_DR4OE3/repository/base-info/clear/.dirs/cache 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_DR4OE3/repository/base-info/clear/.dirs/system-config1:/tmp/test_repository_DR4OE3/repository/base-info/clear/.dirs/system-config2 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_DR4OE3/repository/base-info/clear/.dirs/config 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_DR4OE3/repository/base-info/clear/.dirs/system-data1:/tmp/test_repository_DR4OE3/repository/base-info/clear/.dirs/system-data2 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_DR4OE3/repository/base-info/clear/.dirs/data 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_DR4OE3/repository/base-info/clear/.dirs/state 677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_DR4OE3/repository/base-info/clear/.dirs/runtime 677s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 677s # /repository/base-info/clear summary: Test calling gi_base_info_clear() on a zero-filled struct 677s ok 24 /repository/base-info/clear 677s # End of base-info tests 677s # End of repository tests 677s TAP version 14 677s # random seed: R02Sfd2cb0d59202127f4214b297857b1478 677s # GLib-DEBUG: Current user locale: C.UTF-8 677s 1..6 677s # Start of search tests 677s # GLib-DEBUG: Started 677s # GLib-DEBUG: 'he' - 'Hello World' should match: OK 677s # GLib-DEBUG: 'wo' - 'Hello World' should match: OK 677s # GLib-DEBUG: 'lo' - 'Hello World' should NOT match: OK 677s # GLib-DEBUG: 'ld' - 'Hello World' should NOT match: OK 677s # GLib-DEBUG: 'wo' - 'Hello-World' should match: OK 677s # GLib-DEBUG: 'wo' - 'HelloWorld' should NOT match: OK 677s ok 1 /search/basic 677s # GLib-DEBUG: Started 677s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 677s # GLib-DEBUG: 'gaetan' - 'Gaëtan' should match: OK 677s # GLib-DEBUG: 'ele' - 'élève' should match: OK 677s # GLib-DEBUG: 'AzaÏs' - 'Azais' should NOT match: OK 677s # GLib-DEBUG: 'Azais' - 'AzaÏs' should match: OK 677s ok 2 /search/composed 677s # GLib-DEBUG: Started 677s # GLib-DEBUG: 'Jör' - 'Jorgen' should NOT match: OK 677s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 677s ok 3 /search/decomposed 677s # GLib-DEBUG: Started 677s # GLib-DEBUG: 'ist' - 'İstanbul' should match: OK 677s # GLib-DEBUG: 'diyarbakir' - 'Diyarbakır' should match: OK 677s ok 4 /search/turkish 677s # GLib-DEBUG: Started 677s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 677s # GLib-DEBUG: 'Jör' - 'Jorgen' should NOT match: OK 677s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 677s ok 5 /search/c_locale_unicode 677s # GLib-DEBUG: Started 677s # GLib-DEBUG: 'Xav Cla' - 'Xavier Claessens' should match: OK 677s # GLib-DEBUG: 'Cla Xav' - 'Xavier Claessens' should match: OK 677s # GLib-DEBUG: ' b ' - 'Foo Bar Baz' should match: OK 677s # GLib-DEBUG: 'bar bazz' - 'Foo Bar Baz' should NOT match: OK 677s ok 6 /search/multi_words 677s # End of search tests 677s TAP version 14 677s # random seed: R02Saad4f83a6b1ca98088835c26e5b15231 677s 1..1 677s # Start of portal-support tests 677s ok 1 /portal-support/env-var 677s # End of portal-support tests 677s TAP version 14 677s # random seed: R02Se29975f62bf848d7717a8170111a4697 677s 1..4 677s # Start of network-monitor tests 677s # GLib-GIO-DEBUG: Failed to initialize portal (GNetworkMonitorPortal) for gio-network-monitor: Not using portals 677s # GLib-GIO-DEBUG: Failed to initialize networkmanager (GNetworkMonitorNM) for gio-network-monitor: NetworkManager not running 677s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation netlink (GNetworkMonitorNetlink) for ‘gio-network-monitor’ 677s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 677s ok 1 /network-monitor/default 677s ok 2 /network-monitor/remove_default 677s ok 3 /network-monitor/add_networks 677s ok 4 /network-monitor/remove_networks 677s # End of network-monitor tests 677s TAP version 14 677s # random seed: R02S00fe84229e77700c2cbd54672656727d 677s 1..30 677s # Start of socket tests 678s # Executing: glib/socket.test 678s ok 1 /socket/ipv4_sync 678s # slow test /socket/ipv4_sync executed in 1.00 secs 679s ok 2 /socket/ipv4_async 679s # slow test /socket/ipv4_async executed in 1.00 secs 679s ok 3 /socket/ipv6_sync 679s ok 4 /socket/ipv6_async 679s ok 5 /socket/ipv6_v4mapped 680s ok 6 /socket/close_graceful 680s # slow test /socket/close_graceful executed in 1.00 secs 680s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 680s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 680s ok 8 /socket/fd_reuse 680s ok 9 /socket/address 680s ok 10 /socket/unix-from-fd 680s ok 11 /socket/unix-connection 680s ok 12 /socket/unix-connection-ancillary-data 680s ok 13 /socket/source-postmortem 680s ok 14 /socket/read_write 680s ok 15 /socket/read_writev 680s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 680s ok 16 /socket/receive_bytes 680s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 680s ok 17 /socket/receive_bytes_from 680s # Start of ipv4_sync tests 680s ok 18 /socket/ipv4_sync/datagram 680s # Start of datagram tests 681s ok 19 /socket/ipv4_sync/datagram/timeouts 681s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 681s # End of datagram tests 681s # End of ipv4_sync tests 681s # Start of ipv6_sync tests 681s ok 20 /socket/ipv6_sync/datagram 681s # Start of datagram tests 682s ok 21 /socket/ipv6_sync/datagram/timeouts 682s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 682s # End of datagram tests 682s # End of ipv6_sync tests 682s # Start of reuse tests 682s ok 22 /socket/reuse/tcp 682s ok 23 /socket/reuse/udp 682s # End of reuse tests 682s # Start of get_available tests 682s ok 24 /socket/get_available/datagram 682s ok 25 /socket/get_available/stream 682s # End of get_available tests 682s # Start of credentials tests 682s # Supported on this OS: GCredentials:linux-ucred:pid=0 682s ok 26 /socket/credentials/tcp_client 682s ok - glib/socket.test 682s # Running test: glib/power-profile-monitor-dbus.test 682s # Supported on this OS: GCredentials:linux-ucred:pid=0 682s ok 27 /socket/credentials/tcp_server 682s # Supported on this OS: GCredentials:linux-ucred:pid=2869,uid=1000,gid=1000 682s ok 28 /socket/credentials/unix_socketpair 682s # End of credentials tests 682s # Start of accept tests 682s # /socket/accept/cancelled summary: Calling g_socket_accept() with a cancelled cancellable should return immediately regardless of whether the socket is blocking 682s ok 29 /socket/accept/cancelled 682s # End of accept tests 682s # Start of connect tests 682s # /socket/connect/cancelled summary: Calling g_socket_connect() with a cancelled cancellable should return immediately regardless of whether the socket is blocking 682s ok 30 /socket/connect/cancelled 682s # End of connect tests 682s # End of socket tests 683s TAP version 13 683s ok 1 __main__.TestPowerProfileMonitor.test_power_profile_power_saver_enabled 683s 1..1 683s ok - glib/power-profile-monitor-dbus.test 683s # Running test: glib/portal-support-snap.test 683s TAP version 14 683s # random seed: R02Sc26f7598699335383a7038b30b15edc2 683s 1..7 683s # Start of portal-support tests 683s # Start of snap tests 683s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_UBHME3/portal-support/snap/no-snapctl/.dirs/home 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_UBHME3/portal-support/snap/no-snapctl/.dirs/cache 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_UBHME3/portal-support/snap/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap_UBHME3/portal-support/snap/no-snapctl/.dirs/system-config2 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_UBHME3/portal-support/snap/no-snapctl/.dirs/config 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_UBHME3/portal-support/snap/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap_UBHME3/portal-support/snap/no-snapctl/.dirs/system-data2 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_UBHME3/portal-support/snap/no-snapctl/.dirs/data 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_UBHME3/portal-support/snap/no-snapctl/.dirs/state 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_UBHME3/portal-support/snap/no-snapctl/.dirs/runtime 683s # Created snap.yaml in /tmp/test_portal-support-snap_UBHME3/meta/snap.yaml 683s Unable to clean up temporary directory /tmp/test_portal-support-snap_UBHME3/portal-support/snap/no-snapctl: No such file or directory 683s ok 1 /portal-support/snap/no-snapctl 683s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_UBHME3/portal-support/snap/none/.dirs/home 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_UBHME3/portal-support/snap/none/.dirs/cache 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_UBHME3/portal-support/snap/none/.dirs/system-config1:/tmp/test_portal-support-snap_UBHME3/portal-support/snap/none/.dirs/system-config2 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_UBHME3/portal-support/snap/none/.dirs/config 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_UBHME3/portal-support/snap/none/.dirs/system-data1:/tmp/test_portal-support-snap_UBHME3/portal-support/snap/none/.dirs/system-data2 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_UBHME3/portal-support/snap/none/.dirs/data 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_UBHME3/portal-support/snap/none/.dirs/state 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_UBHME3/portal-support/snap/none/.dirs/runtime 683s # Created snap.yaml in /tmp/test_portal-support-snap_UBHME3/meta/snap.yaml 683s # Created snapctl in /tmp/test_portal-support-snap_UBHME3/portal-support/snap/none/.dirs/runtime/snapctl 683s Unable to clean up temporary directory /tmp/test_portal-support-snap_UBHME3/portal-support/snap/none: No such file or directory 683s ok 2 /portal-support/snap/none 683s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_UBHME3/portal-support/snap/all/.dirs/home 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_UBHME3/portal-support/snap/all/.dirs/cache 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_UBHME3/portal-support/snap/all/.dirs/system-config1:/tmp/test_portal-support-snap_UBHME3/portal-support/snap/all/.dirs/system-config2 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_UBHME3/portal-support/snap/all/.dirs/config 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_UBHME3/portal-support/snap/all/.dirs/system-data1:/tmp/test_portal-support-snap_UBHME3/portal-support/snap/all/.dirs/system-data2 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_UBHME3/portal-support/snap/all/.dirs/data 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_UBHME3/portal-support/snap/all/.dirs/state 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_UBHME3/portal-support/snap/all/.dirs/runtime 683s # Created snap.yaml in /tmp/test_portal-support-snap_UBHME3/meta/snap.yaml 683s # Created snapctl in /tmp/test_portal-support-snap_UBHME3/portal-support/snap/all/.dirs/runtime/snapctl 683s Unable to clean up temporary directory /tmp/test_portal-support-snap_UBHME3/portal-support/snap/all: No such file or directory 683s ok 3 /portal-support/snap/all 683s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_UBHME3/portal-support/snap/desktop-only/.dirs/home 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_UBHME3/portal-support/snap/desktop-only/.dirs/cache 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_UBHME3/portal-support/snap/desktop-only/.dirs/system-config1:/tmp/test_portal-support-snap_UBHME3/portal-support/snap/desktop-only/.dirs/system-config2 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_UBHME3/portal-support/snap/desktop-only/.dirs/config 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_UBHME3/portal-support/snap/desktop-only/.dirs/system-data1:/tmp/test_portal-support-snap_UBHME3/portal-support/snap/desktop-only/.dirs/system-data2 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_UBHME3/portal-support/snap/desktop-only/.dirs/data 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_UBHME3/portal-support/snap/desktop-only/.dirs/state 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_UBHME3/portal-support/snap/desktop-only/.dirs/runtime 683s # Created snap.yaml in /tmp/test_portal-support-snap_UBHME3/meta/snap.yaml 683s # Created snapctl in /tmp/test_portal-support-snap_UBHME3/portal-support/snap/desktop-only/.dirs/runtime/snapctl 683s Unable to clean up temporary directory /tmp/test_portal-support-snap_UBHME3/portal-support/snap/desktop-only: No such file or directory 683s ok 4 /portal-support/snap/desktop-only 683s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_UBHME3/portal-support/snap/network-only/.dirs/home 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_UBHME3/portal-support/snap/network-only/.dirs/cache 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_UBHME3/portal-support/snap/network-only/.dirs/system-config1:/tmp/test_portal-support-snap_UBHME3/portal-support/snap/network-only/.dirs/system-config2 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_UBHME3/portal-support/snap/network-only/.dirs/config 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_UBHME3/portal-support/snap/network-only/.dirs/system-data1:/tmp/test_portal-support-snap_UBHME3/portal-support/snap/network-only/.dirs/system-data2 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_UBHME3/portal-support/snap/network-only/.dirs/data 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_UBHME3/portal-support/snap/network-only/.dirs/state 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_UBHME3/portal-support/snap/network-only/.dirs/runtime 683s # Created snap.yaml in /tmp/test_portal-support-snap_UBHME3/meta/snap.yaml 683s # Created snapctl in /tmp/test_portal-support-snap_UBHME3/portal-support/snap/network-only/.dirs/runtime/snapctl 683s Unable to clean up temporary directory /tmp/test_portal-support-snap_UBHME3/portal-support/snap/network-only: No such file or directory 683s ok 5 /portal-support/snap/network-only 683s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_UBHME3/portal-support/snap/gsettings-only/.dirs/home 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_UBHME3/portal-support/snap/gsettings-only/.dirs/cache 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_UBHME3/portal-support/snap/gsettings-only/.dirs/system-config1:/tmp/test_portal-support-snap_UBHME3/portal-support/snap/gsettings-only/.dirs/system-config2 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_UBHME3/portal-support/snap/gsettings-only/.dirs/config 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_UBHME3/portal-support/snap/gsettings-only/.dirs/system-data1:/tmp/test_portal-support-snap_UBHME3/portal-support/snap/gsettings-only/.dirs/system-data2 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_UBHME3/portal-support/snap/gsettings-only/.dirs/data 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_UBHME3/portal-support/snap/gsettings-only/.dirs/state 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_UBHME3/portal-support/snap/gsettings-only/.dirs/runtime 683s # Created snap.yaml in /tmp/test_portal-support-snap_UBHME3/meta/snap.yaml 683s # Created snapctl in /tmp/test_portal-support-snap_UBHME3/portal-support/snap/gsettings-only/.dirs/runtime/snapctl 683s Unable to clean up temporary directory /tmp/test_portal-support-snap_UBHME3/portal-support/snap/gsettings-only: No such file or directory 683s ok 6 /portal-support/snap/gsettings-only 683s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_UBHME3/portal-support/snap/updates-dynamically/.dirs/home 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_UBHME3/portal-support/snap/updates-dynamically/.dirs/cache 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_UBHME3/portal-support/snap/updates-dynamically/.dirs/system-config1:/tmp/test_portal-support-snap_UBHME3/portal-support/snap/updates-dynamically/.dirs/system-config2 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_UBHME3/portal-support/snap/updates-dynamically/.dirs/config 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_UBHME3/portal-support/snap/updates-dynamically/.dirs/system-data1:/tmp/test_portal-support-snap_UBHME3/portal-support/snap/updates-dynamically/.dirs/system-data2 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_UBHME3/portal-support/snap/updates-dynamically/.dirs/data 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_UBHME3/portal-support/snap/updates-dynamically/.dirs/state 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_UBHME3/portal-support/snap/updates-dynamically/.dirs/runtime 683s # Created snap.yaml in /tmp/test_portal-support-snap_UBHME3/meta/snap.yaml 683s # Created snapctl in /tmp/test_portal-support-snap_UBHME3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 683s # Created snapctl in /tmp/test_portal-support-snap_UBHME3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 683s # Created snapctl in /tmp/test_portal-support-snap_UBHME3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 683s # Created snapctl in /tmp/test_portal-support-snap_UBHME3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 683s # Created snapctl in /tmp/test_portal-support-snap_UBHME3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 683s # Created snapctl in /tmp/test_portal-support-snap_UBHME3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 683s # Created snapctl in /tmp/test_portal-support-snap_UBHME3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 683s Unable to clean up temporary directory /tmp/test_portal-support-snap_UBHME3/portal-support/snap/updates-dynamically: No such file or directory 683s ok 7 /portal-support/snap/updates-dynamically 683s # End of snap tests 683s # End of portal-support tests 683s Unable to clean up temporary directory /tmp/test_portal-support-snap_UBHME3: No such file or directory 683s ok - glib/portal-support-snap.test 683s # Running test: glib/strfuncs.test 683s TAP version 14 683s # random seed: R02S2c05caa352b3fe55bf751f46bdb47efd 683s 1..51 683s # Start of strfuncs tests 683s ok 1 /strfuncs/ascii-strcasecmp 683s ok 2 /strfuncs/ascii_strdown 683s ok 3 /strfuncs/ascii_strdup 683s ok 4 /strfuncs/ascii_strtod 683s ok 5 /strfuncs/bounds-check 683s ok 6 /strfuncs/has-prefix 683s ok 7 /strfuncs/has-prefix-macro 683s ok 8 /strfuncs/has-suffix 683s ok 9 /strfuncs/has-suffix-macro 683s ok 10 /strfuncs/memdup 683s ok 11 /strfuncs/memdup2 683s ok 12 /strfuncs/set_str 683s ok 13 /strfuncs/stpcpy 683s ok 14 /strfuncs/str_match_string 683s ok 15 /strfuncs/str_tokenize_and_fold 683s ok 16 /strfuncs/strcanon 683s ok 17 /strfuncs/strchomp 683s ok 18 /strfuncs/strchug 683s ok 19 /strfuncs/strcompress-strescape 683s ok 20 /strfuncs/strconcat 683s ok 21 /strfuncs/strdelimit 683s ok 22 /strfuncs/strdup 683s ok 23 /strfuncs/strdup-printf 683s ok - glib/strfuncs.test 683s # Running test: glib/protocol.test 683s ok - glib/protocol.test 683s # Running test: glib/gdbus-test-codegen.test 683s ok 24 /strfuncs/strdupv 683s ok 25 /strfuncs/strerror 683s ok 26 /strfuncs/strip-context 683s ok 27 /strfuncs/strjoin 683s ok 28 /strfuncs/strjoinv 683s ok 29 /strfuncs/strlcat 683s ok 30 /strfuncs/strlcpy 683s ok 31 /strfuncs/strncasecmp 683s ok 32 /strfuncs/strndup 683s ok 33 /strfuncs/strnfill 683s ok 34 /strfuncs/strreverse 683s ok 35 /strfuncs/strsignal 683s ok 36 /strfuncs/strsplit 683s ok 37 /strfuncs/strsplit-set 683s ok 38 /strfuncs/strstr 683s ok 39 /strfuncs/strtod 683s ok 40 /strfuncs/strtoull-strtoll 683s ok 41 /strfuncs/strup 683s ok 42 /strfuncs/strv-contains 683s ok 43 /strfuncs/strv-equal 683s ok 44 /strfuncs/strv-length 683s ok 45 /strfuncs/test-is-to-digit 683s ok 46 /strfuncs/transliteration 683s # /strfuncs/str-equal summary: Test macro and function forms of g_str_equal() 683s ok 47 /strfuncs/str-equal 683s ok 48 /strfuncs/str-is-ascii 683s # Start of ascii-string-to-num tests 683s ok 49 /strfuncs/ascii-string-to-num/pathological 683s ok 50 /strfuncs/ascii-string-to-num/usual 683s # End of ascii-string-to-num tests 683s # Start of strdup tests 683s ok 51 /strfuncs/strdup/inline 683s # End of strdup tests 683s # End of strfuncs tests 683s TAP version 14 683s # random seed: R02Se25fa93d219cd7e15d85fed276e161fb 683s 1..9 683s # Start of glib tests 683s # Start of testing tests 683s # Start of protocol tests 683s ok 1 /glib/testing/protocol/debug 683s ok 2 /glib/testing/protocol/info 683s ok 3 /glib/testing/protocol/message 683s ok 4 /glib/testing/protocol/warning 683s ok 5 /glib/testing/protocol/critical 683s ok 6 /glib/testing/protocol/error 683s ok 7 /glib/testing/protocol/gtest-message 683s ok 8 /glib/testing/protocol/test-message 683s ok 9 /glib/testing/protocol/test-error 683s # End of protocol tests 683s # End of testing tests 683s # End of glib tests 683s TAP version 14 683s # random seed: R02Sf0a2a3740912ba850061cb3aabcf85c9 683s 1..8 683s # Start of gdbus tests 683s # Start of codegen tests 683s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_CENKE3/gdbus/codegen/annotations/.dirs/home 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_CENKE3/gdbus/codegen/annotations/.dirs/cache 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_CENKE3/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_CENKE3/gdbus/codegen/annotations/.dirs/system-config2 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_CENKE3/gdbus/codegen/annotations/.dirs/config 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_CENKE3/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_CENKE3/gdbus/codegen/annotations/.dirs/system-data2 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_CENKE3/gdbus/codegen/annotations/.dirs/data 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_CENKE3/gdbus/codegen/annotations/.dirs/state 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_CENKE3/gdbus/codegen/annotations/.dirs/runtime 683s ok 1 /gdbus/codegen/annotations 683s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_CENKE3/gdbus/codegen/interface_stability/.dirs/home 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_CENKE3/gdbus/codegen/interface_stability/.dirs/cache 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_CENKE3/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen_CENKE3/gdbus/codegen/interface_stability/.dirs/system-config2 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_CENKE3/gdbus/codegen/interface_stability/.dirs/config 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_CENKE3/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen_CENKE3/gdbus/codegen/interface_stability/.dirs/system-data2 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_CENKE3/gdbus/codegen/interface_stability/.dirs/data 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_CENKE3/gdbus/codegen/interface_stability/.dirs/state 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_CENKE3/gdbus/codegen/interface_stability/.dirs/runtime 683s ok 2 /gdbus/codegen/interface_stability 683s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_CENKE3/gdbus/codegen/object-manager/.dirs/home 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_CENKE3/gdbus/codegen/object-manager/.dirs/cache 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_CENKE3/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen_CENKE3/gdbus/codegen/object-manager/.dirs/system-config2 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_CENKE3/gdbus/codegen/object-manager/.dirs/config 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_CENKE3/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen_CENKE3/gdbus/codegen/object-manager/.dirs/system-data2 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_CENKE3/gdbus/codegen/object-manager/.dirs/data 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_CENKE3/gdbus/codegen/object-manager/.dirs/state 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_CENKE3/gdbus/codegen/object-manager/.dirs/runtime 683s ok 3 /gdbus/codegen/object-manager 683s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_CENKE3/gdbus/codegen/property-naming/.dirs/home 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_CENKE3/gdbus/codegen/property-naming/.dirs/cache 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_CENKE3/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen_CENKE3/gdbus/codegen/property-naming/.dirs/system-config2 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_CENKE3/gdbus/codegen/property-naming/.dirs/config 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_CENKE3/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen_CENKE3/gdbus/codegen/property-naming/.dirs/system-data2 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_CENKE3/gdbus/codegen/property-naming/.dirs/data 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_CENKE3/gdbus/codegen/property-naming/.dirs/state 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_CENKE3/gdbus/codegen/property-naming/.dirs/runtime 683s ok 4 /gdbus/codegen/property-naming 683s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_CENKE3/gdbus/codegen/autocleanups/.dirs/home 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_CENKE3/gdbus/codegen/autocleanups/.dirs/cache 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_CENKE3/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen_CENKE3/gdbus/codegen/autocleanups/.dirs/system-config2 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_CENKE3/gdbus/codegen/autocleanups/.dirs/config 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_CENKE3/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen_CENKE3/gdbus/codegen/autocleanups/.dirs/system-data2 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_CENKE3/gdbus/codegen/autocleanups/.dirs/data 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_CENKE3/gdbus/codegen/autocleanups/.dirs/state 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_CENKE3/gdbus/codegen/autocleanups/.dirs/runtime 683s ok 5 /gdbus/codegen/autocleanups 683s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_CENKE3/gdbus/codegen/deprecations/.dirs/home 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_CENKE3/gdbus/codegen/deprecations/.dirs/cache 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_CENKE3/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_CENKE3/gdbus/codegen/deprecations/.dirs/system-config2 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_CENKE3/gdbus/codegen/deprecations/.dirs/config 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_CENKE3/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_CENKE3/gdbus/codegen/deprecations/.dirs/system-data2 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_CENKE3/gdbus/codegen/deprecations/.dirs/data 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_CENKE3/gdbus/codegen/deprecations/.dirs/state 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_CENKE3/gdbus/codegen/deprecations/.dirs/runtime 683s ok 6 /gdbus/codegen/deprecations 683s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_CENKE3/gdbus/codegen/standalone-interface-info/.dirs/home 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_CENKE3/gdbus/codegen/standalone-interface-info/.dirs/cache 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_CENKE3/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen_CENKE3/gdbus/codegen/standalone-interface-info/.dirs/system-config2 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_CENKE3/gdbus/codegen/standalone-interface-info/.dirs/config 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_CENKE3/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen_CENKE3/gdbus/codegen/standalone-interface-info/.dirs/system-data2 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_CENKE3/gdbus/codegen/standalone-interface-info/.dirs/data 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_CENKE3/gdbus/codegen/standalone-interface-info/.dirs/state 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_CENKE3/gdbus/codegen/standalone-interface-info/.dirs/runtime 683s ok 7 /gdbus/codegen/standalone-interface-info 683s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_CENKE3/gdbus/codegen/unix-fd-list/.dirs/home 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_CENKE3/gdbus/codegen/unix-fd-list/.dirs/cache 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_CENKE3/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen_CENKE3/gdbus/codegen/unix-fd-list/.dirs/system-config2 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_CENKE3/gdbus/codegen/unix-fd-list/.dirs/config 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_CENKE3/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen_CENKE3/gdbus/codegen/unix-fd-list/.dirs/system-data2 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_CENKE3/gdbus/codegen/unix-fd-list/.dirs/data 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_CENKE3/gdbus/codegen/unix-fd-list/.dirs/state 683s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_CENKE3/gdbus/codegen/unix-fd-list/.dirs/runtime 683s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 683s ok 8 /gdbus/codegen/unix-fd-list 683s # End of codegen tests 683s # End of gdbus tests 683s ok - glib/gdbus-test-codegen.test 683s # Running test: glib/option-context.test 683s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 683s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 683s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 683s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 683s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 683s TAP version 14 683s # random seed: R02S34d43674e2a56b6ca6c07a8a30a912cd 683s 1..59 683s # Start of option tests 683s ok 1 /option/basic 683s ok 2 /option/translate 683s ok 3 /option/strict-posix 683s # Testing command: program --double abc 683s # Testing command: program --double 2e309 683s # Testing command: program --int abc 683s # Testing command: program --int 99999999999999999999999999999999999 683s # Testing command: program --int64 abc 683s # Testing command: program --int64 99999999999999999999999999999999999 683s ok 4 /option/parsing-errors 683s # Start of help tests 683s ok 5 /option/help/options 683s ok 6 /option/help/no-options 683s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=697652 683s ok 7 /option/help/no-help-options 683s # Usage: 683s # /usr/libexec/installed-tests/glib/option-context [OPTION…] blabla 683s # 683s # Summary 683s # 683s # Help Options: 683s # -h, --help Show help options 683s # 683s # Application Options: 683s # -t, --test=Argument to use in test (deprecated) Test tests 683s # --test2 Tests also 683s # 683s # Description 683s # 683s ok 8 /option/help/deprecated 683s # End of help tests 683s # Start of group tests 683s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=504142 683s ok 9 /option/group/captions 683s ok 10 /option/group/main 683s ok 11 /option/group/error-hook 683s ok 12 /option/group/parse 683s # Start of captions tests 683s ok - glib/option-context.test 683s # Running test: glib/once.test 683s # Start of subprocess tests 683s # End of subprocess tests 683s # End of captions tests 683s # End of group tests 683s # Start of restoration tests 683s ok 13 /option/restoration/int 683s ok 14 /option/restoration/string 683s ok 15 /option/restoration/boolean 683s # End of restoration tests 683s # Start of arg tests 683s ok 16 /option/arg/reverse-string 683s ok 17 /option/arg/optional-int 683s # Start of repetition tests 683s ok 18 /option/arg/repetition/int 683s ok 19 /option/arg/repetition/string 683s ok 20 /option/arg/repetition/filename 683s ok 21 /option/arg/repetition/double 683s ok 22 /option/arg/repetition/locale 683s ok 23 /option/arg/repetition/int64 683s # End of repetition tests 683s # Start of array tests 683s ok 24 /option/arg/array/string 683s # End of array tests 683s # Start of callback tests 683s ok 25 /option/arg/callback/string 683s ok 26 /option/arg/callback/count 683s ok 27 /option/arg/callback/optional1 683s ok 28 /option/arg/callback/optional2 683s ok 29 /option/arg/callback/optional3 683s ok 30 /option/arg/callback/optional4 683s ok 31 /option/arg/callback/optional5 683s ok 32 /option/arg/callback/optional6 683s ok 33 /option/arg/callback/optional7 683s ok 34 /option/arg/callback/optional8 683s # End of callback tests 683s # Start of remaining tests 683s ok 35 /option/arg/remaining/callback 683s ok 36 /option/arg/remaining/callback-false 683s ok 37 /option/arg/remaining/non-option 683s ok 38 /option/arg/remaining/separator 683s ok 39 /option/arg/remaining/array 683s # End of remaining tests 683s # Start of ignore tests 683s ok 40 /option/arg/ignore/long 683s ok 41 /option/arg/ignore/short 683s ok 42 /option/arg/ignore/arg 683s # End of ignore tests 683s # Start of rest tests 683s ok 43 /option/arg/rest/non-option 683s ok 44 /option/arg/rest/separator1 683s ok 45 /option/arg/rest/separator2 683s ok 46 /option/arg/rest/separator3 683s ok 47 /option/arg/rest/separator4 683s ok 48 /option/arg/rest/separator5 683s # End of rest tests 683s # End of arg tests 683s # Start of context tests 683s ok 49 /option/context/add 683s ok 50 /option/context/empty2 683s ok 51 /option/context/empty3 683s # End of context tests 683s # Start of bug tests 683s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=166609 683s ok 52 /option/bug/unknown-short 683s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=168008 683s ok 53 /option/bug/lonely-dash 683s ok 54 /option/bug/triple-dash 683s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=305576 683s ok 55 /option/bug/missing-arg 683s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=577638 683s ok 56 /option/bug/dash-arg 683s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=729563 683s ok 57 /option/bug/short-remaining 683s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=646926 683s ok 58 /option/bug/double-free 683s ok 59 /option/bug/double-zero 683s # End of bug tests 683s # End of option tests 683s TAP version 14 683s # random seed: R02S48f625c4ce095accd7c2d62ee5f3886b 683s 1..5 683s # Start of once tests 683s # /once/single-threaded summary: Test g_once() usage from a single thread 683s ok 1 /once/single-threaded 683s # /once/multi-threaded summary: Test g_once() usage from multiple threads 683s ok 2 /once/multi-threaded 683s # End of once tests 683s # Start of once-init tests 683s # /once-init/single-threaded summary: Test g_once_init_{enter,leave}() usage from a single thread 683s ok 3 /once-init/single-threaded 683s # /once-init/multi-threaded summary: Test g_once_init_{enter,leave}() usage from multiple threads 683s ok 4 /once-init/multi-threaded 683s # /once-init/string summary: Test g_once_init_{enter,leave}() usage with a string 683s ok 5 /once-init/string 683s # End of once-init tests 683s ok - glib/once.test 683s # Running test: glib/threadtests.test 683s TAP version 14 683s # random seed: R02Se4490a1e90359cc3f9c9aee327126cae 683s 1..5 683s # Start of GObject tests 683s ok 1 /GObject/threaded-object-init 683s # Executing: glib/threadtests.test 684s ok 2 /GObject/threaded-weak-ref 684s # slow test /GObject/threaded-weak-ref executed in 0.84 secs 684s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 684s # /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 684s ok - glib/threadtests.test 684s # Running test: glib/module-test-plugin.test 684s ok - glib/module-test-plugin.test 684s # Running test: glib/autoptr-gio.test 684s ok - glib/autoptr-gio.test 684s # Running test: glib/gdbus-test-codegen-old.test 684s ok 3 /GObject/threaded-toggle-notify 684s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 684s # Start of threaded-weak-ref tests 684s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 684s # /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. 684s ok 5 /GObject/threaded-weak-ref/on-finalization 684s # End of threaded-weak-ref tests 684s # End of GObject tests 684s TAP version 14 684s # random seed: R02S8e98e175ffe582858eec6202e4fc8505 684s 1..3 684s # Start of module tests 684s ok 1 /module/basics 684s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 684s ok 2 /module/invalid-libtool-archive 684s # /module/local-binding summary: Test that binding a library's symbols locally does not add them globally 684s ok 3 /module/local-binding 684s # End of module tests 684s TAP version 14 684s # random seed: R02Se1654ec0c5bd4b49b874ff933c54dd23 684s 1..1 684s # Start of autoptr tests 684s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 684s ok 1 /autoptr/autoptr 684s # End of autoptr tests 684s TAP version 14 684s # random seed: R02Sdd728a03d4e4578eea8f7296351c08e1 684s 1..8 684s # Start of gdbus tests 684s # Start of codegen tests 684s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_P4ZPE3/gdbus/codegen/annotations/.dirs/home 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_P4ZPE3/gdbus/codegen/annotations/.dirs/cache 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_P4ZPE3/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_P4ZPE3/gdbus/codegen/annotations/.dirs/system-config2 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_P4ZPE3/gdbus/codegen/annotations/.dirs/config 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_P4ZPE3/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_P4ZPE3/gdbus/codegen/annotations/.dirs/system-data2 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_P4ZPE3/gdbus/codegen/annotations/.dirs/data 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_P4ZPE3/gdbus/codegen/annotations/.dirs/state 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_P4ZPE3/gdbus/codegen/annotations/.dirs/runtime 684s ok 1 /gdbus/codegen/annotations 684s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_P4ZPE3/gdbus/codegen/interface_stability/.dirs/home 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_P4ZPE3/gdbus/codegen/interface_stability/.dirs/cache 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_P4ZPE3/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_P4ZPE3/gdbus/codegen/interface_stability/.dirs/system-config2 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_P4ZPE3/gdbus/codegen/interface_stability/.dirs/config 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_P4ZPE3/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_P4ZPE3/gdbus/codegen/interface_stability/.dirs/system-data2 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_P4ZPE3/gdbus/codegen/interface_stability/.dirs/data 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_P4ZPE3/gdbus/codegen/interface_stability/.dirs/state 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_P4ZPE3/gdbus/codegen/interface_stability/.dirs/runtime 684s ok 2 /gdbus/codegen/interface_stability 684s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_P4ZPE3/gdbus/codegen/object-manager/.dirs/home 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_P4ZPE3/gdbus/codegen/object-manager/.dirs/cache 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_P4ZPE3/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_P4ZPE3/gdbus/codegen/object-manager/.dirs/system-config2 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_P4ZPE3/gdbus/codegen/object-manager/.dirs/config 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_P4ZPE3/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_P4ZPE3/gdbus/codegen/object-manager/.dirs/system-data2 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_P4ZPE3/gdbus/codegen/object-manager/.dirs/data 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_P4ZPE3/gdbus/codegen/object-manager/.dirs/state 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_P4ZPE3/gdbus/codegen/object-manager/.dirs/runtime 684s ok 3 /gdbus/codegen/object-manager 684s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_P4ZPE3/gdbus/codegen/property-naming/.dirs/home 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_P4ZPE3/gdbus/codegen/property-naming/.dirs/cache 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_P4ZPE3/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_P4ZPE3/gdbus/codegen/property-naming/.dirs/system-config2 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_P4ZPE3/gdbus/codegen/property-naming/.dirs/config 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_P4ZPE3/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_P4ZPE3/gdbus/codegen/property-naming/.dirs/system-data2 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_P4ZPE3/gdbus/codegen/property-naming/.dirs/data 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_P4ZPE3/gdbus/codegen/property-naming/.dirs/state 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_P4ZPE3/gdbus/codegen/property-naming/.dirs/runtime 684s ok 4 /gdbus/codegen/property-naming 684s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_P4ZPE3/gdbus/codegen/autocleanups/.dirs/home 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_P4ZPE3/gdbus/codegen/autocleanups/.dirs/cache 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_P4ZPE3/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_P4ZPE3/gdbus/codegen/autocleanups/.dirs/system-config2 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_P4ZPE3/gdbus/codegen/autocleanups/.dirs/config 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_P4ZPE3/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_P4ZPE3/gdbus/codegen/autocleanups/.dirs/system-data2 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_P4ZPE3/gdbus/codegen/autocleanups/.dirs/data 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_P4ZPE3/gdbus/codegen/autocleanups/.dirs/state 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_P4ZPE3/gdbus/codegen/autocleanups/.dirs/runtime 684s ok 5 /gdbus/codegen/autocleanups 684s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_P4ZPE3/gdbus/codegen/deprecations/.dirs/home 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_P4ZPE3/gdbus/codegen/deprecations/.dirs/cache 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_P4ZPE3/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_P4ZPE3/gdbus/codegen/deprecations/.dirs/system-config2 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_P4ZPE3/gdbus/codegen/deprecations/.dirs/config 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_P4ZPE3/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_P4ZPE3/gdbus/codegen/deprecations/.dirs/system-data2 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_P4ZPE3/gdbus/codegen/deprecations/.dirs/data 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_P4ZPE3/gdbus/codegen/deprecations/.dirs/state 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_P4ZPE3/gdbus/codegen/deprecations/.dirs/runtime 684s ok 6 /gdbus/codegen/deprecations 684s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_P4ZPE3/gdbus/codegen/standalone-interface-info/.dirs/home 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_P4ZPE3/gdbus/codegen/standalone-interface-info/.dirs/cache 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_P4ZPE3/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_P4ZPE3/gdbus/codegen/standalone-interface-info/.dirs/system-config2 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_P4ZPE3/gdbus/codegen/standalone-interface-info/.dirs/config 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_P4ZPE3/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_P4ZPE3/gdbus/codegen/standalone-interface-info/.dirs/system-data2 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_P4ZPE3/gdbus/codegen/standalone-interface-info/.dirs/data 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_P4ZPE3/gdbus/codegen/standalone-interface-info/.dirs/state 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_P4ZPE3/gdbus/codegen/standalone-interface-info/.dirs/runtime 684s ok 7 /gdbus/codegen/standalone-interface-info 684s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_P4ZPE3/gdbus/codegen/unix-fd-list/.dirs/home 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_P4ZPE3/gdbus/codegen/unix-fd-list/.dirs/cache 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_P4ZPE3/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_P4ZPE3/gdbus/codegen/unix-fd-list/.dirs/system-config2 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_P4ZPE3/gdbus/codegen/unix-fd-list/.dirs/config 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_P4ZPE3/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_P4ZPE3/gdbus/codegen/unix-fd-list/.dirs/system-data2 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_P4ZPE3/gdbus/codegen/unix-fd-list/.dirs/data 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_P4ZPE3/gdbus/codegen/unix-fd-list/.dirs/state 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_P4ZPE3/gdbus/codegen/unix-fd-list/.dirs/runtime 684s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 684s ok 8 /gdbus/codegen/unix-fd-list 684s # End of codegen tests 684s # End of gdbus tests 684s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 684s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 684s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 684s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 684s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 684s TAP version 14 684s # random seed: R02Sbab836c8a4e55058cdf0825f797f5664 684s 1..2 684s # Start of atomic tests 684s ok 1 /atomic/types 684s ok - glib/gdbus-test-codegen-old.test 684s # Running test: glib/atomic-c-99.test 684s ok - glib/atomic-c-99.test 684s # Running test: glib/live-g-file.test 684s ok 2 /atomic/threaded 684s # End of atomic tests 684s TAP version 14 684s # random seed: R02S3561e544615ca038e232a8bd4c6c65f6 684s 1..13 684s # Start of live-g-file tests 684s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_Z00XE3/live-g-file/prep_clean_structure/.dirs/home 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_Z00XE3/live-g-file/prep_clean_structure/.dirs/cache 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_Z00XE3/live-g-file/prep_clean_structure/.dirs/system-config1:/tmp/test_live-g-file_Z00XE3/live-g-file/prep_clean_structure/.dirs/system-config2 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_Z00XE3/live-g-file/prep_clean_structure/.dirs/config 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_Z00XE3/live-g-file/prep_clean_structure/.dirs/system-data1:/tmp/test_live-g-file_Z00XE3/live-g-file/prep_clean_structure/.dirs/system-data2 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_Z00XE3/live-g-file/prep_clean_structure/.dirs/data 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_Z00XE3/live-g-file/prep_clean_structure/.dirs/state 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_Z00XE3/live-g-file/prep_clean_structure/.dirs/runtime 684s # Cleaning target testing structure in '/tmp/test_live-g-file_Z00XE3/testdir_live-g-file'... 684s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 684s ok 1 /live-g-file/prep_clean_structure 684s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_Z00XE3/live-g-file/create_structure/.dirs/home 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_Z00XE3/live-g-file/create_structure/.dirs/cache 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_Z00XE3/live-g-file/create_structure/.dirs/system-config1:/tmp/test_live-g-file_Z00XE3/live-g-file/create_structure/.dirs/system-config2 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_Z00XE3/live-g-file/create_structure/.dirs/config 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_Z00XE3/live-g-file/create_structure/.dirs/system-data1:/tmp/test_live-g-file_Z00XE3/live-g-file/create_structure/.dirs/system-data2 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_Z00XE3/live-g-file/create_structure/.dirs/data 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_Z00XE3/live-g-file/create_structure/.dirs/state 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_Z00XE3/live-g-file/create_structure/.dirs/runtime 684s # 684s # Going to create testing structure in '/tmp/test_live-g-file_Z00XE3/testdir_live-g-file'... 684s # Creating directory 'dir1'... 684s # Creating directory 'dir1/subdir'... 684s # Creating directory 'dir2'... 684s # Creating directory 'dir-target'... 684s # Creating directory 'dir_no-access'... 684s # Creating directory 'dir_no-write'... 684s # Creating file 'target-file'... 684s # Creating file 'normal_file'... 684s # Creating symlink 'normal_file-symlink' --> 'normal_file'... 684s # Creating file 'executable_file'... 684s # Creating file 'private_file'... 684s # Creating file 'normal_file2'... 684s # Creating file 'readonly_file'... 684s # Creating file 'UTF_příliš z'... 684s # Creating directory 'dir_příliš z'... 684s # Creating symlink 'lost_symlink' --> 'nowhere'... 684s # Creating directory 'dir_hidden'... 684s # Creating file 'dir_hidden/.a-hidden-file'... 684s # Creating file 'dir_hidden/file-in-.hidden1'... 684s # Creating file 'dir_hidden/file-in-.hidden2'... 684s # Creating pattern file... 684s # done. 684s ok 2 /live-g-file/create_structure 684s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_Z00XE3/live-g-file/test_initial_structure/.dirs/home 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_Z00XE3/live-g-file/test_initial_structure/.dirs/cache 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_Z00XE3/live-g-file/test_initial_structure/.dirs/system-config1:/tmp/test_live-g-file_Z00XE3/live-g-file/test_initial_structure/.dirs/system-config2 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_Z00XE3/live-g-file/test_initial_structure/.dirs/config 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_Z00XE3/live-g-file/test_initial_structure/.dirs/system-data1:/tmp/test_live-g-file_Z00XE3/live-g-file/test_initial_structure/.dirs/system-data2 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_Z00XE3/live-g-file/test_initial_structure/.dirs/data 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_Z00XE3/live-g-file/test_initial_structure/.dirs/state 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_Z00XE3/live-g-file/test_initial_structure/.dirs/runtime 684s # Testing sample structure in '/tmp/test_live-g-file_Z00XE3/testdir_live-g-file'... 684s # Testing file 'dir1'... 684s # Testing file 'dir1/subdir'... 684s # Testing file 'dir2'... 684s # Testing file 'dir-target'... 684s # Testing file 'dir_no-access'... 684s # Testing file 'dir_no-write'... 684s # Testing file 'target-file'... 684s # Testing file 'normal_file'... 684s # Testing file 'normal_file-symlink'... 684s # Testing file 'executable_file'... 684s # Testing file 'private_file'... 684s # Testing file 'normal_file2'... 684s # Testing file 'readonly_file'... 684s # Testing file 'UTF_příliš z'... 684s # Testing file 'dir_příliš z'... 684s # Testing file 'lost_symlink'... 684s # Testing file 'dir_hidden'... 684s # Testing file 'dir_hidden/.a-hidden-file'... 684s # Testing file 'dir_hidden/file-in-.hidden1'... 684s # Testing file 'dir_hidden/file-in-.hidden2'... 684s # Testing pattern file... 684s # read 65536 bytes, total = 65536 of 65536. 684s ok 3 /live-g-file/test_initial_structure 684s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_Z00XE3/live-g-file/test_traverse_structure/.dirs/home 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_Z00XE3/live-g-file/test_traverse_structure/.dirs/cache 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_Z00XE3/live-g-file/test_traverse_structure/.dirs/system-config1:/tmp/test_live-g-file_Z00XE3/live-g-file/test_traverse_structure/.dirs/system-config2 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_Z00XE3/live-g-file/test_traverse_structure/.dirs/config 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_Z00XE3/live-g-file/test_traverse_structure/.dirs/system-data1:/tmp/test_live-g-file_Z00XE3/live-g-file/test_traverse_structure/.dirs/system-data2 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_Z00XE3/live-g-file/test_traverse_structure/.dirs/data 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_Z00XE3/live-g-file/test_traverse_structure/.dirs/state 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_Z00XE3/live-g-file/test_traverse_structure/.dirs/runtime 684s # Traversing through the sample structure in '/tmp/test_live-g-file_Z00XE3/testdir_live-g-file'... 684s # Found file dir1, relative to root: dir1 684s # Found file subdir, relative to root: dir1/subdir 684s # Found file dir2, relative to root: dir2 684s # Found file dir-target, relative to root: dir-target 684s # Found file dir_no-access, relative to root: dir_no-access 684s # Found file dir_no-write, relative to root: dir_no-write 684s # Found file target-file, relative to root: target-file 684s # Found file normal_file, relative to root: normal_file 684s # Found file normal_file-symlink, relative to root: normal_file-symlink 684s # Found file executable_file, relative to root: executable_file 684s # Found file private_file, relative to root: private_file 684s # Found file normal_file2, relative to root: normal_file2 684s # Found file readonly_file, relative to root: readonly_file 684s # Found file UTF_příliš z, relative to root: UTF_příliš z 684s # Found file dir_příliš z, relative to root: dir_příliš z 684s # Found file lost_symlink, relative to root: lost_symlink 684s # Found file dir_hidden, relative to root: dir_hidden 684s # Found file .a-hidden-file, relative to root: dir_hidden/.a-hidden-file 684s # Found file file-in-.hidden1, relative to root: dir_hidden/file-in-.hidden1 684s # Found file .hidden, relative to root: dir_hidden/.hidden 684s # Found file file-in-.hidden2, relative to root: dir_hidden/file-in-.hidden2 684s # Found file pattern_file, relative to root: pattern_file 684s ok 4 /live-g-file/test_traverse_structure 684s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_Z00XE3/live-g-file/test_enumerate/.dirs/home 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_Z00XE3/live-g-file/test_enumerate/.dirs/cache 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_Z00XE3/live-g-file/test_enumerate/.dirs/system-config1:/tmp/test_live-g-file_Z00XE3/live-g-file/test_enumerate/.dirs/system-config2 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_Z00XE3/live-g-file/test_enumerate/.dirs/config 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_Z00XE3/live-g-file/test_enumerate/.dirs/system-data1:/tmp/test_live-g-file_Z00XE3/live-g-file/test_enumerate/.dirs/system-data2 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_Z00XE3/live-g-file/test_enumerate/.dirs/data 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_Z00XE3/live-g-file/test_enumerate/.dirs/state 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_Z00XE3/live-g-file/test_enumerate/.dirs/runtime 684s # Test enumerate '/tmp/test_live-g-file_Z00XE3/testdir_live-g-file'... 684s # Testing file 'dir_no-access' 684s # Testing file 'normal_file' 684s # Testing file 'normal_file-symlink' 684s # Testing file 'not_exists' 684s # Testing file 'not_exists' 684s # Testing file 'not_exists2' 684s # Testing file 'not_exists3' 684s # Testing file 'not_exists4' 684s # Testing file 'dir_no-execute/file' 684s ok 5 /live-g-file/test_enumerate 684s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_Z00XE3/live-g-file/test_open/.dirs/home 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_Z00XE3/live-g-file/test_open/.dirs/cache 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_Z00XE3/live-g-file/test_open/.dirs/system-config1:/tmp/test_live-g-file_Z00XE3/live-g-file/test_open/.dirs/system-config2 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_Z00XE3/live-g-file/test_open/.dirs/config 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_Z00XE3/live-g-file/test_open/.dirs/system-data1:/tmp/test_live-g-file_Z00XE3/live-g-file/test_open/.dirs/system-data2 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_Z00XE3/live-g-file/test_open/.dirs/data 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_Z00XE3/live-g-file/test_open/.dirs/state 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_Z00XE3/live-g-file/test_open/.dirs/runtime 684s # test_open: 'dir1' 684s # test_open: 'dir_no-access' 684s # test_open: 'target-file' 684s # test_open: 'normal_file-symlink' 684s # test_open: 'executable_file' 684s # test_open: 'private_file' 684s # test_open: 'readonly_file' 684s # test_open: 'UTF_příliš z' 684s # test_open: 'pattern_file' 684s # test_open: 'not_exists' 684s # test_open: 'dir_no-execute/file' 684s # test_open: 'lost_symlink' 684s ok 6 /live-g-file/test_open 684s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_Z00XE3/live-g-file/test_create/.dirs/home 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_Z00XE3/live-g-file/test_create/.dirs/cache 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_Z00XE3/live-g-file/test_create/.dirs/system-config1:/tmp/test_live-g-file_Z00XE3/live-g-file/test_create/.dirs/system-config2 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_Z00XE3/live-g-file/test_create/.dirs/config 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_Z00XE3/live-g-file/test_create/.dirs/system-data1:/tmp/test_live-g-file_Z00XE3/live-g-file/test_create/.dirs/system-data2 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_Z00XE3/live-g-file/test_create/.dirs/data 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_Z00XE3/live-g-file/test_create/.dirs/state 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_Z00XE3/live-g-file/test_create/.dirs/runtime 684s # test_create: 'dir1' 684s # error code 3 = Error opening file “/tmp/test_live-g-file_Z00XE3/testdir_live-g-file/dir1”: Is a directory 684s # test_create: 'dir1/subdir' 684s # error code 3 = Error opening file “/tmp/test_live-g-file_Z00XE3/testdir_live-g-file/dir1/subdir”: Is a directory 684s # test_create: 'dir2' 684s # error code 2 = Error opening file “/tmp/test_live-g-file_Z00XE3/testdir_live-g-file/dir2”: File exists 684s # test_create: 'normal_file' 684s # error code 2 = Error opening file “/tmp/test_live-g-file_Z00XE3/testdir_live-g-file/normal_file”: File exists 684s # test_create: 'executable_file' 684s # test_create: 'private_file' 684s # test_create: 'normal_file2' 684s # test_create: 'UTF_příliš z' 684s # error code 2 = Error opening file “/tmp/test_live-g-file_Z00XE3/testdir_live-g-file/UTF_příliš z”: File exists 684s # test_create: 'dir_příliš z' 684s # error code 2 = Error opening file “/tmp/test_live-g-file_Z00XE3/testdir_live-g-file/dir_příliš z”: File exists 684s # test_create: 'pattern_file' 684s # test_create: 'not_exists2' 684s # test_create: 'not_exists3' 684s # test_create: 'not_exists4' 684s ok 7 /live-g-file/test_create 684s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_Z00XE3/live-g-file/test_copy_move/.dirs/home 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_Z00XE3/live-g-file/test_copy_move/.dirs/cache 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_Z00XE3/live-g-file/test_copy_move/.dirs/system-config1:/tmp/test_live-g-file_Z00XE3/live-g-file/test_copy_move/.dirs/system-config2 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_Z00XE3/live-g-file/test_copy_move/.dirs/config 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_Z00XE3/live-g-file/test_copy_move/.dirs/system-data1:/tmp/test_live-g-file_Z00XE3/live-g-file/test_copy_move/.dirs/system-data2 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_Z00XE3/live-g-file/test_copy_move/.dirs/data 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_Z00XE3/live-g-file/test_copy_move/.dirs/state 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_Z00XE3/live-g-file/test_copy_move/.dirs/runtime 684s # We do not have CAP_DAC_OVERRIDE or equivalent 684s # do_copy_move: 'dir1/subdir' --> 'dir-target' 684s # res = 0, error code 25 = Can’t recursively copy directory 684s # We do not have CAP_DAC_OVERRIDE or equivalent 684s # do_copy_move: 'dir1/subdir' --> '.' 684s # res = 0, error code 2 = Target file exists 684s # We do not have CAP_DAC_OVERRIDE or equivalent 684s # do_copy_move: 'dir1/subdir' --> 'target-file' 684s # res = 0, error code 4 = Error when getting information for file “/tmp/test_live-g-file_Z00XE3/testdir_live-g-file/target-file/dir1/subdir”: Not a directory 684s # We do not have CAP_DAC_OVERRIDE or equivalent 684s # do_copy_move: 'dir1/subdir' --> 'not_exists' 684s # res = 0, error code 25 = Can’t recursively copy directory 684s # We do not have CAP_DAC_OVERRIDE or equivalent 684s # do_copy_move: 'dir1/subdir' --> 'dir_no-access' 684s # res = 0, error code 25 = Can’t recursively copy directory 684s # We do not have CAP_DAC_OVERRIDE or equivalent 684s # do_copy_move: 'dir1/subdir' --> 'dir_no-write' 684s # res = 0, error code 25 = Can’t recursively copy directory 684s # We do not have CAP_DAC_OVERRIDE or equivalent 684s # do_copy_move: 'dir2' --> 'dir-target' 684s # We do not have CAP_DAC_OVERRIDE or equivalent 684s # do_copy_move: 'dir-target' --> 'dir-target' 684s # res = 0, error code 25 = Can’t recursively copy directory 684s # We do not have CAP_DAC_OVERRIDE or equivalent 684s # do_copy_move: 'dir-target' --> '.' 684s # res = 0, error code 2 = Target file exists 684s # We do not have CAP_DAC_OVERRIDE or equivalent 684s # do_copy_move: 'dir-target' --> 'target-file' 684s # res = 0, error code 4 = Error when getting information for file “/tmp/test_live-g-file_Z00XE3/testdir_live-g-file/target-file/dir-target”: Not a directory 684s # We do not have CAP_DAC_OVERRIDE or equivalent 684s # do_copy_move: 'dir-target' --> 'not_exists' 684s # res = 0, error code 25 = Can’t recursively copy directory 684s # We do not have CAP_DAC_OVERRIDE or equivalent 684s # do_copy_move: 'dir-target' --> 'dir_no-access' 684s # res = 0, error code 25 = Can’t recursively copy directory 684s # We do not have CAP_DAC_OVERRIDE or equivalent 684s # do_copy_move: 'dir-target' --> 'dir_no-write' 684s # res = 0, error code 25 = Can’t recursively copy directory 684s # We do not have CAP_DAC_OVERRIDE or equivalent 684s # do_copy_move: 'target-file' --> 'dir-target' 684s # We do not have CAP_DAC_OVERRIDE or equivalent 684s # do_copy_move: 'target-file' --> '.' 684s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_Z00XE3/testdir_live-g-file/target-file”: File exists 684s # We do not have CAP_DAC_OVERRIDE or equivalent 684s # do_copy_move: 'target-file' --> 'target-file' 684s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_Z00XE3/testdir_live-g-file/target-file/target-file”: Not a directory 684s # We do not have CAP_DAC_OVERRIDE or equivalent 684s # do_copy_move: 'target-file' --> 'not_exists' 684s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_Z00XE3/testdir_live-g-file/not_exists/target-file”: No such file or directory 684s # We do not have CAP_DAC_OVERRIDE or equivalent 684s # do_copy_move: 'target-file' --> 'dir_no-access' 684s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_Z00XE3/testdir_live-g-file/dir_no-access/target-file”: Permission denied 684s # We do not have CAP_DAC_OVERRIDE or equivalent 684s # do_copy_move: 'target-file' --> 'dir_no-write' 684s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_Z00XE3/testdir_live-g-file/dir_no-write/target-file”: Permission denied 684s # We do not have CAP_DAC_OVERRIDE or equivalent 684s # do_copy_move: 'normal_file-symlink' --> 'dir-target' 684s # We do not have CAP_DAC_OVERRIDE or equivalent 684s # do_copy_move: 'normal_file-symlink' --> '.' 684s # res = 0, error code 2 = Error making symbolic link /tmp/test_live-g-file_Z00XE3/testdir_live-g-file/normal_file-symlink: File exists 684s # We do not have CAP_DAC_OVERRIDE or equivalent 684s # do_copy_move: 'normal_file-symlink' --> 'target-file' 684s # res = 0, error code 4 = Error making symbolic link /tmp/test_live-g-file_Z00XE3/testdir_live-g-file/target-file/normal_file-symlink: Not a directory 684s # We do not have CAP_DAC_OVERRIDE or equivalent 684s # do_copy_move: 'normal_file-symlink' --> 'not_exists' 684s # res = 0, error code 1 = Error making symbolic link /tmp/test_live-g-file_Z00XE3/testdir_live-g-file/not_exists/normal_file-symlink: No such file or directory 684s # We do not have CAP_DAC_OVERRIDE or equivalent 684s # do_copy_move: 'normal_file-symlink' --> 'dir_no-access' 684s # res = 0, error code 14 = Error making symbolic link /tmp/test_live-g-file_Z00XE3/testdir_live-g-file/dir_no-access/normal_file-symlink: Permission denied 684s # We do not have CAP_DAC_OVERRIDE or equivalent 684s # do_copy_move: 'normal_file-symlink' --> 'dir_no-write' 684s # res = 0, error code 14 = Error making symbolic link /tmp/test_live-g-file_Z00XE3/testdir_live-g-file/dir_no-write/normal_file-symlink: Permission denied 684s # We do not have CAP_DAC_OVERRIDE or equivalent 684s # do_copy_move: 'executable_file' --> 'dir-target' 684s # We do not have CAP_DAC_OVERRIDE or equivalent 684s # do_copy_move: 'executable_file' --> 'dir-target' 684s # We do not have CAP_DAC_OVERRIDE or equivalent 684s # do_copy_move: 'executable_file' --> '.' 684s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_Z00XE3/testdir_live-g-file/executable_file”: File exists 684s # We do not have CAP_DAC_OVERRIDE or equivalent 684s # do_copy_move: 'executable_file' --> 'target-file' 684s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_Z00XE3/testdir_live-g-file/target-file/executable_file”: Not a directory 684s # We do not have CAP_DAC_OVERRIDE or equivalent 684s # do_copy_move: 'executable_file' --> 'not_exists' 684s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_Z00XE3/testdir_live-g-file/not_exists/executable_file”: No such file or directory 684s # We do not have CAP_DAC_OVERRIDE or equivalent 684s # do_copy_move: 'executable_file' --> 'dir_no-access' 684s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_Z00XE3/testdir_live-g-file/dir_no-access/executable_file”: Permission denied 684s # We do not have CAP_DAC_OVERRIDE or equivalent 684s # do_copy_move: 'executable_file' --> 'dir_no-write' 684s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_Z00XE3/testdir_live-g-file/dir_no-write/executable_file”: Permission denied 684s # We do not have CAP_DAC_OVERRIDE or equivalent 684s # do_copy_move: 'private_file' --> 'dir-target' 684s # We do not have CAP_DAC_OVERRIDE or equivalent 684s # do_copy_move: 'private_file' --> 'dir-target' 684s # We do not have CAP_DAC_OVERRIDE or equivalent 684s # do_copy_move: 'private_file' --> '.' 684s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_Z00XE3/testdir_live-g-file/private_file”: File exists 684s # We do not have CAP_DAC_OVERRIDE or equivalent 684s # do_copy_move: 'private_file' --> 'target-file' 684s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_Z00XE3/testdir_live-g-file/target-file/private_file”: Not a directory 684s # We do not have CAP_DAC_OVERRIDE or equivalent 684s # do_copy_move: 'private_file' --> 'not_exists' 684s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_Z00XE3/testdir_live-g-file/not_exists/private_file”: No such file or directory 684s # We do not have CAP_DAC_OVERRIDE or equivalent 684s # do_copy_move: 'private_file' --> 'dir_no-access' 684s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_Z00XE3/testdir_live-g-file/dir_no-access/private_file”: Permission denied 684s # We do not have CAP_DAC_OVERRIDE or equivalent 684s # do_copy_move: 'private_file' --> 'dir_no-write' 684s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_Z00XE3/testdir_live-g-file/dir_no-write/private_file”: Permission denied 684s # We do not have CAP_DAC_OVERRIDE or equivalent 684s # do_copy_move: 'normal_file2' --> 'dir-target' 684s # We do not have CAP_DAC_OVERRIDE or equivalent 684s # do_copy_move: 'normal_file2' --> 'dir-target' 684s # We do not have CAP_DAC_OVERRIDE or equivalent 684s # do_copy_move: 'normal_file2' --> '.' 684s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_Z00XE3/testdir_live-g-file/normal_file2”: File exists 684s # We do not have CAP_DAC_OVERRIDE or equivalent 684s # do_copy_move: 'normal_file2' --> 'target-file' 684s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_Z00XE3/testdir_live-g-file/target-file/normal_file2”: Not a directory 684s # We do not have CAP_DAC_OVERRIDE or equivalent 684s # do_copy_move: 'normal_file2' --> 'not_exists' 684s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_Z00XE3/testdir_live-g-file/not_exists/normal_file2”: No such file or directory 684s # We do not have CAP_DAC_OVERRIDE or equivalent 684s # do_copy_move: 'normal_file2' --> 'dir_no-access' 684s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_Z00XE3/testdir_live-g-file/dir_no-access/normal_file2”: Permission denied 684s # We do not have CAP_DAC_OVERRIDE or equivalent 684s # do_copy_move: 'normal_file2' --> 'dir_no-write' 684s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_Z00XE3/testdir_live-g-file/dir_no-write/normal_file2”: Permission denied 684s # We do not have CAP_DAC_OVERRIDE or equivalent 684s # do_copy_move: 'UTF_příliš z' --> 'dir-target' 684s # We do not have CAP_DAC_OVERRIDE or equivalent 684s # do_copy_move: 'UTF_příliš z' --> 'dir-target' 684s # We do not have CAP_DAC_OVERRIDE or equivalent 684s # do_copy_move: 'UTF_příliš z' --> '.' 684s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_Z00XE3/testdir_live-g-file/UTF_příliš z”: File exists 684s # We do not have CAP_DAC_OVERRIDE or equivalent 684s # do_copy_move: 'UTF_příliš z' --> 'target-file' 684s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_Z00XE3/testdir_live-g-file/target-file/UTF_příliš z”: Not a directory 684s # We do not have CAP_DAC_OVERRIDE or equivalent 684s # do_copy_move: 'UTF_příliš z' --> 'not_exists' 684s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_Z00XE3/testdir_live-g-file/not_exists/UTF_příliš z”: No such file or directory 684s # We do not have CAP_DAC_OVERRIDE or equivalent 684s # do_copy_move: 'UTF_příliš z' --> 'dir_no-access' 684s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_Z00XE3/testdir_live-g-file/dir_no-access/UTF_příliš z”: Permission denied 684s # We do not have CAP_DAC_OVERRIDE or equivalent 684s # do_copy_move: 'UTF_příliš z' --> 'dir_no-write' 684s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_Z00XE3/testdir_live-g-file/dir_no-write/UTF_příliš z”: Permission denied 684s # We do not have CAP_DAC_OVERRIDE or equivalent 684s # do_copy_move: 'pattern_file' --> 'dir-target' 684s # We do not have CAP_DAC_OVERRIDE or equivalent 684s # do_copy_move: 'pattern_file' --> '.' 684s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_Z00XE3/testdir_live-g-file/pattern_file”: File exists 684s # We do not have CAP_DAC_OVERRIDE or equivalent 684s # do_copy_move: 'pattern_file' --> 'target-file' 684s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_Z00XE3/testdir_live-g-file/target-file/pattern_file”: Not a directory 684s # We do not have CAP_DAC_OVERRIDE or equivalent 684s # do_copy_move: 'pattern_file' --> 'not_exists' 684s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_Z00XE3/testdir_live-g-file/not_exists/pattern_file”: No such file or directory 684s # We do not have CAP_DAC_OVERRIDE or equivalent 684s # do_copy_move: 'pattern_file' --> 'dir_no-access' 684s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_Z00XE3/testdir_live-g-file/dir_no-access/pattern_file”: Permission denied 684s # We do not have CAP_DAC_OVERRIDE or equivalent 684s # do_copy_move: 'pattern_file' --> 'dir_no-write' 684s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_Z00XE3/testdir_live-g-file/dir_no-write/pattern_file”: Permission denied 684s # We do not have CAP_DAC_OVERRIDE or equivalent 684s # do_copy_move: 'not_exists' --> 'dir-target' 684s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_Z00XE3/testdir_live-g-file/not_exists”: No such file or directory 684s # We do not have CAP_DAC_OVERRIDE or equivalent 684s # do_copy_move: 'not_exists' --> '.' 684s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_Z00XE3/testdir_live-g-file/not_exists”: No such file or directory 684s # We do not have CAP_DAC_OVERRIDE or equivalent 684s # do_copy_move: 'not_exists' --> 'target-file' 684s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_Z00XE3/testdir_live-g-file/not_exists”: No such file or directory 684s # We do not have CAP_DAC_OVERRIDE or equivalent 684s # do_copy_move: 'not_exists' --> 'not_exists' 684s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_Z00XE3/testdir_live-g-file/not_exists”: No such file or directory 684s # We do not have CAP_DAC_OVERRIDE or equivalent 684s # do_copy_move: 'not_exists' --> 'dir_no-access' 684s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_Z00XE3/testdir_live-g-file/not_exists”: No such file or directory 684s # We do not have CAP_DAC_OVERRIDE or equivalent 684s # do_copy_move: 'not_exists' --> 'dir_no-write' 684s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_Z00XE3/testdir_live-g-file/not_exists”: No such file or directory 684s # We do not have CAP_DAC_OVERRIDE or equivalent 684s # do_copy_move: 'not_exists' --> 'dir-target' 684s # res = 0, error code 1 = Error moving file /tmp/test_live-g-file_Z00XE3/testdir_live-g-file/not_exists: No such file or directory 684s # We do not have CAP_DAC_OVERRIDE or equivalent 684s # do_copy_move: 'lost_symlink' --> 'dir-target' 684s # We do not have CAP_DAC_OVERRIDE or equivalent 684s # do_copy_move: 'lost_symlink' --> '.' 684s # res = 0, error code 2 = Error making symbolic link /tmp/test_live-g-file_Z00XE3/testdir_live-g-file/lost_symlink: File exists 684s # We do not have CAP_DAC_OVERRIDE or equivalent 684s # do_copy_move: 'lost_symlink' --> 'target-file' 684s # res = 0, error code 4 = Error making symbolic link /tmp/test_live-g-file_Z00XE3/testdir_live-g-file/target-file/lost_symlink: Not a directory 684s # We do not have CAP_DAC_OVERRIDE or equivalent 684s # do_copy_move: 'lost_symlink' --> 'not_exists' 684s # res = 0, error code 1 = Error making symbolic link /tmp/test_live-g-file_Z00XE3/testdir_live-g-file/not_exists/lost_symlink: No such file or directory 684s # We do not have CAP_DAC_OVERRIDE or equivalent 684s # do_copy_move: 'lost_symlink' --> 'dir_no-access' 684s # res = 0, error code 14 = Error making symbolic link /tmp/test_live-g-file_Z00XE3/testdir_live-g-file/dir_no-access/lost_symlink: Permission denied 684s # We do not have CAP_DAC_OVERRIDE or equivalent 684s # do_copy_move: 'lost_symlink' --> 'dir_no-write' 684s # res = 0, error code 14 = Error making symbolic link /tmp/test_live-g-file_Z00XE3/testdir_live-g-file/dir_no-write/lost_symlink: Permission denied 684s ok 8 /live-g-file/test_copy_move 684s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_Z00XE3/live-g-file/test_delete/.dirs/home 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_Z00XE3/live-g-file/test_delete/.dirs/cache 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_Z00XE3/live-g-file/test_delete/.dirs/system-config1:/tmp/test_live-g-file_Z00XE3/live-g-file/test_delete/.dirs/system-config2 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_Z00XE3/live-g-file/test_delete/.dirs/config 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_Z00XE3/live-g-file/test_delete/.dirs/system-data1:/tmp/test_live-g-file_Z00XE3/live-g-file/test_delete/.dirs/system-data2 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_Z00XE3/live-g-file/test_delete/.dirs/data 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_Z00XE3/live-g-file/test_delete/.dirs/state 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_Z00XE3/live-g-file/test_delete/.dirs/runtime 684s # Deleting dir1, path = /tmp/test_live-g-file_Z00XE3/testdir_live-g-file/dir1 684s # result = 0, error = Error removing file /tmp/test_live-g-file_Z00XE3/testdir_live-g-file/dir1: Directory not empty 684s # Deleting dir2, path = /tmp/test_live-g-file_Z00XE3/testdir_live-g-file/dir2 684s # result = 0, error = Error removing file /tmp/test_live-g-file_Z00XE3/testdir_live-g-file/dir2: No such file or directory 684s # Deleting executable_file, path = /tmp/test_live-g-file_Z00XE3/testdir_live-g-file/executable_file 684s # result = 0, error = Error trashing file /tmp/test_live-g-file_Z00XE3/testdir_live-g-file/executable_file: No such file or directory 684s # Deleting readonly_file, path = /tmp/test_live-g-file_Z00XE3/testdir_live-g-file/readonly_file 684s # Deleting dir_příliš z, path = /tmp/test_live-g-file_Z00XE3/testdir_live-g-file/dir_příliš z 684s # Deleting not_exists, path = /tmp/test_live-g-file_Z00XE3/testdir_live-g-file/not_exists 684s # result = 0, error = Error removing file /tmp/test_live-g-file_Z00XE3/testdir_live-g-file/not_exists: No such file or directory 684s # Deleting not_exists, path = /tmp/test_live-g-file_Z00XE3/testdir_live-g-file/not_exists 684s # result = 0, error = Error trashing file /tmp/test_live-g-file_Z00XE3/testdir_live-g-file/not_exists: No such file or directory 684s # Deleting dir_no-execute/file, path = /tmp/test_live-g-file_Z00XE3/testdir_live-g-file/dir_no-execute/file 684s # result = 0, error = Error removing file /tmp/test_live-g-file_Z00XE3/testdir_live-g-file/dir_no-execute/file: No such file or directory 684s # Deleting lost_symlink, path = /tmp/test_live-g-file_Z00XE3/testdir_live-g-file/lost_symlink 684s ok 9 /live-g-file/test_delete 684s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_Z00XE3/live-g-file/test_make_directory_with_parents/.dirs/home 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_Z00XE3/live-g-file/test_make_directory_with_parents/.dirs/cache 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_Z00XE3/live-g-file/test_make_directory_with_parents/.dirs/system-config1:/tmp/test_live-g-file_Z00XE3/live-g-file/test_make_directory_with_parents/.dirs/system-config2 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_Z00XE3/live-g-file/test_make_directory_with_parents/.dirs/config 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_Z00XE3/live-g-file/test_make_directory_with_parents/.dirs/system-data1:/tmp/test_live-g-file_Z00XE3/live-g-file/test_make_directory_with_parents/.dirs/system-data2 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_Z00XE3/live-g-file/test_make_directory_with_parents/.dirs/data 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_Z00XE3/live-g-file/test_make_directory_with_parents/.dirs/state 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_Z00XE3/live-g-file/test_make_directory_with_parents/.dirs/runtime 684s # We do not have CAP_DAC_OVERRIDE or equivalent 684s ok 10 /live-g-file/test_make_directory_with_parents 684s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_Z00XE3/live-g-file/final_clean/.dirs/home 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_Z00XE3/live-g-file/final_clean/.dirs/cache 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_Z00XE3/live-g-file/final_clean/.dirs/system-config1:/tmp/test_live-g-file_Z00XE3/live-g-file/final_clean/.dirs/system-config2 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_Z00XE3/live-g-file/final_clean/.dirs/config 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_Z00XE3/live-g-file/final_clean/.dirs/system-data1:/tmp/test_live-g-file_Z00XE3/live-g-file/final_clean/.dirs/system-data2 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_Z00XE3/live-g-file/final_clean/.dirs/data 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_Z00XE3/live-g-file/final_clean/.dirs/state 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_Z00XE3/live-g-file/final_clean/.dirs/runtime 684s # Cleaning target testing structure in '/tmp/test_live-g-file_Z00XE3/testdir_live-g-file'... 684s # deleting 'dir1' 684s # deleting 'subdir' 684s # deleting 'dir-target' 684s # deleting 'dir2' 684s # deleting 'target-file' 684s # deleting 'normal_file-symlink' 684s # deleting 'pattern_file' 684s # deleting 'executable_file' 684s # deleting 'private_file' 684s # deleting 'normal_file2' 684s # deleting 'UTF_příliš z' 684s # deleting 'lost_symlink' 684s # deleting 'dir_no-access' 684s # deleting 'dir_no-write' 684s # deleting 'target-file' 684s # deleting 'normal_file' 684s # deleting 'normal_file-symlink' 684s # deleting 'executable_file~' 684s # deleting 'private_file' 684s # deleting 'normal_file2~' 684s # deleting 'a' 684s # deleting 'UTF_příliš z' 684s # deleting 'dir_hidden' 684s # deleting '.a-hidden-file' 684s # deleting 'file-in-.hidden1' 684s # deleting '.hidden' 684s # deleting 'file-in-.hidden2' 684s # deleting 'pattern_file' 684s # deleting 'executable_file' 684s # deleting 'normal_file2' 684s # deleting 'not_exists2' 684s # deleting 'not_exists3' 684s # deleting 'not_exists4' 684s ok 11 /live-g-file/final_clean 684s # Start of test_unix_is_mountpoint tests 684s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_Z00XE3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/home 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_Z00XE3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/cache 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_Z00XE3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/system-config1:/tmp/test_live-g-file_Z00XE3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/system-config2 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_Z00XE3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/config 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_Z00XE3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/system-data1:/tmp/test_live-g-file_Z00XE3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/system-data2 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_Z00XE3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/data 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_Z00XE3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/state 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_Z00XE3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/runtime 684s ok 12 /live-g-file/test_unix_is_mountpoint/sysroot 684s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_Z00XE3/live-g-file/test_unix_is_mountpoint/proc/.dirs/home 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_Z00XE3/live-g-file/test_unix_is_mountpoint/proc/.dirs/cache 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_Z00XE3/live-g-file/test_unix_is_mountpoint/proc/.dirs/system-config1:/tmp/test_live-g-file_Z00XE3/live-g-file/test_unix_is_mountpoint/proc/.dirs/system-config2 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_Z00XE3/live-g-file/test_unix_is_mountpoint/proc/.dirs/config 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_Z00XE3/live-g-file/test_unix_is_mountpoint/proc/.dirs/system-data1:/tmp/test_live-g-file_Z00XE3/live-g-file/test_unix_is_mountpoint/proc/.dirs/system-data2 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_Z00XE3/live-g-file/test_unix_is_mountpoint/proc/.dirs/data 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_Z00XE3/live-g-file/test_unix_is_mountpoint/proc/.dirs/state 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_Z00XE3/live-g-file/test_unix_is_mountpoint/proc/.dirs/runtime 684s ok 13 /live-g-file/test_unix_is_mountpoint/proc 684s # End of test_unix_is_mountpoint tests 684s # End of live-g-file tests 684s TAP version 14 684s # random seed: R02S096faed31b08830670bcf8f4948834cf 684s 1..17 684s # Start of thread tests 684s ok 1 /thread/mutex1 684s ok 2 /thread/mutex2 684s ok 3 /thread/mutex3 684s ok 4 /thread/mutex4 684s ok - glib/live-g-file.test 684s # Running test: glib/mutex.test 688s # Executing: glib/mutex.test 689s ok 5 /thread/mutex5 689s # slow test /thread/mutex5 executed in 4.49 secs 689s # Start of mutex tests 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s # /thread/mutex/errno summary: Validates that errno is not touched upon return 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 689s ok 6 /thread/mutex/errno 689s # slow test /thread/mutex/errno executed in 0.52 secs 689s # Start of perf tests 689s # max perf: 1.000000 mips 689s ok 7 /thread/mutex/perf/uncontended 689s # Start of contended tests 689s # max perf: inf mips 689s ok 8 /thread/mutex/perf/contended/1 689s # max perf: 3.000000 mips 689s ok 9 /thread/mutex/perf/contended/2 689s # max perf: 0.051948 mips 689s ok 10 /thread/mutex/perf/contended/3 689s # max perf: 0.059524 mips 689s ok 11 /thread/mutex/perf/contended/4 689s # max perf: inf mips 689s ok 12 /thread/mutex/perf/contended/5 689s ok - glib/mutex.test 689s # Running test: glib/shell.test 689s ok - glib/shell.test 689s # Running test: glib/properties-refcount1.test 689s # max perf: 1.750000 mips 689s ok 13 /thread/mutex/perf/contended/6 689s # max perf: 4.000000 mips 689s ok 14 /thread/mutex/perf/contended/7 689s # max perf: 2.250000 mips 689s ok 15 /thread/mutex/perf/contended/8 689s # max perf: 2.500000 mips 689s ok 16 /thread/mutex/perf/contended/9 689s # max perf: 2.750000 mips 689s ok 17 /thread/mutex/perf/contended/10 689s # End of contended tests 689s # End of perf tests 689s # End of mutex tests 689s # End of thread tests 689s TAP version 14 689s # random seed: R02Sbc3ca5a3125ae455d78a71456200aa1d 689s 1..52 689s # Start of shell tests 689s # Start of cmdline tests 689s test cmdline: foo bar 689s ok 1 /shell/cmdline/0 689s test cmdline: foo 'bar' 689s ok 2 /shell/cmdline/1 689s test cmdline: foo "bar" 689s ok 3 /shell/cmdline/2 689s test cmdline: foo '' 'bar' 689s ok 4 /shell/cmdline/3 689s test cmdline: foo "bar"'baz'blah'foo'\''blah'"boo" 689s ok 5 /shell/cmdline/4 689s test cmdline: foo blah foo bar baz 689s ok 6 /shell/cmdline/5 689s test cmdline: foo ' spaces more spaces lots of spaces in this ' 689s ok 7 /shell/cmdline/6 689s test cmdline: foo \ 689s bar 689s ok 8 /shell/cmdline/7 689s test cmdline: foo '' '' 689s ok 9 /shell/cmdline/8 689s test cmdline: foo \" la la la 689s ok 10 /shell/cmdline/9 689s test cmdline: foo \ foo woo woo\ 689s ok 11 /shell/cmdline/10 689s test cmdline: foo "yada yada \$\"" 689s ok 12 /shell/cmdline/11 689s test cmdline: foo "c:\\" 689s ok 13 /shell/cmdline/12 689s test cmdline: foo # bla bla bla 689s bar 689s ok 14 /shell/cmdline/13 689s test cmdline: foo a#b 689s ok 15 /shell/cmdline/14 689s test cmdline: #foo 689s ok 16 /shell/cmdline/15 689s test cmdline: foo bar \ 689s ok 17 /shell/cmdline/16 689s test cmdline: foo 'bar baz 689s ok 18 /shell/cmdline/17 689s test cmdline: foo '"bar" baz 689s ok 19 /shell/cmdline/18 689s test cmdline: 689s ok 20 /shell/cmdline/19 689s test cmdline: 689s ok 21 /shell/cmdline/20 689s test cmdline: # foo bar 689s ok 22 /shell/cmdline/21 689s test cmdline: # 689s ok 23 /shell/cmdline/22 689s test cmdline: foo '/bar/summer'\''09 tours.pdf' 689s ok 24 /shell/cmdline/23 689s # End of cmdline tests 689s # Start of quote tests 689s ok 25 /shell/quote/0 689s ok 26 /shell/quote/1 689s ok 27 /shell/quote/2 689s ok 28 /shell/quote/3 689s ok 29 /shell/quote/4 689s ok 30 /shell/quote/5 689s ok 31 /shell/quote/6 689s # End of quote tests 689s # Start of unquote tests 689s ok 32 /shell/unquote/0 689s ok 33 /shell/unquote/1 689s ok 34 /shell/unquote/2 689s ok 35 /shell/unquote/3 689s ok 36 /shell/unquote/4 689s ok 37 /shell/unquote/5 689s ok 38 /shell/unquote/6 689s ok 39 /shell/unquote/7 689s ok 40 /shell/unquote/8 689s ok 41 /shell/unquote/9 689s ok 42 /shell/unquote/10 689s ok 43 /shell/unquote/11 689s ok 44 /shell/unquote/12 689s ok 45 /shell/unquote/13 689s ok 46 /shell/unquote/14 689s ok 47 /shell/unquote/15 689s ok 48 /shell/unquote/16 689s ok 49 /shell/unquote/17 689s ok 50 /shell/unquote/18 689s ok 51 /shell/unquote/19 689s ok 52 /shell/unquote/20 689s # End of unquote tests 689s # End of shell tests 689s TAP version 14 689s # random seed: R02Sc576189fa08fba734ff497b6718f4cf1 689s 1..1 689s # Start of gobject tests 689s # Start of refcount tests 689s # .b 689s # .f 689s # .e 689s # .c 689s # .d 689s # .b 689s # .f 689s # .e 689s # .d 690s # .c 690s # .b 690s # .f 690s # .e 690s # .d 690s # .c 690s # .b 690s # .f 690s # .e 690s # .d 690s # .c 690s # .b 690s # .f 690s # .d 690s # .e 690s # .b 690s # .c 690s # .d 690s # .f 690s # .e 690s # .b 690s # .d 690s # .f 690s # .c 690s # .e 690s # .b 690s # .d 690s # .f 690s # .e 690s # .c 690s # .b 690s # .d 690s # .f 690s # .e 690s # .c 690s # .b 690s # .d 690s # .e 690s # .f 690s # .c 691s # .b 691s # .f 691s # .d 691s # .e 691s # .c 691s # .b 691s # .f 691s # .d 691s # .e 691s # .c 691s # .b 691s # .f 691s # .d 691s # .e 691s # .c 691s # .f 691s # .d 691s # .b 691s # .e 691s # .c 691s # .d 691s # .f 691s # .b 691s # .e 691s # .f 691s # .c 691s # .d 691s # .b 691s # .e 691s # .f 691s # .c 691s # .d 691s # .b 691s # .f 691s # .e 691s # .c 691s # .d 691s # .b 691s # .f 691s # .e 691s # .c 691s # .d 692s # .b 692s # .e 692s # .d 692s # .f 692s # .c 692s # .b 692s # .e 692s # .f 692s # .d 692s # .c 692s # .b 692s # .e 692s # .f 692s # .d 692s # .b 692s # .c 692s # .e 692s # .f 692s # .d 692s # .b 692s # .c 692s # .e 692s # .b 692s # .f 692s # .d 692s # .e 692s # .c 692s # .b 692s ok - glib/properties-refcount1.test 692s # Running test: glib/string.test 692s # .f 692s ok 1 /gobject/refcount/properties-1 692s # slow test /gobject/refcount/properties-1 executed in 3.00 secs 692s # End of refcount tests 692s # End of gobject tests 692s ok - glib/string.test 692s TAP version 14 692s # random seed: R02Sb01e0d0cb0744470d4ca07c4965bbe85 692s 1..25 692s # Start of string tests 692s ok 1 /string/chunks 692s ok 2 /string/chunk-insert 692s ok 3 /string/new 692s ok 4 /string/printf 692s ok 5 /string/assign 692s ok 6 /string/append-c 692s ok 7 /string/append 692s ok 8 /string/append-vprintf 692s ok 9 /string/prepend-c 692s ok 10 /string/prepend 692s ok 11 /string/insert 692s ok 12 /string/insert-unichar 692s ok 13 /string/equal 692s ok 14 /string/truncate 692s ok 15 /string/overwrite 692s ok 16 /string/nul-handling 692s ok 17 /string/up-down 692s ok 18 /string/set-size 692s ok 19 /string/to-bytes 692s # 0: Replacing "bar" with "baz" (limit 0) in "foo bar foo baz foo bar foobarbaz" 692s # -> 3 replacements, "foo baz foo baz foo baz foobazbaz" 692s # 1: Replacing "baz" with "bar" (limit 3) in "foo baz foo baz foo baz foobazbaz" 692s # -> 3 replacements, "foo bar foo bar foo bar foobazbaz" 692s # 2: Replacing "foobar" with "bar" (limit 1) in "foo bar foo bar foo bar foobazbaz" 692s # -> 0 replacements, "foo bar foo bar foo bar foobazbaz" 692s # 3: Replacing "a" with "abcdefghijkl" (limit 0) in "aaaaaaaa" 692s # -> 8 replacements, "abcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijkl" 692s # 4: Replacing "$LIB" with "lib32" (limit 0) in "/usr/$LIB/libMangoHud.so" 692s # -> 1 replacements, "/usr/lib32/libMangoHud.so" 692s # 5: Replacing "o" with "" (limit 0) in "food for foals" 692s # -> 4 replacements, "fd fr fals" 692s # 6: Replacing "a" with "aaa" (limit 0) in "aaa" 692s # -> 3 replacements, "aaaaaaaaa" 692s # 7: Replacing "a" with "" (limit 0) in "aaa" 692s # -> 3 replacements, "" 692s # 8: Replacing "aa" with "bb" (limit 0) in "aaa" 692s # -> 1 replacements, "bba" 692s # 9: Replacing "" with "bar" (limit 0) in "foo" 692s # -> 4 replacements, "barfbarobarobar" 692s # 10: Replacing "" with "bar" (limit 1) in "foo" 692s # -> 1 replacements, "barfoo" 692s # 11: Replacing "" with "bar" (limit 2) in "foo" 692s # -> 2 replacements, "barfbaroo" 692s # 12: Replacing "" with "bar" (limit 3) in "foo" 692s # -> 3 replacements, "barfbarobaro" 692s # 13: Replacing "" with "bar" (limit 4) in "foo" 692s # -> 4 replacements, "barfbarobarobar" 692s # 14: Replacing "" with "bar" (limit 5) in "foo" 692s # -> 4 replacements, "barfbarobarobar" 692s # 15: Replacing "" with "x" (limit 0) in "" 692s # -> 1 replacements, "x" 692s # 16: Replacing "" with "" (limit 0) in "" 692s # -> 1 replacements, "" 692s # 17: Replacing "" with "aaaaaaaaaaaa" (limit 0) in "bbbbbbbbb" 692s # -> 10 replacements, "aaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaa" 692s ok 20 /string/replace 692s ok 21 /string/steal 692s ok 22 /string/new-take 692s ok 23 /string/copy 692s ok 24 /string/sized-new 692s # Start of new-take tests 692s ok 25 /string/new-take/null 692s # End of new-take tests 692s # End of string tests 692s # Running test: glib/testfilemonitor.test 692s ok - glib/testfilemonitor.test 692s # Running test: glib/rand.test 692s TAP version 14 692s # random seed: R02S32cfdf7478e293c3057833a23826d51d 692s 1..8 692s # Start of monitor tests 692s ok 1 /monitor/atomic-replace # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 692s ok 2 /monitor/file-changes # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 692s ok 3 /monitor/dir-monitor # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 692s ok 4 /monitor/dir-not-existent # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 692s ok 5 /monitor/cross-dir-moves # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 692s ok 6 /monitor/finalize-in-callback # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 692s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 692s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 692s ok 7 /monitor/root # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 692s # Start of file tests 692s ok 8 /monitor/file/hard-links # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 692s # End of file tests 692s # End of monitor tests 692s TAP version 14 692s # random seed: R02Scdf566be4477fbcf16cd82be5b8f43a9 692s 1..2 692s # Start of rand tests 692s ok - glib/rand.test 692s # Running test: glib/thumbnail-verification.test 692s ok - glib/thumbnail-verification.test 692s # Running test: glib/list.test 692s ok - glib/list.test 692s # Running test: glib/hostutils.test 692s ok - glib/hostutils.test 692s # Running test: glib/cxx-11.test 692s ok - glib/cxx-11.test 692s # Running test: glib/rcbox.test 692s ok - glib/rcbox.test 692s # Running test: glib/cxx-2b.test 692s ok - glib/cxx-2b.test 692s # Running test: glib/thread-deprecated.test 692s ok 1 /rand/test-rand 692s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=502560 692s ok 2 /rand/double-range 692s # End of rand tests 692s TAP version 14 692s # random seed: R02S6f272384966d0ad4522c9e44929db59d 692s 1..1 692s # Start of png-thumbs tests 692s ok 1 /png-thumbs/validity 692s # End of png-thumbs tests 692s TAP version 14 692s # random seed: R02S347a2434ca0ab011e427d36f48ebfe18 692s 1..20 692s # Start of list tests 692s ok 1 /list/sort 692s ok 2 /list/sort-with-data 692s ok 3 /list/insert-before-link 692s ok 4 /list/insert-sorted 692s ok 5 /list/insert-sorted-with-data 692s ok 6 /list/reverse 692s ok 7 /list/nth 692s ok 8 /list/concat 692s ok 9 /list/remove 692s ok 10 /list/remove-all 692s ok 11 /list/first-last 692s ok 12 /list/insert 692s ok 13 /list/free-full 692s ok 14 /list/copy 692s ok 15 /list/copy-deep 692s ok 16 /list/delete-link 692s ok 17 /list/prepend 692s ok 18 /list/position 692s ok 19 /list/double-free 692s # Start of sort tests 692s ok 20 /list/sort/stable 692s # End of sort tests 692s # End of list tests 692s TAP version 14 692s # random seed: R02S03d994709ad50f6e29e98f80c886be6e 692s 1..3 692s # Start of hostutils tests 692s ok 1 /hostutils/to_ascii 692s ok 2 /hostutils/to_unicode 692s ok 3 /hostutils/is_ip_addr 692s # End of hostutils tests 692s TAP version 14 692s # random seed: R02S5216f13cda1aae3474fe6372717d433f 692s 1..2 692s # Start of gtask tests 692s # 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. 692s ok 1 /gtask/name 692s # Start of name tests 692s # 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. 692s ok 2 /gtask/name/macro-wrapper 692s # End of name tests 692s # End of gtask tests 692s TAP version 14 692s # random seed: R02S42f0f2918cc3cf0cedc6a1455ecec741 692s 1..8 692s # Start of rcbox tests 692s ok 1 /rcbox/new 692s # global_point = 0xb15834c8710 692s ok 2 /rcbox/release-full 692s # global_point_a = 0xb15834c8710 692s # global_point_b = 0xb15834c87e0 692s ok 3 /rcbox/dup 692s ok 4 /rcbox/alignment 692s # End of rcbox tests 692s # Start of atomic-rcbox tests 692s ok 5 /atomic-rcbox/new 692s # global_point = 0xb15834c87e0 692s ok 6 /atomic-rcbox/release-full 692s # global_point_a = 0xb15834c87e0 692s # global_point_b = 0xb15834c8710 692s ok 7 /atomic-rcbox/dup 692s ok 8 /atomic-rcbox/alignment 692s # End of atomic-rcbox tests 692s TAP version 14 692s # random seed: R02S31facf74785bbe98e22eb17a54e01b8d 692s 1..2 692s # Start of gtask tests 692s # 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. 692s ok 1 /gtask/name 692s # Start of name tests 692s # 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. 692s ok 2 /gtask/name/macro-wrapper 692s # End of name tests 692s # End of gtask tests 692s TAP version 14 692s # random seed: R02Sbe7f3a3cd15d56bd5fdfd8c3f2503754 692s 1..6 692s # Start of thread tests 693s ok 1 /thread/mutex 693s # Executing: glib/thread-deprecated.test 693s ok 2 /thread/static-rec-mutex 697s ok 3 /thread/static-private 697s # slow test /thread/static-private executed in 4.41 secs 698s # Executing: glib/thread-deprecated.test 702s ok 4 /thread/static-rw-lock 702s # slow test /thread/static-rw-lock executed in 5.00 secs 702s ok 5 /thread/once 703s # Executing: glib/thread-deprecated.test 708s # Executing: glib/thread-deprecated.test 712s ok - glib/thread-deprecated.test 712s ok 6 /thread/rerun-all 712s # slow test /thread/rerun-all executed in 9.83 secs 712s # End of thread tests 712s # Running test: glib/gdbus-proxy-threads.test 712s TAP version 14 712s # random seed: R02S7ae55f174d31fc2a3f358a7585b43f15 712s 1..1 712s # Start of gdbus tests 712s # Start of proxy tests 712s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-threads_PPPVE3/gdbus/proxy/vs-threads/.dirs/home 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-threads_PPPVE3/gdbus/proxy/vs-threads/.dirs/cache 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-threads_PPPVE3/gdbus/proxy/vs-threads/.dirs/system-config1:/tmp/test_gdbus-proxy-threads_PPPVE3/gdbus/proxy/vs-threads/.dirs/system-config2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-threads_PPPVE3/gdbus/proxy/vs-threads/.dirs/config 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-threads_PPPVE3/gdbus/proxy/vs-threads/.dirs/system-data1:/tmp/test_gdbus-proxy-threads_PPPVE3/gdbus/proxy/vs-threads/.dirs/system-data2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-threads_PPPVE3/gdbus/proxy/vs-threads/.dirs/data 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-threads_PPPVE3/gdbus/proxy/vs-threads/.dirs/state 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-threads_PPPVE3/gdbus/proxy/vs-threads/.dirs/runtime 713s # Executing: glib/gdbus-proxy-threads.test 714s ok - glib/gdbus-proxy-threads.test 714s # Running test: glib/buffered-output-stream.test 714s ok 1 /gdbus/proxy/vs-threads 714s # slow test /gdbus/proxy/vs-threads executed in 2.17 secs 714s # End of proxy tests 714s # End of gdbus tests 714s cleaning up pid 8566 714s TAP version 14 714s # random seed: R02S2e4bc4b56d7bd591a81b786af8ff77a8 714s 1..5 714s # Start of buffered-output-stream tests 714s ok 1 /buffered-output-stream/write 714s ok - glib/buffered-output-stream.test 714s # Running test: glib/type.test 714s ok - glib/type.test 714s # Running test: glib/gnotification.test 714s ok - glib/gnotification.test 714s # Running test: glib/network-address.test 714s ok 2 /buffered-output-stream/grow 714s ok 3 /buffered-output-stream/seek 714s ok 4 /buffered-output-stream/truncate 714s # End of buffered-output-stream tests 714s # Start of filter-output-stream tests 714s ok 5 /filter-output-stream/close 714s # End of filter-output-stream tests 714s TAP version 14 714s # random seed: R02S9ae50a50ebda6c0f1a4452f092705468 714s 1..6 714s # Start of type tests 714s ok 1 /type/registration-serial 714s ok 2 /type/interface-prerequisite 714s ok 3 /type/interface-check 714s ok 4 /type/next-base 714s ok 5 /type/is-a 714s # Invalid types can’t be queried. 714s # Unclassed types can’t be queried. 714s ok 6 /type/query 714s # End of type tests 714s TAP version 14 714s # random seed: R02Sa5d06a5f624aaabdcaf54e7220fe6c4d 714s 1..2 714s # Start of gnotification tests 714s ok 1 /gnotification/basic 714s ok 2 /gnotification/properties 714s # End of gnotification tests 714s TAP version 14 714s # random seed: R02S307457753f67bb8c44f71841a684d516 714s 1..72 714s # Start of network-address tests 714s ok 1 /network-address/basic 714s ok 2 /network-address/scope-id 714s ok 3 /network-address/uri-scope-id 714s ok 4 /network-address/to-string 714s # Start of parse-host tests 714s ok 5 /network-address/parse-host/0 714s ok 6 /network-address/parse-host/1 714s ok 7 /network-address/parse-host/2 714s ok 8 /network-address/parse-host/3 714s ok 9 /network-address/parse-host/4 714s ok 10 /network-address/parse-host/5 714s ok 11 /network-address/parse-host/6 714s ok 12 /network-address/parse-host/7 714s ok 13 /network-address/parse-host/8 714s ok 14 /network-address/parse-host/9 714s ok 15 /network-address/parse-host/10 714s ok 16 /network-address/parse-host/11 714s ok 17 /network-address/parse-host/12 714s ok 18 /network-address/parse-host/13 714s # End of parse-host tests 714s # Start of parse-uri tests 714s ok 19 /network-address/parse-uri/0 714s ok 20 /network-address/parse-uri/1 714s ok 21 /network-address/parse-uri/2 714s ok 22 /network-address/parse-uri/3 714s ok 23 /network-address/parse-uri/4 714s ok 24 /network-address/parse-uri/5 714s ok 25 /network-address/parse-uri/6 714s ok 26 /network-address/parse-uri/7 714s ok 27 /network-address/parse-uri/8 714s ok 28 /network-address/parse-uri/9 714s # End of parse-uri tests 714s # Start of resolve-address tests 714s # Input: 192.168.1.2 714s ok 29 /network-address/resolve-address/0 714s # Input: fe80::42 714s ok 30 /network-address/resolve-address/1 714s # Input: 192.168.1.2:80 714s ok 31 /network-address/resolve-address/2 714s # Input: [fe80::42] 714s ok 32 /network-address/resolve-address/3 714s # Input: [fe80::42]:80 714s ok 33 /network-address/resolve-address/4 714s # Input: 192.168.258 714s ok 34 /network-address/resolve-address/5 714s # Input: 192.11010306 714s ok 35 /network-address/resolve-address/6 714s # Input: 3232235778 714s ok 36 /network-address/resolve-address/7 714s # Input: 0300.0250.0001.0001 714s ok 37 /network-address/resolve-address/8 714s # Input: 0xC0.0xA8.0x01.0x02 714s ok 38 /network-address/resolve-address/9 714s # Input: 0xc0.0xa8.0x01.0x02 714s ok 39 /network-address/resolve-address/10 714s # Input: 0xc0a80102 714s ok 40 /network-address/resolve-address/11 714s # End of resolve-address tests 714s # Start of loopback tests 714s ok 41 /network-address/loopback/basic 714s ok 42 /network-address/loopback/sync 714s ok 43 /network-address/loopback/async 714s # End of loopback tests 714s # Start of localhost tests 714s ok 44 /network-address/localhost/async 714s ok 45 /network-address/localhost/sync 714s # End of localhost tests 714s # Start of happy-eyeballs tests 714s ok 46 /network-address/happy-eyeballs/basic 715s ok 47 /network-address/happy-eyeballs/parallel 715s ok 48 /network-address/happy-eyeballs/slow-ipv4 715s ok 49 /network-address/happy-eyeballs/slow-ipv6 715s ok 50 /network-address/happy-eyeballs/very-slow-ipv6 716s ok 51 /network-address/happy-eyeballs/slow-connection-and-ipv4 716s # slow test /network-address/happy-eyeballs/slow-connection-and-ipv4 executed in 0.80 secs 716s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 716s ok 52 /network-address/happy-eyeballs/ipv6-error-ipv4-first 716s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 716s ok 53 /network-address/happy-eyeballs/ipv6-error-ipv6-first 716s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/865 716s # /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. 716s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 716s ok 54 /network-address/happy-eyeballs/ipv6-error-ipv4-very-slow 716s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 716s ok 55 /network-address/happy-eyeballs/ipv4-error-ipv6-first 716s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 716s ok 56 /network-address/happy-eyeballs/ipv4-error-ipv4-first 716s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 716s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 716s ok 57 /network-address/happy-eyeballs/both-error 716s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 716s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 716s ok 58 /network-address/happy-eyeballs/both-error-delays-1 716s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 716s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 716s ok 59 /network-address/happy-eyeballs/both-error-delays-2 716s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 716s ok 60 /network-address/happy-eyeballs/both-error-delays-3 716s # End of happy-eyeballs tests 716s # End of network-address tests 716s # Start of gresolver tests 716s # Start of resolve-address tests 716s # Input: 192.168.1.2 716s ok 61 /gresolver/resolve-address/0 716s # Input: fe80::42 716s ok 62 /gresolver/resolve-address/1 716s # Input: 192.168.1.2:80 716s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string 192.168.1.2:80 716s # GLib-GIO-DEBUG: Failed to initialize portal (GNetworkMonitorPortal) for gio-network-monitor: Not using portals 716s # GLib-GIO-DEBUG: Failed to initialize networkmanager (GNetworkMonitorNM) for gio-network-monitor: NetworkManager not running 716s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation netlink (GNetworkMonitorNetlink) for ‘gio-network-monitor’ 716s # Error: Error resolving “192.168.1.2:80”: Name or service not known 716s ok 63 /gresolver/resolve-address/2 716s # Input: [fe80::42] 716s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string [fe80::42] 716s # Error: Error resolving “[fe80::42]”: Name or service not known 716s ok 64 /gresolver/resolve-address/3 716s # Input: [fe80::42]:80 716s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string [fe80::42]:80 716s # Error: Error resolving “[fe80::42]:80”: Name or service not known 716s ok 65 /gresolver/resolve-address/4 716s # Input: 192.168.258 716s # Error: Error resolving “192.168.258”: Name or service not known 716s ok 66 /gresolver/resolve-address/5 716s # Input: 192.11010306 716s # Error: Error resolving “192.11010306”: Name or service not known 716s ok 67 /gresolver/resolve-address/6 716s # Input: 3232235778 716s # Error: Error resolving “3232235778”: Name or service not known 716s ok 68 /gresolver/resolve-address/7 716s # Input: 0300.0250.0001.0001 716s # Error: Error resolving “0300.0250.0001.0001”: Name or service not known 716s ok 69 /gresolver/resolve-address/8 716s # Input: 0xC0.0xA8.0x01.0x02 716s # Error: Error resolving “0xC0.0xA8.0x01.0x02”: Name or service not known 716s ok 70 /gresolver/resolve-address/9 716s # Input: 0xc0.0xa8.0x01.0x02 716s # Error: Error resolving “0xc0.0xa8.0x01.0x02”: Name or service not known 716s ok 71 /gresolver/resolve-address/10 716s # Input: 0xc0a80102 716s # Error: Error resolving “0xc0a80102”: Name or service not known 716s ok 72 /gresolver/resolve-address/11 716s # End of resolve-address tests 716s # End of gresolver tests 716s ok - glib/network-address.test 716s # Running test: glib/cmph-bdz.test 716s ok - glib/cmph-bdz.test 716s # Running test: glib/gdbus-peer-object-manager.test 716s TAP version 14 716s # random seed: R02S4d05f79aa47c0c3b405ca3e56110aa89 716s 1..2 716s # Start of cmph-bdz tests 716s ok 1 /cmph-bdz/search 716s ok 2 /cmph-bdz/search-packed 716s # End of cmph-bdz tests 716s TAP version 14 716s # random seed: R02S1f56114ebc5954df356750eeccff42ea 716s 1..2 716s # Start of gdbus tests 716s # Start of peer-object-manager tests 716s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_3Q5OE3/gdbus/peer-object-manager/normal/.dirs/home 716s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_3Q5OE3/gdbus/peer-object-manager/normal/.dirs/cache 716s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_3Q5OE3/gdbus/peer-object-manager/normal/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_3Q5OE3/gdbus/peer-object-manager/normal/.dirs/system-config2 716s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_3Q5OE3/gdbus/peer-object-manager/normal/.dirs/config 716s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_3Q5OE3/gdbus/peer-object-manager/normal/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_3Q5OE3/gdbus/peer-object-manager/normal/.dirs/system-data2 716s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_3Q5OE3/gdbus/peer-object-manager/normal/.dirs/data 716s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_3Q5OE3/gdbus/peer-object-manager/normal/.dirs/state 716s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_3Q5OE3/gdbus/peer-object-manager/normal/.dirs/runtime 716s ok 1 /gdbus/peer-object-manager/normal 716s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_3Q5OE3/gdbus/peer-object-manager/root/.dirs/home 716s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_3Q5OE3/gdbus/peer-object-manager/root/.dirs/cache 716s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_3Q5OE3/gdbus/peer-object-manager/root/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_3Q5OE3/gdbus/peer-object-manager/root/.dirs/system-config2 716s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_3Q5OE3/gdbus/peer-object-manager/root/.dirs/config 716s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_3Q5OE3/gdbus/peer-object-manager/root/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_3Q5OE3/gdbus/peer-object-manager/root/.dirs/system-data2 716s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_3Q5OE3/gdbus/peer-object-manager/root/.dirs/data 716s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_3Q5OE3/gdbus/peer-object-manager/root/.dirs/state 716s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_3Q5OE3/gdbus/peer-object-manager/root/.dirs/runtime 716s ok 2 /gdbus/peer-object-manager/root 716s # End of peer-object-manager tests 716s # End of gdbus tests 716s ok - glib/gdbus-peer-object-manager.test 716s # Running test: glib/module-test-library.test 716s ok - glib/module-test-library.test 716s # Running test: glib/logging.test 716s TAP version 14 716s # random seed: R02S139760d8a38cbbbb2c88d7800fd03e25 716s 1..3 716s # Start of module tests 716s ok 1 /module/basics 716s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 716s ok 2 /module/invalid-libtool-archive 716s # /module/local-binding summary: Test that binding a library's symbols locally does not add them globally 716s ok 3 /module/local-binding 716s # End of module tests 716s TAP version 14 716s # random seed: R02Sa1efe2c5ccdbea719fcafea0a9a7f754 716s 1..20 716s # Start of logging tests 718s # Executing: glib/logging.test 719s ok 1 /logging/default-handler 719s # slow test /logging/default-handler executed in 2.99 secs 719s ok 2 /logging/journald-handler 719s ok 3 /logging/warnings 719s ok 4 /logging/fatal-log-mask 719s ok 5 /logging/always-fatal 719s # bu-DEBUG: message 719s # ba-DEBUG: message 719s # ba-INFO: message 719s ok 6 /logging/set-handler 719s ok 7 /logging/print-handler 719s ok 8 /logging/printerr-handler 719s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=653052 719s # The Log Message Handler 719s # 719s ok - glib/logging.test 719s # Running test: glib/pattern.test 719s ok - glib/pattern.test 719s # Running test: glib/io-channel-basic.test 719s # The Good Fail Message Handler 719s # 719s ok 9 /logging/653052 719s ok 10 /logging/gibberish 719s # Start of default-handler tests 719s # Start of subprocess tests 719s # End of subprocess tests 719s # End of default-handler tests 719s # End of logging tests 719s # Start of structured-logging tests 719s ok 11 /structured-logging/no-state 719s ok 12 /structured-logging/some-state 719s # /structured-logging/recursion-overflow summary: Test that g_log_structured always sets n_fields correctly. 719s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3760 719s ok 13 /structured-logging/recursion-overflow 719s ok 14 /structured-logging/robustness 719s ok 15 /structured-logging/roundtrip1 719s ok 16 /structured-logging/roundtrip2 719s ok 17 /structured-logging/roundtrip3 719s ok 18 /structured-logging/variant1 719s ok 19 /structured-logging/variant2 719s ok 20 /structured-logging/set-writer-func-twice 719s # End of structured-logging tests 719s TAP version 14 719s # random seed: R02S469cce182187c83eda7b9d78d42c34cb 719s 1..90 719s # Start of pattern tests 719s # Start of compile tests 719s ok 1 /pattern/compile/0 719s ok 2 /pattern/compile/1 719s ok 3 /pattern/compile/2 719s ok 4 /pattern/compile/3 719s ok 5 /pattern/compile/4 719s ok 6 /pattern/compile/5 719s ok 7 /pattern/compile/6 719s ok 8 /pattern/compile/7 719s ok 9 /pattern/compile/8 719s ok 10 /pattern/compile/9 719s ok 11 /pattern/compile/10 719s ok 12 /pattern/compile/11 719s ok 13 /pattern/compile/12 719s ok 14 /pattern/compile/13 719s # End of compile tests 719s # Start of copy tests 719s ok 15 /pattern/copy/0 719s ok 16 /pattern/copy/1 719s ok 17 /pattern/copy/2 719s ok 18 /pattern/copy/3 719s ok 19 /pattern/copy/4 719s ok 20 /pattern/copy/5 719s ok 21 /pattern/copy/6 719s ok 22 /pattern/copy/7 719s ok 23 /pattern/copy/8 719s ok 24 /pattern/copy/9 719s ok 25 /pattern/copy/10 719s ok 26 /pattern/copy/11 719s ok 27 /pattern/copy/12 719s ok 28 /pattern/copy/13 719s # End of copy tests 719s # Start of match tests 719s ok 29 /pattern/match/0 719s ok 30 /pattern/match/1 719s ok 31 /pattern/match/2 719s ok 32 /pattern/match/3 719s ok 33 /pattern/match/4 719s ok 34 /pattern/match/5 719s ok 35 /pattern/match/6 719s ok 36 /pattern/match/7 719s ok 37 /pattern/match/8 719s ok 38 /pattern/match/9 719s ok 39 /pattern/match/10 719s ok 40 /pattern/match/11 719s ok 41 /pattern/match/12 719s ok 42 /pattern/match/13 719s ok 43 /pattern/match/14 719s ok 44 /pattern/match/15 719s ok 45 /pattern/match/16 719s ok 46 /pattern/match/17 719s ok 47 /pattern/match/18 719s ok 48 /pattern/match/19 719s ok 49 /pattern/match/20 719s ok 50 /pattern/match/21 719s ok 51 /pattern/match/22 719s ok 52 /pattern/match/23 719s ok 53 /pattern/match/24 719s ok 54 /pattern/match/25 719s ok 55 /pattern/match/26 719s ok 56 /pattern/match/27 719s ok 57 /pattern/match/28 719s ok 58 /pattern/match/29 719s ok 59 /pattern/match/30 719s ok 60 /pattern/match/31 719s ok 61 /pattern/match/32 719s ok 62 /pattern/match/33 719s ok 63 /pattern/match/34 719s ok 64 /pattern/match/35 719s ok 65 /pattern/match/36 719s ok 66 /pattern/match/37 719s ok 67 /pattern/match/38 719s ok 68 /pattern/match/39 719s ok 69 /pattern/match/40 719s ok 70 /pattern/match/41 719s ok 71 /pattern/match/42 719s ok 72 /pattern/match/43 719s ok 73 /pattern/match/44 719s ok 74 /pattern/match/45 719s ok 75 /pattern/match/46 719s ok 76 /pattern/match/47 719s ok 77 /pattern/match/48 719s ok 78 /pattern/match/49 719s ok 79 /pattern/match/50 719s # End of match tests 719s # Start of equal tests 719s ok 80 /pattern/equal/0 719s ok 81 /pattern/equal/1 719s ok 82 /pattern/equal/2 719s ok 83 /pattern/equal/3 719s ok 84 /pattern/equal/4 719s ok 85 /pattern/equal/5 719s ok 86 /pattern/equal/6 719s ok 87 /pattern/equal/7 719s ok 88 /pattern/equal/8 719s ok 89 /pattern/equal/9 719s ok 90 /pattern/equal/10 719s # End of equal tests 719s # End of pattern tests 719s TAP version 14 719s # random seed: R02S4b5a1f6fb357999ae47990610c27a289 719s 1..1 719s # Start of gio tests 719s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 719s # random seed: R02S56673c19e74127a0cc960018933ca1ef 719s # GLib-DEBUG: io-channel-basic: child writing 8+178 bytes to 6 719s # GLib-DEBUG: io-channel-basic: ...from 5: IN 719s # GLib-DEBUG: io-channel-basic: ...from 5: 178 bytes 719s # GLib-DEBUG: io-channel-basic: ...from 5: OK 719s # GLib-DEBUG: io-channel-basic: child writing 8+1246 bytes to 6 719s # GLib-DEBUG: io-channel-basic: ...from 5: IN 719s # GLib-DEBUG: io-channel-basic: ...from 5: 1246 bytes 719s # GLib-DEBUG: io-channel-basic: ...from 5: OK 720s # GLib-DEBUG: io-channel-basic: child writing 8+2218 bytes to 6 720s # GLib-DEBUG: io-channel-basic: ...from 5: IN 720s # GLib-DEBUG: io-channel-basic: ...from 5: 2218 bytes 720s # GLib-DEBUG: io-channel-basic: ...from 5: OK 720s # GLib-DEBUG: io-channel-basic: child writing 8+2701 bytes to 6 720s # GLib-DEBUG: io-channel-basic: ...from 5: IN 720s # GLib-DEBUG: io-channel-basic: ...from 5: 2701 bytes 720s # GLib-DEBUG: io-channel-basic: ...from 5: OK 720s # GLib-DEBUG: io-channel-basic: child writing 8+585 bytes to 6 720s # GLib-DEBUG: io-channel-basic: ...from 5: IN 720s # GLib-DEBUG: io-channel-basic: ...from 5: 585 bytes 720s # GLib-DEBUG: io-channel-basic: ...from 5: OK 721s # GLib-DEBUG: io-channel-basic: child writing 8+1300 bytes to 6 721s # GLib-DEBUG: io-channel-basic: ...from 5: IN 721s # GLib-DEBUG: io-channel-basic: ...from 5: 1300 bytes 721s # GLib-DEBUG: io-channel-basic: ...from 5: OK 721s # GLib-DEBUG: io-channel-basic: child writing 8+4779 bytes to 6 721s # GLib-DEBUG: io-channel-basic: ...from 5: IN 721s # GLib-DEBUG: io-channel-basic: ...from 5: 4779 bytes 721s # GLib-DEBUG: io-channel-basic: ...from 5: OK 721s # GLib-DEBUG: io-channel-basic: child writing 8+3794 bytes to 6 721s # GLib-DEBUG: io-channel-basic: ...from 5: IN 721s # GLib-DEBUG: io-channel-basic: ...from 5: 3794 bytes 721s # GLib-DEBUG: io-channel-basic: ...from 5: OK 721s # GLib-DEBUG: io-channel-basic: child writing 8+89 bytes to 6 721s # GLib-DEBUG: io-channel-basic: ...from 5: IN 721s # GLib-DEBUG: io-channel-basic: ...from 5: 89 bytes 721s # GLib-DEBUG: io-channel-basic: ...from 5: OK 722s # GLib-DEBUG: io-channel-basic: child writing 8+3085 bytes to 6 722s # GLib-DEBUG: io-channel-basic: ...from 5: IN 722s # GLib-DEBUG: io-channel-basic: ...from 5: 3085 bytes 722s # GLib-DEBUG: io-channel-basic: ...from 5: OK 722s # GLib-DEBUG: io-channel-basic: child writing 8+4198 bytes to 6 722s # GLib-DEBUG: io-channel-basic: ...from 5: IN 722s # GLib-DEBUG: io-channel-basic: ...from 5: 4198 bytes 722s # GLib-DEBUG: io-channel-basic: ...from 5: OK 722s # GLib-DEBUG: io-channel-basic: child writing 8+371 bytes to 6 722s # GLib-DEBUG: io-channel-basic: ...from 5: IN 722s # GLib-DEBUG: io-channel-basic: ...from 5: 371 bytes 722s # GLib-DEBUG: io-channel-basic: ...from 5: OK 722s # GLib-DEBUG: io-channel-basic: child writing 8+1756 bytes to 6 722s # GLib-DEBUG: io-channel-basic: ...from 5: IN 722s # GLib-DEBUG: io-channel-basic: ...from 5: 1756 bytes 722s # GLib-DEBUG: io-channel-basic: ...from 5: OK 723s # GLib-DEBUG: io-channel-basic: child writing 8+1472 bytes to 6 723s # GLib-DEBUG: io-channel-basic: ...from 5: IN 723s # GLib-DEBUG: io-channel-basic: ...from 5: 1472 bytes 723s # GLib-DEBUG: io-channel-basic: ...from 5: OK 723s # Executing: glib/io-channel-basic.test 723s # GLib-DEBUG: io-channel-basic: child writing 8+2118 bytes to 6 723s # GLib-DEBUG: io-channel-basic: ...from 5: IN 723s # GLib-DEBUG: io-channel-basic: ...from 5: 2118 bytes 723s # GLib-DEBUG: io-channel-basic: ...from 5: OK 723s # GLib-DEBUG: io-channel-basic: child writing 8+4293 bytes to 6 723s # GLib-DEBUG: io-channel-basic: ...from 5: IN 723s # GLib-DEBUG: io-channel-basic: ...from 5: 4293 bytes 723s # GLib-DEBUG: io-channel-basic: ...from 5: OK 723s # GLib-DEBUG: io-channel-basic: child writing 8+66 bytes to 6 723s # GLib-DEBUG: io-channel-basic: ...from 5: IN 723s # GLib-DEBUG: io-channel-basic: ...from 5: 66 bytes 723s # GLib-DEBUG: io-channel-basic: ...from 5: OK 724s # GLib-DEBUG: io-channel-basic: child writing 8+157 bytes to 6 724s # GLib-DEBUG: io-channel-basic: ...from 5: IN 724s # GLib-DEBUG: io-channel-basic: ...from 5: 157 bytes 724s # GLib-DEBUG: io-channel-basic: ...from 5: OK 724s # GLib-DEBUG: io-channel-basic: child writing 8+513 bytes to 6 724s # GLib-DEBUG: io-channel-basic: ...from 5: IN 724s # GLib-DEBUG: io-channel-basic: ...from 5: 513 bytes 724s # GLib-DEBUG: io-channel-basic: ...from 5: OK 724s # GLib-DEBUG: io-channel-basic: child writing 8+4158 bytes to 6 724s # GLib-DEBUG: io-channel-basic: ...from 5: IN 724s # GLib-DEBUG: io-channel-basic: ...from 5: 4158 bytes 724s # GLib-DEBUG: io-channel-basic: ...from 5: OK 724s # GLib-DEBUG: io-channel-basic: child writing 8+1244 bytes to 6 724s # GLib-DEBUG: io-channel-basic: ...from 5: IN 724s # GLib-DEBUG: io-channel-basic: ...from 5: 1244 bytes 724s # GLib-DEBUG: io-channel-basic: ...from 5: OK 725s # GLib-DEBUG: io-channel-basic: child writing 8+4109 bytes to 6 725s # GLib-DEBUG: io-channel-basic: child exiting, closing 6 725s # GLib-DEBUG: io-channel-basic: ...from 5: HUP IN 725s # GLib-DEBUG: io-channel-basic: ...from 5: 4109 bytes 725s # GLib-DEBUG: io-channel-basic: ...from 5: OK 725s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 725s # random seed: R02S65b857f25b90c3259c3b9f9b51a9cb2b 725s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 725s # random seed: R02S502f475f86ae4b64bb241f09d279183b 725s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 725s # random seed: R02Sc17fa2fdfe33aeab67a15adcd45686dd 725s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 725s # random seed: R02S2c6fa06f44e8cb82920d3f7ef831de60 725s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 725s # random seed: R02Sb306c5fd0aeed697ee16ccc441c16ad2 725s # GLib-DEBUG: io-channel-basic: child writing 8+4499 bytes to 13 725s # GLib-DEBUG: io-channel-basic: ...from 12: IN 725s # GLib-DEBUG: io-channel-basic: ...from 12: 4499 bytes 725s # GLib-DEBUG: io-channel-basic: ...from 12: OK 725s # GLib-DEBUG: io-channel-basic: child writing 8+660 bytes to 9 725s # GLib-DEBUG: io-channel-basic: ...from 8: IN 725s # GLib-DEBUG: io-channel-basic: ...from 8: 660 bytes 725s # GLib-DEBUG: io-channel-basic: ...from 8: OK 725s # GLib-DEBUG: io-channel-basic: child writing 8+3867 bytes to 11 725s # GLib-DEBUG: io-channel-basic: ...from 10: IN 725s # GLib-DEBUG: io-channel-basic: ...from 10: 3867 bytes 725s # GLib-DEBUG: io-channel-basic: ...from 10: OK 725s # GLib-DEBUG: io-channel-basic: child writing 8+152 bytes to 17 725s # GLib-DEBUG: io-channel-basic: ...from 16: IN 725s # GLib-DEBUG: io-channel-basic: ...from 16: 152 bytes 725s # GLib-DEBUG: io-channel-basic: ...from 16: OK 725s # GLib-DEBUG: io-channel-basic: child writing 8+2835 bytes to 15 725s # GLib-DEBUG: io-channel-basic: ...from 14: IN 725s # GLib-DEBUG: io-channel-basic: ...from 14: 2835 bytes 725s # GLib-DEBUG: io-channel-basic: ...from 14: OK 725s # GLib-DEBUG: io-channel-basic: child writing 8+3926 bytes to 13 725s # GLib-DEBUG: io-channel-basic: ...from 12: IN 725s # GLib-DEBUG: io-channel-basic: ...from 12: 3926 bytes 725s # GLib-DEBUG: io-channel-basic: ...from 12: OK 725s # GLib-DEBUG: io-channel-basic: child writing 8+372 bytes to 17 725s # GLib-DEBUG: io-channel-basic: ...from 16: IN 725s # GLib-DEBUG: io-channel-basic: ...from 16: 372 bytes 725s # GLib-DEBUG: io-channel-basic: ...from 16: OK 725s # GLib-DEBUG: io-channel-basic: child writing 8+1910 bytes to 9 725s # GLib-DEBUG: io-channel-basic: ...from 8: IN 725s # GLib-DEBUG: io-channel-basic: ...from 8: 1910 bytes 725s # GLib-DEBUG: io-channel-basic: ...from 8: OK 725s # GLib-DEBUG: io-channel-basic: child writing 8+389 bytes to 11 725s # GLib-DEBUG: io-channel-basic: ...from 10: IN 725s # GLib-DEBUG: io-channel-basic: ...from 10: 389 bytes 725s # GLib-DEBUG: io-channel-basic: ...from 10: OK 725s # GLib-DEBUG: io-channel-basic: child writing 8+2097 bytes to 15 725s # GLib-DEBUG: io-channel-basic: ...from 14: IN 725s # GLib-DEBUG: io-channel-basic: ...from 14: 2097 bytes 725s # GLib-DEBUG: io-channel-basic: ...from 14: OK 725s # GLib-DEBUG: io-channel-basic: child writing 8+1931 bytes to 13 725s # GLib-DEBUG: io-channel-basic: ...from 12: IN 725s # GLib-DEBUG: io-channel-basic: ...from 12: 1931 bytes 725s # GLib-DEBUG: io-channel-basic: ...from 12: OK 725s # GLib-DEBUG: io-channel-basic: child writing 8+3000 bytes to 11 725s # GLib-DEBUG: io-channel-basic: ...from 10: IN 725s # GLib-DEBUG: io-channel-basic: ...from 10: 3000 bytes 725s # GLib-DEBUG: io-channel-basic: ...from 10: OK 725s # GLib-DEBUG: io-channel-basic: child writing 8+3099 bytes to 17 725s # GLib-DEBUG: io-channel-basic: ...from 16: IN 725s # GLib-DEBUG: io-channel-basic: ...from 16: 3099 bytes 725s # GLib-DEBUG: io-channel-basic: ...from 16: OK 725s # GLib-DEBUG: io-channel-basic: child writing 8+1938 bytes to 9 725s # GLib-DEBUG: io-channel-basic: ...from 8: IN 725s # GLib-DEBUG: io-channel-basic: ...from 8: 1938 bytes 725s # GLib-DEBUG: io-channel-basic: ...from 8: OK 726s # GLib-DEBUG: io-channel-basic: child writing 8+4673 bytes to 15 726s # GLib-DEBUG: io-channel-basic: ...from 14: IN 726s # GLib-DEBUG: io-channel-basic: ...from 14: 4673 bytes 726s # GLib-DEBUG: io-channel-basic: ...from 14: OK 726s # GLib-DEBUG: io-channel-basic: child writing 8+1511 bytes to 17 726s # GLib-DEBUG: io-channel-basic: ...from 16: IN 726s # GLib-DEBUG: io-channel-basic: ...from 16: 1511 bytes 726s # GLib-DEBUG: io-channel-basic: ...from 16: OK 726s # GLib-DEBUG: io-channel-basic: child writing 8+704 bytes to 13 726s # GLib-DEBUG: io-channel-basic: ...from 12: IN 726s # GLib-DEBUG: io-channel-basic: ...from 12: 704 bytes 726s # GLib-DEBUG: io-channel-basic: ...from 12: OK 726s # GLib-DEBUG: io-channel-basic: child writing 8+2635 bytes to 9 726s # GLib-DEBUG: io-channel-basic: ...from 8: IN 726s # GLib-DEBUG: io-channel-basic: ...from 8: 2635 bytes 726s # GLib-DEBUG: io-channel-basic: ...from 8: OK 726s # GLib-DEBUG: io-channel-basic: child writing 8+899 bytes to 11 726s # GLib-DEBUG: io-channel-basic: ...from 10: IN 726s # GLib-DEBUG: io-channel-basic: ...from 10: 899 bytes 726s # GLib-DEBUG: io-channel-basic: ...from 10: OK 726s # GLib-DEBUG: io-channel-basic: child writing 8+4665 bytes to 15 726s # GLib-DEBUG: io-channel-basic: ...from 14: IN 726s # GLib-DEBUG: io-channel-basic: ...from 14: 4665 bytes 726s # GLib-DEBUG: io-channel-basic: ...from 14: OK 726s # GLib-DEBUG: io-channel-basic: child writing 8+2338 bytes to 17 726s # GLib-DEBUG: io-channel-basic: ...from 16: IN 726s # GLib-DEBUG: io-channel-basic: ...from 16: 2338 bytes 726s # GLib-DEBUG: io-channel-basic: ...from 16: OK 726s # GLib-DEBUG: io-channel-basic: child writing 8+1326 bytes to 9 726s # GLib-DEBUG: io-channel-basic: ...from 8: IN 726s # GLib-DEBUG: io-channel-basic: ...from 8: 1326 bytes 726s # GLib-DEBUG: io-channel-basic: ...from 8: OK 726s # GLib-DEBUG: io-channel-basic: child writing 8+4121 bytes to 13 726s # GLib-DEBUG: io-channel-basic: ...from 12: IN 726s # GLib-DEBUG: io-channel-basic: ...from 12: 4121 bytes 726s # GLib-DEBUG: io-channel-basic: ...from 12: OK 726s # GLib-DEBUG: io-channel-basic: child writing 8+2478 bytes to 11 726s # GLib-DEBUG: io-channel-basic: ...from 10: IN 726s # GLib-DEBUG: io-channel-basic: ...from 10: 2478 bytes 726s # GLib-DEBUG: io-channel-basic: ...from 10: OK 726s # GLib-DEBUG: io-channel-basic: child writing 8+1628 bytes to 15 726s # GLib-DEBUG: io-channel-basic: ...from 14: IN 726s # GLib-DEBUG: io-channel-basic: ...from 14: 1628 bytes 726s # GLib-DEBUG: io-channel-basic: ...from 14: OK 726s # GLib-DEBUG: io-channel-basic: child writing 8+4484 bytes to 17 726s # GLib-DEBUG: io-channel-basic: ...from 16: IN 726s # GLib-DEBUG: io-channel-basic: ...from 16: 4484 bytes 726s # GLib-DEBUG: io-channel-basic: ...from 16: OK 726s # GLib-DEBUG: io-channel-basic: child writing 8+3546 bytes to 9 726s # GLib-DEBUG: io-channel-basic: ...from 8: IN 726s # GLib-DEBUG: io-channel-basic: ...from 8: 3546 bytes 726s # GLib-DEBUG: io-channel-basic: ...from 8: OK 726s # GLib-DEBUG: io-channel-basic: child writing 8+4398 bytes to 11 726s # GLib-DEBUG: io-channel-basic: ...from 10: IN 726s # GLib-DEBUG: io-channel-basic: ...from 10: 4398 bytes 726s # GLib-DEBUG: io-channel-basic: ...from 10: OK 726s # GLib-DEBUG: io-channel-basic: child writing 8+2882 bytes to 13 726s # GLib-DEBUG: io-channel-basic: ...from 12: IN 726s # GLib-DEBUG: io-channel-basic: ...from 12: 2882 bytes 726s # GLib-DEBUG: io-channel-basic: ...from 12: OK 726s # GLib-DEBUG: io-channel-basic: child writing 8+3477 bytes to 15 726s # GLib-DEBUG: io-channel-basic: ...from 14: IN 726s # GLib-DEBUG: io-channel-basic: ...from 14: 3477 bytes 726s # GLib-DEBUG: io-channel-basic: ...from 14: OK 727s # GLib-DEBUG: io-channel-basic: child writing 8+1687 bytes to 9 727s # GLib-DEBUG: io-channel-basic: ...from 8: IN 727s # GLib-DEBUG: io-channel-basic: ...from 8: 1687 bytes 727s # GLib-DEBUG: io-channel-basic: ...from 8: OK 727s # GLib-DEBUG: io-channel-basic: child writing 8+1199 bytes to 11 727s # GLib-DEBUG: io-channel-basic: ...from 10: IN 727s # GLib-DEBUG: io-channel-basic: ...from 10: 1199 bytes 727s # GLib-DEBUG: io-channel-basic: ...from 10: OK 727s # GLib-DEBUG: io-channel-basic: child writing 8+361 bytes to 17 727s # GLib-DEBUG: io-channel-basic: ...from 16: IN 727s # GLib-DEBUG: io-channel-basic: ...from 16: 361 bytes 727s # GLib-DEBUG: io-channel-basic: ...from 16: OK 727s # GLib-DEBUG: io-channel-basic: child writing 8+4604 bytes to 13 727s # GLib-DEBUG: io-channel-basic: ...from 12: IN 727s # GLib-DEBUG: io-channel-basic: ...from 12: 4604 bytes 727s # GLib-DEBUG: io-channel-basic: ...from 12: OK 727s # GLib-DEBUG: io-channel-basic: child writing 8+3783 bytes to 15 727s # GLib-DEBUG: io-channel-basic: ...from 14: IN 727s # GLib-DEBUG: io-channel-basic: ...from 14: 3783 bytes 727s # GLib-DEBUG: io-channel-basic: ...from 14: OK 727s # GLib-DEBUG: io-channel-basic: child writing 8+2658 bytes to 11 727s # GLib-DEBUG: io-channel-basic: ...from 10: IN 727s # GLib-DEBUG: io-channel-basic: ...from 10: 2658 bytes 727s # GLib-DEBUG: io-channel-basic: ...from 10: OK 727s # GLib-DEBUG: io-channel-basic: child writing 8+2852 bytes to 13 727s # GLib-DEBUG: io-channel-basic: ...from 12: IN 727s # GLib-DEBUG: io-channel-basic: ...from 12: 2852 bytes 727s # GLib-DEBUG: io-channel-basic: ...from 12: OK 727s # GLib-DEBUG: io-channel-basic: child writing 8+820 bytes to 9 727s # GLib-DEBUG: io-channel-basic: ...from 8: IN 727s # GLib-DEBUG: io-channel-basic: ...from 8: 820 bytes 727s # GLib-DEBUG: io-channel-basic: ...from 8: OK 727s # GLib-DEBUG: io-channel-basic: child writing 8+1947 bytes to 17 727s # GLib-DEBUG: io-channel-basic: ...from 16: IN 727s # GLib-DEBUG: io-channel-basic: ...from 16: 1947 bytes 727s # GLib-DEBUG: io-channel-basic: ...from 16: OK 727s # GLib-DEBUG: io-channel-basic: child writing 8+1099 bytes to 15 727s # GLib-DEBUG: io-channel-basic: ...from 14: IN 727s # GLib-DEBUG: io-channel-basic: ...from 14: 1099 bytes 727s # GLib-DEBUG: io-channel-basic: ...from 14: OK 727s # GLib-DEBUG: io-channel-basic: child writing 8+1660 bytes to 11 727s # GLib-DEBUG: io-channel-basic: ...from 10: IN 727s # GLib-DEBUG: io-channel-basic: ...from 10: 1660 bytes 727s # GLib-DEBUG: io-channel-basic: ...from 10: OK 727s # GLib-DEBUG: io-channel-basic: child writing 8+4010 bytes to 9 727s # GLib-DEBUG: io-channel-basic: ...from 8: IN 727s # GLib-DEBUG: io-channel-basic: ...from 8: 4010 bytes 727s # GLib-DEBUG: io-channel-basic: ...from 8: OK 727s # GLib-DEBUG: io-channel-basic: child writing 8+608 bytes to 13 727s # GLib-DEBUG: io-channel-basic: ...from 12: IN 727s # GLib-DEBUG: io-channel-basic: ...from 12: 608 bytes 727s # GLib-DEBUG: io-channel-basic: ...from 12: OK 727s # GLib-DEBUG: io-channel-basic: child writing 8+3598 bytes to 17 727s # GLib-DEBUG: io-channel-basic: ...from 16: IN 727s # GLib-DEBUG: io-channel-basic: ...from 16: 3598 bytes 727s # GLib-DEBUG: io-channel-basic: ...from 16: OK 727s # GLib-DEBUG: io-channel-basic: child writing 8+586 bytes to 15 727s # GLib-DEBUG: io-channel-basic: ...from 14: IN 727s # GLib-DEBUG: io-channel-basic: ...from 14: 586 bytes 727s # GLib-DEBUG: io-channel-basic: ...from 14: OK 727s # GLib-DEBUG: io-channel-basic: child writing 8+91 bytes to 11 727s # GLib-DEBUG: io-channel-basic: ...from 10: IN 727s # GLib-DEBUG: io-channel-basic: ...from 10: 91 bytes 727s # GLib-DEBUG: io-channel-basic: ...from 10: OK 727s # GLib-DEBUG: io-channel-basic: child writing 8+3274 bytes to 9 727s # GLib-DEBUG: io-channel-basic: ...from 8: IN 727s # GLib-DEBUG: io-channel-basic: ...from 8: 3274 bytes 727s # GLib-DEBUG: io-channel-basic: ...from 8: OK 727s # GLib-DEBUG: io-channel-basic: child writing 8+3564 bytes to 13 727s # GLib-DEBUG: io-channel-basic: ...from 12: IN 727s # GLib-DEBUG: io-channel-basic: ...from 12: 3564 bytes 727s # GLib-DEBUG: io-channel-basic: ...from 12: OK 727s # GLib-DEBUG: io-channel-basic: child writing 8+1564 bytes to 17 727s # GLib-DEBUG: io-channel-basic: ...from 16: IN 727s # GLib-DEBUG: io-channel-basic: ...from 16: 1564 bytes 727s # GLib-DEBUG: io-channel-basic: ...from 16: OK 727s # GLib-DEBUG: io-channel-basic: child writing 8+1053 bytes to 15 727s # GLib-DEBUG: io-channel-basic: ...from 14: IN 727s # GLib-DEBUG: io-channel-basic: ...from 14: 1053 bytes 727s # GLib-DEBUG: io-channel-basic: ...from 14: OK 728s # GLib-DEBUG: io-channel-basic: child writing 8+3390 bytes to 9 728s # GLib-DEBUG: io-channel-basic: ...from 8: IN 728s # GLib-DEBUG: io-channel-basic: ...from 8: 3390 bytes 728s # GLib-DEBUG: io-channel-basic: ...from 8: OK 728s # GLib-DEBUG: io-channel-basic: child writing 8+4967 bytes to 11 728s # GLib-DEBUG: io-channel-basic: ...from 10: IN 728s # GLib-DEBUG: io-channel-basic: ...from 10: 4967 bytes 728s # GLib-DEBUG: io-channel-basic: ...from 10: OK 728s # GLib-DEBUG: io-channel-basic: child writing 8+2045 bytes to 13 728s # GLib-DEBUG: io-channel-basic: ...from 12: IN 728s # GLib-DEBUG: io-channel-basic: ...from 12: 2045 bytes 728s # GLib-DEBUG: io-channel-basic: ...from 12: OK 728s # GLib-DEBUG: io-channel-basic: child writing 8+3099 bytes to 17 728s # GLib-DEBUG: io-channel-basic: ...from 16: IN 728s # GLib-DEBUG: io-channel-basic: ...from 16: 3099 bytes 728s # GLib-DEBUG: io-channel-basic: ...from 16: OK 728s # GLib-DEBUG: io-channel-basic: child writing 8+1402 bytes to 15 728s # GLib-DEBUG: io-channel-basic: ...from 14: IN 728s # GLib-DEBUG: io-channel-basic: ...from 14: 1402 bytes 728s # GLib-DEBUG: io-channel-basic: ...from 14: OK 728s # GLib-DEBUG: io-channel-basic: child writing 8+4617 bytes to 9 728s # GLib-DEBUG: io-channel-basic: ...from 8: IN 728s # GLib-DEBUG: io-channel-basic: ...from 8: 4617 bytes 728s # GLib-DEBUG: io-channel-basic: ...from 8: OK 728s # GLib-DEBUG: io-channel-basic: child writing 8+2627 bytes to 11 728s # GLib-DEBUG: io-channel-basic: ...from 10: IN 728s # GLib-DEBUG: io-channel-basic: ...from 10: 2627 bytes 728s # GLib-DEBUG: io-channel-basic: ...from 10: OK 728s # GLib-DEBUG: io-channel-basic: child writing 8+830 bytes to 13 728s # GLib-DEBUG: io-channel-basic: ...from 12: IN 728s # GLib-DEBUG: io-channel-basic: ...from 12: 830 bytes 728s # GLib-DEBUG: io-channel-basic: ...from 12: OK 728s # Executing: glib/io-channel-basic.test 728s # GLib-DEBUG: io-channel-basic: child writing 8+1721 bytes to 17 728s # GLib-DEBUG: io-channel-basic: ...from 16: IN 728s # GLib-DEBUG: io-channel-basic: ...from 16: 1721 bytes 728s # GLib-DEBUG: io-channel-basic: ...from 16: OK 728s # GLib-DEBUG: io-channel-basic: child writing 8+4531 bytes to 15 728s # GLib-DEBUG: io-channel-basic: ...from 14: IN 728s # GLib-DEBUG: io-channel-basic: ...from 14: 4531 bytes 728s # GLib-DEBUG: io-channel-basic: ...from 14: OK 728s # GLib-DEBUG: io-channel-basic: child writing 8+334 bytes to 9 728s # GLib-DEBUG: io-channel-basic: ...from 8: IN 728s # GLib-DEBUG: io-channel-basic: ...from 8: 334 bytes 728s # GLib-DEBUG: io-channel-basic: ...from 8: OK 728s # GLib-DEBUG: io-channel-basic: child writing 8+2791 bytes to 13 728s # GLib-DEBUG: io-channel-basic: ...from 12: IN 728s # GLib-DEBUG: io-channel-basic: ...from 12: 2791 bytes 728s # GLib-DEBUG: io-channel-basic: ...from 12: OK 728s # GLib-DEBUG: io-channel-basic: child writing 8+3460 bytes to 11 728s # GLib-DEBUG: io-channel-basic: ...from 10: IN 728s # GLib-DEBUG: io-channel-basic: ...from 10: 3460 bytes 728s # GLib-DEBUG: io-channel-basic: ...from 10: OK 728s # GLib-DEBUG: io-channel-basic: child writing 8+4010 bytes to 17 728s # GLib-DEBUG: io-channel-basic: ...from 16: IN 728s # GLib-DEBUG: io-channel-basic: ...from 16: 4010 bytes 728s # GLib-DEBUG: io-channel-basic: ...from 16: OK 728s # GLib-DEBUG: io-channel-basic: child writing 8+2452 bytes to 15 728s # GLib-DEBUG: io-channel-basic: ...from 14: IN 728s # GLib-DEBUG: io-channel-basic: ...from 14: 2452 bytes 728s # GLib-DEBUG: io-channel-basic: ...from 14: OK 728s # GLib-DEBUG: io-channel-basic: child writing 8+1798 bytes to 9 728s # GLib-DEBUG: io-channel-basic: ...from 8: IN 728s # GLib-DEBUG: io-channel-basic: ...from 8: 1798 bytes 728s # GLib-DEBUG: io-channel-basic: ...from 8: OK 728s # GLib-DEBUG: io-channel-basic: child writing 8+3585 bytes to 11 728s # GLib-DEBUG: io-channel-basic: ...from 10: IN 728s # GLib-DEBUG: io-channel-basic: ...from 10: 3585 bytes 728s # GLib-DEBUG: io-channel-basic: ...from 10: OK 728s # GLib-DEBUG: io-channel-basic: child writing 8+3566 bytes to 13 728s # GLib-DEBUG: io-channel-basic: ...from 12: IN 728s # GLib-DEBUG: io-channel-basic: ...from 12: 3566 bytes 728s # GLib-DEBUG: io-channel-basic: ...from 12: OK 728s # GLib-DEBUG: io-channel-basic: child writing 8+4241 bytes to 17 728s # GLib-DEBUG: io-channel-basic: ...from 16: IN 728s # GLib-DEBUG: io-channel-basic: ...from 16: 4241 bytes 728s # GLib-DEBUG: io-channel-basic: ...from 16: OK 728s # GLib-DEBUG: io-channel-basic: child writing 8+758 bytes to 15 728s # GLib-DEBUG: io-channel-basic: ...from 14: IN 728s # GLib-DEBUG: io-channel-basic: ...from 14: 758 bytes 728s # GLib-DEBUG: io-channel-basic: ...from 14: OK 729s # GLib-DEBUG: io-channel-basic: child writing 8+3032 bytes to 9 729s # GLib-DEBUG: io-channel-basic: ...from 8: IN 729s # GLib-DEBUG: io-channel-basic: ...from 8: 3032 bytes 729s # GLib-DEBUG: io-channel-basic: ...from 8: OK 729s # GLib-DEBUG: io-channel-basic: child writing 8+875 bytes to 11 729s # GLib-DEBUG: io-channel-basic: ...from 10: IN 729s # GLib-DEBUG: io-channel-basic: ...from 10: 875 bytes 729s # GLib-DEBUG: io-channel-basic: ...from 10: OK 729s # GLib-DEBUG: io-channel-basic: child writing 8+2784 bytes to 13 729s # GLib-DEBUG: io-channel-basic: ...from 12: IN 729s # GLib-DEBUG: io-channel-basic: ...from 12: 2784 bytes 729s # GLib-DEBUG: io-channel-basic: ...from 12: OK 729s # GLib-DEBUG: io-channel-basic: child writing 8+145 bytes to 17 729s # GLib-DEBUG: io-channel-basic: ...from 16: IN 729s # GLib-DEBUG: io-channel-basic: ...from 16: 145 bytes 729s # GLib-DEBUG: io-channel-basic: ...from 16: OK 729s # GLib-DEBUG: io-channel-basic: child writing 8+3124 bytes to 15 729s # GLib-DEBUG: io-channel-basic: ...from 14: IN 729s # GLib-DEBUG: io-channel-basic: ...from 14: 3124 bytes 729s # GLib-DEBUG: io-channel-basic: ...from 14: OK 729s # GLib-DEBUG: io-channel-basic: child writing 8+648 bytes to 9 729s # GLib-DEBUG: io-channel-basic: ...from 8: IN 729s # GLib-DEBUG: io-channel-basic: ...from 8: 648 bytes 729s # GLib-DEBUG: io-channel-basic: ...from 8: OK 729s # GLib-DEBUG: io-channel-basic: child writing 8+1776 bytes to 11 729s # GLib-DEBUG: io-channel-basic: ...from 10: IN 729s # GLib-DEBUG: io-channel-basic: ...from 10: 1776 bytes 729s # GLib-DEBUG: io-channel-basic: ...from 10: OK 729s # GLib-DEBUG: io-channel-basic: child writing 8+2452 bytes to 13 729s # GLib-DEBUG: io-channel-basic: ...from 12: IN 729s # GLib-DEBUG: io-channel-basic: ...from 12: 2452 bytes 729s # GLib-DEBUG: io-channel-basic: ...from 12: OK 729s # GLib-DEBUG: io-channel-basic: child writing 8+928 bytes to 17 729s # GLib-DEBUG: io-channel-basic: ...from 16: IN 729s # GLib-DEBUG: io-channel-basic: ...from 16: 928 bytes 729s # GLib-DEBUG: io-channel-basic: ...from 16: OK 729s # GLib-DEBUG: io-channel-basic: child writing 8+2632 bytes to 15 729s # GLib-DEBUG: io-channel-basic: ...from 14: IN 729s # GLib-DEBUG: io-channel-basic: ...from 14: 2632 bytes 729s # GLib-DEBUG: io-channel-basic: ...from 14: OK 729s # GLib-DEBUG: io-channel-basic: child writing 8+1109 bytes to 9 729s # GLib-DEBUG: io-channel-basic: ...from 8: IN 729s # GLib-DEBUG: io-channel-basic: ...from 8: 1109 bytes 729s # GLib-DEBUG: io-channel-basic: ...from 8: OK 729s # GLib-DEBUG: io-channel-basic: child writing 8+839 bytes to 11 729s # GLib-DEBUG: io-channel-basic: ...from 10: IN 729s # GLib-DEBUG: io-channel-basic: ...from 10: 839 bytes 729s # GLib-DEBUG: io-channel-basic: ...from 10: OK 729s # GLib-DEBUG: io-channel-basic: child writing 8+2597 bytes to 17 729s # GLib-DEBUG: io-channel-basic: ...from 16: IN 729s # GLib-DEBUG: io-channel-basic: ...from 16: 2597 bytes 729s # GLib-DEBUG: io-channel-basic: ...from 16: OK 729s # GLib-DEBUG: io-channel-basic: child writing 8+925 bytes to 13 729s # GLib-DEBUG: io-channel-basic: ...from 12: IN 729s # GLib-DEBUG: io-channel-basic: ...from 12: 925 bytes 729s # GLib-DEBUG: io-channel-basic: ...from 12: OK 729s # GLib-DEBUG: io-channel-basic: child writing 8+4943 bytes to 15 729s # GLib-DEBUG: io-channel-basic: ...from 14: IN 729s # GLib-DEBUG: io-channel-basic: ...from 14: 4943 bytes 729s # GLib-DEBUG: io-channel-basic: ...from 14: OK 729s # GLib-DEBUG: io-channel-basic: child writing 8+4609 bytes to 9 729s # GLib-DEBUG: io-channel-basic: ...from 8: IN 729s # GLib-DEBUG: io-channel-basic: ...from 8: 4609 bytes 729s # GLib-DEBUG: io-channel-basic: ...from 8: OK 729s # GLib-DEBUG: io-channel-basic: child writing 8+2492 bytes to 11 729s # GLib-DEBUG: io-channel-basic: ...from 10: IN 729s # GLib-DEBUG: io-channel-basic: ...from 10: 2492 bytes 729s # GLib-DEBUG: io-channel-basic: ...from 10: OK 729s # GLib-DEBUG: io-channel-basic: child writing 8+3229 bytes to 13 729s # GLib-DEBUG: io-channel-basic: ...from 12: IN 729s # GLib-DEBUG: io-channel-basic: ...from 12: 3229 bytes 729s # GLib-DEBUG: io-channel-basic: ...from 12: OK 729s # GLib-DEBUG: io-channel-basic: child writing 8+3785 bytes to 17 729s # GLib-DEBUG: io-channel-basic: ...from 16: IN 729s # GLib-DEBUG: io-channel-basic: ...from 16: 3785 bytes 729s # GLib-DEBUG: io-channel-basic: ...from 16: OK 729s # GLib-DEBUG: io-channel-basic: child writing 8+78 bytes to 15 729s # GLib-DEBUG: io-channel-basic: ...from 14: IN 729s # GLib-DEBUG: io-channel-basic: ...from 14: 78 bytes 729s # GLib-DEBUG: io-channel-basic: ...from 14: OK 730s # GLib-DEBUG: io-channel-basic: child writing 8+830 bytes to 9 730s # GLib-DEBUG: io-channel-basic: ...from 8: IN 730s # GLib-DEBUG: io-channel-basic: ...from 8: 830 bytes 730s # GLib-DEBUG: io-channel-basic: ...from 8: OK 730s # GLib-DEBUG: io-channel-basic: child writing 8+1457 bytes to 11 730s # GLib-DEBUG: io-channel-basic: ...from 10: IN 730s # GLib-DEBUG: io-channel-basic: ...from 10: 1457 bytes 730s # GLib-DEBUG: io-channel-basic: ...from 10: OK 730s # GLib-DEBUG: io-channel-basic: child writing 8+4436 bytes to 13 730s # GLib-DEBUG: io-channel-basic: ...from 12: IN 730s # GLib-DEBUG: io-channel-basic: ...from 12: 4436 bytes 730s # GLib-DEBUG: io-channel-basic: ...from 12: OK 730s # GLib-DEBUG: io-channel-basic: child writing 8+4653 bytes to 17 730s # GLib-DEBUG: io-channel-basic: ...from 16: IN 730s # GLib-DEBUG: io-channel-basic: ...from 16: 4653 bytes 730s # GLib-DEBUG: io-channel-basic: ...from 16: OK 730s # GLib-DEBUG: io-channel-basic: child writing 8+3466 bytes to 15 730s # GLib-DEBUG: io-channel-basic: ...from 14: IN 730s # GLib-DEBUG: io-channel-basic: ...from 14: 3466 bytes 730s # GLib-DEBUG: io-channel-basic: ...from 14: OK 730s # GLib-DEBUG: io-channel-basic: child writing 8+167 bytes to 9 730s # GLib-DEBUG: io-channel-basic: child exiting, closing 9 730s # GLib-DEBUG: io-channel-basic: ...from 8: HUP IN 730s # GLib-DEBUG: io-channel-basic: ...from 8: 167 bytes 730s # GLib-DEBUG: io-channel-basic: ...from 8: OK 730s # GLib-DEBUG: io-channel-basic: child writing 8+3780 bytes to 11 730s # GLib-DEBUG: io-channel-basic: child exiting, closing 11 730s # GLib-DEBUG: io-channel-basic: ...from 10: HUP IN 730s # GLib-DEBUG: io-channel-basic: ...from 10: 3780 bytes 730s # GLib-DEBUG: io-channel-basic: ...from 10: OK 730s # GLib-DEBUG: io-channel-basic: child writing 8+1972 bytes to 13 730s # GLib-DEBUG: io-channel-basic: ...from 12: IN 730s # GLib-DEBUG: io-channel-basic: ...from 12: 1972 bytes 730s # GLib-DEBUG: io-channel-basic: ...from 12: OK 730s # GLib-DEBUG: io-channel-basic: child writing 8+3699 bytes to 17 730s # GLib-DEBUG: io-channel-basic: ...from 16: IN 730s # GLib-DEBUG: io-channel-basic: ...from 16: 3699 bytes 730s # GLib-DEBUG: io-channel-basic: ...from 16: OK 730s # GLib-DEBUG: io-channel-basic: child writing 8+3068 bytes to 15 730s # GLib-DEBUG: io-channel-basic: ...from 14: IN 730s # GLib-DEBUG: io-channel-basic: ...from 14: 3068 bytes 730s # GLib-DEBUG: io-channel-basic: ...from 14: OK 730s # GLib-DEBUG: io-channel-basic: child writing 8+1668 bytes to 13 730s # GLib-DEBUG: io-channel-basic: ...from 12: IN 730s # GLib-DEBUG: io-channel-basic: ...from 12: 1668 bytes 730s # GLib-DEBUG: io-channel-basic: ...from 12: OK 730s # GLib-DEBUG: io-channel-basic: child writing 8+818 bytes to 17 730s # GLib-DEBUG: io-channel-basic: ...from 16: IN 730s # GLib-DEBUG: io-channel-basic: ...from 16: 818 bytes 730s # GLib-DEBUG: io-channel-basic: ...from 16: OK 730s # GLib-DEBUG: io-channel-basic: child writing 8+4407 bytes to 15 730s # GLib-DEBUG: io-channel-basic: ...from 14: IN 730s # GLib-DEBUG: io-channel-basic: ...from 14: 4407 bytes 730s # GLib-DEBUG: io-channel-basic: ...from 14: OK 730s # GLib-DEBUG: io-channel-basic: child writing 8+3644 bytes to 13 730s # GLib-DEBUG: io-channel-basic: ...from 12: IN 730s # GLib-DEBUG: io-channel-basic: ...from 12: 3644 bytes 730s # GLib-DEBUG: io-channel-basic: ...from 12: OK 730s # GLib-DEBUG: io-channel-basic: child writing 8+4415 bytes to 17 730s # GLib-DEBUG: io-channel-basic: ...from 16: IN 730s # GLib-DEBUG: io-channel-basic: ...from 16: 4415 bytes 730s # GLib-DEBUG: io-channel-basic: ...from 16: OK 730s # GLib-DEBUG: io-channel-basic: child writing 8+3839 bytes to 15 730s # GLib-DEBUG: io-channel-basic: child exiting, closing 15 730s # GLib-DEBUG: io-channel-basic: ...from 14: HUP IN 730s # GLib-DEBUG: io-channel-basic: ...from 14: 3839 bytes 730s # GLib-DEBUG: io-channel-basic: ...from 14: OK 731s # GLib-DEBUG: io-channel-basic: child writing 8+2620 bytes to 17 731s # GLib-DEBUG: io-channel-basic: ...from 16: IN 731s # GLib-DEBUG: io-channel-basic: ...from 16: 2620 bytes 731s # GLib-DEBUG: io-channel-basic: ...from 16: OK 731s # GLib-DEBUG: io-channel-basic: child writing 8+3529 bytes to 13 731s # GLib-DEBUG: io-channel-basic: ...from 12: IN 731s # GLib-DEBUG: io-channel-basic: ...from 12: 3529 bytes 731s # GLib-DEBUG: io-channel-basic: ...from 12: OK 731s # GLib-DEBUG: io-channel-basic: child writing 8+939 bytes to 17 731s # GLib-DEBUG: io-channel-basic: ...from 16: IN 731s # GLib-DEBUG: io-channel-basic: ...from 16: 939 bytes 731s # GLib-DEBUG: io-channel-basic: ...from 16: OK 731s # GLib-DEBUG: io-channel-basic: child writing 8+660 bytes to 13 731s # GLib-DEBUG: io-channel-basic: ...from 12: IN 731s # GLib-DEBUG: io-channel-basic: ...from 12: 660 bytes 731s # GLib-DEBUG: io-channel-basic: ...from 12: OK 731s # GLib-DEBUG: io-channel-basic: child writing 8+2643 bytes to 17 731s # GLib-DEBUG: io-channel-basic: child exiting, closing 17 731s # GLib-DEBUG: io-channel-basic: ...from 16: HUP IN 731s # GLib-DEBUG: io-channel-basic: ...from 16: 2643 bytes 731s # GLib-DEBUG: io-channel-basic: ...from 16: OK 731s # GLib-DEBUG: io-channel-basic: child writing 8+495 bytes to 13 731s # GLib-DEBUG: io-channel-basic: ...from 12: IN 731s # GLib-DEBUG: io-channel-basic: ...from 12: 495 bytes 731s # GLib-DEBUG: io-channel-basic: ...from 12: OK 731s # GLib-DEBUG: io-channel-basic: child exiting, closing 13 731s # GLib-DEBUG: io-channel-basic: ...from 12: HUP 731s ok 1 /gio/io-basics 731s # slow test /gio/io-basics executed in 12.27 secs 731s # End of gio tests 731s ok - glib/io-channel-basic.test 731s # Running test: glib/gi-compile-repository.py.test 731s TAP version 13 731s ok 1 __main__.TestGICompileRepository.test_open_failure 731s # gir path set to [PosixPath('/usr/lib/powerpc64le-linux-gnu/gir-1.0'), PosixPath('/usr/share/gir-1.0')] 731s # gi-compile-repository: /usr/bin/gi-compile-repository 731s # tmpdir: /tmp/tmpav0nt7gg 731s # Running: ['/usr/bin/gi-compile-repository', 'this-is/not/a-file.gir', '--output', '/tmp/tmpav0nt7gg/invalid.typelib'] 731s # Return code: 1 731s # Output: 731s # 731s # Error: 731s # Error parsing file ‘this-is/not/a-file.gir’: Failed to open file “this-is/not/a-file.gir”: No such file or directory 731s ok 2 __main__.TestGICompileRepositoryForGLib.test_compile 731s # gir path set to [PosixPath('/usr/lib/powerpc64le-linux-gnu/gir-1.0'), PosixPath('/usr/share/gir-1.0')] 731s # gi-compile-repository: /usr/bin/gi-compile-repository 731s # tmpdir: /tmp/tmpoj9etcbz 731s # Running: ['/usr/bin/gi-compile-repository', '/usr/lib/powerpc64le-linux-gnu/gir-1.0/GLib-2.0.gir', '--output', '/tmp/tmpoj9etcbz/GLib-2.typelib'] 731s # Return code: 0 731s # Output: 731s # 731s # Error: 732s ok 3 __main__.TestGICompileRepositoryForGLib.test_write_failure 732s # gi-compile-repository: /usr/bin/gi-compile-repository 732s # tmpdir: /tmp/tmpt4p7zb29 732s # 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'] 732s # Return code: 1 732s # Output: 732s # 732s # Error: 732s # Failed to open ‘this-is/not/a-good-output/invalid.typelib.tmp’: No such file or directory 732s ok 4 __main__.TestGICompileRepositoryForGObject.test_compile 732s # gir path set to [PosixPath('/usr/lib/powerpc64le-linux-gnu/gir-1.0'), PosixPath('/usr/share/gir-1.0')] 732s # gi-compile-repository: /usr/bin/gi-compile-repository 732s # tmpdir: /tmp/tmp9iyazyib 732s # Running: ['/usr/bin/gi-compile-repository', '/usr/share/gir-1.0/GObject-2.0.gir', '--output', '/tmp/tmp9iyazyib/GObject-2.typelib', '--includedir', '/usr/lib/powerpc64le-linux-gnu/gir-1.0', '--includedir', '/usr/share/gir-1.0'] 732s # Return code: 0 732s # Output: 732s # 732s # Error: 732s ok 5 __main__.TestGICompileRepositoryForGObject.test_write_failure 732s # gi-compile-repository: /usr/bin/gi-compile-repository 732s # tmpdir: /tmp/tmpmes_jab4 732s # 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'] 732s # Return code: 1 732s # Output: 732s # 732s # Error: 732s # Failed to open ‘this-is/not/a-good-output/invalid.typelib.tmp’: No such file or directory 733s ok 6 __main__.TestGICompileRepositoryForGio.test_compile 733s # gir path set to [PosixPath('/usr/lib/powerpc64le-linux-gnu/gir-1.0'), PosixPath('/usr/share/gir-1.0')] 733s # gi-compile-repository: /usr/bin/gi-compile-repository 733s # tmpdir: /tmp/tmp71qpbwt0 733s # Running: ['/usr/bin/gi-compile-repository', '/usr/share/gir-1.0/Gio-2.0.gir', '--output', '/tmp/tmp71qpbwt0/Gio-2.typelib', '--includedir', '/usr/lib/powerpc64le-linux-gnu/gir-1.0', '--includedir', '/usr/share/gir-1.0'] 733s # Return code: 0 733s # Output: 733s # 733s # Error: 733s # Executing: glib/gi-compile-repository.py.test 733s ok 7 __main__.TestGICompileRepositoryForGio.test_write_failure 733s # gi-compile-repository: /usr/bin/gi-compile-repository 733s # tmpdir: /tmp/tmpuh3l9kvu 733s # 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'] 733s # Return code: 1 733s # Output: 733s # 733s # Error: 733s # Failed to open ‘this-is/not/a-good-output/invalid.typelib.tmp’: No such file or directory 733s 1..7 733s ok - glib/gi-compile-repository.py.test 733s # Running test: glib/refcount.test 733s TAP version 14 733s # random seed: R02Sbfe597b251331f922304170b02157c8b 733s 1..4 733s # Start of refcount tests 733s ok 1 /refcount/grefcount 733s ok 2 /refcount/gatomicrefcount 733s # Start of grefcount tests 733s ok 3 /refcount/grefcount/saturation 733s # End of grefcount tests 733s # Start of gatomicrefcount tests 733s ok - glib/refcount.test 733s ok 4 /refcount/gatomicrefcount/saturation 733s # End of gatomicrefcount tests 733s # End of refcount tests 733s # Running test: glib/gio-tool.py.test 733s TAP version 13 733s ok 1 __main__.TestGioLaunchExpandsDesktopEntry.test_absolute_from_folder 733s # gio: /usr/bin/gio 733s # tmpdir: /tmp/tmpa269mvzc 733s # Running: ['/usr/bin/gio', 'launch', '/tmp/tmpa269mvzc/folder/desktop.entry'] 733s # Working Directory: /tmp/tmpa269mvzc/folder 733s # Return code: 0 733s # Output: 733s # /tmp/tmpa269mvzc/folder/desktop.entry 733s # Error: 733s ok 2 __main__.TestGioLaunchExpandsDesktopEntry.test_absolute_from_parent 733s # gio: /usr/bin/gio 733s # tmpdir: /tmp/tmpgr91xvsp 733s # Running: ['/usr/bin/gio', 'launch', '/tmp/tmpgr91xvsp/folder/desktop.entry'] 733s # Working Directory: /tmp/tmpgr91xvsp 733s # Return code: 0 733s # Output: 733s # /tmp/tmpgr91xvsp/folder/desktop.entry 733s # Error: 733s ok 3 __main__.TestGioLaunchExpandsDesktopEntry.test_absolute_from_sibling 733s # gio: /usr/bin/gio 733s # tmpdir: /tmp/tmpwyqtppbj 733s # Running: ['/usr/bin/gio', 'launch', '/tmp/tmpwyqtppbj/folder/desktop.entry'] 733s # Working Directory: /tmp/tmpwyqtppbj/sibling 733s # Return code: 0 733s # Output: 733s # /tmp/tmpwyqtppbj/folder/desktop.entry 733s # Error: 733s ok 4 __main__.TestGioLaunchExpandsDesktopEntry.test_relative_from_folder 733s # gio: /usr/bin/gio 733s # tmpdir: /tmp/tmpo_wahmk_ 733s # Running: ['/usr/bin/gio', 'launch', 'desktop.entry'] 733s # Working Directory: /tmp/tmpo_wahmk_/folder 733s # Return code: 0 733s # Output: 733s # /tmp/tmpo_wahmk_/folder/desktop.entry 733s # Error: 733s ok 5 __main__.TestGioLaunchExpandsDesktopEntry.test_relative_from_parent 733s # gio: /usr/bin/gio 733s # tmpdir: /tmp/tmpxfh5mfg3 733s # Running: ['/usr/bin/gio', 'launch', 'folder/desktop.entry'] 733s # Working Directory: /tmp/tmpxfh5mfg3 733s # Return code: 0 733s # Output: 733s # /tmp/tmpxfh5mfg3/folder/desktop.entry 733s # Error: 733s ok 6 __main__.TestGioLaunchExpandsDesktopEntry.test_relative_from_sibling 733s # gio: /usr/bin/gio 733s # tmpdir: /tmp/tmphb0bpg6a 733s # Running: ['/usr/bin/gio', 'launch', '../folder/desktop.entry'] 733s # Working Directory: /tmp/tmphb0bpg6a/sibling 733s # Return code: 0 733s # Output: 733s # /tmp/tmphb0bpg6a/folder/desktop.entry 733s # Error: 733s ok 7 __main__.TestGioTool.test_help 733s # gio: /usr/bin/gio 733s # tmpdir: /tmp/tmph3hbqazo 733s # Running: ['/usr/bin/gio', '--help'] 733s # Return code: 0 733s # Output: 733s # Usage: 733s # gio COMMAND [ARGS…] 733s # 733s # Commands: 733s # help Print help 733s # version Print version 733s # cat Concatenate files to standard output 733s # copy Copy one or more files 733s # info Show information about locations 733s # launch Launch an application from a desktop file 733s # list List the contents of locations 733s # mime Get or set the handler for a mimetype 733s # mkdir Create directories 733s # monitor Monitor files and directories for changes 733s # mount Mount or unmount the locations 733s # move Move one or more files 733s # open Open files with the default application 733s # rename Rename a file 733s # remove Delete one or more files 733s # save Read from standard input and save 733s # set Set a file attribute 733s # trash Move files or directories to the trash 733s # tree Lists the contents of locations in a tree 733s # 733s # Use “gio help COMMAND” to get detailed help. 733s # Error: 733s # 733s # Running: ['/usr/bin/gio', 'help'] 733s # Return code: 0 733s # Output: 733s # Usage: 733s # gio COMMAND [ARGS…] 733s # 733s # Commands: 733s # help Print help 733s # version Print version 733s # cat Concatenate files to standard output 733s # copy Copy one or more files 733s # info Show information about locations 733s # launch Launch an application from a desktop file 733s # list List the contents of locations 733s # mime Get or set the handler for a mimetype 733s # mkdir Create directories 733s # monitor Monitor files and directories for changes 733s # mount Mount or unmount the locations 733s # move Move one or more files 733s # open Open files with the default application 733s # rename Rename a file 733s # remove Delete one or more files 733s # save Read from standard input and save 733s # set Set a file attribute 733s # trash Move files or directories to the trash 733s # tree Lists the contents of locations in a tree 733s # 733s # Use “gio help COMMAND” to get detailed help. 733s # Error: 733s ok 8 __main__.TestGioTool.test_info_non_default_attributes 733s # gio: /usr/bin/gio 733s # tmpdir: /tmp/tmpqifq5s56 733s # Running: ['/usr/bin/gio', 'info', '--attributes=standard::content-type', '/tmp/tmpqifq5s56/tmpfi_z2jvi'] 733s # Return code: 0 733s # Output: 733s # uri: file:///tmp/tmpqifq5s56/tmpfi_z2jvi 733s # local path: /tmp/tmpqifq5s56/tmpfi_z2jvi 733s # unix mount: /dev/vda1 / ext4 rw,relatime,discard,errors=remount-ro,commit=30 733s # attributes: 733s # standard::content-type: application/x-zerosize 733s # Error: 733s ok 9 __main__.TestGioTool.test_no_args 733s # gio: /usr/bin/gio 733s # tmpdir: /tmp/tmpdhh96pkp 733s # Running: ['/usr/bin/gio'] 733s # Return code: 1 733s # Output: 733s # 733s # Error: 733s # Usage: 733s # gio COMMAND [ARGS…] 733s # 733s # Commands: 733s # help Print help 733s # version Print version 733s # cat Concatenate files to standard output 733s # copy Copy one or more files 733s # info Show information about locations 733s # launch Launch an application from a desktop file 733s # list List the contents of locations 733s # mime Get or set the handler for a mimetype 733s # mkdir Create directories 733s # monitor Monitor files and directories for changes 733s # mount Mount or unmount the locations 733s # move Move one or more files 733s # open Open files with the default application 733s # rename Rename a file 733s # remove Delete one or more files 733s # save Read from standard input and save 733s # set Set a file attribute 733s # trash Move files or directories to the trash 733s # tree Lists the contents of locations in a tree 733s # 733s # Use “gio help COMMAND” to get detailed help. 733s 1..9 733s ok - glib/gio-tool.py.test 733s # Running test: glib/cxx.test 733s TAP version 14 733s # random seed: R02Sdc48252060d43e311e8fb10ac912c2a9 733s 1..2 733s # Start of gtask tests 733s # 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. 733s ok 1 /gtask/name 733s # Start of name tests 733s # 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. 733s ok 2 /gtask/name/macro-wrapper 733s ok - glib/cxx.test 733s # Running test: glib/gdbus-connection-flush.test 733s # End of name tests 733s # End of gtask tests 733s TAP version 14 733s # random seed: R02S52c70db24d73956c2151b67ff7fae4f3 733s 1..2 733s # Start of gdbus tests 733s # Start of connection tests 733s # Start of flush tests 733s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_6PQ1E3/gdbus/connection/flush/busy/.dirs/home 733s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_6PQ1E3/gdbus/connection/flush/busy/.dirs/cache 733s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_6PQ1E3/gdbus/connection/flush/busy/.dirs/system-config1:/tmp/test_gdbus-connection-flush_6PQ1E3/gdbus/connection/flush/busy/.dirs/system-config2 733s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_6PQ1E3/gdbus/connection/flush/busy/.dirs/config 733s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_6PQ1E3/gdbus/connection/flush/busy/.dirs/system-data1:/tmp/test_gdbus-connection-flush_6PQ1E3/gdbus/connection/flush/busy/.dirs/system-data2 733s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_6PQ1E3/gdbus/connection/flush/busy/.dirs/data 733s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_6PQ1E3/gdbus/connection/flush/busy/.dirs/state 733s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_6PQ1E3/gdbus/connection/flush/busy/.dirs/runtime 733s ok 1 /gdbus/connection/flush/busy 733s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_6PQ1E3/gdbus/connection/flush/idle/.dirs/home 733s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_6PQ1E3/gdbus/connection/flush/idle/.dirs/cache 733s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_6PQ1E3/gdbus/connection/flush/idle/.dirs/system-config1:/tmp/test_gdbus-connection-flush_6PQ1E3/gdbus/connection/flush/idle/.dirs/system-config2 733s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_6PQ1E3/gdbus/connection/flush/idle/.dirs/config 733s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_6PQ1E3/gdbus/connection/flush/idle/.dirs/system-data1:/tmp/test_gdbus-connection-flush_6PQ1E3/gdbus/connection/flush/idle/.dirs/system-data2 733s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_6PQ1E3/gdbus/connection/flush/idle/.dirs/data 733s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_6PQ1E3/gdbus/connection/flush/idle/.dirs/state 733s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_6PQ1E3/gdbus/connection/flush/idle/.dirs/runtime 733s ok 2 /gdbus/connection/flush/idle 733s # End of flush tests 733s # End of connection tests 733s # End of gdbus tests 733s TAP version 14 733s # random seed: R02S360870e0ed564f31b2071fea14bd47a6 733s 1..1 733s # Start of portal-support tests 733s ok 1 /portal-support/none 733s # End of portal-support tests 733s TAP version 14 733s # random seed: R02Sf0c4505c629f8675ddb5a1fcb46f7ade 733s 1..4 733s # Start of thread tests 733s ok 1 /thread/cond1 733s ok - glib/gdbus-connection-flush.test 733s # Running test: glib/portal-support-none.test 733s ok - glib/portal-support-none.test 733s # Running test: glib/cond.test 733s ok 2 /thread/cond2 733s # Start of cond tests 734s ok 3 /thread/cond/wait-until 734s # slow test /thread/cond/wait-until executed in 1.02 secs 734s # Start of wait-until tests 734s # /thread/cond/wait-until/contended-and-interrupted summary: Check proper handling of errno in g_cond_wait_until with a contended mutex 734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/957 736s ok - glib/cond.test 736s # Running test: glib/task.test 736s ok 4 /thread/cond/wait-until/contended-and-interrupted 736s # slow test /thread/cond/wait-until/contended-and-interrupted executed in 1.10 secs 736s # End of wait-until tests 736s # End of cond tests 736s # End of thread tests 736s TAP version 14 736s # random seed: R02S9280f3afae16dce48cdc2c8a248a7dfb 736s 1..36 736s # Start of gtask tests 736s ok 1 /gtask/basic 736s ok 2 /gtask/error 736s ok 3 /gtask/error-literal 736s ok 4 /gtask/error-literal-from-variable 736s ok 5 /gtask/return-from-same-iteration 736s ok 6 /gtask/return-from-toplevel 736s ok 7 /gtask/return-from-anon-thread 736s ok 8 /gtask/return-from-wrong-thread 736s ok 9 /gtask/no-callback 736s ok 10 /gtask/report-error 736s ok 11 /gtask/priority 736s ok 12 /gtask/name 736s ok 13 /gtask/static-name 736s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1608 736s ok 14 /gtask/asynchronous-cancellation 736s ok 15 /gtask/check-cancellable 736s ok 16 /gtask/return-if-cancelled 736s ok 17 /gtask/run-in-thread 736s ok 18 /gtask/run-in-thread-sync 736s ok 19 /gtask/run-in-thread-priority 736s ok 20 /gtask/run-in-thread-nested 737s ok 21 /gtask/run-in-thread-overflow 737s # slow test /gtask/run-in-thread-overflow executed in 0.51 secs 737s # GLib-GIO-DEBUG: GTask 0x1daae5eb090 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 737s # GLib-GIO-DEBUG: GTask 0x1daae5eb220 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 737s ok 22 /gtask/return-on-cancel 737s # GLib-GIO-DEBUG: GTask 0x1daae5816a0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 737s # GLib-GIO-DEBUG: GTask 0x1daae5812e0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 737s ok 23 /gtask/return-on-cancel-sync 737s ok 24 /gtask/return-on-cancel-atomic 737s ok 25 /gtask/return-pointer 737s ok 26 /gtask/return-value 737s ok 27 /gtask/return-prefixed-error 737s ok - glib/task.test 737s # Running test: glib/utils-c-11.test 737s ok 28 /gtask/object-keepalive 737s ok 29 /gtask/legacy-error 737s ok 30 /gtask/finalize-without-return 737s # Start of name tests 737s ok 31 /gtask/name/macro-wrapper 737s # End of name tests 737s # Start of return tests 737s ok 32 /gtask/return/error-first 737s ok 33 /gtask/return/value-first 737s # Start of in-idle tests 737s ok 34 /gtask/return/in-idle/error-first 737s ok 35 /gtask/return/in-idle/value-first 737s # End of in-idle tests 737s # End of return tests 737s # Start of attach-source tests 737s # /gtask/attach-source/set-name summary: Test that attaching a source to a task will set the source’s name if unset 737s ok 36 /gtask/attach-source/set-name 737s # End of attach-source tests 737s # End of gtask tests 737s TAP version 14 737s # random seed: R02S35e87dd551fc0484efef00a94bcaba63 737s 1..41 737s # Start of utils tests 737s ok 1 /utils/language-names 737s # Testing locale ‘en’ 737s # Testing locale ‘sr@latin’ 737s # Testing locale ‘fr_BE’ 737s # Testing locale ‘sr_SR@latin’ 737s # Testing locale ‘sr_SR@latin.UTF-8’ 737s # Testing locale ‘sr@latin_invalid’ 737s # Testing locale ‘sr.UTF-8@latin’ 737s # Testing locale ‘sr.UTF-8_latin’ 737s # Testing locale ‘sr.UTF-8@latin_invalid’ 737s ok 2 /utils/locale-variants 737s ok 3 /utils/version 737s ok 4 /utils/appname 737s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 737s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 737s ok 5 /utils/prgname-thread-safety 737s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 737s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 737s ok 6 /utils/tmpdir 737s ok 7 /utils/basic_bits 737s ok 8 /utils/bits 737s ok 9 /utils/swap 737s ok 10 /utils/find-program 737s ok 11 /utils/find-program-for-path 737s ok 12 /utils/debug 737s ok 13 /utils/codeset 737s ok 14 /utils/codeset2 737s ok 15 /utils/console-charset 737s ok 16 /utils/gettext 737s ok 17 /utils/username 737s ok 18 /utils/realname 737s ok 19 /utils/hostname 737s ok 20 /utils/xdgdirs 737s ok 21 /utils/specialdir 737s # NAME: Ubuntu 737s ok 22 /utils/os-info 737s ok 23 /utils/clear-pointer 737s ok 24 /utils/clear-pointer-cast 737s ok 25 /utils/take-pointer 737s ok 26 /utils/clear-source 737s ok 27 /utils/misc-mem 737s # /utils/aligned-mem summary: Aligned memory allocator 737s # Alignment must not be zero 737s # Alignment must be a power of two 737s # Alignment must be a multiple of sizeof(void*) 737s ok 28 /utils/aligned-mem 737s # /utils/free-sized summary: Check that g_free_sized() works 737s ok 29 /utils/free-sized 737s ok 30 /utils/nullify 737s ok 31 /utils/atexit 737s ok 32 /utils/check-setuid 737s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 737s ok 33 /utils/int-limits 737s ok 34 /utils/clear-list 737s ok 35 /utils/clear-slist 737s ok 36 /utils/steal-handle-id 737s # Start of specialdir tests 737s ok 37 /utils/specialdir/desktop 737s # End of specialdir tests 737s # Start of clear-pointer tests 737s ok 38 /utils/clear-pointer/side-effects 737s # End of clear-pointer tests 737s # Start of aligned-mem tests 737s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 737s ok 39 /utils/aligned-mem/alignment 737s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 737s ok 40 /utils/aligned-mem/zeroed 737s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 737s ok 41 /utils/aligned-mem/free-sized 737s # Start of subprocess tests 737s # End of subprocess tests 737s # End of aligned-mem tests 737s # End of utils tests 737s TAP version 14 737s # random seed: R02S428c7d243b8d1ca71952f415da67b689 737s 1..1 737s # Start of gobject tests 737s # Start of refcount tests 737s # init 0x183d5da04eb0 737s # 737s ok - glib/utils-c-11.test 737s # Running test: glib/properties-refcount2.test 737s # . 737s # . 737s # . 737s # . 737s # . 737s # . 737s # . 737s # . 737s # . 737s # . 737s # . 737s # . 737s # . 737s # . 737s # . 737s # . 737s # . 737s # . 737s # . 737s # . 737s # . 737s # . 737s # . 737s # . 737s # . 737s # . 737s # . 737s # . 737s # . 737s # . 738s # . 738s # . 738s # . 738s # . 738s # . 738s # . 738s # . 738s # . 738s # . 738s # . 738s # . 738s # . 738s # . 738s # Executing: glib/properties-refcount2.test 738s # . 738s # . 738s # . 738s # . 738s # . 738s # . 738s # . 738s # . 738s # . 738s # . 738s # . 738s # . 738s # . 738s # . 738s # . 738s # . 738s # . 738s # . 738s # . 738s # . 738s # . 738s # . 738s # . 738s # . 739s # . 739s # . 739s # . 739s # . 739s # . 739s # . 739s # . 739s # . 739s # . 739s # . 739s # . 739s # . 739s # . 739s # . 739s # . 739s # . 739s # . 739s # . 739s # . 739s # . 739s # . 739s # . 739s # . 739s # . 739s # . 739s # . 739s # . 739s # . 739s # . 739s # . 739s # . 739s # . 739s # . 739s # dispose 0x183d5da04eb0! 739s # 739s ok 1 /gobject/refcount/properties-2 739s # slow test /gobject/refcount/properties-2 executed in 2.77 secs 739s # End of refcount tests 739s # End of gobject tests 739s ok - glib/properties-refcount2.test 739s # Running test: glib/cxx-03.test 739s TAP version 14 739s # random seed: R02S950872cc3ad62dc134c6db1f2049e5d7 739s 1..2 739s # Start of gtask tests 739s # 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. 739s ok 1 /gtask/name 739s # Start of name tests 739s # 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. 739s ok 2 /gtask/name/macro-wrapper 739s # End of name tests 739s # End of gtask tests 739s ok - glib/cxx-03.test 739s # Running test: glib/properties-refcount4.test 739s TAP version 14 739s # random seed: R02S3c3f9fb6c7beba8e742f6a633903a819 739s 1..1 739s # Start of gobject tests 739s # Start of refcount tests 739s ok 1 /gobject/refcount/properties-4 739s # End of refcount tests 739s # End of gobject tests 739s ok - glib/properties-refcount4.test 739s # Running test: glib/power-profile-monitor.test 739s TAP version 14 739s # random seed: R02Sa7fc55160dc7d23688b23751cbc2a1ff 739s 1..1 739s # Start of power-profile-monitor tests 739s # GLib-GIO-DEBUG: Failed to initialize portal (GPowerProfileMonitorPortal) for gio-power-profile-monitor: Not using portals 739s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GPowerProfileMonitorDBus) for ‘gio-power-profile-monitor’ 739s ok 1 /power-profile-monitor/default 739s # End of power-profile-monitor tests 739s TAP version 14 739s # random seed: R02S0aac19d1752766d84c80660cd8d2e09b 739s 1..24 739s # Start of autoptr tests 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/repository/.dirs/home 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/repository/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_2GD1E3/autoptr/repository/.dirs/system-config1:/tmp/test_autoptr-girepository_2GD1E3/autoptr/repository/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/repository/.dirs/config 739s ok - glib/power-profile-monitor.test 739s # Running test: glib/autoptr-girepository.test 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_2GD1E3/autoptr/repository/.dirs/system-data1:/tmp/test_autoptr-girepository_2GD1E3/autoptr/repository/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/repository/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/repository/.dirs/state 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_2GD1E3/autoptr/repository/.dirs/runtime 739s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 739s ok 1 /autoptr/repository 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/typelib/.dirs/home 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/typelib/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_2GD1E3/autoptr/typelib/.dirs/system-config1:/tmp/test_autoptr-girepository_2GD1E3/autoptr/typelib/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/typelib/.dirs/config 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_2GD1E3/autoptr/typelib/.dirs/system-data1:/tmp/test_autoptr-girepository_2GD1E3/autoptr/typelib/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/typelib/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/typelib/.dirs/state 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_2GD1E3/autoptr/typelib/.dirs/runtime 739s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 739s ok 2 /autoptr/typelib 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/base-info/.dirs/home 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/base-info/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_2GD1E3/autoptr/base-info/.dirs/system-config1:/tmp/test_autoptr-girepository_2GD1E3/autoptr/base-info/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/base-info/.dirs/config 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_2GD1E3/autoptr/base-info/.dirs/system-data1:/tmp/test_autoptr-girepository_2GD1E3/autoptr/base-info/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/base-info/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/base-info/.dirs/state 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_2GD1E3/autoptr/base-info/.dirs/runtime 739s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 739s ok 3 /autoptr/base-info 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/arg-info/.dirs/home 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/arg-info/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_2GD1E3/autoptr/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_2GD1E3/autoptr/arg-info/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/arg-info/.dirs/config 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_2GD1E3/autoptr/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_2GD1E3/autoptr/arg-info/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/arg-info/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/arg-info/.dirs/state 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_2GD1E3/autoptr/arg-info/.dirs/runtime 739s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 739s ok 4 /autoptr/arg-info 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/callable-info/.dirs/home 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/callable-info/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_2GD1E3/autoptr/callable-info/.dirs/system-config1:/tmp/test_autoptr-girepository_2GD1E3/autoptr/callable-info/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/callable-info/.dirs/config 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_2GD1E3/autoptr/callable-info/.dirs/system-data1:/tmp/test_autoptr-girepository_2GD1E3/autoptr/callable-info/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/callable-info/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/callable-info/.dirs/state 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_2GD1E3/autoptr/callable-info/.dirs/runtime 739s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 739s ok 5 /autoptr/callable-info 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/callback-info/.dirs/home 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/callback-info/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_2GD1E3/autoptr/callback-info/.dirs/system-config1:/tmp/test_autoptr-girepository_2GD1E3/autoptr/callback-info/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/callback-info/.dirs/config 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_2GD1E3/autoptr/callback-info/.dirs/system-data1:/tmp/test_autoptr-girepository_2GD1E3/autoptr/callback-info/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/callback-info/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/callback-info/.dirs/state 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_2GD1E3/autoptr/callback-info/.dirs/runtime 739s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 739s ok 6 /autoptr/callback-info 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/constant-info/.dirs/home 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/constant-info/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_2GD1E3/autoptr/constant-info/.dirs/system-config1:/tmp/test_autoptr-girepository_2GD1E3/autoptr/constant-info/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/constant-info/.dirs/config 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_2GD1E3/autoptr/constant-info/.dirs/system-data1:/tmp/test_autoptr-girepository_2GD1E3/autoptr/constant-info/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/constant-info/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/constant-info/.dirs/state 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_2GD1E3/autoptr/constant-info/.dirs/runtime 739s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 739s ok 7 /autoptr/constant-info 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/enum-info/.dirs/home 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/enum-info/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_2GD1E3/autoptr/enum-info/.dirs/system-config1:/tmp/test_autoptr-girepository_2GD1E3/autoptr/enum-info/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/enum-info/.dirs/config 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_2GD1E3/autoptr/enum-info/.dirs/system-data1:/tmp/test_autoptr-girepository_2GD1E3/autoptr/enum-info/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/enum-info/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/enum-info/.dirs/state 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_2GD1E3/autoptr/enum-info/.dirs/runtime 739s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 739s ok 8 /autoptr/enum-info 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/field-info/.dirs/home 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/field-info/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_2GD1E3/autoptr/field-info/.dirs/system-config1:/tmp/test_autoptr-girepository_2GD1E3/autoptr/field-info/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/field-info/.dirs/config 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_2GD1E3/autoptr/field-info/.dirs/system-data1:/tmp/test_autoptr-girepository_2GD1E3/autoptr/field-info/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/field-info/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/field-info/.dirs/state 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_2GD1E3/autoptr/field-info/.dirs/runtime 739s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 739s ok 9 /autoptr/field-info 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/flags-info/.dirs/home 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/flags-info/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_2GD1E3/autoptr/flags-info/.dirs/system-config1:/tmp/test_autoptr-girepository_2GD1E3/autoptr/flags-info/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/flags-info/.dirs/config 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_2GD1E3/autoptr/flags-info/.dirs/system-data1:/tmp/test_autoptr-girepository_2GD1E3/autoptr/flags-info/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/flags-info/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/flags-info/.dirs/state 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_2GD1E3/autoptr/flags-info/.dirs/runtime 739s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 739s ok 10 /autoptr/flags-info 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/function-info/.dirs/home 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/function-info/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_2GD1E3/autoptr/function-info/.dirs/system-config1:/tmp/test_autoptr-girepository_2GD1E3/autoptr/function-info/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/function-info/.dirs/config 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_2GD1E3/autoptr/function-info/.dirs/system-data1:/tmp/test_autoptr-girepository_2GD1E3/autoptr/function-info/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/function-info/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/function-info/.dirs/state 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_2GD1E3/autoptr/function-info/.dirs/runtime 739s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 739s ok 11 /autoptr/function-info 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/interface-info/.dirs/home 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/interface-info/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_2GD1E3/autoptr/interface-info/.dirs/system-config1:/tmp/test_autoptr-girepository_2GD1E3/autoptr/interface-info/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/interface-info/.dirs/config 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_2GD1E3/autoptr/interface-info/.dirs/system-data1:/tmp/test_autoptr-girepository_2GD1E3/autoptr/interface-info/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/interface-info/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/interface-info/.dirs/state 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_2GD1E3/autoptr/interface-info/.dirs/runtime 739s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 739s ok 12 /autoptr/interface-info 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/object-info/.dirs/home 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/object-info/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_2GD1E3/autoptr/object-info/.dirs/system-config1:/tmp/test_autoptr-girepository_2GD1E3/autoptr/object-info/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/object-info/.dirs/config 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_2GD1E3/autoptr/object-info/.dirs/system-data1:/tmp/test_autoptr-girepository_2GD1E3/autoptr/object-info/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/object-info/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/object-info/.dirs/state 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_2GD1E3/autoptr/object-info/.dirs/runtime 739s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 739s ok 13 /autoptr/object-info 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/property-info/.dirs/home 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/property-info/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_2GD1E3/autoptr/property-info/.dirs/system-config1:/tmp/test_autoptr-girepository_2GD1E3/autoptr/property-info/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/property-info/.dirs/config 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_2GD1E3/autoptr/property-info/.dirs/system-data1:/tmp/test_autoptr-girepository_2GD1E3/autoptr/property-info/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/property-info/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/property-info/.dirs/state 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_2GD1E3/autoptr/property-info/.dirs/runtime 739s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 739s ok 14 /autoptr/property-info 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/registered-type-info/.dirs/home 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/registered-type-info/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_2GD1E3/autoptr/registered-type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_2GD1E3/autoptr/registered-type-info/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/registered-type-info/.dirs/config 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_2GD1E3/autoptr/registered-type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_2GD1E3/autoptr/registered-type-info/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/registered-type-info/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/registered-type-info/.dirs/state 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_2GD1E3/autoptr/registered-type-info/.dirs/runtime 739s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 739s ok 15 /autoptr/registered-type-info 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/signal-info/.dirs/home 739s ok - glib/autoptr-girepository.test 739s # Running test: glib/hook.test 739s ok - glib/hook.test 739s # Running test: glib/trash.test 739s ok - glib/trash.test 739s # Running test: glib/repository-search-paths.test 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/signal-info/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_2GD1E3/autoptr/signal-info/.dirs/system-config1:/tmp/test_autoptr-girepository_2GD1E3/autoptr/signal-info/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/signal-info/.dirs/config 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_2GD1E3/autoptr/signal-info/.dirs/system-data1:/tmp/test_autoptr-girepository_2GD1E3/autoptr/signal-info/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/signal-info/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/signal-info/.dirs/state 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_2GD1E3/autoptr/signal-info/.dirs/runtime 739s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 739s ok 16 /autoptr/signal-info 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/struct-info/.dirs/home 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/struct-info/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_2GD1E3/autoptr/struct-info/.dirs/system-config1:/tmp/test_autoptr-girepository_2GD1E3/autoptr/struct-info/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/struct-info/.dirs/config 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_2GD1E3/autoptr/struct-info/.dirs/system-data1:/tmp/test_autoptr-girepository_2GD1E3/autoptr/struct-info/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/struct-info/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/struct-info/.dirs/state 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_2GD1E3/autoptr/struct-info/.dirs/runtime 739s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 739s ok 17 /autoptr/struct-info 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/type-info/.dirs/home 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/type-info/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_2GD1E3/autoptr/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_2GD1E3/autoptr/type-info/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/type-info/.dirs/config 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_2GD1E3/autoptr/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_2GD1E3/autoptr/type-info/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/type-info/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/type-info/.dirs/state 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_2GD1E3/autoptr/type-info/.dirs/runtime 739s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 739s ok 18 /autoptr/type-info 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/union-info/.dirs/home 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/union-info/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_2GD1E3/autoptr/union-info/.dirs/system-config1:/tmp/test_autoptr-girepository_2GD1E3/autoptr/union-info/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/union-info/.dirs/config 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_2GD1E3/autoptr/union-info/.dirs/system-data1:/tmp/test_autoptr-girepository_2GD1E3/autoptr/union-info/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/union-info/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/union-info/.dirs/state 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_2GD1E3/autoptr/union-info/.dirs/runtime 739s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 739s ok 19 /autoptr/union-info 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/value-info/.dirs/home 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/value-info/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_2GD1E3/autoptr/value-info/.dirs/system-config1:/tmp/test_autoptr-girepository_2GD1E3/autoptr/value-info/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/value-info/.dirs/config 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_2GD1E3/autoptr/value-info/.dirs/system-data1:/tmp/test_autoptr-girepository_2GD1E3/autoptr/value-info/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/value-info/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/value-info/.dirs/state 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_2GD1E3/autoptr/value-info/.dirs/runtime 739s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 739s ok 20 /autoptr/value-info 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/vfunc-info/.dirs/home 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/vfunc-info/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_2GD1E3/autoptr/vfunc-info/.dirs/system-config1:/tmp/test_autoptr-girepository_2GD1E3/autoptr/vfunc-info/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/vfunc-info/.dirs/config 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_2GD1E3/autoptr/vfunc-info/.dirs/system-data1:/tmp/test_autoptr-girepository_2GD1E3/autoptr/vfunc-info/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/vfunc-info/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_2GD1E3/autoptr/vfunc-info/.dirs/state 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_2GD1E3/autoptr/vfunc-info/.dirs/runtime 739s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 739s ok 21 /autoptr/vfunc-info 739s # End of autoptr tests 739s # Start of auto tests 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_2GD1E3/auto/arg-info/.dirs/home 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_2GD1E3/auto/arg-info/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_2GD1E3/auto/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_2GD1E3/auto/arg-info/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_2GD1E3/auto/arg-info/.dirs/config 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_2GD1E3/auto/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_2GD1E3/auto/arg-info/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_2GD1E3/auto/arg-info/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_2GD1E3/auto/arg-info/.dirs/state 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_2GD1E3/auto/arg-info/.dirs/runtime 739s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 739s ok 22 /auto/arg-info 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_2GD1E3/auto/type-info/.dirs/home 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_2GD1E3/auto/type-info/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_2GD1E3/auto/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_2GD1E3/auto/type-info/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_2GD1E3/auto/type-info/.dirs/config 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_2GD1E3/auto/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_2GD1E3/auto/type-info/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_2GD1E3/auto/type-info/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_2GD1E3/auto/type-info/.dirs/state 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_2GD1E3/auto/type-info/.dirs/runtime 739s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 739s ok 23 /auto/type-info 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_2GD1E3/auto/function-invoker/.dirs/home 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_2GD1E3/auto/function-invoker/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_2GD1E3/auto/function-invoker/.dirs/system-config1:/tmp/test_autoptr-girepository_2GD1E3/auto/function-invoker/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_2GD1E3/auto/function-invoker/.dirs/config 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_2GD1E3/auto/function-invoker/.dirs/system-data1:/tmp/test_autoptr-girepository_2GD1E3/auto/function-invoker/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_2GD1E3/auto/function-invoker/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_2GD1E3/auto/function-invoker/.dirs/state 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_2GD1E3/auto/function-invoker/.dirs/runtime 739s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 739s ok 24 /auto/function-invoker 739s # End of auto tests 739s TAP version 14 739s # random seed: R02S9082048bd1a15240748aa0a3bcd42059 739s 1..2 739s # Start of hook tests 739s ok 1 /hook/basics 739s ok 2 /hook/corner-cases 739s # End of hook tests 739s TAP version 14 739s # random seed: R02Sfe6e06ddaf270d2f67d588844ca6caa2 739s 1..3 739s # Start of trash tests 739s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/251 739s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 739s # File: /tmp/test-trashEM60E3 (parent st_dev: 64769) 739s # Home: /home/ubuntu (st_dev: 64769) 739s ok 1 /trash/not-supported # SKIP The file has to be on another filesystem than the home trash to run this test 739s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1522 739s ok 2 /trash/symlinks # SKIP Directory '/home/ubuntu/.local' does not exist 739s ok 3 /trash/long-filename 739s # End of trash tests 739s TAP version 14 739s # random seed: R02S8a7c130c258dd1142325e9a8c57b4525 739s 1..4 739s # Start of repository tests 739s # Start of search-paths tests 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_D030E3/repository/search-paths/default/.dirs/home 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_D030E3/repository/search-paths/default/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_D030E3/repository/search-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_D030E3/repository/search-paths/default/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_D030E3/repository/search-paths/default/.dirs/config 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_D030E3/repository/search-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_D030E3/repository/search-paths/default/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_D030E3/repository/search-paths/default/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_D030E3/repository/search-paths/default/.dirs/state 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_D030E3/repository/search-paths/default/.dirs/runtime 739s ok 1 /repository/search-paths/default 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_D030E3/repository/search-paths/prepend/.dirs/home 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_D030E3/repository/search-paths/prepend/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_D030E3/repository/search-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_D030E3/repository/search-paths/prepend/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_D030E3/repository/search-paths/prepend/.dirs/config 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_D030E3/repository/search-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_D030E3/repository/search-paths/prepend/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_D030E3/repository/search-paths/prepend/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_D030E3/repository/search-paths/prepend/.dirs/state 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_D030E3/repository/search-paths/prepend/.dirs/runtime 739s ok 2 /repository/search-paths/prepend 739s # End of search-paths tests 739s # Start of library-paths tests 739s ok - glib/repository-search-paths.test 739s # Running test: glib/deftype.test 739s ok - glib/deftype.test 739s # Running test: glib/memory-output-stream.test 739s ok - glib/memory-output-stream.test 739s # Running test: glib/gdbus-server-auth.test 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_D030E3/repository/library-paths/default/.dirs/home 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_D030E3/repository/library-paths/default/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_D030E3/repository/library-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_D030E3/repository/library-paths/default/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_D030E3/repository/library-paths/default/.dirs/config 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_D030E3/repository/library-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_D030E3/repository/library-paths/default/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_D030E3/repository/library-paths/default/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_D030E3/repository/library-paths/default/.dirs/state 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_D030E3/repository/library-paths/default/.dirs/runtime 739s ok 3 /repository/library-paths/default 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_D030E3/repository/library-paths/prepend/.dirs/home 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_D030E3/repository/library-paths/prepend/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_D030E3/repository/library-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_D030E3/repository/library-paths/prepend/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_D030E3/repository/library-paths/prepend/.dirs/config 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_D030E3/repository/library-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_D030E3/repository/library-paths/prepend/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_D030E3/repository/library-paths/prepend/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_D030E3/repository/library-paths/prepend/.dirs/state 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_D030E3/repository/library-paths/prepend/.dirs/runtime 739s ok 4 /repository/library-paths/prepend 739s # End of library-paths tests 739s # End of repository tests 739s TAP version 14 739s # random seed: R02Sf0652c702401d283e2d7a020df18327e 739s 1..10 739s # Start of memory-output-stream tests 739s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540423 739s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=720080 739s ok 1 /memory-output-stream/truncate 739s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540459 739s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540461 739s ok 2 /memory-output-stream/get-data-size 739s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=605733 739s ok 3 /memory-output-stream/properties 739s ok 4 /memory-output-stream/write-bytes 739s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2471 739s ok 5 /memory-output-stream/write-null 739s ok 6 /memory-output-stream/writev 739s ok 7 /memory-output-stream/writev_nonblocking 739s ok 8 /memory-output-stream/steal_as_bytes 739s # Start of seek tests 739s ok 9 /memory-output-stream/seek/fixed 739s ok 10 /memory-output-stream/seek/resizable 739s # End of seek tests 739s # End of memory-output-stream tests 739s TAP version 14 739s # random seed: R02S79a42e17ded49f34f741d0342cb04eba 739s 1..9 739s # Start of gdbus tests 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_OCR0E3/gdbus/server-auth/.dirs/home 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_OCR0E3/gdbus/server-auth/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_OCR0E3/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_OCR0E3/gdbus/server-auth/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_OCR0E3/gdbus/server-auth/.dirs/config 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_OCR0E3/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_OCR0E3/gdbus/server-auth/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_OCR0E3/gdbus/server-auth/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_OCR0E3/gdbus/server-auth/.dirs/state 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_OCR0E3/gdbus/server-auth/.dirs/runtime 739s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_OCR0E3/gdbus-server-auth-QTK0E3 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 739s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_OCR0E3/gdbus-server-auth-QTK0E3/dbus-CGEiocgX 739s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 739s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 739s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 739s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 739s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 739s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 8821 739s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 739s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 739s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 739s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 739s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 739s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 739s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 8821 739s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 739s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 739s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 739s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 739s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 739s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 739s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 8821 739s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 739s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 739s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 739s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 739s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 739s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 739s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 8821 739s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 739s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 739s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 739s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 739s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 739s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 739s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 8821 739s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 739s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 739s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 739s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 739s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 739s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 739s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 8821 739s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 739s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 739s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 739s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 739s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 739s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 739s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 8821 739s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 739s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 739s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 739s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 739s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 739s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 739s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 8821 739s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 739s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 739s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 739s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 739s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 739s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 739s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 8821 739s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 739s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 739s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 739s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 739s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 739s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 739s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 8821 739s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 739s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 739s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 739s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 739s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 739s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 739s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 8821 739s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 739s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 739s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 739s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 739s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 739s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 739s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 8821 739s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 739s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 739s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 739s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 739s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 739s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 739s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 8821 739s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 739s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 739s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 739s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 739s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 739s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 739s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 8821 739s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 739s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 739s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 739s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 739s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 739s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 739s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 8821 739s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 739s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 739s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 739s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 739s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 739s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 739s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 8821 739s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 739s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 739s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 739s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 739s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 739s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 739s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 8821 739s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 739s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 739s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 739s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 739s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 739s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 739s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 8821 739s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 739s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 739s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 739s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 739s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 739s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 739s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 8821 739s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 739s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 739s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 739s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 739s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 739s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 739s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 8821 739s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 739s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 739s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 739s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 739s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 739s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 739s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 8821 739s ok 1 /gdbus/server-auth 739s # Start of server-auth tests 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_OCR0E3/gdbus/server-auth/abstract/.dirs/home 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_OCR0E3/gdbus/server-auth/abstract/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_OCR0E3/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_OCR0E3/gdbus/server-auth/abstract/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_OCR0E3/gdbus/server-auth/abstract/.dirs/config 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_OCR0E3/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_OCR0E3/gdbus/server-auth/abstract/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_OCR0E3/gdbus/server-auth/abstract/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_OCR0E3/gdbus/server-auth/abstract/.dirs/state 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_OCR0E3/gdbus/server-auth/abstract/.dirs/runtime 739s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_OCR0E3/gdbus-server-auth-FBG0E3 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 739s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_OCR0E3/gdbus-server-auth-FBG0E3/dbus-GD3H0Ltu 739s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 739s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 739s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 739s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 739s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 739s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 8821 739s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 739s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 739s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 739s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 739s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 739s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 739s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 8821 739s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 739s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 739s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 739s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 739s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 739s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 739s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 8821 739s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 739s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 739s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 739s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 739s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 739s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 739s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 8821 739s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 739s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 739s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 739s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 739s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 739s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 739s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 8821 739s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 739s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 739s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 739s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 739s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 739s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 739s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 8821 739s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 739s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 739s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 739s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 739s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 739s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 739s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 8821 739s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 739s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 739s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 739s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 739s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 739s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 739s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 8821 739s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 739s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 739s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 739s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 739s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 739s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 739s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 8821 739s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 739s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 739s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 739s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 739s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 739s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 739s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 8821 739s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 739s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 739s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 739s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 739s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 739s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 739s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 8821 739s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 740s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 740s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 740s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 740s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 8821 740s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 740s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 740s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 740s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 740s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 8821 740s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 740s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 740s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 740s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 740s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 8821 740s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 740s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 740s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 740s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 740s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 8821 740s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 740s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 740s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 740s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 740s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 8821 740s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 740s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 740s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 740s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 740s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 8821 740s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 740s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 740s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 740s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 740s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 8821 740s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 740s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 740s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 740s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 740s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 8821 740s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 740s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 740s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 740s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 740s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 8821 740s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 740s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 740s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 740s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 740s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 8821 740s ok 2 /gdbus/server-auth/abstract 740s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_OCR0E3/gdbus/server-auth/tcp/.dirs/home 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_OCR0E3/gdbus/server-auth/tcp/.dirs/cache 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_OCR0E3/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_OCR0E3/gdbus/server-auth/tcp/.dirs/system-config2 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_OCR0E3/gdbus/server-auth/tcp/.dirs/config 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_OCR0E3/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_OCR0E3/gdbus/server-auth/tcp/.dirs/system-data2 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_OCR0E3/gdbus/server-auth/tcp/.dirs/data 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_OCR0E3/gdbus/server-auth/tcp/.dirs/state 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_OCR0E3/gdbus/server-auth/tcp/.dirs/runtime 740s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 740s ok 3 /gdbus/server-auth/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 740s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_OCR0E3/gdbus/server-auth/anonymous/.dirs/home 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_OCR0E3/gdbus/server-auth/anonymous/.dirs/cache 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_OCR0E3/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_OCR0E3/gdbus/server-auth/anonymous/.dirs/system-config2 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_OCR0E3/gdbus/server-auth/anonymous/.dirs/config 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_OCR0E3/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_OCR0E3/gdbus/server-auth/anonymous/.dirs/system-data2 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_OCR0E3/gdbus/server-auth/anonymous/.dirs/data 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_OCR0E3/gdbus/server-auth/anonymous/.dirs/state 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_OCR0E3/gdbus/server-auth/anonymous/.dirs/runtime 740s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_OCR0E3/gdbus-server-auth-LT0ZE3 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 740s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_OCR0E3/gdbus-server-auth-LT0ZE3/dbus-mYr0WD7p 740s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 740s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 740s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 740s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 8821 740s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 740s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 740s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 740s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 740s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 8821 740s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 740s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 740s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 740s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 740s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 8821 740s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 740s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 740s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 740s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 740s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 8821 740s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 740s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 740s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 740s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 740s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 8821 740s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 740s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 740s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 740s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 740s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 8821 740s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 740s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 740s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 740s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 740s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 8821 740s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 740s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 740s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 740s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 740s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 8821 740s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 740s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 740s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 740s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 740s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 8821 740s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 740s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 740s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 740s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 740s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 8821 740s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 740s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 740s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 740s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 740s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 8821 740s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 740s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 740s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 740s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 740s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 8821 740s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 740s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 740s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 740s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 740s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 8821 740s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 740s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 740s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 740s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 740s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 8821 740s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 740s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 740s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 740s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 740s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 8821 740s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 740s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 740s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 740s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 740s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 8821 740s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 740s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 740s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 740s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 740s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 8821 740s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 740s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 740s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 740s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 740s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 8821 740s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 740s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 740s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 740s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 740s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 8821 740s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 740s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 740s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 740s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 740s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 8821 740s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 740s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 740s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 740s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 740s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 8821 740s ok 4 /gdbus/server-auth/anonymous 740s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_OCR0E3/gdbus/server-auth/external/.dirs/home 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_OCR0E3/gdbus/server-auth/external/.dirs/cache 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_OCR0E3/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_OCR0E3/gdbus/server-auth/external/.dirs/system-config2 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_OCR0E3/gdbus/server-auth/external/.dirs/config 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_OCR0E3/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_OCR0E3/gdbus/server-auth/external/.dirs/system-data2 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_OCR0E3/gdbus/server-auth/external/.dirs/data 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_OCR0E3/gdbus/server-auth/external/.dirs/state 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_OCR0E3/gdbus/server-auth/external/.dirs/runtime 740s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_OCR0E3/gdbus-server-auth-49AZE3 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 740s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_OCR0E3/gdbus-server-auth-49AZE3/dbus-3jWaM6Sp 740s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 740s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 740s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 740s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 8821 740s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 740s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 740s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 740s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 740s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 8821 740s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 740s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 740s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 740s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 740s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 8821 740s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 740s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 740s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 740s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 740s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 8821 740s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 740s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 740s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 740s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 740s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 8821 740s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 740s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 740s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 740s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 740s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 8821 740s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 740s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 740s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 740s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 740s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 8821 740s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 740s ok - glib/gdbus-server-auth.test 740s # Running test: glib/performance-threaded.test 740s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 740s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 740s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 740s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 8821 740s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 740s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 740s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 740s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 740s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 8821 740s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 740s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 740s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 740s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 740s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 8821 740s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 740s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 740s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 740s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 740s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 8821 740s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 740s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 740s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 740s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 740s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 8821 740s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 740s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 740s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 740s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 740s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 8821 740s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 740s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 740s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 740s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 740s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 8821 740s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 740s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 740s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 740s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 740s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 8821 740s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 740s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 740s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 740s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 740s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 8821 740s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 740s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 740s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 740s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 740s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 8821 740s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 740s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 740s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 740s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 740s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 8821 740s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 740s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 740s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 740s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 740s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 8821 740s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 740s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 740s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 740s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 740s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 8821 740s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 740s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 740s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 740s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 740s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 8821 740s ok 5 /gdbus/server-auth/external 740s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_OCR0E3/gdbus/server-auth/sha1/.dirs/home 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_OCR0E3/gdbus/server-auth/sha1/.dirs/cache 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_OCR0E3/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_OCR0E3/gdbus/server-auth/sha1/.dirs/system-config2 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_OCR0E3/gdbus/server-auth/sha1/.dirs/config 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_OCR0E3/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_OCR0E3/gdbus/server-auth/sha1/.dirs/system-data2 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_OCR0E3/gdbus/server-auth/sha1/.dirs/data 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_OCR0E3/gdbus/server-auth/sha1/.dirs/state 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_OCR0E3/gdbus/server-auth/sha1/.dirs/runtime 740s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_OCR0E3/gdbus-server-auth-Z08YE3 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 740s ok 6 /gdbus/server-auth/sha1 # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 740s # Start of anonymous tests 740s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_OCR0E3/gdbus/server-auth/anonymous/tcp/.dirs/home 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_OCR0E3/gdbus/server-auth/anonymous/tcp/.dirs/cache 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_OCR0E3/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_OCR0E3/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_OCR0E3/gdbus/server-auth/anonymous/tcp/.dirs/config 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_OCR0E3/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_OCR0E3/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_OCR0E3/gdbus/server-auth/anonymous/tcp/.dirs/data 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_OCR0E3/gdbus/server-auth/anonymous/tcp/.dirs/state 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_OCR0E3/gdbus/server-auth/anonymous/tcp/.dirs/runtime 740s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 740s ok 7 /gdbus/server-auth/anonymous/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 740s # End of anonymous tests 740s # Start of external tests 740s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_OCR0E3/gdbus/server-auth/external/require-same-user/.dirs/home 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_OCR0E3/gdbus/server-auth/external/require-same-user/.dirs/cache 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_OCR0E3/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_OCR0E3/gdbus/server-auth/external/require-same-user/.dirs/system-config2 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_OCR0E3/gdbus/server-auth/external/require-same-user/.dirs/config 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_OCR0E3/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_OCR0E3/gdbus/server-auth/external/require-same-user/.dirs/system-data2 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_OCR0E3/gdbus/server-auth/external/require-same-user/.dirs/data 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_OCR0E3/gdbus/server-auth/external/require-same-user/.dirs/state 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_OCR0E3/gdbus/server-auth/external/require-same-user/.dirs/runtime 740s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_OCR0E3/gdbus-server-auth-MG8YE3 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 740s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_OCR0E3/gdbus-server-auth-MG8YE3/dbus-tIojrUgY 740s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 740s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 740s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 740s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 8821 740s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 740s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 740s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 740s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 740s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 8821 740s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 740s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 740s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 740s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 740s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 8821 740s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 740s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 740s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 740s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 740s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 8821 740s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 740s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 740s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 740s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 740s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 8821 740s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 740s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 740s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 740s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 740s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 8821 740s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 740s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 740s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 740s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 740s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 8821 740s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 740s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 740s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 740s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 740s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 8821 740s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 740s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 740s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 740s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 740s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 8821 740s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 740s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 740s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 740s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 740s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 8821 740s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 740s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 740s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 740s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 740s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 8821 740s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 740s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 740s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 740s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 740s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 8821 740s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 740s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 740s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 740s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 740s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 8821 740s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 740s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 740s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 740s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 740s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 8821 740s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 740s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 740s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 740s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 740s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 8821 740s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 740s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 740s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 740s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 740s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 8821 740s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 740s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 740s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 740s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 740s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 8821 740s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 740s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 740s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 740s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 740s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 8821 740s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 740s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 740s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 740s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 740s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 8821 740s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 740s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 740s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 740s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 740s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 8821 740s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 740s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 740s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 740s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 740s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8821,uid=1000,gid=1000 740s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 8821 740s ok 8 /gdbus/server-auth/external/require-same-user 740s # End of external tests 740s # Start of sha1 tests 740s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_OCR0E3/gdbus/server-auth/sha1/tcp/.dirs/home 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_OCR0E3/gdbus/server-auth/sha1/tcp/.dirs/cache 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_OCR0E3/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_OCR0E3/gdbus/server-auth/sha1/tcp/.dirs/system-config2 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_OCR0E3/gdbus/server-auth/sha1/tcp/.dirs/config 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_OCR0E3/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_OCR0E3/gdbus/server-auth/sha1/tcp/.dirs/system-data2 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_OCR0E3/gdbus/server-auth/sha1/tcp/.dirs/data 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_OCR0E3/gdbus/server-auth/sha1/tcp/.dirs/state 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_OCR0E3/gdbus/server-auth/sha1/tcp/.dirs/runtime 740s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 740s ok 9 /gdbus/server-auth/sha1/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 740s # End of sha1 tests 740s # End of server-auth tests 740s # End of gdbus tests 740s Running test "liststore-is-a" 741s 2243 runs, min/avg/max = 0.432/0.446/0.607 ms 741s Running test "liststore-interface-peek" 742s 2823 runs, min/avg/max = 0.347/0.354/0.526 ms 742s Running test "liststore-interface-peek-same" 743s 2829 runs, min/avg/max = 0.347/0.353/1.187 ms 743s ok - glib/performance-threaded.test 743s # Running test: glib/sleepy-stream.test 743s TAP version 14 743s # random seed: R02Sdcb44cad499a2ba520590212735b120e 743s 1..2 743s # Start of filter-stream tests 743s ok 1 /filter-stream/input 743s ok 2 /filter-stream/async 743s # End of filter-stream tests 743s ok - glib/sleepy-stream.test 743s # Running test: glib/readwrite.test 743s TAP version 14 743s # random seed: R02S198955003be09587b6b8414ac22bd771 743s 1..3 743s # Start of readwrite tests 743s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 743s ok 1 /readwrite/test_g_file_open_readwrite 743s ok 2 /readwrite/test_g_file_create_readwrite 743s ok 3 /readwrite/test_g_file_replace_readwrite 743s ok - glib/readwrite.test 743s # Running test: glib/gdbus-proxy-well-known-name.test 743s # End of readwrite tests 743s TAP version 14 743s # random seed: R02Sea1818b0c805717efbd526a7a7da7797 743s 1..1 743s # Start of gdbus tests 743s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-well-known-name_J8SLE3/gdbus/proxy-well-known-name/.dirs/home 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-well-known-name_J8SLE3/gdbus/proxy-well-known-name/.dirs/cache 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-well-known-name_J8SLE3/gdbus/proxy-well-known-name/.dirs/system-config1:/tmp/test_gdbus-proxy-well-known-name_J8SLE3/gdbus/proxy-well-known-name/.dirs/system-config2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-well-known-name_J8SLE3/gdbus/proxy-well-known-name/.dirs/config 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-well-known-name_J8SLE3/gdbus/proxy-well-known-name/.dirs/system-data1:/tmp/test_gdbus-proxy-well-known-name_J8SLE3/gdbus/proxy-well-known-name/.dirs/system-data2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-well-known-name_J8SLE3/gdbus/proxy-well-known-name/.dirs/data 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-well-known-name_J8SLE3/gdbus/proxy-well-known-name/.dirs/state 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-well-known-name_J8SLE3/gdbus/proxy-well-known-name/.dirs/runtime 743s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 743s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 743s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 743s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 743s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 743s ok 1 /gdbus/proxy-well-known-name 743s # End of gdbus tests 743s TAP version 14 743s # random seed: R02Sf836ba3337edbc80b655d13f6c4b5943 743s 1..19 743s # Start of binding tests 743s ok 1 /binding/default 743s # /binding/canonicalisation summary: Test that bindings set up with non-canonical property names work 743s ok 2 /binding/canonicalisation 743s ok 3 /binding/bidirectional 743s ok 4 /binding/transform 743s ok 5 /binding/transform-default 743s ok 6 /binding/transform-closure 743s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=621782 743s ok 7 /binding/chain 743s ok 8 /binding/sync-create 743s ok 9 /binding/invert-boolean 743s ok 10 /binding/same-object 743s ok 11 /binding/unbind 743s ok 12 /binding/unbind-weak 743s ok - glib/gdbus-proxy-well-known-name.test 743s # Running test: glib/binding.test 743s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1373 743s ok 13 /binding/unbind-multiple 743s ok 14 /binding/fail 743s ok 15 /binding/interface 743s # /binding/concurrent-unbind summary: Test that unbinding from multiple threads concurrently works correctly 743s ok 16 /binding/concurrent-unbind 743s # /binding/concurrent-finalizing summary: Test that finalizing source/target from multiple threads concurrently works correctly 743s ok - glib/binding.test 743s ok 17 /binding/concurrent-finalizing 743s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 743s ok 18 /binding/dispose-source 743s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 743s ok 19 /binding/dispose-target 743s # End of binding tests 743s # Running test: glib/mount-operation.test 743s TAP version 14 743s # random seed: R02S21a458498e08d0fac40e689c36c73f08 743s 1..2 743s # Start of mount-operation tests 743s ok 1 /mount-operation/construction 743s ok 2 /mount-operation/properties 743s # End of mount-operation tests 743s ok - glib/mount-operation.test 743s # Running test: glib/messages-low-memory.py.test 743s TAP version 13 743s ok 1 __main__.TestMessagesLowMemory.test_message_memory_allocation_failure 743s # messages-low-memory: /usr/libexec/installed-tests/glib/messages-low-memory 743s # tmpdir: /tmp/tmp07cmzj9w 743s # Running: ['/usr/libexec/installed-tests/glib/messages-low-memory'] 743s # Return code: -6 743s # Output: 743s # 743s # Error: 743s # GLib-Message: 19:49:08.148: Simulates a situation in which we were crashing because of low-memory, leading malloc to fail instead of aborting 743s # GLib-Message: 19:49:08.148: bug: https://gitlab.gnome.org/GNOME/glib/-/issues/2753 743s # ../../../glib/gprintf.c:351: failed to allocate memory 743s 1..1 743s ok - glib/messages-low-memory.py.test 743s # Running test: glib/spawn-multithreaded.test 743s TAP version 14 743s # random seed: R02Sd272640835ac73442a336b175d525197 743s 1..4 743s # Start of gthread tests 743s # Executing: glib/spawn-multithreaded.test 744s # Child 9466 (ttl 1) exited, status 0 745s # Child 9467 (ttl 2) exited, status 0 745s ok 1 /gthread/spawn-childs 745s # slow test /gthread/spawn-childs executed in 2.00 secs 745s # Created pid: 9471 (ttl 1) 745s # Created pid: 9472 (ttl 2) 746s # Child 9471 (ttl 1) exited, status 0 747s # Child 9472 (ttl 2) exited, status 0 747s ok 2 /gthread/spawn-childs-threads 747s # slow test /gthread/spawn-childs-threads executed in 2.00 secs 747s ok 3 /gthread/spawn-sync 747s ok 4 /gthread/spawn-async 747s # End of gthread tests 747s TAP version 14 747s # random seed: R02S43e6da943fef43bd80b2bb80f942b33f 747s 1..2 747s # Start of glib tests 747s # Start of 1bit-mutex tests 747s ok - glib/spawn-multithreaded.test 747s # Running test: glib/1bit-mutex.test 748s # Executing: glib/1bit-mutex.test 751s ok 1 /glib/1bit-mutex/int 751s # slow test /glib/1bit-mutex/int executed in 4.52 secs 753s # Executing: glib/1bit-mutex.test 756s ok - glib/1bit-mutex.test 756s # Running test: glib/pathbuf.test 756s ok 2 /glib/1bit-mutex/pointer 756s # slow test /glib/1bit-mutex/pointer executed in 4.78 secs 756s # End of 1bit-mutex tests 756s # End of glib tests 756s TAP version 14 756s ok - glib/pathbuf.test 756s # random seed: R02S76233e1c2e5c413769461bd8ca405198 756s 1..3 756s # Start of pathbuf tests 756s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_ZWVNE3/pathbuf/init/.dirs/home 756s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_ZWVNE3/pathbuf/init/.dirs/cache 756s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_ZWVNE3/pathbuf/init/.dirs/system-config1:/tmp/test_pathbuf_ZWVNE3/pathbuf/init/.dirs/system-config2 756s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_ZWVNE3/pathbuf/init/.dirs/config 756s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_ZWVNE3/pathbuf/init/.dirs/system-data1:/tmp/test_pathbuf_ZWVNE3/pathbuf/init/.dirs/system-data2 756s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_ZWVNE3/pathbuf/init/.dirs/data 756s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_ZWVNE3/pathbuf/init/.dirs/state 756s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_ZWVNE3/pathbuf/init/.dirs/runtime 756s # Initializing empty path buf 756s # Initializing with empty path 756s # Initializing with full path 756s # Initializing with no path 756s # Allocating GPathBuf on the heap 756s ok 1 /pathbuf/init 756s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_ZWVNE3/pathbuf/push-pop/.dirs/home 756s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_ZWVNE3/pathbuf/push-pop/.dirs/cache 756s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_ZWVNE3/pathbuf/push-pop/.dirs/system-config1:/tmp/test_pathbuf_ZWVNE3/pathbuf/push-pop/.dirs/system-config2 756s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_ZWVNE3/pathbuf/push-pop/.dirs/config 756s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_ZWVNE3/pathbuf/push-pop/.dirs/system-data1:/tmp/test_pathbuf_ZWVNE3/pathbuf/push-pop/.dirs/system-data2 756s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_ZWVNE3/pathbuf/push-pop/.dirs/data 756s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_ZWVNE3/pathbuf/push-pop/.dirs/state 756s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_ZWVNE3/pathbuf/push-pop/.dirs/runtime 756s # Pushing relative path component 756s # Pushing absolute path component 756s # Popping a path component 756s # Can't pop the last element of a path buffer 756s ok 2 /pathbuf/push-pop 756s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_ZWVNE3/pathbuf/filename-extension/.dirs/home 756s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_ZWVNE3/pathbuf/filename-extension/.dirs/cache 756s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_ZWVNE3/pathbuf/filename-extension/.dirs/system-config1:/tmp/test_pathbuf_ZWVNE3/pathbuf/filename-extension/.dirs/system-config2 756s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_ZWVNE3/pathbuf/filename-extension/.dirs/config 756s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_ZWVNE3/pathbuf/filename-extension/.dirs/system-data1:/tmp/test_pathbuf_ZWVNE3/pathbuf/filename-extension/.dirs/system-data2 756s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_ZWVNE3/pathbuf/filename-extension/.dirs/data 756s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_ZWVNE3/pathbuf/filename-extension/.dirs/state 756s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_ZWVNE3/pathbuf/filename-extension/.dirs/runtime 756s ok 3 /pathbuf/filename-extension 756s # End of pathbuf tests 756s # Running test: glib/strvbuilder.test 756s ok - glib/strvbuilder.test 756s # Running test: glib/g-file-info-filesystem-readonly.test 756s ok - glib/g-file-info-filesystem-readonly.test 756s # Running test: glib/contexts.test 756s TAP version 14 756s # random seed: R02S74f9ab0705fcf90b7ded18c0e52b7f27 756s 1..7 756s # Start of strvbuilder tests 756s ok 1 /strvbuilder/empty 756s ok 2 /strvbuilder/add 756s ok 3 /strvbuilder/addv 756s ok 4 /strvbuilder/add_many 756s ok 5 /strvbuilder/take 756s ok 6 /strvbuilder/ref 756s ok 7 /strvbuilder/unref_to_strv 756s # End of strvbuilder tests 756s TAP version 14 756s # random seed: R02Sf3d8e2d25b66614ddb1c2bcba6d5e93a 756s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=787731 756s 1..2 756s # Start of g-file-info-filesystem-readonly tests 756s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_g-file-info-filesystem-readonly_06QNE3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/home 756s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_g-file-info-filesystem-readonly_06QNE3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/cache 756s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_g-file-info-filesystem-readonly_06QNE3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/system-config1:/tmp/test_g-file-info-filesystem-readonly_06QNE3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/system-config2 756s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_g-file-info-filesystem-readonly_06QNE3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/config 756s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_g-file-info-filesystem-readonly_06QNE3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/system-data1:/tmp/test_g-file-info-filesystem-readonly_06QNE3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/system-data2 756s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_g-file-info-filesystem-readonly_06QNE3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/data 756s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_g-file-info-filesystem-readonly_06QNE3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/state 756s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_g-file-info-filesystem-readonly_06QNE3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/runtime 756s ok 1 /g-file-info-filesystem-readonly/test-fs-ro # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 756s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_g-file-info-filesystem-readonly_06QNE3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/home 756s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_g-file-info-filesystem-readonly_06QNE3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/cache 756s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_g-file-info-filesystem-readonly_06QNE3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/system-config1:/tmp/test_g-file-info-filesystem-readonly_06QNE3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/system-config2 756s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_g-file-info-filesystem-readonly_06QNE3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/config 756s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_g-file-info-filesystem-readonly_06QNE3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/system-data1:/tmp/test_g-file-info-filesystem-readonly_06QNE3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/system-data2 756s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_g-file-info-filesystem-readonly_06QNE3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/data 756s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_g-file-info-filesystem-readonly_06QNE3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/state 756s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_g-file-info-filesystem-readonly_06QNE3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/runtime 756s ok 2 /g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 756s # End of g-file-info-filesystem-readonly tests 756s TAP version 14 756s # random seed: R02Sff4f005609a99a3e9073be7beb801306 756s 1..5 756s # Start of gio tests 756s # Start of contexts tests 756s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 756s ok 1 /gio/contexts/thread-independence 756s ok 2 /gio/contexts/context-independence 756s # Start of context-specific tests 756s ok 3 /gio/contexts/context-specific/identity 756s ok - glib/contexts.test 756s ok 4 /gio/contexts/context-specific/emit 756s ok 5 /gio/contexts/context-specific/emit-and-unref 756s # End of context-specific tests 756s # End of contexts tests 756s # End of gio tests 756s # Running test: glib/credentials.test 756s TAP version 14 756s # random seed: R02S74f9432f274ab7a443158d2297a8e580 756s 1..1 756s # Start of credentials tests 756s # GCredentials:linux-ucred:pid=9724,uid=1000,gid=1000 756s # GCredentials:linux-ucred:pid=9724,uid=0,gid=1000 756s ok 1 /credentials/basic 756s # End of credentials tests 756s ok - glib/credentials.test 756s # Running test: glib/memory-monitor-psi.test 756s TAP version 14 756s # random seed: R02Se7b069b9eb288d0793b7b5da74d600ef 756s 1..1 756s # Start of memory-monitor-psi tests 756s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_memory-monitor-psi_O58VE3/memory-monitor-psi/receive-signal/.dirs/home 756s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_memory-monitor-psi_O58VE3/memory-monitor-psi/receive-signal/.dirs/cache 756s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_memory-monitor-psi_O58VE3/memory-monitor-psi/receive-signal/.dirs/system-config1:/tmp/test_memory-monitor-psi_O58VE3/memory-monitor-psi/receive-signal/.dirs/system-config2 756s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_memory-monitor-psi_O58VE3/memory-monitor-psi/receive-signal/.dirs/config 756s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_memory-monitor-psi_O58VE3/memory-monitor-psi/receive-signal/.dirs/system-data1:/tmp/test_memory-monitor-psi_O58VE3/memory-monitor-psi/receive-signal/.dirs/system-data2 756s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_memory-monitor-psi_O58VE3/memory-monitor-psi/receive-signal/.dirs/data 756s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_memory-monitor-psi_O58VE3/memory-monitor-psi/receive-signal/.dirs/state 756s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_memory-monitor-psi_O58VE3/memory-monitor-psi/receive-signal/.dirs/runtime 756s # GLib-GIO-DEBUG: Write trigger some 70000 2000000 756s # GLib-GIO-DEBUG: Write trigger some 100000 2000000 756s # GLib-GIO-DEBUG: Write trigger full 100000 2000000 756s # GLib-GIO-DEBUG: Send low memory signal with warning level 0 756s # GLib-GIO-DEBUG: Send low memory signal with warning level 1 756s ok 1 /memory-monitor-psi/receive-signal 756s # End of memory-monitor-psi tests 756s ok - glib/memory-monitor-psi.test 756s # Running test: glib/rec-mutex.test 756s TAP version 14 756s # random seed: R02S7a37e92ac73d7e7084c686c35c38bb8c 756s 1..29 756s # Start of thread tests 756s ok 1 /thread/rec-mutex1 756s ok 2 /thread/rec-mutex2 756s ok 3 /thread/rec-mutex3 756s ok 4 /thread/rec-mutex4 756s # Start of rec-mutex tests 756s # Start of perf tests 756s # Start of uncontended tests 756s # max perf: 1.000000 mips 756s ok 5 /thread/rec-mutex/perf/uncontended/depth1 756s # max perf: 1.000000 mips 756s ok 6 /thread/rec-mutex/perf/uncontended/depth2 756s # max perf: 1.000000 mips 756s ok 7 /thread/rec-mutex/perf/uncontended/depth3 756s # max perf: inf mips 756s ok 8 /thread/rec-mutex/perf/uncontended/depth4 756s # max perf: inf mips 756s ok 9 /thread/rec-mutex/perf/uncontended/depth5 756s # End of uncontended tests 756s # Start of contended1 tests 756s # max perf: inf mips 756s ok 10 /thread/rec-mutex/perf/contended1/depth1 756s # max perf: inf mips 756s ok 11 /thread/rec-mutex/perf/contended1/depth2 756s # max perf: inf mips 756s ok 12 /thread/rec-mutex/perf/contended1/depth3 756s # max perf: 2.000000 mips 756s ok 13 /thread/rec-mutex/perf/contended1/depth4 756s # max perf: 2.000000 mips 756s ok 14 /thread/rec-mutex/perf/contended1/depth5 756s # End of contended1 tests 756s # Start of contended2 tests 756s # max perf: 3.000000 mips 756s ok 15 /thread/rec-mutex/perf/contended2/depth1 756s # max perf: 3.000000 mips 756s ok 16 /thread/rec-mutex/perf/contended2/depth2 756s # max perf: 3.000000 mips 756s ok 17 /thread/rec-mutex/perf/contended2/depth3 756s # max perf: 3.000000 mips 756s ok 18 /thread/rec-mutex/perf/contended2/depth4 756s # max perf: 3.000000 mips 756s ok 19 /thread/rec-mutex/perf/contended2/depth5 756s ok - glib/rec-mutex.test 756s # Running test: glib/filter-streams.test 756s ok - glib/filter-streams.test 756s # Running test: glib/gsocketclient-slow.test 756s # End of contended2 tests 756s # Start of contended3 tests 756s # max perf: 0.083333 mips 756s ok 20 /thread/rec-mutex/perf/contended3/depth1 756s # max perf: inf mips 756s ok 21 /thread/rec-mutex/perf/contended3/depth2 756s # max perf: 4.000000 mips 756s ok 22 /thread/rec-mutex/perf/contended3/depth3 756s # max perf: 4.000000 mips 756s ok 23 /thread/rec-mutex/perf/contended3/depth4 756s # max perf: 2.000000 mips 756s ok 24 /thread/rec-mutex/perf/contended3/depth5 756s # End of contended3 tests 756s # Start of contended4 tests 756s # max perf: 2.500000 mips 756s ok 25 /thread/rec-mutex/perf/contended4/depth1 756s # max perf: 1.250000 mips 756s ok 26 /thread/rec-mutex/perf/contended4/depth2 756s # max perf: 1.250000 mips 756s ok 27 /thread/rec-mutex/perf/contended4/depth3 756s # max perf: 1.000000 mips 756s ok 28 /thread/rec-mutex/perf/contended4/depth4 756s # max perf: 1.250000 mips 756s ok 29 /thread/rec-mutex/perf/contended4/depth5 756s # End of contended4 tests 756s # End of perf tests 756s # End of rec-mutex tests 756s # End of thread tests 756s TAP version 14 756s # random seed: R02S63484351499537c8cf430c2a3d0815ed 756s 1..4 756s # Start of filter-stream tests 756s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=568394 756s ok 1 /filter-stream/input 756s ok 2 /filter-stream/output 756s ok 3 /filter-stream/async-input 756s ok 4 /filter-stream/async-output 756s # End of filter-stream tests 756s TAP version 14 756s # random seed: R02S0fc2de246361a9774b3230493f8ab6f9 756s 1..4 756s # Start of socket-client tests 756s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3184 756s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 756s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xf9830c678e0 and GSocketClientAsyncConnectData 0xf9830c62520 756s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 756s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 756s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xf9830c6b540 for GSocketClientAsyncConnectData 0xf9830c62520 756s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 757s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 757s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 757s # GLib-GIO-DEBUG: GSocketClient: Connection attempt failed: Connection refused 757s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 757s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 757s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xf9830c6b540 for GSocketClientAsyncConnectData 0xf9830c62520 757s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 757s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 757s # GLib-GIO-DEBUG: GSocketClient: Connection attempt failed: Connection refused 757s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Could not connect to localhost: Connection refused 757s ok 1 /socket-client/connection-fail 757s # slow test /socket-client/connection-fail executed in 1.20 secs 757s # Start of happy-eyeballs tests 757s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xf9830c6a0d0 and GSocketClientAsyncConnectData 0xf9830c6b070 757s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 757s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 757s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xf9830c6e340 for GSocketClientAsyncConnectData 0xf9830c6b070 757s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 758s # Executing: glib/gsocketclient-slow.test 758s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 758s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 758s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 758s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 758s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 758s ok 2 /socket-client/happy-eyeballs/slow 758s # slow test /socket-client/happy-eyeballs/slow executed in 0.60 secs 758s # Start of cancellation tests 758s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xf9830c6ad50 and GSocketClientAsyncConnectData 0xf9830c6e5e0 758s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 758s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Operation was cancelled 758s ok 3 /socket-client/happy-eyeballs/cancellation/instant 758s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xf9830c69ff0 and GSocketClientAsyncConnectData 0xf9830c6df70 758s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 758s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 758s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xf9830c6eba0 for GSocketClientAsyncConnectData 0xf9830c6df70 758s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 759s ok - glib/gsocketclient-slow.test 759s # Running test: glib/filenamecompleter.test 759s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 759s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 759s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 759s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 759s # GLib-GIO-DEBUG: GSocketClient: Connection cancelled! 759s ok 4 /socket-client/happy-eyeballs/cancellation/delayed 759s # slow test /socket-client/happy-eyeballs/cancellation/delayed executed in 0.60 secs 759s # End of cancellation tests 759s # End of happy-eyeballs tests 759s # End of socket-client tests 759s TAP version 14 759s # random seed: R02Sd6b7dc114b87f6987273601dea2c9098 759s 1..1 759s # Start of filenamecompleter tests 759s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_filenamecompleter_H8IKE3/filenamecompleter/basic/.dirs/home 759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_filenamecompleter_H8IKE3/filenamecompleter/basic/.dirs/cache 759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_filenamecompleter_H8IKE3/filenamecompleter/basic/.dirs/system-config1:/tmp/test_filenamecompleter_H8IKE3/filenamecompleter/basic/.dirs/system-config2 759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_filenamecompleter_H8IKE3/filenamecompleter/basic/.dirs/config 759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_filenamecompleter_H8IKE3/filenamecompleter/basic/.dirs/system-data1:/tmp/test_filenamecompleter_H8IKE3/filenamecompleter/basic/.dirs/system-data2 759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_filenamecompleter_H8IKE3/filenamecompleter/basic/.dirs/data 759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_filenamecompleter_H8IKE3/filenamecompleter/basic/.dirs/state 759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_filenamecompleter_H8IKE3/filenamecompleter/basic/.dirs/runtime 759s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 759s ok 1 /filenamecompleter/basic 759s # End of filenamecompleter tests 759s ok - glib/filenamecompleter.test 759s # Running test: glib/simple-proxy.test 759s ok - glib/simple-proxy.test 759s # Running test: glib/test-printf.test 759s ok - glib/test-printf.test 759s # Running test: glib/portal-support-flatpak-none.test 759s ok - glib/portal-support-flatpak-none.test 759s # Running test: glib/tls-database.test 759s ok - glib/tls-database.test 759s # Running test: glib/unix-streams.test 759s TAP version 14 759s # random seed: R02S143320ba46fd1eb2b191b9cf344a380e 759s 1..3 759s # Start of static-proxy tests 759s ok 1 /static-proxy/uri 759s ok 2 /static-proxy/socks 759s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string *.eee.xx:8000 759s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string 10.0.0.1:8000 759s ok 3 /static-proxy/ignore 759s # End of static-proxy tests 759s TAP version 14 759s # random seed: R02Sb5e04d76e1cf26d36793562477e16f11 759s 1..24 759s # Start of snprintf tests 759s ok 1 /snprintf/retval-and-trunc 759s ok 2 /snprintf/%d 759s ok 3 /snprintf/%d-invalid 759s ok 4 /snprintf/%o 759s ok 5 /snprintf/%u 759s ok 6 /snprintf/%x 759s ok 7 /snprintf/%X 759s ok 8 /snprintf/%f 759s ok 9 /snprintf/%e 759s ok 10 /snprintf/%c 759s ok 11 /snprintf/%s 759s ok 12 /snprintf/%n 759s ok 13 /snprintf/test-percent 759s ok 14 /snprintf/test-positional-params 759s ok 15 /snprintf/test-64bit 759s ok 16 /snprintf/produce-embedded-nulls 759s # End of snprintf tests 759s # Start of printf tests 759s ok 17 /printf/test-percent 759s ok 18 /printf/test-positional-params 759s ok 19 /printf/test-64bit 759s # Start of test-64bit tests 759s # Start of subprocess tests 759s # End of subprocess tests 759s # End of test-64bit tests 759s # End of printf tests 759s # Start of fprintf tests 759s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3761 759s # /fprintf/produce-embedded-nulls summary: printf() functions can produce strings with embedded null characters. That happens when passing individual characters (%c) with value ' 759s ok 20 /fprintf/produce-embedded-nulls 759s # End of fprintf tests 759s # Start of sprintf tests 759s ok 21 /sprintf/test-positional-params 759s ok 22 /sprintf/upper-bound 759s # End of sprintf tests 759s # Start of vasprintf tests 759s # /vasprintf/invalid-format-placeholder summary: Test error handling for invalid format placeholder in g_vasprintf() 759s ok 23 /vasprintf/invalid-format-placeholder 759s # /vasprintf/invalid-wide-string summary: Test error handling for invalid wide strings in g_vasprintf() 759s ok 24 /vasprintf/invalid-wide-string 759s # End of vasprintf tests 759s TAP version 14 759s # random seed: R02S423288374d61825c4d599cdb4b0e6339 759s 1..1 759s # Start of portal-support tests 759s # Start of flatpak tests 759s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-none_O68JE3/portal-support/flatpak/none/.dirs/home 759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-none_O68JE3/portal-support/flatpak/none/.dirs/cache 759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-none_O68JE3/portal-support/flatpak/none/.dirs/system-config1:/tmp/test_portal-support-flatpak-none_O68JE3/portal-support/flatpak/none/.dirs/system-config2 759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-none_O68JE3/portal-support/flatpak/none/.dirs/config 759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-none_O68JE3/portal-support/flatpak/none/.dirs/system-data1:/tmp/test_portal-support-flatpak-none_O68JE3/portal-support/flatpak/none/.dirs/system-data2 759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-none_O68JE3/portal-support/flatpak/none/.dirs/data 759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-none_O68JE3/portal-support/flatpak/none/.dirs/state 759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-none_O68JE3/portal-support/flatpak/none/.dirs/runtime 759s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-none_O68JE3/portal-support/flatpak/none/.dirs/runtime/.flatpak-info 759s ok 1 /portal-support/flatpak/none 759s # End of flatpak tests 759s # End of portal-support tests 759s TAP version 14 759s # random seed: R02S57b0139727fe219f60b004a18a7c6a9e 759s 1..1 759s # Start of tls-backend tests 759s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ‘gio-tls-backend’ 759s ok 1 /tls-backend/set-default-database 759s # End of tls-backend tests 759s TAP version 14 759s # random seed: R02Se344e82202bfe70865ecdea75db0edd6 759s 1..9 759s # Start of unix-streams tests 759s ok 1 /unix-streams/basic 759s ok 2 /unix-streams/pipe-io-test 759s # slow test /unix-streams/pipe-io-test executed in 0.50 secs 760s ok - glib/unix-streams.test 760s ok 3 /unix-streams/nonblocking-io-test 760s # slow test /unix-streams/nonblocking-io-test executed in 0.50 secs 760s ok 4 /unix-streams/read_write 760s ok 5 /unix-streams/read_writev 760s ok 6 /unix-streams/write-wouldblock 760s ok 7 /unix-streams/writev-wouldblock 760s ok 8 /unix-streams/write-async-wouldblock 760s ok 9 /unix-streams/writev-async-wouldblock 760s # End of unix-streams tests 760s # Running test: glib/union-info.test 760s TAP version 14 760s # random seed: R02S411c869976a4f164cd6d30d40638efe3 760s 1..2 760s # Start of union-info tests 760s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_6HYJE3/union-info/basic/.dirs/home 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_6HYJE3/union-info/basic/.dirs/cache 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_6HYJE3/union-info/basic/.dirs/system-config1:/tmp/test_union-info_6HYJE3/union-info/basic/.dirs/system-config2 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_6HYJE3/union-info/basic/.dirs/config 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_6HYJE3/union-info/basic/.dirs/system-data1:/tmp/test_union-info_6HYJE3/union-info/basic/.dirs/system-data2 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_6HYJE3/union-info/basic/.dirs/data 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_6HYJE3/union-info/basic/.dirs/state 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_6HYJE3/union-info/basic/.dirs/runtime 760s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 760s # /union-info/basic summary: Test basic properties of GIUnionInfo 760s ok 1 /union-info/basic 760s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_6HYJE3/union-info/methods/.dirs/home 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_6HYJE3/union-info/methods/.dirs/cache 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_6HYJE3/union-info/methods/.dirs/system-config1:/tmp/test_union-info_6HYJE3/union-info/methods/.dirs/system-config2 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_6HYJE3/union-info/methods/.dirs/config 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_6HYJE3/union-info/methods/.dirs/system-data1:/tmp/test_union-info_6HYJE3/union-info/methods/.dirs/system-data2 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_6HYJE3/union-info/methods/.dirs/data 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_6HYJE3/union-info/methods/.dirs/state 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_6HYJE3/union-info/methods/.dirs/runtime 760s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 760s # /union-info/methods summary: Test retrieving methods from GIUnionInfo 760s ok 2 /union-info/methods 760s # End of union-info tests 760s ok - glib/union-info.test 760s # Running test: glib/gdbus-auth.test 760s ok - glib/gdbus-auth.test 760s # Running test: glib/io-stream.test 760s ok - glib/io-stream.test 760s # Running test: glib/properties-refcount3.test 760s TAP version 14 760s # random seed: R02S1bdb02a8bb3b080a92de2cd5fc317ae2 760s 1..5 760s # Start of gdbus tests 760s # Start of auth tests 760s # Start of client tests 760s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_2NOJE3/gdbus/auth/client/EXTERNAL/.dirs/home 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_2NOJE3/gdbus/auth/client/EXTERNAL/.dirs/cache 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_2NOJE3/gdbus/auth/client/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_2NOJE3/gdbus/auth/client/EXTERNAL/.dirs/system-config2 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_2NOJE3/gdbus/auth/client/EXTERNAL/.dirs/config 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_2NOJE3/gdbus/auth/client/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_2NOJE3/gdbus/auth/client/EXTERNAL/.dirs/system-data2 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_2NOJE3/gdbus/auth/client/EXTERNAL/.dirs/data 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_2NOJE3/gdbus/auth/client/EXTERNAL/.dirs/state 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_2NOJE3/gdbus/auth/client/EXTERNAL/.dirs/runtime 760s ok 1 /gdbus/auth/client/EXTERNAL 760s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_2NOJE3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/home 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_2NOJE3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/cache 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_2NOJE3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_2NOJE3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config2 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_2NOJE3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/config 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_2NOJE3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_2NOJE3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data2 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_2NOJE3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/data 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_2NOJE3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/state 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_2NOJE3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/runtime 760s ok 2 /gdbus/auth/client/DBUS_COOKIE_SHA1 760s # End of client tests 760s # Start of server tests 760s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_2NOJE3/gdbus/auth/server/ANONYMOUS/.dirs/home 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_2NOJE3/gdbus/auth/server/ANONYMOUS/.dirs/cache 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_2NOJE3/gdbus/auth/server/ANONYMOUS/.dirs/system-config1:/tmp/test_gdbus-auth_2NOJE3/gdbus/auth/server/ANONYMOUS/.dirs/system-config2 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_2NOJE3/gdbus/auth/server/ANONYMOUS/.dirs/config 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_2NOJE3/gdbus/auth/server/ANONYMOUS/.dirs/system-data1:/tmp/test_gdbus-auth_2NOJE3/gdbus/auth/server/ANONYMOUS/.dirs/system-data2 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_2NOJE3/gdbus/auth/server/ANONYMOUS/.dirs/data 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_2NOJE3/gdbus/auth/server/ANONYMOUS/.dirs/state 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_2NOJE3/gdbus/auth/server/ANONYMOUS/.dirs/runtime 760s ok 3 /gdbus/auth/server/ANONYMOUS 760s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_2NOJE3/gdbus/auth/server/EXTERNAL/.dirs/home 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_2NOJE3/gdbus/auth/server/EXTERNAL/.dirs/cache 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_2NOJE3/gdbus/auth/server/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_2NOJE3/gdbus/auth/server/EXTERNAL/.dirs/system-config2 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_2NOJE3/gdbus/auth/server/EXTERNAL/.dirs/config 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_2NOJE3/gdbus/auth/server/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_2NOJE3/gdbus/auth/server/EXTERNAL/.dirs/system-data2 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_2NOJE3/gdbus/auth/server/EXTERNAL/.dirs/data 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_2NOJE3/gdbus/auth/server/EXTERNAL/.dirs/state 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_2NOJE3/gdbus/auth/server/EXTERNAL/.dirs/runtime 760s ok 4 /gdbus/auth/server/EXTERNAL 760s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_2NOJE3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/home 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_2NOJE3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/cache 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_2NOJE3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_2NOJE3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config2 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_2NOJE3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/config 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_2NOJE3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_2NOJE3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data2 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_2NOJE3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/data 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_2NOJE3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/state 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_2NOJE3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/runtime 760s ok 5 /gdbus/auth/server/DBUS_COOKIE_SHA1 760s # End of server tests 760s # End of auth tests 760s # End of gdbus tests 760s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 760s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 760s TAP version 14 760s # random seed: R02S2a71571710e16fc40845e8c88c020e46 760s 1..3 760s # Start of io-stream tests 760s ok 1 /io-stream/copy-chunks 760s # Start of close tests 760s # Start of async tests 760s ok 2 /io-stream/close/async/memory 760s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 760s ok 3 /io-stream/close/async/file 760s # End of async tests 760s # End of close tests 760s # End of io-stream tests 760s TAP version 14 760s # random seed: R02Scafdc5eeb914dd3ba9c1cf97444689b2 760s 1..1 760s # Start of gobject tests 760s # Start of refcount tests 763s # Executing: glib/properties-refcount3.test 768s # Executing: glib/properties-refcount3.test 773s # Executing: glib/properties-refcount3.test 778s # Executing: glib/properties-refcount3.test 783s # Executing: glib/properties-refcount3.test 788s # Executing: glib/properties-refcount3.test 790s # 790s # stopping 790s # 790s # stopped 790s # 790s # 12915737 7273431 790s # 790s ok 1 /gobject/refcount/properties-3 790s # slow test /gobject/refcount/properties-3 executed in 30.00 secs 790s # End of refcount tests 790s # End of gobject tests 790s ok - glib/properties-refcount3.test 790s # Running test: glib/spawn-path-search.test 790s TAP version 14 790s # random seed: R02Sbca7a618231b4db8cd37f64ad9b8a697 790s 1..7 790s # Start of spawn tests 790s # /spawn/do-not-search summary: Without G_SPAWN_SEARCH_PATH, spawn-test-helper means ./spawn-test-helper. 790s # 790s # this is spawn-test-helper from glib/tests 790s # 790s ok 1 /spawn/do-not-search 790s # /spawn/search-path summary: With G_SPAWN_SEARCH_PATH, spawn-test-helper means $PATH/spawn-test-helper. 790s # 790s # this is spawn-test-helper from path-test-subdir 790s # 790s ok 2 /spawn/search-path 790s # /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. 790s ok - glib/spawn-path-search.test 790s # Running test: glib/bitlock.test 790s ok - glib/bitlock.test 790s # Running test: glib/gobject-private.test 790s ok - glib/gobject-private.test 790s # Running test: glib/gmenumodel.test 790s # 790s # this is spawn-test-helper from path-test-subdir 790s # 790s ok 3 /spawn/search-path-from-envp 790s # /spawn/search-path-ambiguous summary: With G_SPAWN_SEARCH_PATH and G_SPAWN_SEARCH_PATH_FROM_ENVP, the latter wins. 790s # 790s # this is spawn-test-helper from path-test-subdir 790s # 790s ok 4 /spawn/search-path-ambiguous 790s # 790s # this is spawn-test-helper from path-test-subdir 790s # 790s ok 5 /spawn/search-path-heap-allocation 790s # /spawn/search-path-fallback-in-environ summary: With G_SPAWN_SEARCH_PATH but no PATH, a fallback is used. 790s # 790s # this is spawn-test-helper from glib/tests 790s # 790s ok 6 /spawn/search-path-fallback-in-environ 790s # /spawn/search-path-fallback-in-envp summary: With G_SPAWN_SEARCH_PATH_FROM_ENVP but no PATH, a fallback is used. 790s # 790s # this is spawn-test-helper from glib/tests 790s # 790s ok 7 /spawn/search-path-fallback-in-envp 790s # End of spawn tests 790s TAP version 14 790s # random seed: R02Se18a99b1e24e10e060d51c4137db72e3 790s 1..2 790s # Start of bitlock tests 790s # Start of performance tests 790s # max perf: iterations per second 790s ok 1 /bitlock/performance/uncontended 790s ok 2 /bitlock/performance/parallel 790s # End of performance tests 790s # End of bitlock tests 790s TAP version 14 790s # random seed: R02S0cd75aa27bb4bb99aebeff0dd3e9a0ab 790s 1..3 790s # Start of private tests 790s ok 1 /private/instance 790s ok 2 /private/derived-instance 790s ok 3 /private/mixed-derived-instance 790s # End of private tests 790s TAP version 14 790s # random seed: R02S2fb004609704aaa2d0736a6523c15190 790s 1..15 790s # Start of gmenu tests 791s ok 1 /gmenu/equality 791s # slow test /gmenu/equality executed in 1.37 secs 793s ok 2 /gmenu/random 793s # slow test /gmenu/random executed in 1.63 secs 793s ok 3 /gmenu/attributes 793s ok 4 /gmenu/links 793s ok 5 /gmenu/mutable 793s ok 6 /gmenu/convenience 793s ok 7 /gmenu/menuitem 793s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 793s # Executing: glib/gmenumodel.test 793s ok 8 /gmenu/input-validation 793s # Start of dbus tests 794s ok 9 /gmenu/dbus/roundtrip 794s # slow test /gmenu/dbus/roundtrip executed in 1.02 secs 794s ok 10 /gmenu/dbus/subscriptions 796s ok 11 /gmenu/dbus/threaded 796s # slow test /gmenu/dbus/threaded executed in 1.37 secs 796s # Start of peer tests 797s ok 12 /gmenu/dbus/peer/roundtrip 797s # slow test /gmenu/dbus/peer/roundtrip executed in 1.01 secs 797s ok - glib/gmenumodel.test 797s ok 13 /gmenu/dbus/peer/subscriptions 797s # End of peer tests 797s # Start of export tests 797s # /gmenu/dbus/export/error-handling summary: Test that error handling of menu model export failure works 797s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 797s ok 14 /gmenu/dbus/export/error-handling 797s # End of export tests 797s # End of dbus tests 797s # Start of attributes tests 797s ok 15 /gmenu/attributes/iterate 797s # End of attributes tests 797s # End of gmenu tests 797s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 797s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 797s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 797s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 797s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 797s # Running test: glib/mainloop.test 797s TAP version 14 797s # random seed: R02S4a65f1e77ffff21928c1bc506a2e11be 797s 1..47 797s # Start of maincontext tests 797s ok 1 /maincontext/basic 797s # Add same-priority sources: 38 797s # Find each source: 19 797s # Remove in random order: 56 797s ok 2 /maincontext/nsources_same_priority 797s # Add different-priority sources: 46 797s # Find each source: 19 797s # Remove in random order: 60 797s ok 3 /maincontext/nsources_different_priority 798s # Add sources from threads: 300 798s # Executing: glib/mainloop.test 798s # Remove sources from threads: 89 798s ok 4 /maincontext/nsources_threadpool 798s ok 5 /maincontext/source_finalization 798s # /maincontext/idle-once summary: Test g_idle_add_once() works 798s ok 6 /maincontext/idle-once 798s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 798s ok 7 /maincontext/timeout-once 798s # /maincontext/context-ref-in-source-callbackfuncs-unref summary: Tests if calling GSource API in GSourceCallbackFuncs.unref does not deadlock attempting to retrieve the relevant GMainContext. 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/3725 798s ok 8 /maincontext/context-ref-in-source-callbackfuncs-unref 798s # Start of source_finalization_from_source tests 798s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 798s ok 9 /maincontext/source_finalization_from_source/0 798s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 798s ok 10 /maincontext/source_finalization_from_source/1 798s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 798s ok 11 /maincontext/source_finalization_from_source/2 798s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 798s ok 12 /maincontext/source_finalization_from_source/3 798s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 798s ok 13 /maincontext/source_finalization_from_source/4 798s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 798s ok 14 /maincontext/source_finalization_from_source/5 798s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 798s ok 15 /maincontext/source_finalization_from_source/6 798s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 798s ok 16 /maincontext/source_finalization_from_source/7 798s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 798s ok 17 /maincontext/source_finalization_from_source/8 798s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 798s ok 18 /maincontext/source_finalization_from_source/9 798s # End of source_finalization_from_source tests 798s # Start of source_finalization_from_dispatch tests 798s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 798s ok 19 /maincontext/source_finalization_from_dispatch/0 798s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 798s ok 20 /maincontext/source_finalization_from_dispatch/1 798s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 798s ok 21 /maincontext/source_finalization_from_dispatch/2 798s # End of source_finalization_from_dispatch tests 798s # End of maincontext tests 798s # Start of mainloop tests 798s ok 22 /mainloop/basic 798s ok 23 /mainloop/timeouts # SKIP Not running timing heavy test 798s ok 24 /mainloop/priorities 798s ok 25 /mainloop/invoke 798s # slow test /mainloop/invoke executed in 0.50 secs 800s ok 26 /mainloop/child_sources 800s # slow test /mainloop/child_sources executed in 1.18 secs 802s ok 27 /mainloop/recursive_child_sources 802s # slow test /mainloop/recursive_child_sources executed in 2.17 secs 802s ok 28 /mainloop/recursive_loop_child_sources 802s ok 29 /mainloop/swapping_child_sources 802s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 802s ok 30 /mainloop/blocked_child_sources 803s # Executing: glib/mainloop.test 803s ok 31 /mainloop/source_time 803s # slow test /mainloop/source_time executed in 1.00 secs 803s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 803s ok 32 /mainloop/overflow 803s ok 33 /mainloop/ready-time 803s # slow test /mainloop/ready-time executed in 0.50 secs 803s ok 34 /mainloop/wakeup 803s ok 35 /mainloop/remove-invalid 803s ok 36 /mainloop/unref-while-pending 805s ok 37 /mainloop/unix-fd 805s # slow test /mainloop/unix-fd executed in 1.48 secs 805s ok 38 /mainloop/unix-fd-source 805s ok 39 /mainloop/source-unix-fd-api 805s ok 40 /mainloop/wait 805s ok 41 /mainloop/unix-file-poll 805s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 805s ok 42 /mainloop/unix-fd-priority 805s ok 43 /mainloop/nfds 805s ok 44 /mainloop/steal-fd 806s ok - glib/mainloop.test 806s # Running test: glib/macros-c-99.test 806s ok - glib/macros-c-99.test 806s # Running test: glib/gdbus-proxy.test 806s ok 45 /mainloop/simultaneous-source-context-destruction 806s # slow test /mainloop/simultaneous-source-context-destruction executed in 1.37 secs 806s # Start of ownerless-polling tests 806s ok 46 /mainloop/ownerless-polling/attach-first 806s ok 47 /mainloop/ownerless-polling/pop-first 806s # End of ownerless-polling tests 806s # End of mainloop tests 806s TAP version 14 806s # random seed: R02S2359db1be80c55414fec63db4a3cbbb2 806s 1..4 806s # Start of C tests 806s ok 1 /C/standard-99 806s # End of C tests 806s # Start of alignof tests 806s ok 2 /alignof/fallback 806s # End of alignof tests 806s # Start of assert tests 806s ok 3 /assert/static 806s # End of assert tests 806s # Start of struct tests 806s ok 4 /struct/sizeof_member 806s # End of struct tests 806s TAP version 14 806s # random seed: R02S8e150209fdd9af3ee2defb531bef9f70 806s 1..5 807s # Start of gdbus tests 807s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_JBQ0E3/gdbus/proxy/.dirs/home 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_JBQ0E3/gdbus/proxy/.dirs/cache 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_JBQ0E3/gdbus/proxy/.dirs/system-config1:/tmp/test_gdbus-proxy_JBQ0E3/gdbus/proxy/.dirs/system-config2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_JBQ0E3/gdbus/proxy/.dirs/config 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_JBQ0E3/gdbus/proxy/.dirs/system-data1:/tmp/test_gdbus-proxy_JBQ0E3/gdbus/proxy/.dirs/system-data2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_JBQ0E3/gdbus/proxy/.dirs/data 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_JBQ0E3/gdbus/proxy/.dirs/state 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_JBQ0E3/gdbus/proxy/.dirs/runtime 808s # Executing: glib/gdbus-proxy.test 808s ok 1 /gdbus/proxy 808s # slow test /gdbus/proxy executed in 1.73 secs 808s # Start of proxy tests 808s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_JBQ0E3/gdbus/proxy/no-properties/.dirs/home 808s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_JBQ0E3/gdbus/proxy/no-properties/.dirs/cache 808s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_JBQ0E3/gdbus/proxy/no-properties/.dirs/system-config1:/tmp/test_gdbus-proxy_JBQ0E3/gdbus/proxy/no-properties/.dirs/system-config2 808s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_JBQ0E3/gdbus/proxy/no-properties/.dirs/config 808s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_JBQ0E3/gdbus/proxy/no-properties/.dirs/system-data1:/tmp/test_gdbus-proxy_JBQ0E3/gdbus/proxy/no-properties/.dirs/system-data2 808s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_JBQ0E3/gdbus/proxy/no-properties/.dirs/data 808s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_JBQ0E3/gdbus/proxy/no-properties/.dirs/state 808s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_JBQ0E3/gdbus/proxy/no-properties/.dirs/runtime 808s ok 2 /gdbus/proxy/no-properties 808s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_JBQ0E3/gdbus/proxy/wellknown-noauto/.dirs/home 808s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_JBQ0E3/gdbus/proxy/wellknown-noauto/.dirs/cache 808s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_JBQ0E3/gdbus/proxy/wellknown-noauto/.dirs/system-config1:/tmp/test_gdbus-proxy_JBQ0E3/gdbus/proxy/wellknown-noauto/.dirs/system-config2 808s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_JBQ0E3/gdbus/proxy/wellknown-noauto/.dirs/config 808s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_JBQ0E3/gdbus/proxy/wellknown-noauto/.dirs/system-data1:/tmp/test_gdbus-proxy_JBQ0E3/gdbus/proxy/wellknown-noauto/.dirs/system-data2 808s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_JBQ0E3/gdbus/proxy/wellknown-noauto/.dirs/data 808s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_JBQ0E3/gdbus/proxy/wellknown-noauto/.dirs/state 808s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_JBQ0E3/gdbus/proxy/wellknown-noauto/.dirs/runtime 808s ok 3 /gdbus/proxy/wellknown-noauto 808s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_JBQ0E3/gdbus/proxy/async/.dirs/home 808s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_JBQ0E3/gdbus/proxy/async/.dirs/cache 808s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_JBQ0E3/gdbus/proxy/async/.dirs/system-config1:/tmp/test_gdbus-proxy_JBQ0E3/gdbus/proxy/async/.dirs/system-config2 808s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_JBQ0E3/gdbus/proxy/async/.dirs/config 808s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_JBQ0E3/gdbus/proxy/async/.dirs/system-data1:/tmp/test_gdbus-proxy_JBQ0E3/gdbus/proxy/async/.dirs/system-data2 808s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_JBQ0E3/gdbus/proxy/async/.dirs/data 808s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_JBQ0E3/gdbus/proxy/async/.dirs/state 808s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_JBQ0E3/gdbus/proxy/async/.dirs/runtime 810s ok 4 /gdbus/proxy/async 810s # slow test /gdbus/proxy/async executed in 1.76 secs 810s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_JBQ0E3/gdbus/proxy/no-match-rule/.dirs/home 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_JBQ0E3/gdbus/proxy/no-match-rule/.dirs/cache 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_JBQ0E3/gdbus/proxy/no-match-rule/.dirs/system-config1:/tmp/test_gdbus-proxy_JBQ0E3/gdbus/proxy/no-match-rule/.dirs/system-config2 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_JBQ0E3/gdbus/proxy/no-match-rule/.dirs/config 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_JBQ0E3/gdbus/proxy/no-match-rule/.dirs/system-data1:/tmp/test_gdbus-proxy_JBQ0E3/gdbus/proxy/no-match-rule/.dirs/system-data2 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_JBQ0E3/gdbus/proxy/no-match-rule/.dirs/data 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_JBQ0E3/gdbus/proxy/no-match-rule/.dirs/state 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_JBQ0E3/gdbus/proxy/no-match-rule/.dirs/runtime 810s # /gdbus/proxy/no-match-rule summary: Test that G_DBUS_PROXY_FLAGS_NO_MATCH_RULE works 810s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1109 812s ok 5 /gdbus/proxy/no-match-rule 812s # slow test /gdbus/proxy/no-match-rule executed in 1.75 secs 812s # End of proxy tests 812s # End of gdbus tests 812s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 812s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 812s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 812s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 812s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 812s ok - glib/gdbus-proxy.test 812s # Running test: glib/overflow.test 812s ok - glib/overflow.test 812s TAP version 14 812s # random seed: R02Sbc9b33f1367c71363e799dc2107520aa 812s 1..6 812s # Start of glib tests 812s # Start of checked-math tests 812s ok 1 /glib/checked-math/guint-add 812s ok 2 /glib/checked-math/guint-mul 812s ok 3 /glib/checked-math/guint64-add 812s ok 4 /glib/checked-math/guint64-mul 812s ok 5 /glib/checked-math/gsize-add 812s ok 6 /glib/checked-math/gsize-mul 812s # End of checked-math tests 812s # End of glib tests 812s # Running test: glib/unicode-normalize.test 812s TAP version 14 812s # random seed: R02S3b9197c904498990f9b6f677b295b889 812s 1..3 812s # Start of unicode tests 812s # Processing Part0 # Specific cases 812s # Processing Part1 # Character by character test 812s # Processing Part2 # Canonical Order Test 812s # Processing Part3 # PRI #29 Test 812s # Processing Part4 # Canonical closures (excluding Hangul) 812s # Processing Part5 # Chained primary composites 812s ok 1 /unicode/normalize 812s # Invalid UTF-8 vector 0 812s # Invalid UTF-8 vector 1 812s # Invalid UTF-8 vector 2 812s # Invalid UTF-8 vector 3 812s # Invalid UTF-8 vector 4 812s # Invalid UTF-8 vector 5 812s # Invalid UTF-8 vector 6 812s # Invalid UTF-8 vector 7 812s # Invalid UTF-8 vector 8 812s # Invalid UTF-8 vector 9 812s # Invalid UTF-8 vector 10 812s # Invalid UTF-8 vector 11 812s # Invalid UTF-8 vector 12 812s ok 2 /unicode/normalize-invalid 812s # Start of normalize tests 812s ok 3 /unicode/normalize/bad-length 812s # End of normalize tests 812s # End of unicode tests 812s ok - glib/unicode-normalize.test 812s # Running test: glib/memory-settings-backend.test 812s TAP version 14 812s # random seed: R02Sd095c49bbb4c404e357a83f519190d0a 812s 1..1 812s # Start of memory-settings-backend tests 812s ok 1 /memory-settings-backend/extension-point-registered 812s # End of memory-settings-backend tests 812s ok - glib/memory-settings-backend.test 812s # Running test: glib/bookmarkfile.test 812s TAP version 14 812s # random seed: R02S8ff81353b01ff814fb217d77e9931136 812s 1..96 812s # Start of bookmarks tests 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/load-from-data-dirs/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/load-from-data-dirs/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/load-from-data-dirs/.dirs/system-config1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/load-from-data-dirs/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/load-from-data-dirs/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/load-from-data-dirs/.dirs/system-data1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/load-from-data-dirs/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/load-from-data-dirs/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/load-from-data-dirs/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XKDQE3/bookmarks/load-from-data-dirs/.dirs/runtime 812s ok 1 /bookmarks/load-from-data-dirs 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/to-file/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/to-file/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/to-file/.dirs/system-config1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/to-file/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/to-file/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/to-file/.dirs/system-data1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/to-file/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/to-file/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/to-file/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XKDQE3/bookmarks/to-file/.dirs/runtime 812s # Roundtrip from newly created bookmark file /tmp/test_bookmarkfile_XKDQE3/bookmarkfile-test-JTCQE3.xbel 812s # Roundtrip from a valid bookmark file 812s ok 2 /bookmarks/to-file 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/move-item/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/move-item/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/move-item/.dirs/system-config1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/move-item/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/move-item/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/move-item/.dirs/system-data1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/move-item/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/move-item/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/move-item/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XKDQE3/bookmarks/move-item/.dirs/runtime 812s ok 3 /bookmarks/move-item 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/corner-cases/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/corner-cases/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/corner-cases/.dirs/system-config1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/corner-cases/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/corner-cases/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/corner-cases/.dirs/system-data1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/corner-cases/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/corner-cases/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/corner-cases/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XKDQE3/bookmarks/corner-cases/.dirs/runtime 812s ok 4 /bookmarks/corner-cases 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/misc/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/misc/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/misc/.dirs/system-config1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/misc/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/misc/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/misc/.dirs/system-data1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/misc/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/misc/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/misc/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XKDQE3/bookmarks/misc/.dirs/runtime 812s ok 5 /bookmarks/misc 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/deprecated/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/deprecated/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/deprecated/.dirs/system-config1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/deprecated/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/deprecated/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/deprecated/.dirs/system-data1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/deprecated/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/deprecated/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/deprecated/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XKDQE3/bookmarks/deprecated/.dirs/runtime 812s ok 6 /bookmarks/deprecated 812s # Start of parse tests 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-13.xbel/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-13.xbel/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-13.xbel/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-13.xbel/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-13.xbel/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-13.xbel/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-13.xbel/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-13.xbel/.dirs/runtime 812s ok 7 /bookmarks/parse/fail-13.xbel 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-38.xbel/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-38.xbel/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-38.xbel/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-38.xbel/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-38.xbel/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-38.xbel/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-38.xbel/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-38.xbel/.dirs/runtime 812s ok 8 /bookmarks/parse/fail-38.xbel 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-24.xbel/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-24.xbel/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-24.xbel/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-24.xbel/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-24.xbel/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-24.xbel/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-24.xbel/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-24.xbel/.dirs/runtime 812s ok 9 /bookmarks/parse/fail-24.xbel 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-26.xbel/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-26.xbel/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-26.xbel/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-26.xbel/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-26.xbel/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-26.xbel/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-26.xbel/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-26.xbel/.dirs/runtime 812s ok 10 /bookmarks/parse/fail-26.xbel 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-40.xbel/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-40.xbel/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-40.xbel/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-40.xbel/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-40.xbel/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-40.xbel/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-40.xbel/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-40.xbel/.dirs/runtime 812s ok 11 /bookmarks/parse/fail-40.xbel 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-37.xbel/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-37.xbel/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-37.xbel/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-37.xbel/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-37.xbel/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-37.xbel/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-37.xbel/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-37.xbel/.dirs/runtime 812s ok 12 /bookmarks/parse/fail-37.xbel 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-41.xbel/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-41.xbel/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-41.xbel/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-41.xbel/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-41.xbel/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-41.xbel/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-41.xbel/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-41.xbel/.dirs/runtime 812s ok 13 /bookmarks/parse/fail-41.xbel 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-11.xbel/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-11.xbel/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-11.xbel/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-11.xbel/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-11.xbel/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-11.xbel/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-11.xbel/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-11.xbel/.dirs/runtime 812s ok 14 /bookmarks/parse/fail-11.xbel 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/valid-03.xbel/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/valid-03.xbel/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/valid-03.xbel/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/valid-03.xbel/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/valid-03.xbel/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/valid-03.xbel/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/valid-03.xbel/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/valid-03.xbel/.dirs/runtime 812s ok 15 /bookmarks/parse/valid-03.xbel 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-19.xbel/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-19.xbel/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-19.xbel/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-19.xbel/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-19.xbel/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-19.xbel/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-19.xbel/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-19.xbel/.dirs/runtime 812s ok 16 /bookmarks/parse/fail-19.xbel 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-18.xbel/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-18.xbel/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-18.xbel/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-18.xbel/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-18.xbel/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-18.xbel/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-18.xbel/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-18.xbel/.dirs/runtime 812s ok 17 /bookmarks/parse/fail-18.xbel 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-04.xbel/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-04.xbel/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-04.xbel/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-04.xbel/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-04.xbel/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-04.xbel/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-04.xbel/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-04.xbel/.dirs/runtime 812s ok 18 /bookmarks/parse/fail-04.xbel 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-25.xbel/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-25.xbel/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-25.xbel/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-25.xbel/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-25.xbel/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-25.xbel/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-25.xbel/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-25.xbel/.dirs/runtime 812s ok 19 /bookmarks/parse/fail-25.xbel 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-20.xbel/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-20.xbel/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-20.xbel/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-20.xbel/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-20.xbel/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-20.xbel/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-20.xbel/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-20.xbel/.dirs/runtime 812s ok 20 /bookmarks/parse/fail-20.xbel 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-33.xbel/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-33.xbel/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-33.xbel/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-33.xbel/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-33.xbel/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-33.xbel/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-33.xbel/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-33.xbel/.dirs/runtime 812s ok 21 /bookmarks/parse/fail-33.xbel 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-23.xbel/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-23.xbel/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-23.xbel/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-23.xbel/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-23.xbel/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-23.xbel/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-23.xbel/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-23.xbel/.dirs/runtime 812s ok 22 /bookmarks/parse/fail-23.xbel 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-27.xbel/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-27.xbel/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-27.xbel/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-27.xbel/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-27.xbel/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-27.xbel/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-27.xbel/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-27.xbel/.dirs/runtime 812s ok 23 /bookmarks/parse/fail-27.xbel 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-17.xbel/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-17.xbel/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-17.xbel/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-17.xbel/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-17.xbel/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-17.xbel/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-17.xbel/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-17.xbel/.dirs/runtime 812s ok 24 /bookmarks/parse/fail-17.xbel 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-09.xbel/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-09.xbel/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-09.xbel/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-09.xbel/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-09.xbel/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-09.xbel/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-09.xbel/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-09.xbel/.dirs/runtime 812s ok 25 /bookmarks/parse/fail-09.xbel 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-39.xbel/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-39.xbel/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-39.xbel/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-39.xbel/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-39.xbel/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-39.xbel/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-39.xbel/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-39.xbel/.dirs/runtime 812s ok 26 /bookmarks/parse/fail-39.xbel 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-36.xbel/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-36.xbel/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-36.xbel/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-36.xbel/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-36.xbel/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-36.xbel/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-36.xbel/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-36.xbel/.dirs/runtime 812s ok 27 /bookmarks/parse/fail-36.xbel 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-06.xbel/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-06.xbel/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-06.xbel/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-06.xbel/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-06.xbel/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-06.xbel/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-06.xbel/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-06.xbel/.dirs/runtime 812s ok 28 /bookmarks/parse/fail-06.xbel 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-28.xbel/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-28.xbel/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-28.xbel/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-28.xbel/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-28.xbel/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-28.xbel/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-28.xbel/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-28.xbel/.dirs/runtime 812s ok 29 /bookmarks/parse/fail-28.xbel 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-31.xbel/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-31.xbel/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-31.xbel/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-31.xbel/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-31.xbel/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-31.xbel/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-31.xbel/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-31.xbel/.dirs/runtime 812s ok 30 /bookmarks/parse/fail-31.xbel 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-03.xbel/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-03.xbel/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-03.xbel/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-03.xbel/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-03.xbel/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-03.xbel/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-03.xbel/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-03.xbel/.dirs/runtime 812s ok 31 /bookmarks/parse/fail-03.xbel 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-16.xbel/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-16.xbel/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-16.xbel/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-16.xbel/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-16.xbel/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-16.xbel/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-16.xbel/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-16.xbel/.dirs/runtime 812s ok 32 /bookmarks/parse/fail-16.xbel 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-35.xbel/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-35.xbel/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-35.xbel/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-35.xbel/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-35.xbel/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-35.xbel/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-35.xbel/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-35.xbel/.dirs/runtime 812s ok 33 /bookmarks/parse/fail-35.xbel 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-12.xbel/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-12.xbel/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-12.xbel/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-12.xbel/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-12.xbel/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-12.xbel/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-12.xbel/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-12.xbel/.dirs/runtime 812s ok 34 /bookmarks/parse/fail-12.xbel 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-21.xbel/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-21.xbel/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-21.xbel/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-21.xbel/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-21.xbel/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-21.xbel/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-21.xbel/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-21.xbel/.dirs/runtime 812s ok 35 /bookmarks/parse/fail-21.xbel 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-02.xbel/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-02.xbel/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-02.xbel/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-02.xbel/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-02.xbel/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-02.xbel/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-02.xbel/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-02.xbel/.dirs/runtime 812s ok 36 /bookmarks/parse/fail-02.xbel 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-14.xbel/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-14.xbel/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-14.xbel/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-14.xbel/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-14.xbel/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-14.xbel/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-14.xbel/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-14.xbel/.dirs/runtime 812s ok 37 /bookmarks/parse/fail-14.xbel 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-42.xbel/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-42.xbel/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-42.xbel/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-42.xbel/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-42.xbel/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-42.xbel/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-42.xbel/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-42.xbel/.dirs/runtime 812s ok 38 /bookmarks/parse/fail-42.xbel 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-32.xbel/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-32.xbel/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-32.xbel/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-32.xbel/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-32.xbel/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-32.xbel/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-32.xbel/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-32.xbel/.dirs/runtime 812s ok 39 /bookmarks/parse/fail-32.xbel 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/valid-01.xbel/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/valid-01.xbel/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/valid-01.xbel/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/valid-01.xbel/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/valid-01.xbel/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/valid-01.xbel/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/valid-01.xbel/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/valid-01.xbel/.dirs/runtime 812s ok 40 /bookmarks/parse/valid-01.xbel 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-05.xbel/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-05.xbel/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-05.xbel/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-05.xbel/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-05.xbel/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-05.xbel/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-05.xbel/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-05.xbel/.dirs/runtime 812s ok 41 /bookmarks/parse/fail-05.xbel 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-01.xbel/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-01.xbel/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-01.xbel/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-01.xbel/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-01.xbel/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-01.xbel/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-01.xbel/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-01.xbel/.dirs/runtime 812s ok 42 /bookmarks/parse/fail-01.xbel 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-07.xbel/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-07.xbel/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-07.xbel/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-07.xbel/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-07.xbel/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-07.xbel/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-07.xbel/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-07.xbel/.dirs/runtime 812s ok 43 /bookmarks/parse/fail-07.xbel 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-30.xbel/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-30.xbel/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-30.xbel/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-30.xbel/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-30.xbel/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-30.xbel/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-30.xbel/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-30.xbel/.dirs/runtime 812s ok 44 /bookmarks/parse/fail-30.xbel 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-34.xbel/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-34.xbel/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-34.xbel/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-34.xbel/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-34.xbel/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-34.xbel/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-34.xbel/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-34.xbel/.dirs/runtime 812s ok 45 /bookmarks/parse/fail-34.xbel 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-08.xbel/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-08.xbel/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-08.xbel/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-08.xbel/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-08.xbel/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-08.xbel/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-08.xbel/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-08.xbel/.dirs/runtime 812s ok 46 /bookmarks/parse/fail-08.xbel 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-22.xbel/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-22.xbel/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-22.xbel/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-22.xbel/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-22.xbel/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-22.xbel/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-22.xbel/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-22.xbel/.dirs/runtime 812s ok 47 /bookmarks/parse/fail-22.xbel 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/valid-02.xbel/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/valid-02.xbel/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/valid-02.xbel/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/valid-02.xbel/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/valid-02.xbel/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/valid-02.xbel/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/valid-02.xbel/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/valid-02.xbel/.dirs/runtime 812s ok 48 /bookmarks/parse/valid-02.xbel 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-15.xbel/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-15.xbel/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-15.xbel/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-15.xbel/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-15.xbel/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-15.xbel/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-15.xbel/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-15.xbel/.dirs/runtime 812s ok 49 /bookmarks/parse/fail-15.xbel 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-29.xbel/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-29.xbel/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-29.xbel/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-29.xbel/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-29.xbel/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-29.xbel/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-29.xbel/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-29.xbel/.dirs/runtime 812s ok 50 /bookmarks/parse/fail-29.xbel 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-10.xbel/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-10.xbel/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-10.xbel/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-10.xbel/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-10.xbel/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-10.xbel/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-10.xbel/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XKDQE3/bookmarks/parse/fail-10.xbel/.dirs/runtime 812s ok 51 /bookmarks/parse/fail-10.xbel 812s # End of parse tests 812s # Start of copy tests 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-13.xbel/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-13.xbel/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-13.xbel/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-13.xbel/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-13.xbel/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-13.xbel/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-13.xbel/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-13.xbel/.dirs/runtime 812s ok 52 /bookmarks/copy/fail-13.xbel 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-38.xbel/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-38.xbel/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-38.xbel/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-38.xbel/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-38.xbel/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-38.xbel/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-38.xbel/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-38.xbel/.dirs/runtime 812s ok 53 /bookmarks/copy/fail-38.xbel 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-24.xbel/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-24.xbel/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-24.xbel/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-24.xbel/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-24.xbel/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-24.xbel/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-24.xbel/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-24.xbel/.dirs/runtime 812s ok 54 /bookmarks/copy/fail-24.xbel 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-26.xbel/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-26.xbel/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-26.xbel/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-26.xbel/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-26.xbel/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-26.xbel/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-26.xbel/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-26.xbel/.dirs/runtime 812s ok 55 /bookmarks/copy/fail-26.xbel 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-40.xbel/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-40.xbel/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-40.xbel/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-40.xbel/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-40.xbel/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-40.xbel/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-40.xbel/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-40.xbel/.dirs/runtime 812s ok 56 /bookmarks/copy/fail-40.xbel 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-37.xbel/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-37.xbel/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-37.xbel/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-37.xbel/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-37.xbel/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-37.xbel/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-37.xbel/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-37.xbel/.dirs/runtime 812s ok 57 /bookmarks/copy/fail-37.xbel 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-41.xbel/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-41.xbel/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-41.xbel/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-41.xbel/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-41.xbel/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-41.xbel/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-41.xbel/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-41.xbel/.dirs/runtime 812s ok 58 /bookmarks/copy/fail-41.xbel 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-11.xbel/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-11.xbel/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-11.xbel/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-11.xbel/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-11.xbel/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-11.xbel/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-11.xbel/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-11.xbel/.dirs/runtime 812s ok 59 /bookmarks/copy/fail-11.xbel 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/valid-03.xbel/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/valid-03.xbel/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/valid-03.xbel/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/valid-03.xbel/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/valid-03.xbel/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/valid-03.xbel/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/valid-03.xbel/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/valid-03.xbel/.dirs/runtime 812s ok 60 /bookmarks/copy/valid-03.xbel 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-19.xbel/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-19.xbel/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-19.xbel/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-19.xbel/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-19.xbel/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-19.xbel/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-19.xbel/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-19.xbel/.dirs/runtime 812s ok 61 /bookmarks/copy/fail-19.xbel 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-18.xbel/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-18.xbel/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-18.xbel/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-18.xbel/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-18.xbel/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-18.xbel/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-18.xbel/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-18.xbel/.dirs/runtime 812s ok 62 /bookmarks/copy/fail-18.xbel 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-04.xbel/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-04.xbel/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-04.xbel/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-04.xbel/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-04.xbel/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-04.xbel/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-04.xbel/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-04.xbel/.dirs/runtime 812s ok 63 /bookmarks/copy/fail-04.xbel 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-25.xbel/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-25.xbel/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-25.xbel/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-25.xbel/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-25.xbel/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-25.xbel/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-25.xbel/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-25.xbel/.dirs/runtime 812s ok 64 /bookmarks/copy/fail-25.xbel 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-20.xbel/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-20.xbel/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-20.xbel/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-20.xbel/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-20.xbel/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-20.xbel/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-20.xbel/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-20.xbel/.dirs/runtime 812s ok 65 /bookmarks/copy/fail-20.xbel 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-33.xbel/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-33.xbel/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-33.xbel/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-33.xbel/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-33.xbel/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-33.xbel/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-33.xbel/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-33.xbel/.dirs/runtime 812s ok 66 /bookmarks/copy/fail-33.xbel 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-23.xbel/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-23.xbel/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-23.xbel/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-23.xbel/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-23.xbel/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-23.xbel/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-23.xbel/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-23.xbel/.dirs/runtime 812s ok 67 /bookmarks/copy/fail-23.xbel 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-27.xbel/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-27.xbel/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-27.xbel/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-27.xbel/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-27.xbel/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-27.xbel/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-27.xbel/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-27.xbel/.dirs/runtime 812s ok 68 /bookmarks/copy/fail-27.xbel 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-17.xbel/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-17.xbel/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-17.xbel/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-17.xbel/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-17.xbel/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-17.xbel/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-17.xbel/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-17.xbel/.dirs/runtime 812s ok 69 /bookmarks/copy/fail-17.xbel 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-09.xbel/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-09.xbel/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-09.xbel/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-09.xbel/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-09.xbel/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-09.xbel/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-09.xbel/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-09.xbel/.dirs/runtime 812s ok 70 /bookmarks/copy/fail-09.xbel 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-39.xbel/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-39.xbel/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-39.xbel/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-39.xbel/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-39.xbel/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-39.xbel/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-39.xbel/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-39.xbel/.dirs/runtime 812s ok 71 /bookmarks/copy/fail-39.xbel 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-36.xbel/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-36.xbel/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-36.xbel/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-36.xbel/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-36.xbel/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-36.xbel/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-36.xbel/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-36.xbel/.dirs/runtime 812s ok 72 /bookmarks/copy/fail-36.xbel 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-06.xbel/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-06.xbel/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-06.xbel/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-06.xbel/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-06.xbel/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-06.xbel/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-06.xbel/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-06.xbel/.dirs/runtime 812s ok 73 /bookmarks/copy/fail-06.xbel 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-28.xbel/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-28.xbel/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-28.xbel/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-28.xbel/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-28.xbel/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-28.xbel/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-28.xbel/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-28.xbel/.dirs/runtime 812s ok 74 /bookmarks/copy/fail-28.xbel 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-31.xbel/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-31.xbel/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-31.xbel/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-31.xbel/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-31.xbel/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-31.xbel/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-31.xbel/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-31.xbel/.dirs/runtime 812s ok 75 /bookmarks/copy/fail-31.xbel 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-03.xbel/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-03.xbel/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-03.xbel/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-03.xbel/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-03.xbel/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-03.xbel/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-03.xbel/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-03.xbel/.dirs/runtime 812s ok 76 /bookmarks/copy/fail-03.xbel 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-16.xbel/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-16.xbel/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-16.xbel/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-16.xbel/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-16.xbel/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-16.xbel/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-16.xbel/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-16.xbel/.dirs/runtime 812s ok 77 /bookmarks/copy/fail-16.xbel 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-35.xbel/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-35.xbel/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-35.xbel/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-35.xbel/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-35.xbel/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-35.xbel/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-35.xbel/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-35.xbel/.dirs/runtime 812s ok 78 /bookmarks/copy/fail-35.xbel 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-12.xbel/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-12.xbel/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-12.xbel/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-12.xbel/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-12.xbel/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-12.xbel/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-12.xbel/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-12.xbel/.dirs/runtime 812s ok 79 /bookmarks/copy/fail-12.xbel 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-21.xbel/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-21.xbel/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-21.xbel/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-21.xbel/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-21.xbel/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-21.xbel/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-21.xbel/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-21.xbel/.dirs/runtime 812s ok 80 /bookmarks/copy/fail-21.xbel 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-02.xbel/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-02.xbel/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-02.xbel/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-02.xbel/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-02.xbel/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-02.xbel/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-02.xbel/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-02.xbel/.dirs/runtime 812s ok 81 /bookmarks/copy/fail-02.xbel 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-14.xbel/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-14.xbel/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-14.xbel/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-14.xbel/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-14.xbel/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-14.xbel/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-14.xbel/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-14.xbel/.dirs/runtime 812s ok 82 /bookmarks/copy/fail-14.xbel 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-42.xbel/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-42.xbel/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-42.xbel/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-42.xbel/.dirs/config 812s ok - glib/bookmarkfile.test 812s # Running test: glib/registered-type-info.test 812s ok - glib/registered-type-info.test 812s # Running test: glib/appmonitor.test 812s ok - glib/appmonitor.test 812s # Running test: glib/utils-c-89.test 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-42.xbel/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-42.xbel/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-42.xbel/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-42.xbel/.dirs/runtime 812s ok 83 /bookmarks/copy/fail-42.xbel 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-32.xbel/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-32.xbel/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-32.xbel/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-32.xbel/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-32.xbel/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-32.xbel/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-32.xbel/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-32.xbel/.dirs/runtime 812s ok 84 /bookmarks/copy/fail-32.xbel 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/valid-01.xbel/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/valid-01.xbel/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/valid-01.xbel/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/valid-01.xbel/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/valid-01.xbel/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/valid-01.xbel/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/valid-01.xbel/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/valid-01.xbel/.dirs/runtime 812s ok 85 /bookmarks/copy/valid-01.xbel 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-05.xbel/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-05.xbel/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-05.xbel/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-05.xbel/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-05.xbel/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-05.xbel/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-05.xbel/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-05.xbel/.dirs/runtime 812s ok 86 /bookmarks/copy/fail-05.xbel 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-01.xbel/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-01.xbel/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-01.xbel/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-01.xbel/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-01.xbel/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-01.xbel/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-01.xbel/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-01.xbel/.dirs/runtime 812s ok 87 /bookmarks/copy/fail-01.xbel 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-07.xbel/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-07.xbel/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-07.xbel/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-07.xbel/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-07.xbel/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-07.xbel/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-07.xbel/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-07.xbel/.dirs/runtime 812s ok 88 /bookmarks/copy/fail-07.xbel 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-30.xbel/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-30.xbel/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-30.xbel/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-30.xbel/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-30.xbel/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-30.xbel/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-30.xbel/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-30.xbel/.dirs/runtime 812s ok 89 /bookmarks/copy/fail-30.xbel 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-34.xbel/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-34.xbel/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-34.xbel/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-34.xbel/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-34.xbel/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-34.xbel/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-34.xbel/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-34.xbel/.dirs/runtime 812s ok 90 /bookmarks/copy/fail-34.xbel 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-08.xbel/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-08.xbel/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-08.xbel/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-08.xbel/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-08.xbel/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-08.xbel/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-08.xbel/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-08.xbel/.dirs/runtime 812s ok 91 /bookmarks/copy/fail-08.xbel 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-22.xbel/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-22.xbel/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-22.xbel/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-22.xbel/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-22.xbel/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-22.xbel/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-22.xbel/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-22.xbel/.dirs/runtime 812s ok 92 /bookmarks/copy/fail-22.xbel 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/valid-02.xbel/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/valid-02.xbel/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/valid-02.xbel/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/valid-02.xbel/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/valid-02.xbel/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/valid-02.xbel/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/valid-02.xbel/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/valid-02.xbel/.dirs/runtime 812s ok 93 /bookmarks/copy/valid-02.xbel 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-15.xbel/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-15.xbel/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-15.xbel/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-15.xbel/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-15.xbel/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-15.xbel/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-15.xbel/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-15.xbel/.dirs/runtime 812s ok 94 /bookmarks/copy/fail-15.xbel 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-29.xbel/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-29.xbel/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-29.xbel/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-29.xbel/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-29.xbel/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-29.xbel/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-29.xbel/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-29.xbel/.dirs/runtime 812s ok 95 /bookmarks/copy/fail-29.xbel 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-10.xbel/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-10.xbel/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-10.xbel/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-10.xbel/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-10.xbel/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-10.xbel/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-10.xbel/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XKDQE3/bookmarks/copy/fail-10.xbel/.dirs/runtime 812s ok 96 /bookmarks/copy/fail-10.xbel 812s # End of copy tests 812s # End of bookmarks tests 812s TAP version 14 812s # random seed: R02Sf6b73f6328c46d3111eaa9c8d8222fc5 812s 1..1 812s # Start of registered-type-info tests 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_registered-type-info_OHIPE3/registered-type-info/boxed/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_registered-type-info_OHIPE3/registered-type-info/boxed/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_registered-type-info_OHIPE3/registered-type-info/boxed/.dirs/system-config1:/tmp/test_registered-type-info_OHIPE3/registered-type-info/boxed/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_registered-type-info_OHIPE3/registered-type-info/boxed/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_registered-type-info_OHIPE3/registered-type-info/boxed/.dirs/system-data1:/tmp/test_registered-type-info_OHIPE3/registered-type-info/boxed/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_registered-type-info_OHIPE3/registered-type-info/boxed/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_registered-type-info_OHIPE3/registered-type-info/boxed/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_registered-type-info_OHIPE3/registered-type-info/boxed/.dirs/runtime 812s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 812s # /registered-type-info/boxed summary: Test various boxed and non-boxed types for GIRegisteredTypeInfo 812s # Expecting CClosure to not be boxed 812s # Expecting TypeCValue to not be boxed 812s # Expecting InitiallyUnownedClass to not be boxed 812s # Expecting BookmarkFile to be boxed 812s # Expecting Closure to be boxed 812s # Expecting Object to not be boxed 812s ok 1 /registered-type-info/boxed 812s # End of registered-type-info tests 812s TAP version 14 812s # random seed: R02S360d575f0391736bdaf1f6f3750cc603 812s 1..1 812s # Start of monitor tests 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_appmonitor_13KPE3/monitor/app/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_appmonitor_13KPE3/monitor/app/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_appmonitor_13KPE3/monitor/app/.dirs/system-config1:/tmp/test_appmonitor_13KPE3/monitor/app/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_appmonitor_13KPE3/monitor/app/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_appmonitor_13KPE3/monitor/app/.dirs/system-data1:/tmp/test_appmonitor_13KPE3/monitor/app/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_appmonitor_13KPE3/monitor/app/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_appmonitor_13KPE3/monitor/app/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_appmonitor_13KPE3/monitor/app/.dirs/runtime 812s # Using data directory: /tmp/test_appmonitor_13KPE3/monitor/app/.dirs/data 812s ok 1 /monitor/app 812s # End of monitor tests 812s TAP version 14 812s # random seed: R02S9d0ffd9583126cf750fef0567d0c0001 812s 1..41 812s # Start of utils tests 812s ok 1 /utils/language-names 812s # Testing locale ‘en’ 812s # Testing locale ‘sr@latin’ 812s # Testing locale ‘fr_BE’ 812s # Testing locale ‘sr_SR@latin’ 812s # Testing locale ‘sr_SR@latin.UTF-8’ 812s # Testing locale ‘sr@latin_invalid’ 812s # Testing locale ‘sr.UTF-8@latin’ 812s # Testing locale ‘sr.UTF-8_latin’ 812s # Testing locale ‘sr.UTF-8@latin_invalid’ 812s ok 2 /utils/locale-variants 812s ok 3 /utils/version 812s ok 4 /utils/appname 812s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 812s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 812s ok 5 /utils/prgname-thread-safety 812s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 812s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 812s ok 6 /utils/tmpdir 812s ok 7 /utils/basic_bits 812s ok 8 /utils/bits 812s ok 9 /utils/swap 812s ok 10 /utils/find-program 812s ok 11 /utils/find-program-for-path 812s ok 12 /utils/debug 812s ok 13 /utils/codeset 812s ok 14 /utils/codeset2 812s ok 15 /utils/console-charset 812s ok 16 /utils/gettext 812s ok 17 /utils/username 812s ok 18 /utils/realname 812s ok 19 /utils/hostname 812s ok 20 /utils/xdgdirs 812s ok 21 /utils/specialdir 812s # NAME: Ubuntu 812s ok 22 /utils/os-info 812s ok 23 /utils/clear-pointer 812s ok 24 /utils/clear-pointer-cast 812s ok 25 /utils/take-pointer 812s ok 26 /utils/clear-source 812s ok 27 /utils/misc-mem 812s # /utils/aligned-mem summary: Aligned memory allocator 812s # Alignment must not be zero 812s # Alignment must be a power of two 812s # Alignment must be a multiple of sizeof(void*) 812s ok - glib/utils-c-89.test 812s # Running test: glib/asyncqueue.test 812s ok 28 /utils/aligned-mem 812s # /utils/free-sized summary: Check that g_free_sized() works 812s ok 29 /utils/free-sized 812s ok 30 /utils/nullify 812s ok 31 /utils/atexit 812s ok 32 /utils/check-setuid 812s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 812s ok 33 /utils/int-limits 812s ok 34 /utils/clear-list 812s ok 35 /utils/clear-slist 812s ok 36 /utils/steal-handle-id 812s # Start of specialdir tests 812s ok 37 /utils/specialdir/desktop 812s # End of specialdir tests 812s # Start of clear-pointer tests 812s ok 38 /utils/clear-pointer/side-effects 812s # End of clear-pointer tests 812s # Start of aligned-mem tests 812s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 812s ok 39 /utils/aligned-mem/alignment 812s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 812s ok 40 /utils/aligned-mem/zeroed 812s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 812s ok 41 /utils/aligned-mem/free-sized 812s # Start of subprocess tests 812s # End of subprocess tests 812s # End of aligned-mem tests 812s # End of utils tests 812s TAP version 14 812s # random seed: R02S384dcc9387842f57ef37c4d62566f32d 812s 1..7 812s # Start of asyncqueue tests 812s ok 1 /asyncqueue/basics 812s ok 2 /asyncqueue/sort 812s ok 3 /asyncqueue/destroy 812s ok 4 /asyncqueue/threads 812s ok - glib/asyncqueue.test 812s ok 5 /asyncqueue/timed 812s ok 6 /asyncqueue/remove 812s ok 7 /asyncqueue/push_front 812s # End of asyncqueue tests 812s # Running test: glib/permission.test 812s TAP version 14 812s # random seed: R02Sbf98a2dc17fc509f0210e9114c2a27d8 812s 1..1 812s # Start of permission tests 812s ok 1 /permission/simple 812s # End of permission tests 812s ok - glib/permission.test 812s # Running test: glib/singleton.test 812s ok - glib/singleton.test 812s TAP version 14 812s # random seed: R02Sac27f4e186a8ad22e61e522becd74036 812s 1..2 812s # Start of gobject tests 812s # Start of singleton tests 812s ok 1 /gobject/singleton/construction 812s # /gobject/singleton/construct-property summary: Test that creating a singleton with a construct-time property works 812s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2666 812s ok 2 /gobject/singleton/construct-property 812s # End of singleton tests 812s # End of gobject tests 812s # Running test: glib/bytes.test 812s TAP version 14 812s # random seed: R02Se12aa1872c5081e41eedb16bb19c7803 812s 1..21 812s # Start of bytes tests 812s ok 1 /bytes/new 812s ok 2 /bytes/new-take 812s ok 3 /bytes/new-static 812s ok 4 /bytes/new-with-free-func 812s ok 5 /bytes/new-from-bytes 812s ok 6 /bytes/new-from-bytes-slice 812s ok 7 /bytes/new-from-bytes-shared-ref 812s ok 8 /bytes/hash 812s ok 9 /bytes/equal 812s ok 10 /bytes/compare 812s ok 11 /bytes/null 812s ok 12 /bytes/get-region 812s # /bytes/unref-null summary: Test that calling g_bytes_unref() on NULL is a no-op 812s ok 13 /bytes/unref-null 812s ok - glib/bytes.test 812s # Start of to-data tests 812s ok 14 /bytes/to-data/transferred 812s ok 15 /bytes/to-data/two-refs 812s ok 16 /bytes/to-data/non-malloc 812s ok 17 /bytes/to-data/different-free-func 812s # End of to-data tests 812s # Start of to-array tests 812s ok 18 /bytes/to-array/transferred 812s ok 19 /bytes/to-array/two-refs 812s ok 20 /bytes/to-array/non-malloc 812s # Start of transferred tests 812s # g_bytes_unref_to_array() can only take GBytes up to G_MAXUINT in length; test that longer ones are rejected 812s ok 21 /bytes/to-array/transferred/oversize 812s # End of transferred tests 812s # End of to-array tests 812s # End of bytes tests 812s # Running test: glib/async-close-output-stream.test 812s TAP version 14 812s # random seed: R02S530777e2c96f39243c32f873bfbe6f0f 812s 1..3 812s # Start of close-async tests 812s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 812s ok 1 /close-async/without-flush 812s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 812s ok 2 /close-async/with-flush 812s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 812s ok - glib/async-close-output-stream.test 812s # Running test: glib/converter-stream.test 812s ok 3 /close-async/with-async-flush 812s # End of close-async tests 812s TAP version 14 812s # random seed: R02Sf57bcfb28b19f670775b98b15b34b622 812s 1..17 812s # Start of converter tests 812s ok 1 /converter/basics 812s # End of converter tests 812s # Start of converter-input-stream tests 812s ok 2 /converter-input-stream/expander 812s ok 3 /converter-input-stream/compressor 812s # Start of truncation tests 813s ok 4 /converter-input-stream/truncation/zlib 813s # Executing: glib/converter-stream.test 813s ok 5 /converter-input-stream/truncation/gzip 813s ok 6 /converter-input-stream/truncation/raw 813s # End of truncation tests 813s # Start of charset tests 813s ok 7 /converter-input-stream/charset/utf8->latin1 813s ok 8 /converter-input-stream/charset/latin1->utf8 813s ok 9 /converter-input-stream/charset/fallbacks 813s # End of charset tests 813s # End of converter-input-stream tests 813s # Start of converter-output-stream tests 813s # Start of roundtrip tests 813s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 813s ok 10 /converter-output-stream/roundtrip/zlib-0 813s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 813s ok 11 /converter-output-stream/roundtrip/zlib-9 813s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 813s ok 12 /converter-output-stream/roundtrip/gzip-0 813s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 814s ok 13 /converter-output-stream/roundtrip/gzip-9 814s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 814s ok 14 /converter-output-stream/roundtrip/raw-0 814s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 814s ok 15 /converter-output-stream/roundtrip/raw-9 814s # End of roundtrip tests 814s # End of converter-output-stream tests 814s # Start of converter-stream tests 814s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 814s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xe3413452aa0 and GSocketClientAsyncConnectData 0xe341344b200 814s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 814s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 814s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xe3413091b90 for GSocketClientAsyncConnectData 0xe341344b200 814s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 814s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 814s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 814s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 814s ok 16 /converter-stream/pollable 814s ok 17 /converter-stream/leftover 814s # End of converter-stream tests 814s ok - glib/converter-stream.test 814s # Running test: glib/atomic-c-11.test 814s TAP version 14 814s # random seed: R02S4df34e063aba79ffed72f63ae76a34f3 814s 1..2 814s # Start of atomic tests 814s ok 1 /atomic/types 814s ok 2 /atomic/threaded 814s # End of atomic tests 814s ok - glib/atomic-c-11.test 814s # Running test: glib/gdbus-exit-on-close.test 814s TAP version 14 814s # random seed: R02S9f9af220a0829603fc01109bef61db3f 814s 1..4 814s # Start of gdbus tests 814s # Start of exit-on-close tests 814s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_J7JOE3/gdbus/exit-on-close/default/.dirs/home 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_J7JOE3/gdbus/exit-on-close/default/.dirs/cache 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_J7JOE3/gdbus/exit-on-close/default/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_J7JOE3/gdbus/exit-on-close/default/.dirs/system-config2 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_J7JOE3/gdbus/exit-on-close/default/.dirs/config 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_J7JOE3/gdbus/exit-on-close/default/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_J7JOE3/gdbus/exit-on-close/default/.dirs/system-data2 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_J7JOE3/gdbus/exit-on-close/default/.dirs/data 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_J7JOE3/gdbus/exit-on-close/default/.dirs/state 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_J7JOE3/gdbus/exit-on-close/default/.dirs/runtime 814s ok 1 /gdbus/exit-on-close/default 814s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_J7JOE3/gdbus/exit-on-close/true/.dirs/home 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_J7JOE3/gdbus/exit-on-close/true/.dirs/cache 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_J7JOE3/gdbus/exit-on-close/true/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_J7JOE3/gdbus/exit-on-close/true/.dirs/system-config2 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_J7JOE3/gdbus/exit-on-close/true/.dirs/config 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_J7JOE3/gdbus/exit-on-close/true/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_J7JOE3/gdbus/exit-on-close/true/.dirs/system-data2 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_J7JOE3/gdbus/exit-on-close/true/.dirs/data 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_J7JOE3/gdbus/exit-on-close/true/.dirs/state 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_J7JOE3/gdbus/exit-on-close/true/.dirs/runtime 814s ok 2 /gdbus/exit-on-close/true 814s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_J7JOE3/gdbus/exit-on-close/false/.dirs/home 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_J7JOE3/gdbus/exit-on-close/false/.dirs/cache 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_J7JOE3/gdbus/exit-on-close/false/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_J7JOE3/gdbus/exit-on-close/false/.dirs/system-config2 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_J7JOE3/gdbus/exit-on-close/false/.dirs/config 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_J7JOE3/gdbus/exit-on-close/false/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_J7JOE3/gdbus/exit-on-close/false/.dirs/system-data2 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_J7JOE3/gdbus/exit-on-close/false/.dirs/data 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_J7JOE3/gdbus/exit-on-close/false/.dirs/state 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_J7JOE3/gdbus/exit-on-close/false/.dirs/runtime 814s ok 3 /gdbus/exit-on-close/false 814s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_J7JOE3/gdbus/exit-on-close/we-close/.dirs/home 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_J7JOE3/gdbus/exit-on-close/we-close/.dirs/cache 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_J7JOE3/gdbus/exit-on-close/we-close/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_J7JOE3/gdbus/exit-on-close/we-close/.dirs/system-config2 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_J7JOE3/gdbus/exit-on-close/we-close/.dirs/config 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_J7JOE3/gdbus/exit-on-close/we-close/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_J7JOE3/gdbus/exit-on-close/we-close/.dirs/system-data2 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_J7JOE3/gdbus/exit-on-close/we-close/.dirs/data 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_J7JOE3/gdbus/exit-on-close/we-close/.dirs/state 814s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_J7JOE3/gdbus/exit-on-close/we-close/.dirs/runtime 814s ok - glib/gdbus-exit-on-close.test 814s ok 4 /gdbus/exit-on-close/we-close 814s # Start of default tests 814s # End of default tests 814s # Start of true tests 814s # End of true tests 814s # Start of false tests 814s # End of false tests 814s # Start of we-close tests 814s # End of we-close tests 814s # End of exit-on-close tests 814s # End of gdbus tests 814s # Running test: glib/hmac.test 814s TAP version 14 814s # random seed: R02Scfcf7a236524f2b63dc3528245bb6739 814s 1..37 814s # Start of hmac tests 814s ok 1 /hmac/sha1-1 814s ok 2 /hmac/sha1-2 814s ok 3 /hmac/sha1-3 814s ok 4 /hmac/sha1-4 814s ok 5 /hmac/sha1-5 814s ok 6 /hmac/sha1-6 814s ok 7 /hmac/sha1-7 814s ok 8 /hmac/sha256-1 814s ok 9 /hmac/sha256-2 814s ok 10 /hmac/sha256-3 814s ok 11 /hmac/sha256-4 814s ok 12 /hmac/sha256-5 814s ok 13 /hmac/sha256-6 814s ok 14 /hmac/sha384-1 814s ok 15 /hmac/sha384-2 814s ok 16 /hmac/sha384-3 814s ok 17 /hmac/sha384-4 814s ok 18 /hmac/sha384-5 814s ok 19 /hmac/sha384-6 814s ok 20 /hmac/sha512-1 814s ok 21 /hmac/sha512-2 814s ok 22 /hmac/sha512-3 814s ok 23 /hmac/sha512-4 814s ok 24 /hmac/sha512-5 814s ok 25 /hmac/sha512-6 814s ok 26 /hmac/md5-1 814s ok 27 /hmac/md5-2 814s ok 28 /hmac/md5-3 814s ok 29 /hmac/md5-4 814s ok 30 /hmac/md5-5 814s ok 31 /hmac/md5-6 814s ok 32 /hmac/md5-7 814s ok 33 /hmac/ref-unref 814s ok 34 /hmac/copy 814s ok 35 /hmac/for-data 814s ok 36 /hmac/for-string 814s ok 37 /hmac/for-bytes 814s # End of hmac tests 814s ok - glib/hmac.test 814s # Running test: glib/cxx-14.test 814s ok - glib/cxx-14.test 814s TAP version 14 814s # random seed: R02S330bcdac810864ccf39c48838cfa433e 814s 1..2 814s # Start of gtask tests 814s # 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. 814s ok 1 /gtask/name 814s # Start of name tests 814s # 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. 814s ok 2 /gtask/name/macro-wrapper 814s # End of name tests 814s # End of gtask tests 814s # Running test: glib/642026.test 814s TAP version 14 814s # random seed: R02S03b81c0088e9e614773e7056a81a724b 814s 1..1 814s # Start of glib tests 814s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 814s ok 1 /glib/642026 814s # End of glib tests 814s ok - glib/642026.test 814s # Running test: glib/memory-monitor-dbus.test 815s TAP version 13 815s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal # SKIP https://bugs.debian.org/995178 815s 1..1 815s ok - glib/memory-monitor-dbus.test 815s # Running test: glib/dataset.test 815s ok - glib/dataset.test 815s # Running test: glib/gdbus-connection-slow.test 815s TAP version 14 815s # random seed: R02Sa38b78f684e68396e1edf820e245fbab 815s 1..15 815s # Start of quark tests 815s ok 1 /quark/basic 815s ok 2 /quark/string 815s # End of quark tests 815s # Start of dataset tests 815s ok 3 /dataset/basic 815s ok 4 /dataset/id 815s ok 5 /dataset/full 815s ok 6 /dataset/foreach 815s ok 7 /dataset/destroy 815s # End of dataset tests 815s # Start of datalist tests 815s ok 8 /datalist/id 815s ok 9 /datalist/recursive-clear 815s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 815s ok 10 /datalist/id-remove-multiple 815s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 815s ok 11 /datalist/id-remove-multiple-destroy-order 815s ok 12 /datalist/update-atomic 815s # Start of basic tests 815s ok 13 /datalist/basic/few 815s ok 14 /datalist/basic/many 815s # End of basic tests 815s # Start of id-remove-multiple tests 815s ok 15 /datalist/id-remove-multiple/resize 815s # End of id-remove-multiple tests 815s # End of datalist tests 815s TAP version 14 815s # random seed: R02S1a663a1657724a89a1cf6e53a5a1cb02 815s 1..2 815s # Start of gdbus tests 815s # Start of connection tests 815s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_KE8LE3/gdbus/connection/flush/.dirs/home 815s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_KE8LE3/gdbus/connection/flush/.dirs/cache 815s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_KE8LE3/gdbus/connection/flush/.dirs/system-config1:/tmp/test_gdbus-connection-slow_KE8LE3/gdbus/connection/flush/.dirs/system-config2 815s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_KE8LE3/gdbus/connection/flush/.dirs/config 815s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_KE8LE3/gdbus/connection/flush/.dirs/system-data1:/tmp/test_gdbus-connection-slow_KE8LE3/gdbus/connection/flush/.dirs/system-data2 815s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_KE8LE3/gdbus/connection/flush/.dirs/data 815s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_KE8LE3/gdbus/connection/flush/.dirs/state 815s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_KE8LE3/gdbus/connection/flush/.dirs/runtime 815s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 815s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 815s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 815s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 815s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 815s ok 1 /gdbus/connection/flush 815s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_KE8LE3/gdbus/connection/large_message/.dirs/home 815s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_KE8LE3/gdbus/connection/large_message/.dirs/cache 815s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_KE8LE3/gdbus/connection/large_message/.dirs/system-config1:/tmp/test_gdbus-connection-slow_KE8LE3/gdbus/connection/large_message/.dirs/system-config2 815s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_KE8LE3/gdbus/connection/large_message/.dirs/config 815s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_KE8LE3/gdbus/connection/large_message/.dirs/system-data1:/tmp/test_gdbus-connection-slow_KE8LE3/gdbus/connection/large_message/.dirs/system-data2 815s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_KE8LE3/gdbus/connection/large_message/.dirs/data 815s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_KE8LE3/gdbus/connection/large_message/.dirs/state 815s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_KE8LE3/gdbus/connection/large_message/.dirs/runtime 815s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 815s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 815s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 815s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 815s # GLib-DEBUG: unsetenv() is 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 - glib/gdbus-connection-slow.test 815s # Running test: glib/override.test 815s ok - glib/override.test 815s # Running test: glib/boxed.test 815s ok - glib/boxed.test 815s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 815s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 815s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 815s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 815s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 815s ok 2 /gdbus/connection/large_message 815s # End of connection tests 815s # End of gdbus tests 815s TAP version 14 815s # random seed: R02S711ba859acd3167affa533f32d6cce31 815s 1..1 815s # Start of gobject tests 815s # *** emitting foo on a TestA instance 815s # Expecting: TestA::foo,TestI::foo 815s # Got: TestA::foo,TestI::foo 815s # *** emitting bar on a TestA instance 815s # Expecting: TestA::bar 815s # Got: TestA::bar 815s # *** emitting baz on a TestA instance 815s # Expecting: TestA::baz 815s # Got: TestA::baz 815s # *** emitting foo on a TestB instance 815s # Expecting: TestB::foo,TestA::foo,TestI::foo 815s # Got: TestB::foo,TestA::foo,TestI::foo 815s # *** emitting bar on a TestB instance 815s # Expecting: TestB::bar,TestA::bar 815s # Got: TestB::bar,TestA::bar 815s # *** emitting baz on a TestB instance 815s # Expecting: TestB::baz,TestA::baz 815s # Got: TestB::baz,TestA::baz 815s # *** emitting foo on a TestC instance 815s # Expecting: TestC::foo,TestB::foo,TestA::foo,TestI::foo 815s # Got: TestC::foo,TestB::foo,TestA::foo,TestI::foo 815s # *** emitting bar on a TestC instance 815s # Expecting: TestC::bar,TestB::bar,TestA::bar 815s # Got: TestC::bar,TestB::bar,TestA::bar 815s # *** emitting baz on a TestC instance 815s # Expecting: TestC::baz,TestB::baz,TestA::baz 815s # Got: TestC::baz,TestB::baz,TestA::baz 815s ok 1 /gobject/override 815s # End of gobject tests 815s TAP version 14 815s # random seed: R02S8a9c419f9b9865d24d70333888dd3b34 815s 1..27 815s # Start of boxed tests 815s ok 1 /boxed/define 815s ok 2 /boxed/ownership 815s ok 3 /boxed/closure 815s ok 4 /boxed/date 815s ok 5 /boxed/value 815s ok 6 /boxed/string 815s ok 7 /boxed/hashtable 815s ok 8 /boxed/array 815s ok 9 /boxed/ptrarray 815s ok 10 /boxed/regex 815s ok 11 /boxed/varianttype 815s ok 12 /boxed/error 815s ok 13 /boxed/datetime 815s ok 14 /boxed/matchinfo 815s ok 15 /boxed/keyfile 815s ok 16 /boxed/mainloop 815s ok 17 /boxed/maincontext 815s ok 18 /boxed/source 815s ok 19 /boxed/variantbuilder 815s ok 20 /boxed/timezone 815s ok 21 /boxed/pollfd 815s ok 22 /boxed/markup 815s ok 23 /boxed/thread 815s ok 24 /boxed/checksum 815s ok 25 /boxed/tree 815s ok 26 /boxed/patternspec 815s ok 27 /boxed/rand 815s # End of boxed tests 815s TAP version 14 815s # random seed: R02S551f121edc32daa3b91c8e6184a6d6f6 815s 1..1 815s # Start of gobject tests 815s # private data during initialization: 54321 == 54321 815s # MAIN: emit test-signal: 815s # ::test_signal default_handler called 815s # ::test_signal default_handler called 815s # ::test_signal default_handler called 815s # signal return: "" 815s # MAIN: call iface print-string on test and derived object: 815s # Iface-FOO: "iface-string-from-test-type" from 0x88c77a5e860 815s # Iface-BAR: "iface-string-from-derived-type" from 0x88c77a5e710 815s # chaining: 815s # Iface-FOO: "iface-string-from-derived-type" from 0x88c77a5e710 815s # private data after initialization: 54321 == 54321 815s ok 1 /gobject/basics 815s # End of gobject tests 815s # Running test: glib/basics-gobject.test 815s ok - glib/basics-gobject.test 815s TAP version 14 815s # random seed: R02S18527d9235a73f56c8a22ac43010ecd3 815s 1..2 815s # Start of properties tests 815s # /properties/introspection summary: Verify that introspecting properties on an interface initializes the GParamSpecPool. 815s ok 1 /properties/introspection 815s # /properties/collision summary: Verify that multiple threads create a single GParamSpecPool. 815s # Running test: glib/properties-introspection.test 815s ok 2 /properties/collision 815s # End of properties tests 815s ok - glib/properties-introspection.test 815s # Running test: glib/hash.test 815s TAP version 14 815s # random seed: R02Sc98b07ec518c8080c050d2ee3088955b 815s 1..34 815s # Start of hash tests 815s ok 1 /hash/misc 815s ok 2 /hash/one 815s ok 3 /hash/honeyman 815s ok 4 /hash/direct 815s ok 5 /hash/direct2 815s ok 6 /hash/int 815s ok 7 /hash/int64 815s ok 8 /hash/double 815s ok 9 /hash/string 815s ok 10 /hash/set 815s ok 11 /hash/set-ref 815s ok 12 /hash/ref 815s ok 13 /hash/remove-all 815s ok 14 /hash/recursive-remove-all 815s ok 15 /hash/find 815s ok 16 /hash/foreach 815s ok 17 /hash/foreach-steal 815s ok 18 /hash/steal-extended 815s ok 19 /hash/steal-all-keys 815s ok 20 /hash/steal-all-values 815s ok 21 /hash/lookup-extended 815s ok 22 /hash/new-similar 815s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642944 815s ok 23 /hash/lookup-null-key 815s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=650459 815s ok 24 /hash/destroy-modify 815s ok 25 /hash/consistency 815s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=662544 815s ok 26 /hash/iter-replace 815s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=692815 815s ok 27 /hash/set-insert-corruption 815s ok 28 /hash/set-to-strv 815s ok 29 /hash/get-keys-as-ptr-array 815s ok 30 /hash/get-values-as-ptr-array 815s ok 31 /hash/primes 815s # Start of int64 tests 815s # /hash/int64/collisions summary: Check int64 Hash collisions caused by ignoring high word 815s ok 32 /hash/int64/collisions 815s # End of int64 tests 815s # Start of double tests 815s # /hash/double/collisions summary: Check double Hash collisions caused by int conversion and by numbers larger than 2^64-1 (G_MAXUINT64) 815s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2771 815s ok 33 /hash/double/collisions 815s # End of double tests 815s # Start of recursive-remove-all tests 815s # End of recursive-remove-all tests 815s # Start of steal-extended tests 815s ok 34 /hash/steal-extended/optional 815s # End of steal-extended tests 815s # End of hash tests 815s ok - glib/hash.test 815s # Running test: glib/throws.test 815s TAP version 14 815s # random seed: R02S9634b5cb195657eed2432272ced6de06 815s 1..3 815s # Start of throws tests 815s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_PUCXE3/throws/invoke-gerror/.dirs/home 815s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_PUCXE3/throws/invoke-gerror/.dirs/cache 815s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_PUCXE3/throws/invoke-gerror/.dirs/system-config1:/tmp/test_throws_PUCXE3/throws/invoke-gerror/.dirs/system-config2 815s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_PUCXE3/throws/invoke-gerror/.dirs/config 815s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_PUCXE3/throws/invoke-gerror/.dirs/system-data1:/tmp/test_throws_PUCXE3/throws/invoke-gerror/.dirs/system-data2 815s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_PUCXE3/throws/invoke-gerror/.dirs/data 815s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_PUCXE3/throws/invoke-gerror/.dirs/state 815s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_PUCXE3/throws/invoke-gerror/.dirs/runtime 815s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 815s # /throws/invoke-gerror summary: Test invoking a function that throws a GError 815s ok 1 /throws/invoke-gerror 815s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_PUCXE3/throws/vfunc-can-throw-gerror/.dirs/home 815s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_PUCXE3/throws/vfunc-can-throw-gerror/.dirs/cache 815s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_PUCXE3/throws/vfunc-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_PUCXE3/throws/vfunc-can-throw-gerror/.dirs/system-config2 815s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_PUCXE3/throws/vfunc-can-throw-gerror/.dirs/config 815s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_PUCXE3/throws/vfunc-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_PUCXE3/throws/vfunc-can-throw-gerror/.dirs/system-data2 815s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_PUCXE3/throws/vfunc-can-throw-gerror/.dirs/data 815s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_PUCXE3/throws/vfunc-can-throw-gerror/.dirs/state 815s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_PUCXE3/throws/vfunc-can-throw-gerror/.dirs/runtime 815s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 815s # /throws/vfunc-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a vfunc 815s ok 2 /throws/vfunc-can-throw-gerror 815s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_PUCXE3/throws/callback-can-throw-gerror/.dirs/home 815s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_PUCXE3/throws/callback-can-throw-gerror/.dirs/cache 815s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_PUCXE3/throws/callback-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_PUCXE3/throws/callback-can-throw-gerror/.dirs/system-config2 815s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_PUCXE3/throws/callback-can-throw-gerror/.dirs/config 815s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_PUCXE3/throws/callback-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_PUCXE3/throws/callback-can-throw-gerror/.dirs/system-data2 815s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_PUCXE3/throws/callback-can-throw-gerror/.dirs/data 815s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_PUCXE3/throws/callback-can-throw-gerror/.dirs/state 815s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_PUCXE3/throws/callback-can-throw-gerror/.dirs/runtime 815s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 815s # /throws/callback-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a callback 815s ok 3 /throws/callback-can-throw-gerror 815s # End of throws tests 815s TAP version 14 815s # random seed: R02S1147a07ad3c62be17a3cb9002f50e166 815s 1..2 815s # Start of qdata tests 815s ok - glib/throws.test 815s # Running test: glib/qdata.test 815s ok 1 /qdata/threaded 815s ok 2 /qdata/dup 815s # End of qdata tests 815s ok - glib/qdata.test 815s # Running test: glib/regex.test 815s TAP version 14 815s # random seed: R02S0eb7332a7551f4c4b0970dd11cd4d186 815s 1..848 815s # Start of regex tests 815s ok 1 /regex/properties 815s ok 2 /regex/class 815s ok 3 /regex/lookahead 815s ok 4 /regex/lookbehind 815s ok 5 /regex/subpattern 815s ok 6 /regex/condition 815s ok 7 /regex/recursion 815s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640489 815s ok 8 /regex/multiline 815s ok 9 /regex/explicit-crlf 815s ok 10 /regex/max-lookbehind 815s ok 11 /regex/compile-errors 815s ok 12 /regex/jit-unsupported-matching 815s # /regex/unmatched-named-subpattern summary: Test that unmatched subpatterns can still be queried 815s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2881 815s ok 13 /regex/unmatched-named-subpattern 815s # /regex/compiled-regex-after-jit-failure summary: Test that failed OPTIMIZE regex doesn't cause issues on subsequent matches 815s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2824 815s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 815s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 815s ok 14 /regex/compiled-regex-after-jit-failure 815s # Start of new tests 815s ok 15 /regex/new/1 815s ok 16 /regex/new/2 815s ok 17 /regex/new/3 815s ok 18 /regex/new/4 815s ok 19 /regex/new/5 815s ok 20 /regex/new/6 815s ok 21 /regex/new/7 815s ok 22 /regex/new/8 815s ok 23 /regex/new/9 815s ok 24 /regex/new/10 815s ok 25 /regex/new/11 815s ok 26 /regex/new/12 815s ok 27 /regex/new/13 815s ok 28 /regex/new/14 815s ok 29 /regex/new/15 815s ok 30 /regex/new/16 815s ok 31 /regex/new/17 815s ok 32 /regex/new/18 815s ok 33 /regex/new/19 815s ok 34 /regex/new/71 815s ok 35 /regex/new/80 815s ok 36 /regex/new/82 815s # End of new tests 815s # Start of new-check-flags tests 815s ok 37 /regex/new-check-flags/20 815s ok 38 /regex/new-check-flags/21 815s ok 39 /regex/new-check-flags/22 815s ok 40 /regex/new-check-flags/23 815s ok 41 /regex/new-check-flags/24 815s ok 42 /regex/new-check-flags/25 815s ok 43 /regex/new-check-flags/26 815s ok 44 /regex/new-check-flags/27 815s ok 45 /regex/new-check-flags/28 815s ok 46 /regex/new-check-flags/29 815s ok 47 /regex/new-check-flags/30 815s ok 48 /regex/new-check-flags/31 815s ok 49 /regex/new-check-flags/32 815s ok 50 /regex/new-check-flags/33 815s ok 51 /regex/new-check-flags/34 815s ok 52 /regex/new-check-flags/35 815s ok 53 /regex/new-check-flags/36 815s # End of new-check-flags tests 815s # Start of new-fail tests 815s ok 54 /regex/new-fail/37 815s ok 55 /regex/new-fail/38 815s ok 56 /regex/new-fail/39 815s ok 57 /regex/new-fail/40 815s ok 58 /regex/new-fail/41 815s ok 59 /regex/new-fail/42 815s ok 60 /regex/new-fail/43 815s ok 61 /regex/new-fail/44 815s ok 62 /regex/new-fail/45 815s ok 63 /regex/new-fail/46 815s ok 64 /regex/new-fail/47 815s ok 65 /regex/new-fail/48 815s ok 66 /regex/new-fail/49 815s ok 67 /regex/new-fail/50 815s ok 68 /regex/new-fail/51 815s ok 69 /regex/new-fail/52 815s ok 70 /regex/new-fail/53 815s ok 71 /regex/new-fail/54 815s ok 72 /regex/new-fail/55 815s ok 73 /regex/new-fail/56 815s ok 74 /regex/new-fail/57 815s ok 75 /regex/new-fail/58 815s ok 76 /regex/new-fail/59 815s ok 77 /regex/new-fail/60 815s ok 78 /regex/new-fail/61 815s ok 79 /regex/new-fail/62 815s ok 80 /regex/new-fail/63 815s ok 81 /regex/new-fail/64 815s ok 82 /regex/new-fail/65 815s ok 83 /regex/new-fail/66 815s ok 84 /regex/new-fail/67 815s ok 85 /regex/new-fail/68 815s ok 86 /regex/new-fail/69 815s ok 87 /regex/new-fail/70 815s ok 88 /regex/new-fail/72 815s ok 89 /regex/new-fail/73 815s ok 90 /regex/new-fail/74 815s ok 91 /regex/new-fail/75 815s ok 92 /regex/new-fail/76 815s ok 93 /regex/new-fail/77 815s ok 94 /regex/new-fail/78 815s ok 95 /regex/new-fail/79 815s ok 96 /regex/new-fail/81 815s ok 97 /regex/new-fail/83 815s ok 98 /regex/new-fail/84 815s ok 99 /regex/new-fail/85 815s ok 100 /regex/new-fail/86 815s ok 101 /regex/new-fail/87 815s ok 102 /regex/new-fail/88 815s ok 103 /regex/new-fail/89 815s ok 104 /regex/new-fail/90 815s ok 105 /regex/new-fail/91 815s # End of new-fail tests 815s # Start of match-simple tests 815s ok 106 /regex/match-simple/92 815s ok 107 /regex/match-simple/93 815s ok 108 /regex/match-simple/94 815s ok 109 /regex/match-simple/95 815s ok 110 /regex/match-simple/96 815s ok 111 /regex/match-simple/97 815s ok 112 /regex/match-simple/98 815s ok 113 /regex/match-simple/99 815s ok 114 /regex/match-simple/100 815s ok 115 /regex/match-simple/101 815s ok 116 /regex/match-simple/102 815s ok 117 /regex/match-simple/103 815s ok 118 /regex/match-simple/104 815s ok 119 /regex/match-simple/105 815s ok 120 /regex/match-simple/106 815s ok 121 /regex/match-simple/107 815s ok 122 /regex/match-simple/108 815s ok 123 /regex/match-simple/109 815s ok 124 /regex/match-simple/110 815s ok 125 /regex/match-simple/111 815s ok 126 /regex/match-simple/112 815s ok 127 /regex/match-simple/113 815s ok 128 /regex/match-simple/114 815s ok 129 /regex/match-simple/115 815s ok 130 /regex/match-simple/116 815s ok 131 /regex/match-simple/117 815s ok 132 /regex/match-simple/118 815s ok 133 /regex/match-simple/119 815s ok 134 /regex/match-simple/120 815s ok 135 /regex/match-simple/121 815s ok 136 /regex/match-simple/122 815s ok 137 /regex/match-simple/123 815s ok 138 /regex/match-simple/124 815s ok 139 /regex/match-simple/125 815s ok 140 /regex/match-simple/126 815s ok 141 /regex/match-simple/127 815s ok 142 /regex/match-simple/128 815s ok 143 /regex/match-simple/129 815s ok 144 /regex/match-simple/130 815s ok 145 /regex/match-simple/131 815s ok 146 /regex/match-simple/132 815s ok 147 /regex/match-simple/133 815s ok 148 /regex/match-simple/134 815s ok 149 /regex/match-simple/135 815s ok 150 /regex/match-simple/136 815s ok 151 /regex/match-simple/137 815s ok 152 /regex/match-simple/138 815s ok 153 /regex/match-simple/139 815s ok 154 /regex/match-simple/140 815s ok 155 /regex/match-simple/141 815s ok 156 /regex/match-simple/142 815s ok 157 /regex/match-simple/143 815s ok 158 /regex/match-simple/144 815s ok 159 /regex/match-simple/145 815s ok 160 /regex/match-simple/146 815s ok 161 /regex/match-simple/147 815s ok 162 /regex/match-simple/148 815s ok 163 /regex/match-simple/149 815s ok 164 /regex/match-simple/150 815s ok 165 /regex/match-simple/151 815s ok 166 /regex/match-simple/152 815s ok 167 /regex/match-simple/153 815s ok 168 /regex/match-simple/154 815s ok 169 /regex/match-simple/155 815s ok 170 /regex/match-simple/156 815s ok 171 /regex/match-simple/157 815s ok 172 /regex/match-simple/158 815s ok 173 /regex/match-simple/159 815s ok 174 /regex/match-simple/160 815s ok 175 /regex/match-simple/161 815s ok 176 /regex/match-simple/162 815s ok 177 /regex/match-simple/163 815s ok 178 /regex/match-simple/164 815s # End of match-simple tests 815s # Start of match-simple-optimized tests 815s ok 179 /regex/match-simple-optimized/92 815s ok 180 /regex/match-simple-optimized/93 815s ok 181 /regex/match-simple-optimized/94 815s ok 182 /regex/match-simple-optimized/95 815s ok 183 /regex/match-simple-optimized/96 815s ok 184 /regex/match-simple-optimized/97 815s ok 185 /regex/match-simple-optimized/98 815s ok 186 /regex/match-simple-optimized/99 815s ok 187 /regex/match-simple-optimized/100 815s ok 188 /regex/match-simple-optimized/101 815s ok 189 /regex/match-simple-optimized/102 815s ok 190 /regex/match-simple-optimized/103 815s ok 191 /regex/match-simple-optimized/104 815s ok 192 /regex/match-simple-optimized/105 815s ok 193 /regex/match-simple-optimized/106 815s ok 194 /regex/match-simple-optimized/107 815s ok 195 /regex/match-simple-optimized/108 815s ok 196 /regex/match-simple-optimized/109 815s ok 197 /regex/match-simple-optimized/110 815s ok 198 /regex/match-simple-optimized/111 815s ok 199 /regex/match-simple-optimized/112 815s ok 200 /regex/match-simple-optimized/113 815s ok 201 /regex/match-simple-optimized/114 815s ok 202 /regex/match-simple-optimized/115 815s ok 203 /regex/match-simple-optimized/116 815s ok 204 /regex/match-simple-optimized/117 815s ok 205 /regex/match-simple-optimized/118 815s ok 206 /regex/match-simple-optimized/119 815s ok 207 /regex/match-simple-optimized/120 815s ok 208 /regex/match-simple-optimized/121 815s ok 209 /regex/match-simple-optimized/122 815s ok 210 /regex/match-simple-optimized/123 815s ok 211 /regex/match-simple-optimized/124 815s ok 212 /regex/match-simple-optimized/125 815s ok 213 /regex/match-simple-optimized/126 815s ok 214 /regex/match-simple-optimized/127 815s ok 215 /regex/match-simple-optimized/128 815s ok 216 /regex/match-simple-optimized/129 815s ok 217 /regex/match-simple-optimized/130 815s ok 218 /regex/match-simple-optimized/131 815s ok 219 /regex/match-simple-optimized/132 815s ok 220 /regex/match-simple-optimized/133 815s ok 221 /regex/match-simple-optimized/134 815s ok 222 /regex/match-simple-optimized/135 815s ok 223 /regex/match-simple-optimized/136 815s ok 224 /regex/match-simple-optimized/137 815s ok 225 /regex/match-simple-optimized/138 815s ok 226 /regex/match-simple-optimized/139 815s ok 227 /regex/match-simple-optimized/140 815s ok 228 /regex/match-simple-optimized/141 815s ok 229 /regex/match-simple-optimized/142 815s ok 230 /regex/match-simple-optimized/143 815s ok 231 /regex/match-simple-optimized/144 815s ok 232 /regex/match-simple-optimized/145 815s ok 233 /regex/match-simple-optimized/146 815s ok 234 /regex/match-simple-optimized/147 815s ok 235 /regex/match-simple-optimized/148 815s ok 236 /regex/match-simple-optimized/149 815s ok 237 /regex/match-simple-optimized/150 815s ok 238 /regex/match-simple-optimized/151 815s ok 239 /regex/match-simple-optimized/152 815s ok 240 /regex/match-simple-optimized/153 815s ok 241 /regex/match-simple-optimized/154 815s ok 242 /regex/match-simple-optimized/155 815s ok 243 /regex/match-simple-optimized/156 815s ok 244 /regex/match-simple-optimized/157 815s ok 245 /regex/match-simple-optimized/158 815s ok 246 /regex/match-simple-optimized/159 815s ok 247 /regex/match-simple-optimized/160 815s ok 248 /regex/match-simple-optimized/161 815s ok 249 /regex/match-simple-optimized/162 815s ok 250 /regex/match-simple-optimized/163 815s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 815s ok 251 /regex/match-simple-optimized/164 815s # End of match-simple-optimized tests 815s # Start of match tests 815s ok 252 /regex/match/165 815s ok 253 /regex/match/166 815s ok 254 /regex/match/167 815s ok 255 /regex/match/168 815s ok 256 /regex/match/169 815s ok 257 /regex/match/170 815s ok 258 /regex/match/171 815s ok 259 /regex/match/172 815s ok 260 /regex/match/173 815s ok 261 /regex/match/174 815s ok 262 /regex/match/175 815s ok 263 /regex/match/176 815s ok 264 /regex/match/177 815s ok 265 /regex/match/178 815s ok 266 /regex/match/179 815s ok 267 /regex/match/180 815s ok 268 /regex/match/181 815s ok 269 /regex/match/182 815s ok 270 /regex/match/183 815s ok 271 /regex/match/184 815s ok 272 /regex/match/185 815s ok 273 /regex/match/186 815s ok 274 /regex/match/187 815s ok 275 /regex/match/188 815s ok 276 /regex/match/189 815s ok 277 /regex/match/190 815s ok 278 /regex/match/191 815s ok 279 /regex/match/192 815s ok 280 /regex/match/193 815s ok 281 /regex/match/194 815s ok 282 /regex/match/195 815s ok 283 /regex/match/196 815s ok 284 /regex/match/197 815s ok 285 /regex/match/198 815s ok 286 /regex/match/199 815s ok 287 /regex/match/200 815s ok 288 /regex/match/201 815s ok 289 /regex/match/202 815s ok 290 /regex/match/203 815s ok 291 /regex/match/204 815s ok 292 /regex/match/205 815s ok 293 /regex/match/206 815s ok 294 /regex/match/207 815s ok 295 /regex/match/208 815s ok 296 /regex/match/209 815s ok 297 /regex/match/210 815s ok 298 /regex/match/211 815s ok 299 /regex/match/212 815s ok 300 /regex/match/213 815s ok 301 /regex/match/214 815s ok 302 /regex/match/215 815s ok 303 /regex/match/216 815s ok 304 /regex/match/217 815s ok 305 /regex/match/218 815s ok 306 /regex/match/219 815s ok 307 /regex/match/220 815s ok 308 /regex/match/221 815s ok 309 /regex/match/222 815s ok 310 /regex/match/223 815s ok 311 /regex/match/224 815s ok 312 /regex/match/225 815s ok 313 /regex/match/226 815s ok 314 /regex/match/227 815s ok 315 /regex/match/228 815s ok 316 /regex/match/229 815s ok 317 /regex/match/230 815s ok 318 /regex/match/231 815s ok 319 /regex/match/232 815s ok 320 /regex/match/233 815s ok 321 /regex/match/234 815s ok 322 /regex/match/235 815s ok 323 /regex/match/236 815s ok 324 /regex/match/237 815s ok 325 /regex/match/238 815s ok 326 /regex/match/239 815s ok 327 /regex/match/240 815s ok 328 /regex/match/241 815s ok 329 /regex/match/242 815s ok 330 /regex/match/243 815s ok 331 /regex/match/244 815s ok 332 /regex/match/245 815s ok 333 /regex/match/246 815s ok 334 /regex/match/partial281 815s ok 335 /regex/match/partial282 815s ok 336 /regex/match/partial283 815s ok 337 /regex/match/partial284 815s ok 338 /regex/match/partial285 815s ok 339 /regex/match/partial286 815s ok 340 /regex/match/partial287 815s ok 341 /regex/match/partial288 815s ok 342 /regex/match/partial289 815s ok 343 /regex/match/partial290 815s ok 344 /regex/match/partial291 815s ok 345 /regex/match/partial292 815s ok 346 /regex/match/partial293 815s ok 347 /regex/match/partial294 815s ok 348 /regex/match/partial295 815s ok 349 /regex/match/partial296 815s ok 350 /regex/match/partial297 815s ok 351 /regex/match/partial298 815s ok 352 /regex/match/partial299 815s ok 353 /regex/match/partial300 815s ok 354 /regex/match/partial301 815s ok 355 /regex/match/partial302 815s # Start of next0 tests 815s ok 356 /regex/match/next0/247 815s ok 357 /regex/match/next0/248 815s ok 358 /regex/match/next0/249 815s ok 359 /regex/match/next0/250 815s # End of next0 tests 815s # Start of next1 tests 815s ok 360 /regex/match/next1/251 815s ok 361 /regex/match/next1/252 815s ok 362 /regex/match/next1/253 815s ok 363 /regex/match/next1/254 815s ok 364 /regex/match/next1/255 815s # End of next1 tests 815s # Start of next2 tests 815s ok 365 /regex/match/next2/256 815s ok 366 /regex/match/next2/257 815s ok 367 /regex/match/next2/258 815s ok 368 /regex/match/next2/259 815s ok 369 /regex/match/next2/260 815s ok 370 /regex/match/next2/261 815s ok 371 /regex/match/next2/262 815s ok 372 /regex/match/next2/263 815s # End of next2 tests 815s # Start of next3 tests 815s ok 373 /regex/match/next3/264 815s ok 374 /regex/match/next3/265 815s ok 375 /regex/match/next3/266 815s ok 376 /regex/match/next3/267 815s ok 377 /regex/match/next3/268 815s ok 378 /regex/match/next3/269 815s # End of next3 tests 815s # Start of next4 tests 815s ok 379 /regex/match/next4/270 815s # End of next4 tests 815s # Start of count tests 815s ok 380 /regex/match/count/271 815s ok 381 /regex/match/count/272 815s ok 382 /regex/match/count/273 815s ok 383 /regex/match/count/274 815s ok 384 /regex/match/count/275 815s ok 385 /regex/match/count/276 815s ok 386 /regex/match/count/277 815s ok 387 /regex/match/count/278 815s ok 388 /regex/match/count/279 815s ok 389 /regex/match/count/280 815s # End of count tests 815s # Start of count-optimized tests 815s ok 390 /regex/match/count-optimized/271 815s ok 391 /regex/match/count-optimized/272 815s ok 392 /regex/match/count-optimized/273 815s ok 393 /regex/match/count-optimized/274 815s ok 394 /regex/match/count-optimized/275 815s ok 395 /regex/match/count-optimized/276 815s ok 396 /regex/match/count-optimized/277 815s ok 397 /regex/match/count-optimized/278 815s ok 398 /regex/match/count-optimized/279 815s ok 399 /regex/match/count-optimized/280 815s # End of count-optimized tests 815s # Start of partial-optimized tests 815s ok 400 /regex/match/partial-optimized/281 815s ok 401 /regex/match/partial-optimized/282 815s ok 402 /regex/match/partial-optimized/283 815s ok 403 /regex/match/partial-optimized/284 815s ok 404 /regex/match/partial-optimized/285 815s ok 405 /regex/match/partial-optimized/286 815s ok 406 /regex/match/partial-optimized/287 815s ok 407 /regex/match/partial-optimized/288 815s ok 408 /regex/match/partial-optimized/289 815s ok 409 /regex/match/partial-optimized/290 815s ok 410 /regex/match/partial-optimized/291 815s ok 411 /regex/match/partial-optimized/292 815s ok 412 /regex/match/partial-optimized/293 815s ok 413 /regex/match/partial-optimized/294 815s ok 414 /regex/match/partial-optimized/295 815s ok 415 /regex/match/partial-optimized/296 815s ok 416 /regex/match/partial-optimized/297 815s ok 417 /regex/match/partial-optimized/298 815s ok 418 /regex/match/partial-optimized/299 815s ok 419 /regex/match/partial-optimized/300 815s ok 420 /regex/match/partial-optimized/301 815s ok 421 /regex/match/partial-optimized/302 815s # End of partial-optimized tests 815s # Start of subpattern tests 815s ok 422 /regex/match/subpattern/303 815s ok 423 /regex/match/subpattern/304 815s ok 424 /regex/match/subpattern/305 815s ok 425 /regex/match/subpattern/306 815s ok 426 /regex/match/subpattern/307 815s ok 427 /regex/match/subpattern/308 815s ok 428 /regex/match/subpattern/309 815s ok 429 /regex/match/subpattern/310 815s ok 430 /regex/match/subpattern/311 815s ok 431 /regex/match/subpattern/312 815s ok 432 /regex/match/subpattern/313 815s ok 433 /regex/match/subpattern/314 815s ok 434 /regex/match/subpattern/315 815s # Start of named tests 815s # Start of dupnames tests 815s ok 435 /regex/match/subpattern/named/dupnames/325 815s ok 436 /regex/match/subpattern/named/dupnames/326 815s ok 437 /regex/match/subpattern/named/dupnames/327 815s ok 438 /regex/match/subpattern/named/dupnames/328 815s ok 439 /regex/match/subpattern/named/dupnames/329 815s # End of dupnames tests 815s # End of named tests 815s # End of subpattern tests 815s # Start of subpattern-optimized tests 815s ok 440 /regex/match/subpattern-optimized/303 815s ok 441 /regex/match/subpattern-optimized/304 815s ok 442 /regex/match/subpattern-optimized/305 815s ok 443 /regex/match/subpattern-optimized/306 815s ok 444 /regex/match/subpattern-optimized/307 815s ok 445 /regex/match/subpattern-optimized/308 815s ok 446 /regex/match/subpattern-optimized/309 815s ok 447 /regex/match/subpattern-optimized/310 815s ok 448 /regex/match/subpattern-optimized/311 815s ok 449 /regex/match/subpattern-optimized/312 815s ok 450 /regex/match/subpattern-optimized/313 815s ok 451 /regex/match/subpattern-optimized/314 815s ok 452 /regex/match/subpattern-optimized/315 815s # End of subpattern-optimized tests 815s # Start of named tests 815s # Start of subpattern tests 815s ok 453 /regex/match/named/subpattern/316 815s ok 454 /regex/match/named/subpattern/317 815s ok 455 /regex/match/named/subpattern/318 815s ok 456 /regex/match/named/subpattern/319 815s ok 457 /regex/match/named/subpattern/320 815s ok 458 /regex/match/named/subpattern/321 815s ok 459 /regex/match/named/subpattern/322 815s ok 460 /regex/match/named/subpattern/323 815s ok 461 /regex/match/named/subpattern/324 815s ok 462 /regex/match/named/subpattern/330 815s ok 463 /regex/match/named/subpattern/331 815s ok 464 /regex/match/named/subpattern/332 815s ok 465 /regex/match/named/subpattern/333 815s ok 466 /regex/match/named/subpattern/334 815s # End of subpattern tests 815s # End of named tests 815s # End of match tests 815s # Start of match-optimized tests 815s ok 467 /regex/match-optimized/165 815s ok 468 /regex/match-optimized/166 815s ok 469 /regex/match-optimized/167 815s ok 470 /regex/match-optimized/168 815s ok 471 /regex/match-optimized/169 815s ok 472 /regex/match-optimized/170 815s ok 473 /regex/match-optimized/171 815s ok 474 /regex/match-optimized/172 815s ok 475 /regex/match-optimized/173 815s ok 476 /regex/match-optimized/174 815s ok 477 /regex/match-optimized/175 815s ok 478 /regex/match-optimized/176 815s ok 479 /regex/match-optimized/177 815s ok 480 /regex/match-optimized/178 815s ok 481 /regex/match-optimized/179 815s ok 482 /regex/match-optimized/180 815s ok 483 /regex/match-optimized/181 815s ok 484 /regex/match-optimized/182 815s ok 485 /regex/match-optimized/183 815s ok 486 /regex/match-optimized/184 815s ok 487 /regex/match-optimized/185 815s ok 488 /regex/match-optimized/186 815s ok 489 /regex/match-optimized/187 815s ok 490 /regex/match-optimized/188 815s ok 491 /regex/match-optimized/189 815s ok 492 /regex/match-optimized/190 815s ok 493 /regex/match-optimized/191 815s ok 494 /regex/match-optimized/192 815s ok 495 /regex/match-optimized/193 815s ok 496 /regex/match-optimized/194 815s ok 497 /regex/match-optimized/195 815s ok 498 /regex/match-optimized/196 815s ok 499 /regex/match-optimized/197 815s ok 500 /regex/match-optimized/198 815s ok 501 /regex/match-optimized/199 815s ok 502 /regex/match-optimized/200 815s ok 503 /regex/match-optimized/201 815s ok 504 /regex/match-optimized/202 815s ok 505 /regex/match-optimized/203 815s ok 506 /regex/match-optimized/204 815s ok 507 /regex/match-optimized/205 815s ok 508 /regex/match-optimized/206 815s ok 509 /regex/match-optimized/207 815s ok 510 /regex/match-optimized/208 815s ok 511 /regex/match-optimized/209 815s ok 512 /regex/match-optimized/210 815s ok 513 /regex/match-optimized/211 815s ok 514 /regex/match-optimized/212 815s ok 515 /regex/match-optimized/213 815s ok 516 /regex/match-optimized/214 815s ok 517 /regex/match-optimized/215 815s ok 518 /regex/match-optimized/216 815s ok 519 /regex/match-optimized/217 815s ok 520 /regex/match-optimized/218 815s ok 521 /regex/match-optimized/219 815s ok 522 /regex/match-optimized/220 815s ok 523 /regex/match-optimized/221 815s ok 524 /regex/match-optimized/222 815s ok 525 /regex/match-optimized/223 815s ok 526 /regex/match-optimized/224 815s ok 527 /regex/match-optimized/225 815s ok 528 /regex/match-optimized/226 815s ok 529 /regex/match-optimized/227 815s ok 530 /regex/match-optimized/228 815s ok 531 /regex/match-optimized/229 815s ok 532 /regex/match-optimized/230 815s ok 533 /regex/match-optimized/231 815s ok 534 /regex/match-optimized/232 815s ok 535 /regex/match-optimized/233 815s ok 536 /regex/match-optimized/234 815s ok 537 /regex/match-optimized/235 815s ok 538 /regex/match-optimized/236 815s ok 539 /regex/match-optimized/237 815s ok 540 /regex/match-optimized/238 815s ok 541 /regex/match-optimized/239 815s ok 542 /regex/match-optimized/240 815s ok 543 /regex/match-optimized/241 815s ok 544 /regex/match-optimized/242 815s ok 545 /regex/match-optimized/243 815s ok 546 /regex/match-optimized/244 815s ok 547 /regex/match-optimized/245 815s ok 548 /regex/match-optimized/246 815s # End of match-optimized tests 815s # Start of fetch-all0 tests 815s ok 549 /regex/fetch-all0/335 815s ok 550 /regex/fetch-all0/336 815s # End of fetch-all0 tests 815s # Start of fetch-all1 tests 815s ok 551 /regex/fetch-all1/337 815s ok 552 /regex/fetch-all1/338 815s ok 553 /regex/fetch-all1/339 815s # End of fetch-all1 tests 815s # Start of fetch-all2 tests 815s ok 554 /regex/fetch-all2/340 815s ok 555 /regex/fetch-all2/341 815s ok 556 /regex/fetch-all2/342 815s # End of fetch-all2 tests 815s # Start of fetch-all3 tests 815s ok 557 /regex/fetch-all3/343 815s ok 558 /regex/fetch-all3/344 815s ok 559 /regex/fetch-all3/345 815s ok 560 /regex/fetch-all3/346 815s ok 561 /regex/fetch-all3/347 815s # End of fetch-all3 tests 815s # Start of split tests 815s # Start of simple0 tests 815s ok 562 /regex/split/simple0/348 815s ok 563 /regex/split/simple0/349 815s ok 564 /regex/split/simple0/364 815s ok 565 /regex/split/simple0/365 815s # End of simple0 tests 815s # Start of simple1 tests 815s ok 566 /regex/split/simple1/350 815s ok 567 /regex/split/simple1/351 815s # End of simple1 tests 815s # Start of simple2 tests 815s ok 568 /regex/split/simple2/352 815s ok 569 /regex/split/simple2/358 815s ok 570 /regex/split/simple2/360 815s # End of simple2 tests 815s # Start of simple3 tests 815s ok 571 /regex/split/simple3/353 815s ok 572 /regex/split/simple3/354 815s ok 573 /regex/split/simple3/355 815s ok 574 /regex/split/simple3/356 815s ok 575 /regex/split/simple3/357 815s ok 576 /regex/split/simple3/359 815s ok 577 /regex/split/simple3/361 815s ok 578 /regex/split/simple3/362 815s ok 579 /regex/split/simple3/363 815s # End of simple3 tests 815s # End of split tests 815s # Start of split0 tests 815s ok 580 /regex/split0/366 815s ok 581 /regex/split0/368 815s # End of split0 tests 815s # Start of full-split0 tests 815s ok 582 /regex/full-split0/367 815s ok 583 /regex/full-split0/369 815s ok 584 /regex/full-split0/370 815s ok 585 /regex/full-split0/371 815s ok 586 /regex/full-split0/372 815s # End of full-split0 tests 815s # Start of split1 tests 815s ok 587 /regex/split1/373 815s ok 588 /regex/split1/376 815s # End of split1 tests 815s # Start of full-split1 tests 815s ok 589 /regex/full-split1/374 815s ok 590 /regex/full-split1/375 815s ok 591 /regex/full-split1/377 815s ok 592 /regex/full-split1/378 815s ok 593 /regex/full-split1/404 815s # End of full-split1 tests 815s # Start of split2 tests 815s ok 594 /regex/split2/379 815s ok 595 /regex/split2/383 815s ok 596 /regex/split2/395 815s # End of split2 tests 815s # Start of full-split2 tests 815s ok 597 /regex/full-split2/380 815s ok 598 /regex/full-split2/381 815s ok 599 /regex/full-split2/382 815s ok 600 /regex/full-split2/384 815s ok 601 /regex/full-split2/396 815s ok 602 /regex/full-split2/399 815s ok 603 /regex/full-split2/405 815s # End of full-split2 tests 815s # Start of split3 tests 815s ok 604 /regex/split3/385 815s ok 605 /regex/split3/387 815s ok 606 /regex/split3/389 815s ok 607 /regex/split3/391 815s ok 608 /regex/split3/393 815s ok 609 /regex/split3/397 815s ok 610 /regex/split3/400 815s ok 611 /regex/split3/402 815s # End of split3 tests 815s # Start of full-split3 tests 815s ok 612 /regex/full-split3/386 815s ok 613 /regex/full-split3/388 815s ok 614 /regex/full-split3/390 815s ok 615 /regex/full-split3/392 815s ok 616 /regex/full-split3/394 815s ok 617 /regex/full-split3/398 815s ok 618 /regex/full-split3/401 815s ok 619 /regex/full-split3/403 815s ok 620 /regex/full-split3/406 815s ok 621 /regex/full-split3/407 815s # End of full-split3 tests 815s # Start of check-repacement tests 815s ok 622 /regex/check-repacement/408 815s ok 623 /regex/check-repacement/409 815s ok 624 /regex/check-repacement/410 815s ok 625 /regex/check-repacement/411 815s ok 626 /regex/check-repacement/412 815s ok 627 /regex/check-repacement/413 815s ok 628 /regex/check-repacement/414 815s ok 629 /regex/check-repacement/415 815s # End of check-repacement tests 815s # Start of expand tests 815s ok 630 /regex/expand/416 815s ok 631 /regex/expand/417 815s ok 632 /regex/expand/418 815s ok 633 /regex/expand/419 815s ok 634 /regex/expand/420 815s ok 635 /regex/expand/421 815s ok 636 /regex/expand/422 815s ok 637 /regex/expand/423 815s ok 638 /regex/expand/424 815s ok 639 /regex/expand/425 815s ok 640 /regex/expand/426 815s ok 641 /regex/expand/427 815s ok 642 /regex/expand/428 815s ok 643 /regex/expand/429 815s ok 644 /regex/expand/430 815s ok 645 /regex/expand/431 815s ok 646 /regex/expand/432 815s ok 647 /regex/expand/433 815s ok 648 /regex/expand/434 815s ok 649 /regex/expand/435 815s ok 650 /regex/expand/436 815s ok 651 /regex/expand/437 815s ok 652 /regex/expand/438 815s ok 653 /regex/expand/439 815s ok 654 /regex/expand/440 815s ok 655 /regex/expand/441 815s ok 656 /regex/expand/442 815s ok 657 /regex/expand/443 815s ok 658 /regex/expand/444 815s ok 659 /regex/expand/445 815s ok 660 /regex/expand/446 815s ok 661 /regex/expand/447 815s ok 662 /regex/expand/448 815s ok 663 /regex/expand/449 815s ok 664 /regex/expand/450 815s ok 665 /regex/expand/451 815s ok 666 /regex/expand/452 815s ok 667 /regex/expand/453 815s ok 668 /regex/expand/454 815s ok 669 /regex/expand/455 815s ok 670 /regex/expand/456 815s ok 671 /regex/expand/457 815s ok 672 /regex/expand/458 815s ok 673 /regex/expand/459 815s ok 674 /regex/expand/460 815s ok 675 /regex/expand/461 815s ok 676 /regex/expand/462 815s ok 677 /regex/expand/463 815s ok 678 /regex/expand/464 815s ok 679 /regex/expand/465 815s ok 680 /regex/expand/466 815s ok 681 /regex/expand/467 815s ok 682 /regex/expand/468 815s ok 683 /regex/expand/469 815s ok 684 /regex/expand/470 815s ok 685 /regex/expand/471 815s ok 686 /regex/expand/472 815s ok 687 /regex/expand/473 815s ok 688 /regex/expand/474 815s ok 689 /regex/expand/475 815s ok 690 /regex/expand/476 815s ok 691 /regex/expand/477 815s ok 692 /regex/expand/478 815s ok 693 /regex/expand/479 815s ok 694 /regex/expand/480 815s ok 695 /regex/expand/481 815s # End of expand tests 815s # Start of replace tests 815s ok 696 /regex/replace/482 815s ok 697 /regex/replace/483 815s ok 698 /regex/replace/484 815s ok 699 /regex/replace/485 815s ok 700 /regex/replace/486 815s ok 701 /regex/replace/487 815s ok 702 /regex/replace/488 815s ok 703 /regex/replace/489 815s ok 704 /regex/replace/490 815s ok 705 /regex/replace/491 815s ok 706 /regex/replace/492 815s ok 707 /regex/replace/493 815s ok 708 /regex/replace/494 815s ok 709 /regex/replace/495 815s ok 710 /regex/replace/496 815s ok 711 /regex/replace/497 815s ok 712 /regex/replace/498 815s ok 713 /regex/replace/499 815s ok 714 /regex/replace/500 815s ok 715 /regex/replace/501 815s ok 716 /regex/replace/502 815s ok 717 /regex/replace/503 815s ok 718 /regex/replace/504 815s ok 719 /regex/replace/505 815s ok 720 /regex/replace/506 815s ok 721 /regex/replace/507 815s ok 722 /regex/replace/508 815s ok 723 /regex/replace/509 815s # End of replace tests 815s # Start of replace-optimized tests 815s ok 724 /regex/replace-optimized/482 815s ok 725 /regex/replace-optimized/483 815s ok 726 /regex/replace-optimized/484 815s ok 727 /regex/replace-optimized/485 815s ok 728 /regex/replace-optimized/486 815s ok 729 /regex/replace-optimized/487 815s ok 730 /regex/replace-optimized/488 815s ok 731 /regex/replace-optimized/489 815s ok 732 /regex/replace-optimized/490 815s ok 733 /regex/replace-optimized/491 815s ok 734 /regex/replace-optimized/492 815s ok 735 /regex/replace-optimized/493 815s ok 736 /regex/replace-optimized/494 815s ok 737 /regex/replace-optimized/495 815s ok 738 /regex/replace-optimized/496 815s ok 739 /regex/replace-optimized/497 815s ok 740 /regex/replace-optimized/498 815s ok 741 /regex/replace-optimized/499 815s ok 742 /regex/replace-optimized/500 815s ok 743 /regex/replace-optimized/501 815s ok 744 /regex/replace-optimized/502 815s ok 745 /regex/replace-optimized/503 815s ok 746 /regex/replace-optimized/504 815s ok 747 /regex/replace-optimized/505 815s ok 748 /regex/replace-optimized/506 815s ok 749 /regex/replace-optimized/507 815s ok 750 /regex/replace-optimized/508 815s ok 751 /regex/replace-optimized/509 815s # End of replace-optimized tests 815s # Start of replace-literally tests 815s ok 752 /regex/replace-literally/510 815s ok 753 /regex/replace-literally/511 815s ok 754 /regex/replace-literally/512 815s ok 755 /regex/replace-literally/513 815s ok 756 /regex/replace-literally/514 815s ok 757 /regex/replace-literally/515 815s ok 758 /regex/replace-literally/516 815s ok 759 /regex/replace-literally/517 815s ok 760 /regex/replace-literally/518 815s ok 761 /regex/replace-literally/519 815s ok 762 /regex/replace-literally/520 815s ok 763 /regex/replace-literally/521 815s ok 764 /regex/replace-literally/522 815s ok 765 /regex/replace-literally/523 815s ok 766 /regex/replace-literally/524 815s ok 767 /regex/replace-literally/525 815s ok 768 /regex/replace-literally/526 815s ok 769 /regex/replace-literally/527 815s ok 770 /regex/replace-literally/528 815s ok 771 /regex/replace-literally/529 815s # End of replace-literally tests 815s # Start of string-number tests 815s ok 772 /regex/string-number/530 815s ok 773 /regex/string-number/531 815s ok 774 /regex/string-number/532 815s ok 775 /regex/string-number/533 815s ok 776 /regex/string-number/534 815s ok 777 /regex/string-number/535 815s ok 778 /regex/string-number/536 815s ok 779 /regex/string-number/537 815s ok 780 /regex/string-number/538 815s ok 781 /regex/string-number/539 815s ok 782 /regex/string-number/540 815s ok 783 /regex/string-number/541 815s ok 784 /regex/string-number/542 815s ok 785 /regex/string-number/543 815s ok 786 /regex/string-number/544 815s # End of string-number tests 815s # Start of escape_nul tests 815s ok 787 /regex/escape_nul/545 815s ok 788 /regex/escape_nul/546 815s ok 789 /regex/escape_nul/547 815s ok 790 /regex/escape_nul/548 815s ok 791 /regex/escape_nul/549 815s ok 792 /regex/escape_nul/550 815s ok 793 /regex/escape_nul/551 815s ok 794 /regex/escape_nul/552 815s ok 795 /regex/escape_nul/553 815s ok 796 /regex/escape_nul/554 815s ok 797 /regex/escape_nul/555 815s ok 798 /regex/escape_nul/556 815s ok 799 /regex/escape_nul/557 815s ok 800 /regex/escape_nul/558 815s ok 801 /regex/escape_nul/559 815s # End of escape_nul tests 815s # Start of escape tests 815s ok 802 /regex/escape/560 815s ok 803 /regex/escape/561 815s ok 804 /regex/escape/562 815s ok 805 /regex/escape/563 815s ok 806 /regex/escape/564 815s ok 807 /regex/escape/565 815s ok 808 /regex/escape/566 815s ok 809 /regex/escape/567 815s ok 810 /regex/escape/568 815s ok 811 /regex/escape/569 815s ok 812 /regex/escape/570 815s ok 813 /regex/escape/571 815s ok 814 /regex/escape/572 815s ok 815 /regex/escape/573 815s ok 816 /regex/escape/574 815s ok 817 /regex/escape/575 815s ok 818 /regex/escape/576 815s ok 819 /regex/escape/577 815s # End of escape tests 815s # Start of match-all0 tests 815s ok 820 /regex/match-all0/578 815s ok 821 /regex/match-all0/580 815s # End of match-all0 tests 815s # Start of match-all-full0 tests 815s ok 822 /regex/match-all-full0/579 815s ok 823 /regex/match-all-full0/581 815s ok 824 /regex/match-all-full0/582 815s ok 825 /regex/match-all-full0/583 815s # End of match-all-full0 tests 815s # Start of match-all1 tests 815s ok 826 /regex/match-all1/584 815s ok 827 /regex/match-all1/586 815s ok 828 /regex/match-all1/591 815s # End of match-all1 tests 815s # Start of match-all-full1 tests 815s ok 829 /regex/match-all-full1/585 815s ok 830 /regex/match-all-full1/587 815s ok 831 /regex/match-all-full1/588 815s ok 832 /regex/match-all-full1/589 815s ok 833 /regex/match-all-full1/590 815s ok 834 /regex/match-all-full1/592 815s # End of match-all-full1 tests 815s # Start of match-all2 tests 815s ok 835 /regex/match-all2/593 815s ok 836 /regex/match-all2/595 815s ok 837 /regex/match-all2/597 815s # End of match-all2 tests 815s # Start of match-all-full2 tests 815s ok 838 /regex/match-all-full2/594 815s ok 839 /regex/match-all-full2/596 815s ok 840 /regex/match-all-full2/598 815s # End of match-all-full2 tests 815s # Start of match-all3 tests 815s ok 841 /regex/match-all3/599 815s ok 842 /regex/match-all3/601 815s # End of match-all3 tests 815s # Start of match-all-full3 tests 815s ok 843 /regex/match-all-full3/600 815s ok 844 /regex/match-all-full3/602 815s # End of match-all-full3 tests 815s # Start of match-notempty tests 815s ok 845 /regex/match-notempty/603 815s # End of match-notempty tests 815s # Start of match-notempty-optimized tests 815s ok 846 /regex/match-notempty-optimized/603 815s # End of match-notempty-optimized tests 815s # Start of match-notempty-atstart tests 815s ok 847 /regex/match-notempty-atstart/604 815s # End of match-notempty-atstart tests 815s # Start of match-notempty-atstart-optimized tests 815s ok 848 /regex/match-notempty-atstart-optimized/604 815s # End of match-notempty-atstart-optimized tests 815s # End of regex tests 815s ok - glib/regex.test 815s # Running test: glib/inet-address.test 815s TAP version 14 815s # random seed: R02S4f2be7cac4c4358c4d8ea95cba5db49b 815s 1..11 815s # Start of inet-address tests 815s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string ::1::2 815s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string 2001:1:2:3:4:5:6:7] 815s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string [2001:1:2:3:4:5:6:7 815s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string [2001:1:2:3:4:5:6:7] 815s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string [2001:1:2:3:4:5:6:7]:80 815s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string 0:1:2:3:4:5:6:7:8:9 815s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string ::FFFFFFF 815s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string 204.152.189.116:80 815s ok 1 /inet-address/parse 815s ok 2 /inet-address/any 815s ok 3 /inet-address/loopback 815s ok 4 /inet-address/bytes 815s ok 5 /inet-address/property 815s # End of inet-address tests 815s # Start of socket-address tests 815s ok 6 /socket-address/basic 815s ok 7 /socket-address/to-string 815s # End of socket-address tests 815s # Start of address-mask tests 815s ok 8 /address-mask/parse 815s ok 9 /address-mask/property 815s ok 10 /address-mask/equal 815s ok 11 /address-mask/match 815s # End of address-mask tests 815s ok - glib/inet-address.test 815s # Running test: glib/gsubprocess.test 815s TAP version 14 815s # random seed: R02S47ca07c63b3a1ec6eb9d562b9a76552c 815s 1..84 815s # Start of gsubprocess tests 815s ok 1 /gsubprocess/noop 815s ok 2 /gsubprocess/noop-all-to-null 815s ok 3 /gsubprocess/noop-no-wait 815s ok 4 /gsubprocess/noop-stdin-inherit 815s ok 5 /gsubprocess/search-path 815s ok 6 /gsubprocess/search-path-from-envp 818s # Executing: glib/gsubprocess.test 819s ok 7 /gsubprocess/signal 819s # slow test /gsubprocess/signal executed in 3.39 secs 819s ok 8 /gsubprocess/exit1 819s ok 9 /gsubprocess/echo1 819s ok 10 /gsubprocess/echo-merged 819s ok 11 /gsubprocess/cat-utf8 820s ok 12 /gsubprocess/cat-eof 820s # slow test /gsubprocess/cat-eof executed in 1.00 secs 823s # Executing: glib/gsubprocess.test 823s ok 13 /gsubprocess/multi1 823s # slow test /gsubprocess/multi1 executed in 3.01 secs 823s ok 14 /gsubprocess/communicate 826s ok 15 /gsubprocess/terminate 826s # slow test /gsubprocess/terminate executed in 2.98 secs 826s ok 16 /gsubprocess/fail-initialization 826s ok 17 /gsubprocess/env 826s ok 18 /gsubprocess/cwd 826s ok 19 /gsubprocess/launcher-close 826s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 826s ok 20 /gsubprocess/stdout-file 826s ok 21 /gsubprocess/stdout-fd 826s ok 22 /gsubprocess/child-setup 826s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 826s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 826s ok 23 /gsubprocess/launcher-environment 826s # Start of exit1 tests 826s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 826s ok 24 /gsubprocess/exit1/cancel 826s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 826s ok 25 /gsubprocess/exit1/cancel_in_cb 826s # End of exit1 tests 826s # Start of communicate tests 826s ok 26 /gsubprocess/communicate/cancelled 826s ok 27 /gsubprocess/communicate/async 826s ok 28 /gsubprocess/communicate/utf8 826s # hello world 826s ok 29 /gsubprocess/communicate/no-pipes 826s ok 30 /gsubprocess/communicate/separate-stderr 826s ok 31 /gsubprocess/communicate/stdout-only 826s # hello world 826s ok 32 /gsubprocess/communicate/stderr-only 826s ok 33 /gsubprocess/communicate/stdout-silence 826s ok 34 /gsubprocess/communicate/nothing 826s # Start of async tests 826s ok 35 /gsubprocess/communicate/async/cancelled 826s # hello world 826s ok 36 /gsubprocess/communicate/async/no-pipes 826s ok 37 /gsubprocess/communicate/async/separate-stderr 826s ok 38 /gsubprocess/communicate/async/stdout-only 826s # hello world 826s ok 39 /gsubprocess/communicate/async/stderr-only 826s ok 40 /gsubprocess/communicate/async/stdout-silence 826s # Start of cancelled tests 826s ok 41 /gsubprocess/communicate/async/cancelled/no-pipes 826s ok 42 /gsubprocess/communicate/async/cancelled/separate-stderr 826s ok 43 /gsubprocess/communicate/async/cancelled/stdout-only 826s ok 44 /gsubprocess/communicate/async/cancelled/stderr-only 826s ok 45 /gsubprocess/communicate/async/cancelled/stdout-silence 826s # End of cancelled tests 826s # End of async tests 826s # Start of utf8 tests 826s ok 46 /gsubprocess/communicate/utf8/cancelled 826s ok 47 /gsubprocess/communicate/utf8/async 826s # hello world 826s ok 48 /gsubprocess/communicate/utf8/no-pipes 826s ok 49 /gsubprocess/communicate/utf8/separate-stderr 826s ok 50 /gsubprocess/communicate/utf8/stdout-only 826s # hello world 826s ok 51 /gsubprocess/communicate/utf8/stderr-only 826s ok 52 /gsubprocess/communicate/utf8/stdout-silence 826s ok 53 /gsubprocess/communicate/utf8/invalid 826s # Start of async tests 826s ok 54 /gsubprocess/communicate/utf8/async/cancelled 826s # hello world 826s ok 55 /gsubprocess/communicate/utf8/async/no-pipes 826s ok 56 /gsubprocess/communicate/utf8/async/separate-stderr 826s ok 57 /gsubprocess/communicate/utf8/async/stdout-only 826s # hello world 826s ok 58 /gsubprocess/communicate/utf8/async/stderr-only 826s ok 59 /gsubprocess/communicate/utf8/async/stdout-silence 826s ok 60 /gsubprocess/communicate/utf8/async/invalid 826s # Start of cancelled tests 826s ok 61 /gsubprocess/communicate/utf8/async/cancelled/no-pipes 826s ok 62 /gsubprocess/communicate/utf8/async/cancelled/separate-stderr 826s ok 63 /gsubprocess/communicate/utf8/async/cancelled/stdout-only 826s ok 64 /gsubprocess/communicate/utf8/async/cancelled/stderr-only 826s ok 65 /gsubprocess/communicate/utf8/async/cancelled/stdout-silence 826s # End of cancelled tests 826s # End of async tests 826s # Start of cancelled tests 826s ok 66 /gsubprocess/communicate/utf8/cancelled/no-pipes 826s ok 67 /gsubprocess/communicate/utf8/cancelled/separate-stderr 826s ok 68 /gsubprocess/communicate/utf8/cancelled/stdout-only 826s ok 69 /gsubprocess/communicate/utf8/cancelled/stderr-only 826s ok 70 /gsubprocess/communicate/utf8/cancelled/stdout-silence 826s # End of cancelled tests 826s # End of utf8 tests 826s # Start of cancelled tests 826s ok 71 /gsubprocess/communicate/cancelled/no-pipes 826s ok 72 /gsubprocess/communicate/cancelled/separate-stderr 826s ok 73 /gsubprocess/communicate/cancelled/stdout-only 826s ok 74 /gsubprocess/communicate/cancelled/stderr-only 826s ok 75 /gsubprocess/communicate/cancelled/stdout-silence 826s # End of cancelled tests 826s # End of communicate tests 826s # Start of env tests 826s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 826s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 826s ok 76 /gsubprocess/env/inherit 826s # End of env tests 826s # Start of pass-fd tests 826s ok 77 /gsubprocess/pass-fd/basic 826s ok 78 /gsubprocess/pass-fd/empty-child-setup 826s ok 79 /gsubprocess/pass-fd/inherit-fds 826s # End of pass-fd tests 826s # Start of fd-conflation tests 826s ok 80 /gsubprocess/fd-conflation/basic 826s ok 81 /gsubprocess/fd-conflation/empty-child-setup 826s ok 82 /gsubprocess/fd-conflation/inherit-fds 826s ok 83 /gsubprocess/fd-conflation/child-err-report-fd 826s # End of fd-conflation tests 826s # Start of exit-status tests 826s # /gsubprocess/exit-status/trapped summary: Test that exit status is reported correctly for ptrace()d child processes 826s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3433 826s ok 84 /gsubprocess/exit-status/trapped 826s # End of exit-status tests 826s # End of gsubprocess tests 826s ok - glib/gsubprocess.test 826s # Running test: glib/utf8-pointer.test 826s TAP version 14 826s # random seed: R02Sf43de2876837e10650d65b9d899611fe 826s 1..3 826s # Start of utf8 tests 827s ok 1 /utf8/offsets 827s # slow test /utf8/offsets executed in 0.77 secs 827s ok 2 /utf8/lengths 827s ok 3 /utf8/find 827s # End of utf8 tests 827s ok - glib/utf8-pointer.test 827s # Running test: glib/keyfile.test 827s TAP version 14 827s # random seed: R02S54c45b5643de0505060d4b6178c9253c 827s 1..36 827s # Start of keyfile tests 827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_TYPHE3/keyfile/line-ends/.dirs/home 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_TYPHE3/keyfile/line-ends/.dirs/cache 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_TYPHE3/keyfile/line-ends/.dirs/system-config1:/tmp/test_keyfile_TYPHE3/keyfile/line-ends/.dirs/system-config2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_TYPHE3/keyfile/line-ends/.dirs/config 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_TYPHE3/keyfile/line-ends/.dirs/system-data1:/tmp/test_keyfile_TYPHE3/keyfile/line-ends/.dirs/system-data2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_TYPHE3/keyfile/line-ends/.dirs/data 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_TYPHE3/keyfile/line-ends/.dirs/state 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_TYPHE3/keyfile/line-ends/.dirs/runtime 827s ok 1 /keyfile/line-ends 827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_TYPHE3/keyfile/whitespace/.dirs/home 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_TYPHE3/keyfile/whitespace/.dirs/cache 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_TYPHE3/keyfile/whitespace/.dirs/system-config1:/tmp/test_keyfile_TYPHE3/keyfile/whitespace/.dirs/system-config2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_TYPHE3/keyfile/whitespace/.dirs/config 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_TYPHE3/keyfile/whitespace/.dirs/system-data1:/tmp/test_keyfile_TYPHE3/keyfile/whitespace/.dirs/system-data2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_TYPHE3/keyfile/whitespace/.dirs/data 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_TYPHE3/keyfile/whitespace/.dirs/state 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_TYPHE3/keyfile/whitespace/.dirs/runtime 827s ok 2 /keyfile/whitespace 827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_TYPHE3/keyfile/comments/.dirs/home 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_TYPHE3/keyfile/comments/.dirs/cache 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_TYPHE3/keyfile/comments/.dirs/system-config1:/tmp/test_keyfile_TYPHE3/keyfile/comments/.dirs/system-config2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_TYPHE3/keyfile/comments/.dirs/config 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_TYPHE3/keyfile/comments/.dirs/system-data1:/tmp/test_keyfile_TYPHE3/keyfile/comments/.dirs/system-data2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_TYPHE3/keyfile/comments/.dirs/data 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_TYPHE3/keyfile/comments/.dirs/state 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_TYPHE3/keyfile/comments/.dirs/runtime 827s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 827s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/104 827s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 827s ok 3 /keyfile/comments 827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_TYPHE3/keyfile/listing/.dirs/home 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_TYPHE3/keyfile/listing/.dirs/cache 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_TYPHE3/keyfile/listing/.dirs/system-config1:/tmp/test_keyfile_TYPHE3/keyfile/listing/.dirs/system-config2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_TYPHE3/keyfile/listing/.dirs/config 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_TYPHE3/keyfile/listing/.dirs/system-data1:/tmp/test_keyfile_TYPHE3/keyfile/listing/.dirs/system-data2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_TYPHE3/keyfile/listing/.dirs/data 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_TYPHE3/keyfile/listing/.dirs/state 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_TYPHE3/keyfile/listing/.dirs/runtime 827s ok 4 /keyfile/listing 827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_TYPHE3/keyfile/string/.dirs/home 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_TYPHE3/keyfile/string/.dirs/cache 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_TYPHE3/keyfile/string/.dirs/system-config1:/tmp/test_keyfile_TYPHE3/keyfile/string/.dirs/system-config2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_TYPHE3/keyfile/string/.dirs/config 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_TYPHE3/keyfile/string/.dirs/system-data1:/tmp/test_keyfile_TYPHE3/keyfile/string/.dirs/system-data2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_TYPHE3/keyfile/string/.dirs/data 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_TYPHE3/keyfile/string/.dirs/state 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_TYPHE3/keyfile/string/.dirs/runtime 827s ok 5 /keyfile/string 827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_TYPHE3/keyfile/boolean/.dirs/home 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_TYPHE3/keyfile/boolean/.dirs/cache 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_TYPHE3/keyfile/boolean/.dirs/system-config1:/tmp/test_keyfile_TYPHE3/keyfile/boolean/.dirs/system-config2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_TYPHE3/keyfile/boolean/.dirs/config 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_TYPHE3/keyfile/boolean/.dirs/system-data1:/tmp/test_keyfile_TYPHE3/keyfile/boolean/.dirs/system-data2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_TYPHE3/keyfile/boolean/.dirs/data 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_TYPHE3/keyfile/boolean/.dirs/state 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_TYPHE3/keyfile/boolean/.dirs/runtime 827s ok 6 /keyfile/boolean 827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_TYPHE3/keyfile/number/.dirs/home 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_TYPHE3/keyfile/number/.dirs/cache 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_TYPHE3/keyfile/number/.dirs/system-config1:/tmp/test_keyfile_TYPHE3/keyfile/number/.dirs/system-config2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_TYPHE3/keyfile/number/.dirs/config 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_TYPHE3/keyfile/number/.dirs/system-data1:/tmp/test_keyfile_TYPHE3/keyfile/number/.dirs/system-data2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_TYPHE3/keyfile/number/.dirs/data 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_TYPHE3/keyfile/number/.dirs/state 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_TYPHE3/keyfile/number/.dirs/runtime 827s ok 7 /keyfile/number 827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_TYPHE3/keyfile/locale-string/.dirs/home 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_TYPHE3/keyfile/locale-string/.dirs/cache 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_TYPHE3/keyfile/locale-string/.dirs/system-config1:/tmp/test_keyfile_TYPHE3/keyfile/locale-string/.dirs/system-config2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_TYPHE3/keyfile/locale-string/.dirs/config 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_TYPHE3/keyfile/locale-string/.dirs/system-data1:/tmp/test_keyfile_TYPHE3/keyfile/locale-string/.dirs/system-data2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_TYPHE3/keyfile/locale-string/.dirs/data 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_TYPHE3/keyfile/locale-string/.dirs/state 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_TYPHE3/keyfile/locale-string/.dirs/runtime 827s ok 8 /keyfile/locale-string 827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_TYPHE3/keyfile/lists/.dirs/home 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_TYPHE3/keyfile/lists/.dirs/cache 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_TYPHE3/keyfile/lists/.dirs/system-config1:/tmp/test_keyfile_TYPHE3/keyfile/lists/.dirs/system-config2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_TYPHE3/keyfile/lists/.dirs/config 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_TYPHE3/keyfile/lists/.dirs/system-data1:/tmp/test_keyfile_TYPHE3/keyfile/lists/.dirs/system-data2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_TYPHE3/keyfile/lists/.dirs/data 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_TYPHE3/keyfile/lists/.dirs/state 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_TYPHE3/keyfile/lists/.dirs/runtime 827s ok 9 /keyfile/lists 827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_TYPHE3/keyfile/lists-set-get/.dirs/home 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_TYPHE3/keyfile/lists-set-get/.dirs/cache 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_TYPHE3/keyfile/lists-set-get/.dirs/system-config1:/tmp/test_keyfile_TYPHE3/keyfile/lists-set-get/.dirs/system-config2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_TYPHE3/keyfile/lists-set-get/.dirs/config 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_TYPHE3/keyfile/lists-set-get/.dirs/system-data1:/tmp/test_keyfile_TYPHE3/keyfile/lists-set-get/.dirs/system-data2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_TYPHE3/keyfile/lists-set-get/.dirs/data 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_TYPHE3/keyfile/lists-set-get/.dirs/state 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_TYPHE3/keyfile/lists-set-get/.dirs/runtime 827s ok 10 /keyfile/lists-set-get 827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_TYPHE3/keyfile/group-remove/.dirs/home 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_TYPHE3/keyfile/group-remove/.dirs/cache 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_TYPHE3/keyfile/group-remove/.dirs/system-config1:/tmp/test_keyfile_TYPHE3/keyfile/group-remove/.dirs/system-config2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_TYPHE3/keyfile/group-remove/.dirs/config 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_TYPHE3/keyfile/group-remove/.dirs/system-data1:/tmp/test_keyfile_TYPHE3/keyfile/group-remove/.dirs/system-data2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_TYPHE3/keyfile/group-remove/.dirs/data 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_TYPHE3/keyfile/group-remove/.dirs/state 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_TYPHE3/keyfile/group-remove/.dirs/runtime 827s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165887 827s ok 11 /keyfile/group-remove 827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_TYPHE3/keyfile/key-remove/.dirs/home 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_TYPHE3/keyfile/key-remove/.dirs/cache 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_TYPHE3/keyfile/key-remove/.dirs/system-config1:/tmp/test_keyfile_TYPHE3/keyfile/key-remove/.dirs/system-config2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_TYPHE3/keyfile/key-remove/.dirs/config 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_TYPHE3/keyfile/key-remove/.dirs/system-data1:/tmp/test_keyfile_TYPHE3/keyfile/key-remove/.dirs/system-data2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_TYPHE3/keyfile/key-remove/.dirs/data 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_TYPHE3/keyfile/key-remove/.dirs/state 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_TYPHE3/keyfile/key-remove/.dirs/runtime 827s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165980 827s ok 12 /keyfile/key-remove 827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_TYPHE3/keyfile/groups/.dirs/home 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_TYPHE3/keyfile/groups/.dirs/cache 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_TYPHE3/keyfile/groups/.dirs/system-config1:/tmp/test_keyfile_TYPHE3/keyfile/groups/.dirs/system-config2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_TYPHE3/keyfile/groups/.dirs/config 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_TYPHE3/keyfile/groups/.dirs/system-data1:/tmp/test_keyfile_TYPHE3/keyfile/groups/.dirs/system-data2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_TYPHE3/keyfile/groups/.dirs/data 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_TYPHE3/keyfile/groups/.dirs/state 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_TYPHE3/keyfile/groups/.dirs/runtime 827s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=316309 827s ok 13 /keyfile/groups 827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_TYPHE3/keyfile/duplicate-keys/.dirs/home 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_TYPHE3/keyfile/duplicate-keys/.dirs/cache 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_TYPHE3/keyfile/duplicate-keys/.dirs/system-config1:/tmp/test_keyfile_TYPHE3/keyfile/duplicate-keys/.dirs/system-config2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_TYPHE3/keyfile/duplicate-keys/.dirs/config 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_TYPHE3/keyfile/duplicate-keys/.dirs/system-data1:/tmp/test_keyfile_TYPHE3/keyfile/duplicate-keys/.dirs/system-data2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_TYPHE3/keyfile/duplicate-keys/.dirs/data 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_TYPHE3/keyfile/duplicate-keys/.dirs/state 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_TYPHE3/keyfile/duplicate-keys/.dirs/runtime 827s ok 14 /keyfile/duplicate-keys 827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_TYPHE3/keyfile/duplicate-groups/.dirs/home 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_TYPHE3/keyfile/duplicate-groups/.dirs/cache 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_TYPHE3/keyfile/duplicate-groups/.dirs/system-config1:/tmp/test_keyfile_TYPHE3/keyfile/duplicate-groups/.dirs/system-config2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_TYPHE3/keyfile/duplicate-groups/.dirs/config 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_TYPHE3/keyfile/duplicate-groups/.dirs/system-data1:/tmp/test_keyfile_TYPHE3/keyfile/duplicate-groups/.dirs/system-data2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_TYPHE3/keyfile/duplicate-groups/.dirs/data 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_TYPHE3/keyfile/duplicate-groups/.dirs/state 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_TYPHE3/keyfile/duplicate-groups/.dirs/runtime 827s ok - glib/keyfile.test 827s # Running test: glib/sandbox.test 827s ok - glib/sandbox.test 827s # Running test: glib/static-link.test 827s ok # SKIP - glib/static-link.test 827s # Running test: glib/resolver-parsing.test 827s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=157877 827s ok 15 /keyfile/duplicate-groups 827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_TYPHE3/keyfile/duplicate-groups2/.dirs/home 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_TYPHE3/keyfile/duplicate-groups2/.dirs/cache 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_TYPHE3/keyfile/duplicate-groups2/.dirs/system-config1:/tmp/test_keyfile_TYPHE3/keyfile/duplicate-groups2/.dirs/system-config2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_TYPHE3/keyfile/duplicate-groups2/.dirs/config 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_TYPHE3/keyfile/duplicate-groups2/.dirs/system-data1:/tmp/test_keyfile_TYPHE3/keyfile/duplicate-groups2/.dirs/system-data2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_TYPHE3/keyfile/duplicate-groups2/.dirs/data 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_TYPHE3/keyfile/duplicate-groups2/.dirs/state 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_TYPHE3/keyfile/duplicate-groups2/.dirs/runtime 827s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=385910 827s ok 16 /keyfile/duplicate-groups2 827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_TYPHE3/keyfile/group-names/.dirs/home 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_TYPHE3/keyfile/group-names/.dirs/cache 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_TYPHE3/keyfile/group-names/.dirs/system-config1:/tmp/test_keyfile_TYPHE3/keyfile/group-names/.dirs/system-config2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_TYPHE3/keyfile/group-names/.dirs/config 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_TYPHE3/keyfile/group-names/.dirs/system-data1:/tmp/test_keyfile_TYPHE3/keyfile/group-names/.dirs/system-data2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_TYPHE3/keyfile/group-names/.dirs/data 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_TYPHE3/keyfile/group-names/.dirs/state 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_TYPHE3/keyfile/group-names/.dirs/runtime 827s ok 17 /keyfile/group-names 827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_TYPHE3/keyfile/key-names/.dirs/home 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_TYPHE3/keyfile/key-names/.dirs/cache 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_TYPHE3/keyfile/key-names/.dirs/system-config1:/tmp/test_keyfile_TYPHE3/keyfile/key-names/.dirs/system-config2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_TYPHE3/keyfile/key-names/.dirs/config 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_TYPHE3/keyfile/key-names/.dirs/system-data1:/tmp/test_keyfile_TYPHE3/keyfile/key-names/.dirs/system-data2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_TYPHE3/keyfile/key-names/.dirs/data 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_TYPHE3/keyfile/key-names/.dirs/state 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_TYPHE3/keyfile/key-names/.dirs/runtime 827s ok 18 /keyfile/key-names 827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_TYPHE3/keyfile/reload/.dirs/home 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_TYPHE3/keyfile/reload/.dirs/cache 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_TYPHE3/keyfile/reload/.dirs/system-config1:/tmp/test_keyfile_TYPHE3/keyfile/reload/.dirs/system-config2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_TYPHE3/keyfile/reload/.dirs/config 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_TYPHE3/keyfile/reload/.dirs/system-data1:/tmp/test_keyfile_TYPHE3/keyfile/reload/.dirs/system-data2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_TYPHE3/keyfile/reload/.dirs/data 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_TYPHE3/keyfile/reload/.dirs/state 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_TYPHE3/keyfile/reload/.dirs/runtime 827s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=420686 827s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2927 827s ok 19 /keyfile/reload 827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_TYPHE3/keyfile/int64/.dirs/home 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_TYPHE3/keyfile/int64/.dirs/cache 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_TYPHE3/keyfile/int64/.dirs/system-config1:/tmp/test_keyfile_TYPHE3/keyfile/int64/.dirs/system-config2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_TYPHE3/keyfile/int64/.dirs/config 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_TYPHE3/keyfile/int64/.dirs/system-data1:/tmp/test_keyfile_TYPHE3/keyfile/int64/.dirs/system-data2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_TYPHE3/keyfile/int64/.dirs/data 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_TYPHE3/keyfile/int64/.dirs/state 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_TYPHE3/keyfile/int64/.dirs/runtime 827s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=614864 827s ok 20 /keyfile/int64 827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_TYPHE3/keyfile/load/.dirs/home 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_TYPHE3/keyfile/load/.dirs/cache 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_TYPHE3/keyfile/load/.dirs/system-config1:/tmp/test_keyfile_TYPHE3/keyfile/load/.dirs/system-config2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_TYPHE3/keyfile/load/.dirs/config 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_TYPHE3/keyfile/load/.dirs/system-data1:/tmp/test_keyfile_TYPHE3/keyfile/load/.dirs/system-data2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_TYPHE3/keyfile/load/.dirs/data 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_TYPHE3/keyfile/load/.dirs/state 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_TYPHE3/keyfile/load/.dirs/runtime 827s ok 21 /keyfile/load 827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_TYPHE3/keyfile/save/.dirs/home 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_TYPHE3/keyfile/save/.dirs/cache 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_TYPHE3/keyfile/save/.dirs/system-config1:/tmp/test_keyfile_TYPHE3/keyfile/save/.dirs/system-config2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_TYPHE3/keyfile/save/.dirs/config 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_TYPHE3/keyfile/save/.dirs/system-data1:/tmp/test_keyfile_TYPHE3/keyfile/save/.dirs/system-data2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_TYPHE3/keyfile/save/.dirs/data 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_TYPHE3/keyfile/save/.dirs/state 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_TYPHE3/keyfile/save/.dirs/runtime 827s ok 22 /keyfile/save 827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_TYPHE3/keyfile/load-fail/.dirs/home 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_TYPHE3/keyfile/load-fail/.dirs/cache 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_TYPHE3/keyfile/load-fail/.dirs/system-config1:/tmp/test_keyfile_TYPHE3/keyfile/load-fail/.dirs/system-config2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_TYPHE3/keyfile/load-fail/.dirs/config 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_TYPHE3/keyfile/load-fail/.dirs/system-data1:/tmp/test_keyfile_TYPHE3/keyfile/load-fail/.dirs/system-data2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_TYPHE3/keyfile/load-fail/.dirs/data 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_TYPHE3/keyfile/load-fail/.dirs/state 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_TYPHE3/keyfile/load-fail/.dirs/runtime 827s ok 23 /keyfile/load-fail 827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_TYPHE3/keyfile/non-utf8/.dirs/home 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_TYPHE3/keyfile/non-utf8/.dirs/cache 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_TYPHE3/keyfile/non-utf8/.dirs/system-config1:/tmp/test_keyfile_TYPHE3/keyfile/non-utf8/.dirs/system-config2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_TYPHE3/keyfile/non-utf8/.dirs/config 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_TYPHE3/keyfile/non-utf8/.dirs/system-data1:/tmp/test_keyfile_TYPHE3/keyfile/non-utf8/.dirs/system-data2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_TYPHE3/keyfile/non-utf8/.dirs/data 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_TYPHE3/keyfile/non-utf8/.dirs/state 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_TYPHE3/keyfile/non-utf8/.dirs/runtime 827s ok 24 /keyfile/non-utf8 827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_TYPHE3/keyfile/page-boundary/.dirs/home 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_TYPHE3/keyfile/page-boundary/.dirs/cache 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_TYPHE3/keyfile/page-boundary/.dirs/system-config1:/tmp/test_keyfile_TYPHE3/keyfile/page-boundary/.dirs/system-config2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_TYPHE3/keyfile/page-boundary/.dirs/config 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_TYPHE3/keyfile/page-boundary/.dirs/system-data1:/tmp/test_keyfile_TYPHE3/keyfile/page-boundary/.dirs/system-data2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_TYPHE3/keyfile/page-boundary/.dirs/data 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_TYPHE3/keyfile/page-boundary/.dirs/state 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_TYPHE3/keyfile/page-boundary/.dirs/runtime 827s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640695 827s ok 25 /keyfile/page-boundary 827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_TYPHE3/keyfile/ref/.dirs/home 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_TYPHE3/keyfile/ref/.dirs/cache 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_TYPHE3/keyfile/ref/.dirs/system-config1:/tmp/test_keyfile_TYPHE3/keyfile/ref/.dirs/system-config2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_TYPHE3/keyfile/ref/.dirs/config 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_TYPHE3/keyfile/ref/.dirs/system-data1:/tmp/test_keyfile_TYPHE3/keyfile/ref/.dirs/system-data2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_TYPHE3/keyfile/ref/.dirs/data 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_TYPHE3/keyfile/ref/.dirs/state 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_TYPHE3/keyfile/ref/.dirs/runtime 827s ok 26 /keyfile/ref 827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_TYPHE3/keyfile/replace-value/.dirs/home 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_TYPHE3/keyfile/replace-value/.dirs/cache 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_TYPHE3/keyfile/replace-value/.dirs/system-config1:/tmp/test_keyfile_TYPHE3/keyfile/replace-value/.dirs/system-config2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_TYPHE3/keyfile/replace-value/.dirs/config 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_TYPHE3/keyfile/replace-value/.dirs/system-data1:/tmp/test_keyfile_TYPHE3/keyfile/replace-value/.dirs/system-data2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_TYPHE3/keyfile/replace-value/.dirs/data 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_TYPHE3/keyfile/replace-value/.dirs/state 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_TYPHE3/keyfile/replace-value/.dirs/runtime 827s ok 27 /keyfile/replace-value 827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_TYPHE3/keyfile/list-separator/.dirs/home 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_TYPHE3/keyfile/list-separator/.dirs/cache 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_TYPHE3/keyfile/list-separator/.dirs/system-config1:/tmp/test_keyfile_TYPHE3/keyfile/list-separator/.dirs/system-config2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_TYPHE3/keyfile/list-separator/.dirs/config 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_TYPHE3/keyfile/list-separator/.dirs/system-data1:/tmp/test_keyfile_TYPHE3/keyfile/list-separator/.dirs/system-data2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_TYPHE3/keyfile/list-separator/.dirs/data 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_TYPHE3/keyfile/list-separator/.dirs/state 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_TYPHE3/keyfile/list-separator/.dirs/runtime 827s ok 28 /keyfile/list-separator 827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_TYPHE3/keyfile/empty-string/.dirs/home 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_TYPHE3/keyfile/empty-string/.dirs/cache 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_TYPHE3/keyfile/empty-string/.dirs/system-config1:/tmp/test_keyfile_TYPHE3/keyfile/empty-string/.dirs/system-config2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_TYPHE3/keyfile/empty-string/.dirs/config 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_TYPHE3/keyfile/empty-string/.dirs/system-data1:/tmp/test_keyfile_TYPHE3/keyfile/empty-string/.dirs/system-data2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_TYPHE3/keyfile/empty-string/.dirs/data 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_TYPHE3/keyfile/empty-string/.dirs/state 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_TYPHE3/keyfile/empty-string/.dirs/runtime 827s ok 29 /keyfile/empty-string 827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_TYPHE3/keyfile/limbo/.dirs/home 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_TYPHE3/keyfile/limbo/.dirs/cache 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_TYPHE3/keyfile/limbo/.dirs/system-config1:/tmp/test_keyfile_TYPHE3/keyfile/limbo/.dirs/system-config2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_TYPHE3/keyfile/limbo/.dirs/config 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_TYPHE3/keyfile/limbo/.dirs/system-data1:/tmp/test_keyfile_TYPHE3/keyfile/limbo/.dirs/system-data2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_TYPHE3/keyfile/limbo/.dirs/data 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_TYPHE3/keyfile/limbo/.dirs/state 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_TYPHE3/keyfile/limbo/.dirs/runtime 827s ok 30 /keyfile/limbo 827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_TYPHE3/keyfile/utf8/.dirs/home 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_TYPHE3/keyfile/utf8/.dirs/cache 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_TYPHE3/keyfile/utf8/.dirs/system-config1:/tmp/test_keyfile_TYPHE3/keyfile/utf8/.dirs/system-config2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_TYPHE3/keyfile/utf8/.dirs/config 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_TYPHE3/keyfile/utf8/.dirs/system-data1:/tmp/test_keyfile_TYPHE3/keyfile/utf8/.dirs/system-data2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_TYPHE3/keyfile/utf8/.dirs/data 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_TYPHE3/keyfile/utf8/.dirs/state 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_TYPHE3/keyfile/utf8/.dirs/runtime 827s # Testing invalid encoding ‘non-UTF-8’ 827s # Testing invalid encoding ‘UTF’ 827s # Testing invalid encoding ‘UTF-9’ 827s ok 31 /keyfile/utf8 827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_TYPHE3/keyfile/roundtrip/.dirs/home 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_TYPHE3/keyfile/roundtrip/.dirs/cache 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_TYPHE3/keyfile/roundtrip/.dirs/system-config1:/tmp/test_keyfile_TYPHE3/keyfile/roundtrip/.dirs/system-config2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_TYPHE3/keyfile/roundtrip/.dirs/config 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_TYPHE3/keyfile/roundtrip/.dirs/system-data1:/tmp/test_keyfile_TYPHE3/keyfile/roundtrip/.dirs/system-data2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_TYPHE3/keyfile/roundtrip/.dirs/data 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_TYPHE3/keyfile/roundtrip/.dirs/state 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_TYPHE3/keyfile/roundtrip/.dirs/runtime 827s ok 32 /keyfile/roundtrip 827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_TYPHE3/keyfile/bytes/.dirs/home 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_TYPHE3/keyfile/bytes/.dirs/cache 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_TYPHE3/keyfile/bytes/.dirs/system-config1:/tmp/test_keyfile_TYPHE3/keyfile/bytes/.dirs/system-config2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_TYPHE3/keyfile/bytes/.dirs/config 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_TYPHE3/keyfile/bytes/.dirs/system-data1:/tmp/test_keyfile_TYPHE3/keyfile/bytes/.dirs/system-data2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_TYPHE3/keyfile/bytes/.dirs/data 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_TYPHE3/keyfile/bytes/.dirs/state 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_TYPHE3/keyfile/bytes/.dirs/runtime 827s ok 33 /keyfile/bytes 827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_TYPHE3/keyfile/get-locale/.dirs/home 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_TYPHE3/keyfile/get-locale/.dirs/cache 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_TYPHE3/keyfile/get-locale/.dirs/system-config1:/tmp/test_keyfile_TYPHE3/keyfile/get-locale/.dirs/system-config2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_TYPHE3/keyfile/get-locale/.dirs/config 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_TYPHE3/keyfile/get-locale/.dirs/system-data1:/tmp/test_keyfile_TYPHE3/keyfile/get-locale/.dirs/system-data2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_TYPHE3/keyfile/get-locale/.dirs/data 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_TYPHE3/keyfile/get-locale/.dirs/state 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_TYPHE3/keyfile/get-locale/.dirs/runtime 827s ok 34 /keyfile/get-locale 827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_TYPHE3/keyfile/free-when-not-last-ref/.dirs/home 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_TYPHE3/keyfile/free-when-not-last-ref/.dirs/cache 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_TYPHE3/keyfile/free-when-not-last-ref/.dirs/system-config1:/tmp/test_keyfile_TYPHE3/keyfile/free-when-not-last-ref/.dirs/system-config2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_TYPHE3/keyfile/free-when-not-last-ref/.dirs/config 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_TYPHE3/keyfile/free-when-not-last-ref/.dirs/system-data1:/tmp/test_keyfile_TYPHE3/keyfile/free-when-not-last-ref/.dirs/system-data2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_TYPHE3/keyfile/free-when-not-last-ref/.dirs/data 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_TYPHE3/keyfile/free-when-not-last-ref/.dirs/state 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_TYPHE3/keyfile/free-when-not-last-ref/.dirs/runtime 827s ok 35 /keyfile/free-when-not-last-ref 827s # Start of locale-string tests 827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_TYPHE3/keyfile/locale-string/multiple-loads/.dirs/home 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_TYPHE3/keyfile/locale-string/multiple-loads/.dirs/cache 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_TYPHE3/keyfile/locale-string/multiple-loads/.dirs/system-config1:/tmp/test_keyfile_TYPHE3/keyfile/locale-string/multiple-loads/.dirs/system-config2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_TYPHE3/keyfile/locale-string/multiple-loads/.dirs/config 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_TYPHE3/keyfile/locale-string/multiple-loads/.dirs/system-data1:/tmp/test_keyfile_TYPHE3/keyfile/locale-string/multiple-loads/.dirs/system-data2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_TYPHE3/keyfile/locale-string/multiple-loads/.dirs/data 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_TYPHE3/keyfile/locale-string/multiple-loads/.dirs/state 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_TYPHE3/keyfile/locale-string/multiple-loads/.dirs/runtime 827s # /keyfile/locale-string/multiple-loads summary: Check that loading with translations multiple times works 827s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2361 827s ok 36 /keyfile/locale-string/multiple-loads 827s # End of locale-string tests 827s # End of keyfile tests 827s TAP version 14 827s # random seed: R02Saa2a4c12a9241e6343da95a4e3e13310 827s 1..4 827s # Start of sandbox tests 827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_RZHHE3/sandbox/none/.dirs/home 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_RZHHE3/sandbox/none/.dirs/cache 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_RZHHE3/sandbox/none/.dirs/system-config1:/tmp/test_sandbox_RZHHE3/sandbox/none/.dirs/system-config2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_RZHHE3/sandbox/none/.dirs/config 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_RZHHE3/sandbox/none/.dirs/system-data1:/tmp/test_sandbox_RZHHE3/sandbox/none/.dirs/system-data2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_RZHHE3/sandbox/none/.dirs/data 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_RZHHE3/sandbox/none/.dirs/state 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_RZHHE3/sandbox/none/.dirs/runtime 827s ok 1 /sandbox/none 827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_RZHHE3/sandbox/snap/.dirs/home 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_RZHHE3/sandbox/snap/.dirs/cache 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_RZHHE3/sandbox/snap/.dirs/system-config1:/tmp/test_sandbox_RZHHE3/sandbox/snap/.dirs/system-config2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_RZHHE3/sandbox/snap/.dirs/config 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_RZHHE3/sandbox/snap/.dirs/system-data1:/tmp/test_sandbox_RZHHE3/sandbox/snap/.dirs/system-data2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_RZHHE3/sandbox/snap/.dirs/data 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_RZHHE3/sandbox/snap/.dirs/state 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_RZHHE3/sandbox/snap/.dirs/runtime 827s # Created snap.yaml in /tmp/test_sandbox_RZHHE3/snap/current/meta/snap.yaml 827s ok 2 /sandbox/snap 827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_RZHHE3/sandbox/classic-snap/.dirs/home 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_RZHHE3/sandbox/classic-snap/.dirs/cache 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_RZHHE3/sandbox/classic-snap/.dirs/system-config1:/tmp/test_sandbox_RZHHE3/sandbox/classic-snap/.dirs/system-config2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_RZHHE3/sandbox/classic-snap/.dirs/config 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_RZHHE3/sandbox/classic-snap/.dirs/system-data1:/tmp/test_sandbox_RZHHE3/sandbox/classic-snap/.dirs/system-data2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_RZHHE3/sandbox/classic-snap/.dirs/data 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_RZHHE3/sandbox/classic-snap/.dirs/state 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_RZHHE3/sandbox/classic-snap/.dirs/runtime 827s # Created snap.yaml in /tmp/test_sandbox_RZHHE3/snap/current/meta/snap.yaml 827s ok 3 /sandbox/classic-snap 827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_RZHHE3/sandbox/flatpak/.dirs/home 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_RZHHE3/sandbox/flatpak/.dirs/cache 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_RZHHE3/sandbox/flatpak/.dirs/system-config1:/tmp/test_sandbox_RZHHE3/sandbox/flatpak/.dirs/system-config2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_RZHHE3/sandbox/flatpak/.dirs/config 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_RZHHE3/sandbox/flatpak/.dirs/system-data1:/tmp/test_sandbox_RZHHE3/sandbox/flatpak/.dirs/system-data2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_RZHHE3/sandbox/flatpak/.dirs/data 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_RZHHE3/sandbox/flatpak/.dirs/state 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_RZHHE3/sandbox/flatpak/.dirs/runtime 827s # Creating .flatpak-info in /tmp/test_sandbox_RZHHE3/sandbox/flatpak/.dirs/runtime/.flatpak-info 827s ok 4 /sandbox/flatpak 827s # End of sandbox tests 827s Test disabled because GLIB_TEST_COMPILATION is not set in the env. 827s If you wish to run this test, set GLIB_TEST_COMPILATION=1 in the env, 827s and make sure you have glib build dependencies installed, including 827s meson. 827s TAP version 14 827s # random seed: R02Sd72e703ff86633a0afb2da47ed102dd7 827s 1..21 827s # Start of gresolver tests 827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/invalid-header/.dirs/home 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/invalid-header/.dirs/cache 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_P3LRE3/gresolver/invalid-header/.dirs/system-config1:/tmp/test_resolver-parsing_P3LRE3/gresolver/invalid-header/.dirs/system-config2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/invalid-header/.dirs/config 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_P3LRE3/gresolver/invalid-header/.dirs/system-data1:/tmp/test_resolver-parsing_P3LRE3/gresolver/invalid-header/.dirs/system-data2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/invalid-header/.dirs/data 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/invalid-header/.dirs/state 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_P3LRE3/gresolver/invalid-header/.dirs/runtime 827s ok 1 /gresolver/invalid-header 827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/record-ownership/.dirs/home 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/record-ownership/.dirs/cache 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_P3LRE3/gresolver/record-ownership/.dirs/system-config1:/tmp/test_resolver-parsing_P3LRE3/gresolver/record-ownership/.dirs/system-config2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/record-ownership/.dirs/config 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_P3LRE3/gresolver/record-ownership/.dirs/system-data1:/tmp/test_resolver-parsing_P3LRE3/gresolver/record-ownership/.dirs/system-data2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/record-ownership/.dirs/data 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/record-ownership/.dirs/state 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_P3LRE3/gresolver/record-ownership/.dirs/runtime 827s ok 2 /gresolver/record-ownership 827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/unknown-record-type/.dirs/home 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/unknown-record-type/.dirs/cache 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_P3LRE3/gresolver/unknown-record-type/.dirs/system-config1:/tmp/test_resolver-parsing_P3LRE3/gresolver/unknown-record-type/.dirs/system-config2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/unknown-record-type/.dirs/config 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_P3LRE3/gresolver/unknown-record-type/.dirs/system-data1:/tmp/test_resolver-parsing_P3LRE3/gresolver/unknown-record-type/.dirs/system-data2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/unknown-record-type/.dirs/data 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/unknown-record-type/.dirs/state 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_P3LRE3/gresolver/unknown-record-type/.dirs/runtime 827s # GLib-GIO-DEBUG: Unrecognized DNS record type 20 827s ok 3 /gresolver/unknown-record-type 827s # Start of mx tests 827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/mx/valid/.dirs/home 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/mx/valid/.dirs/cache 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_P3LRE3/gresolver/mx/valid/.dirs/system-config1:/tmp/test_resolver-parsing_P3LRE3/gresolver/mx/valid/.dirs/system-config2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/mx/valid/.dirs/config 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_P3LRE3/gresolver/mx/valid/.dirs/system-data1:/tmp/test_resolver-parsing_P3LRE3/gresolver/mx/valid/.dirs/system-data2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/mx/valid/.dirs/data 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/mx/valid/.dirs/state 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_P3LRE3/gresolver/mx/valid/.dirs/runtime 827s ok 4 /gresolver/mx/valid 827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/mx/invalid/.dirs/home 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/mx/invalid/.dirs/cache 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_P3LRE3/gresolver/mx/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_P3LRE3/gresolver/mx/invalid/.dirs/system-config2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/mx/invalid/.dirs/config 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_P3LRE3/gresolver/mx/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_P3LRE3/gresolver/mx/invalid/.dirs/system-data2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/mx/invalid/.dirs/data 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/mx/invalid/.dirs/state 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_P3LRE3/gresolver/mx/invalid/.dirs/runtime 827s ok 5 /gresolver/mx/invalid 827s # Start of invalid tests 827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/mx/invalid/too-short/.dirs/home 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/mx/invalid/too-short/.dirs/cache 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_P3LRE3/gresolver/mx/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_P3LRE3/gresolver/mx/invalid/too-short/.dirs/system-config2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/mx/invalid/too-short/.dirs/config 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_P3LRE3/gresolver/mx/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_P3LRE3/gresolver/mx/invalid/too-short/.dirs/system-data2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/mx/invalid/too-short/.dirs/data 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/mx/invalid/too-short/.dirs/state 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_P3LRE3/gresolver/mx/invalid/too-short/.dirs/runtime 827s ok 6 /gresolver/mx/invalid/too-short 827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/mx/invalid/too-short2/.dirs/home 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/mx/invalid/too-short2/.dirs/cache 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_P3LRE3/gresolver/mx/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_P3LRE3/gresolver/mx/invalid/too-short2/.dirs/system-config2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/mx/invalid/too-short2/.dirs/config 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_P3LRE3/gresolver/mx/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_P3LRE3/gresolver/mx/invalid/too-short2/.dirs/system-data2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/mx/invalid/too-short2/.dirs/data 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/mx/invalid/too-short2/.dirs/state 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_P3LRE3/gresolver/mx/invalid/too-short2/.dirs/runtime 827s ok 7 /gresolver/mx/invalid/too-short2 827s # End of invalid tests 827s # End of mx tests 827s # Start of ns tests 827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/ns/valid/.dirs/home 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/ns/valid/.dirs/cache 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_P3LRE3/gresolver/ns/valid/.dirs/system-config1:/tmp/test_resolver-parsing_P3LRE3/gresolver/ns/valid/.dirs/system-config2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/ns/valid/.dirs/config 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_P3LRE3/gresolver/ns/valid/.dirs/system-data1:/tmp/test_resolver-parsing_P3LRE3/gresolver/ns/valid/.dirs/system-data2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/ns/valid/.dirs/data 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/ns/valid/.dirs/state 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_P3LRE3/gresolver/ns/valid/.dirs/runtime 827s ok 8 /gresolver/ns/valid 827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/ns/invalid/.dirs/home 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/ns/invalid/.dirs/cache 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_P3LRE3/gresolver/ns/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_P3LRE3/gresolver/ns/invalid/.dirs/system-config2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/ns/invalid/.dirs/config 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_P3LRE3/gresolver/ns/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_P3LRE3/gresolver/ns/invalid/.dirs/system-data2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/ns/invalid/.dirs/data 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/ns/invalid/.dirs/state 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_P3LRE3/gresolver/ns/invalid/.dirs/runtime 827s ok 9 /gresolver/ns/invalid 827s # End of ns tests 827s # Start of soa tests 827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/soa/valid/.dirs/home 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/soa/valid/.dirs/cache 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_P3LRE3/gresolver/soa/valid/.dirs/system-config1:/tmp/test_resolver-parsing_P3LRE3/gresolver/soa/valid/.dirs/system-config2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/soa/valid/.dirs/config 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_P3LRE3/gresolver/soa/valid/.dirs/system-data1:/tmp/test_resolver-parsing_P3LRE3/gresolver/soa/valid/.dirs/system-data2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/soa/valid/.dirs/data 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/soa/valid/.dirs/state 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_P3LRE3/gresolver/soa/valid/.dirs/runtime 827s ok 10 /gresolver/soa/valid 827s # Start of invalid tests 827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/soa/invalid/mname/.dirs/home 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/soa/invalid/mname/.dirs/cache 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_P3LRE3/gresolver/soa/invalid/mname/.dirs/system-config1:/tmp/test_resolver-parsing_P3LRE3/gresolver/soa/invalid/mname/.dirs/system-config2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/soa/invalid/mname/.dirs/config 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_P3LRE3/gresolver/soa/invalid/mname/.dirs/system-data1:/tmp/test_resolver-parsing_P3LRE3/gresolver/soa/invalid/mname/.dirs/system-data2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/soa/invalid/mname/.dirs/data 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/soa/invalid/mname/.dirs/state 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_P3LRE3/gresolver/soa/invalid/mname/.dirs/runtime 827s ok 11 /gresolver/soa/invalid/mname 827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/soa/invalid/rname/.dirs/home 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/soa/invalid/rname/.dirs/cache 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_P3LRE3/gresolver/soa/invalid/rname/.dirs/system-config1:/tmp/test_resolver-parsing_P3LRE3/gresolver/soa/invalid/rname/.dirs/system-config2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/soa/invalid/rname/.dirs/config 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_P3LRE3/gresolver/soa/invalid/rname/.dirs/system-data1:/tmp/test_resolver-parsing_P3LRE3/gresolver/soa/invalid/rname/.dirs/system-data2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/soa/invalid/rname/.dirs/data 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/soa/invalid/rname/.dirs/state 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_P3LRE3/gresolver/soa/invalid/rname/.dirs/runtime 827s ok 12 /gresolver/soa/invalid/rname 827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/soa/invalid/too-short/.dirs/home 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/soa/invalid/too-short/.dirs/cache 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_P3LRE3/gresolver/soa/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_P3LRE3/gresolver/soa/invalid/too-short/.dirs/system-config2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/soa/invalid/too-short/.dirs/config 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_P3LRE3/gresolver/soa/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_P3LRE3/gresolver/soa/invalid/too-short/.dirs/system-data2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/soa/invalid/too-short/.dirs/data 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/soa/invalid/too-short/.dirs/state 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_P3LRE3/gresolver/soa/invalid/too-short/.dirs/runtime 827s ok 13 /gresolver/soa/invalid/too-short 827s # End of invalid tests 827s # End of soa tests 827s # Start of srv tests 827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/srv/valid/.dirs/home 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/srv/valid/.dirs/cache 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_P3LRE3/gresolver/srv/valid/.dirs/system-config1:/tmp/test_resolver-parsing_P3LRE3/gresolver/srv/valid/.dirs/system-config2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/srv/valid/.dirs/config 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_P3LRE3/gresolver/srv/valid/.dirs/system-data1:/tmp/test_resolver-parsing_P3LRE3/gresolver/srv/valid/.dirs/system-data2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/srv/valid/.dirs/data 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/srv/valid/.dirs/state 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_P3LRE3/gresolver/srv/valid/.dirs/runtime 827s ok 14 /gresolver/srv/valid 827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/srv/invalid/.dirs/home 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/srv/invalid/.dirs/cache 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_P3LRE3/gresolver/srv/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_P3LRE3/gresolver/srv/invalid/.dirs/system-config2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/srv/invalid/.dirs/config 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_P3LRE3/gresolver/srv/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_P3LRE3/gresolver/srv/invalid/.dirs/system-data2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/srv/invalid/.dirs/data 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/srv/invalid/.dirs/state 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_P3LRE3/gresolver/srv/invalid/.dirs/runtime 827s ok 15 /gresolver/srv/invalid 827s # Start of invalid tests 827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/srv/invalid/too-short/.dirs/home 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/srv/invalid/too-short/.dirs/cache 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_P3LRE3/gresolver/srv/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_P3LRE3/gresolver/srv/invalid/too-short/.dirs/system-config2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/srv/invalid/too-short/.dirs/config 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_P3LRE3/gresolver/srv/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_P3LRE3/gresolver/srv/invalid/too-short/.dirs/system-data2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/srv/invalid/too-short/.dirs/data 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/srv/invalid/too-short/.dirs/state 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_P3LRE3/gresolver/srv/invalid/too-short/.dirs/runtime 827s ok 16 /gresolver/srv/invalid/too-short 827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/srv/invalid/too-short2/.dirs/home 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/srv/invalid/too-short2/.dirs/cache 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_P3LRE3/gresolver/srv/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_P3LRE3/gresolver/srv/invalid/too-short2/.dirs/system-config2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/srv/invalid/too-short2/.dirs/config 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_P3LRE3/gresolver/srv/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_P3LRE3/gresolver/srv/invalid/too-short2/.dirs/system-data2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/srv/invalid/too-short2/.dirs/data 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/srv/invalid/too-short2/.dirs/state 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_P3LRE3/gresolver/srv/invalid/too-short2/.dirs/runtime 827s ok 17 /gresolver/srv/invalid/too-short2 827s # End of invalid tests 827s # End of srv tests 827s # Start of txt tests 827s ok - glib/resolver-parsing.test 827s # Running test: glib/references.test 827s ok - glib/references.test 827s # Running test: glib/macros-c-11.test 827s ok - glib/macros-c-11.test 827s # Running test: glib/timer.test 827s ok - glib/timer.test 827s # Running test: glib/signals-refcount2.test 827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/txt/valid/.dirs/home 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/txt/valid/.dirs/cache 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_P3LRE3/gresolver/txt/valid/.dirs/system-config1:/tmp/test_resolver-parsing_P3LRE3/gresolver/txt/valid/.dirs/system-config2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/txt/valid/.dirs/config 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_P3LRE3/gresolver/txt/valid/.dirs/system-data1:/tmp/test_resolver-parsing_P3LRE3/gresolver/txt/valid/.dirs/system-data2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/txt/valid/.dirs/data 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/txt/valid/.dirs/state 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_P3LRE3/gresolver/txt/valid/.dirs/runtime 827s ok 18 /gresolver/txt/valid 827s # Start of valid tests 827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/txt/valid/multiple-strings/.dirs/home 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/txt/valid/multiple-strings/.dirs/cache 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_P3LRE3/gresolver/txt/valid/multiple-strings/.dirs/system-config1:/tmp/test_resolver-parsing_P3LRE3/gresolver/txt/valid/multiple-strings/.dirs/system-config2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/txt/valid/multiple-strings/.dirs/config 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_P3LRE3/gresolver/txt/valid/multiple-strings/.dirs/system-data1:/tmp/test_resolver-parsing_P3LRE3/gresolver/txt/valid/multiple-strings/.dirs/system-data2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/txt/valid/multiple-strings/.dirs/data 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/txt/valid/multiple-strings/.dirs/state 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_P3LRE3/gresolver/txt/valid/multiple-strings/.dirs/runtime 827s ok 19 /gresolver/txt/valid/multiple-strings 827s # End of valid tests 827s # Start of invalid tests 827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/txt/invalid/empty/.dirs/home 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/txt/invalid/empty/.dirs/cache 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_P3LRE3/gresolver/txt/invalid/empty/.dirs/system-config1:/tmp/test_resolver-parsing_P3LRE3/gresolver/txt/invalid/empty/.dirs/system-config2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/txt/invalid/empty/.dirs/config 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_P3LRE3/gresolver/txt/invalid/empty/.dirs/system-data1:/tmp/test_resolver-parsing_P3LRE3/gresolver/txt/invalid/empty/.dirs/system-data2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/txt/invalid/empty/.dirs/data 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/txt/invalid/empty/.dirs/state 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_P3LRE3/gresolver/txt/invalid/empty/.dirs/runtime 827s ok 20 /gresolver/txt/invalid/empty 827s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/txt/invalid/overflow/.dirs/home 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/txt/invalid/overflow/.dirs/cache 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_P3LRE3/gresolver/txt/invalid/overflow/.dirs/system-config1:/tmp/test_resolver-parsing_P3LRE3/gresolver/txt/invalid/overflow/.dirs/system-config2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/txt/invalid/overflow/.dirs/config 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_P3LRE3/gresolver/txt/invalid/overflow/.dirs/system-data1:/tmp/test_resolver-parsing_P3LRE3/gresolver/txt/invalid/overflow/.dirs/system-data2 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/txt/invalid/overflow/.dirs/data 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_P3LRE3/gresolver/txt/invalid/overflow/.dirs/state 827s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_P3LRE3/gresolver/txt/invalid/overflow/.dirs/runtime 827s ok 21 /gresolver/txt/invalid/overflow 827s # End of invalid tests 827s # End of txt tests 827s # End of gresolver tests 827s TAP version 14 827s # random seed: R02S85ec831ebee6b12926385daf6802a292 827s 1..4 827s # Start of gobject tests 827s ok 1 /gobject/references 827s ok 2 /gobject/references-many 827s ok 3 /gobject/references_two 827s ok 4 /gobject/references_run_dispose 827s # End of gobject tests 827s TAP version 14 827s # random seed: R02Sf07ace855704cbe90fbc74d717938ff6 827s 1..4 827s # Start of C tests 827s ok 1 /C/standard-11 827s # End of C tests 827s # Start of alignof tests 827s ok 2 /alignof/fallback 827s # End of alignof tests 827s # Start of assert tests 827s ok 3 /assert/static 827s # End of assert tests 827s # Start of struct tests 827s ok 4 /struct/sizeof_member 827s # End of struct tests 827s TAP version 14 827s # random seed: R02S2b3d2b4b6c6b2e5fccbeabb3dc216855 827s 1..10 827s # Start of timer tests 827s ok 1 /timer/basic # SKIP Not reliable due to floating-point rounding (glib#820) 827s ok 2 /timer/stop 827s ok 3 /timer/continue 827s ok 4 /timer/reset 827s ok 5 /timer/is_active 827s # End of timer tests 827s # Start of timeval tests 827s ok 6 /timeval/add 827s ok 7 /timeval/from-iso8601 827s ok 8 /timeval/to-iso8601 827s # Start of to-iso8601 tests 827s ok 9 /timeval/to-iso8601/overflow 827s # End of to-iso8601 tests 827s # End of timeval tests 827s # Start of usleep tests 827s ok 10 /usleep/with-zero-wait 827s # End of usleep tests 827s TAP version 14 827s # random seed: R02Se781378b835937bf0183efeef34e943c 827s 1..1 827s # Start of gobject tests 827s # Start of refcount tests 827s # init 0x149eaeeed490 827s # 827s # init 0x149eaeee5580 827s # 828s # Executing: glib/signals-refcount2.test 832s # dispose 0x149eaeeed490! 832s # 832s # dispose 0x149eaeee5580! 832s # 832s ok 1 /gobject/refcount/signals 832s # slow test /gobject/refcount/signals executed in 5.00 secs 832s # End of refcount tests 832s # End of gobject tests 832s ok - glib/signals-refcount2.test 832s # Running test: glib/node.test 832s TAP version 14 832s # random seed: R02Sde7cd4c566248cfe2fa125d5fb818fcd 832s 1..6 832s # Start of node tests 832s ok 1 /node/allocation 832s ok 2 /node/construction 832s ok 3 /node/traversal 832s ok 4 /node/misc 832s ok - glib/node.test 832s # Running test: glib/macros.test 832s ok - glib/macros.test 832s # Running test: glib/gdbus-names.test 832s ok 5 /node/unlink 832s ok 6 /node/copy 832s # End of node tests 832s TAP version 14 832s # random seed: R02S294c88859eebae84bee23bcd2bda4476 832s 1..3 832s # Start of alignof tests 832s ok 1 /alignof/fallback 832s # End of alignof tests 832s # Start of assert tests 832s ok 2 /assert/static 832s # End of assert tests 832s # Start of struct tests 832s ok 3 /struct/sizeof_member 832s # End of struct tests 832s TAP version 14 832s # random seed: R02Sb8adbc939f953d20d153505e1361f75f 832s 1..10 832s # Start of gdbus tests 832s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_8E1PE3/gdbus/validate-names/.dirs/home 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_8E1PE3/gdbus/validate-names/.dirs/cache 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_8E1PE3/gdbus/validate-names/.dirs/system-config1:/tmp/test_gdbus-names_8E1PE3/gdbus/validate-names/.dirs/system-config2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_8E1PE3/gdbus/validate-names/.dirs/config 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_8E1PE3/gdbus/validate-names/.dirs/system-data1:/tmp/test_gdbus-names_8E1PE3/gdbus/validate-names/.dirs/system-data2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_8E1PE3/gdbus/validate-names/.dirs/data 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_8E1PE3/gdbus/validate-names/.dirs/state 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_8E1PE3/gdbus/validate-names/.dirs/runtime 832s ok 1 /gdbus/validate-names 832s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_8E1PE3/gdbus/bus-own-name/.dirs/home 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_8E1PE3/gdbus/bus-own-name/.dirs/cache 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_8E1PE3/gdbus/bus-own-name/.dirs/system-config1:/tmp/test_gdbus-names_8E1PE3/gdbus/bus-own-name/.dirs/system-config2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_8E1PE3/gdbus/bus-own-name/.dirs/config 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_8E1PE3/gdbus/bus-own-name/.dirs/system-data1:/tmp/test_gdbus-names_8E1PE3/gdbus/bus-own-name/.dirs/system-data2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_8E1PE3/gdbus/bus-own-name/.dirs/data 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_8E1PE3/gdbus/bus-own-name/.dirs/state 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_8E1PE3/gdbus/bus-own-name/.dirs/runtime 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s ok 2 /gdbus/bus-own-name 832s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_8E1PE3/gdbus/bus-watch-name/.dirs/home 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_8E1PE3/gdbus/bus-watch-name/.dirs/cache 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_8E1PE3/gdbus/bus-watch-name/.dirs/system-config1:/tmp/test_gdbus-names_8E1PE3/gdbus/bus-watch-name/.dirs/system-config2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_8E1PE3/gdbus/bus-watch-name/.dirs/config 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_8E1PE3/gdbus/bus-watch-name/.dirs/system-data1:/tmp/test_gdbus-names_8E1PE3/gdbus/bus-watch-name/.dirs/system-data2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_8E1PE3/gdbus/bus-watch-name/.dirs/data 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_8E1PE3/gdbus/bus-watch-name/.dirs/state 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_8E1PE3/gdbus/bus-watch-name/.dirs/runtime 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s ok 3 /gdbus/bus-watch-name 832s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_8E1PE3/gdbus/bus-watch-name-auto-start/.dirs/home 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_8E1PE3/gdbus/bus-watch-name-auto-start/.dirs/cache 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_8E1PE3/gdbus/bus-watch-name-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_8E1PE3/gdbus/bus-watch-name-auto-start/.dirs/system-config2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_8E1PE3/gdbus/bus-watch-name-auto-start/.dirs/config 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_8E1PE3/gdbus/bus-watch-name-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_8E1PE3/gdbus/bus-watch-name-auto-start/.dirs/system-data2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_8E1PE3/gdbus/bus-watch-name-auto-start/.dirs/data 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_8E1PE3/gdbus/bus-watch-name-auto-start/.dirs/state 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_8E1PE3/gdbus/bus-watch-name-auto-start/.dirs/runtime 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s ok 4 /gdbus/bus-watch-name-auto-start 832s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_8E1PE3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/home 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_8E1PE3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/cache 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_8E1PE3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config1:/tmp/test_gdbus-names_8E1PE3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_8E1PE3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/config 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_8E1PE3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data1:/tmp/test_gdbus-names_8E1PE3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_8E1PE3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/data 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_8E1PE3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/state 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_8E1PE3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/runtime 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 832s dbus-daemon[35526]: [session uid=1000 pid=35526 pidfd=4] Activating service name='org.gtk.GDBus.FakeService' requested by ':1.0' (uid=1000 pid=35516 comm="/usr/libexec/installed-tests/glib/gdbus-names" label="unconfined") 832s # Acquired a message bus connection 832s dbus-daemon[35526]: [session uid=1000 pid=35526 pidfd=4] Successfully activated service 'org.gtk.GDBus.FakeService' 832s # Acquired the name org.gtk.GDBus.FakeService 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s ok 5 /gdbus/bus-watch-name-auto-start-service-exist 832s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_8E1PE3/gdbus/bus-watch-name-closures/.dirs/home 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_8E1PE3/gdbus/bus-watch-name-closures/.dirs/cache 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_8E1PE3/gdbus/bus-watch-name-closures/.dirs/system-config1:/tmp/test_gdbus-names_8E1PE3/gdbus/bus-watch-name-closures/.dirs/system-config2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_8E1PE3/gdbus/bus-watch-name-closures/.dirs/config 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_8E1PE3/gdbus/bus-watch-name-closures/.dirs/system-data1:/tmp/test_gdbus-names_8E1PE3/gdbus/bus-watch-name-closures/.dirs/system-data2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_8E1PE3/gdbus/bus-watch-name-closures/.dirs/data 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_8E1PE3/gdbus/bus-watch-name-closures/.dirs/state 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_8E1PE3/gdbus/bus-watch-name-closures/.dirs/runtime 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s ok 6 /gdbus/bus-watch-name-closures 832s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_8E1PE3/gdbus/bus-watch-name-closures-auto-start/.dirs/home 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_8E1PE3/gdbus/bus-watch-name-closures-auto-start/.dirs/cache 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_8E1PE3/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_8E1PE3/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_8E1PE3/gdbus/bus-watch-name-closures-auto-start/.dirs/config 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_8E1PE3/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_8E1PE3/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_8E1PE3/gdbus/bus-watch-name-closures-auto-start/.dirs/data 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_8E1PE3/gdbus/bus-watch-name-closures-auto-start/.dirs/state 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_8E1PE3/gdbus/bus-watch-name-closures-auto-start/.dirs/runtime 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s ok 7 /gdbus/bus-watch-name-closures-auto-start 832s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_8E1PE3/gdbus/bus-watch-different-context/.dirs/home 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_8E1PE3/gdbus/bus-watch-different-context/.dirs/cache 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_8E1PE3/gdbus/bus-watch-different-context/.dirs/system-config1:/tmp/test_gdbus-names_8E1PE3/gdbus/bus-watch-different-context/.dirs/system-config2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_8E1PE3/gdbus/bus-watch-different-context/.dirs/config 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_8E1PE3/gdbus/bus-watch-different-context/.dirs/system-data1:/tmp/test_gdbus-names_8E1PE3/gdbus/bus-watch-different-context/.dirs/system-data2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_8E1PE3/gdbus/bus-watch-different-context/.dirs/data 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_8E1PE3/gdbus/bus-watch-different-context/.dirs/state 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_8E1PE3/gdbus/bus-watch-different-context/.dirs/runtime 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s ok 8 /gdbus/bus-watch-different-context 832s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_8E1PE3/gdbus/bus-unwatch-early/.dirs/home 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_8E1PE3/gdbus/bus-unwatch-early/.dirs/cache 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_8E1PE3/gdbus/bus-unwatch-early/.dirs/system-config1:/tmp/test_gdbus-names_8E1PE3/gdbus/bus-unwatch-early/.dirs/system-config2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_8E1PE3/gdbus/bus-unwatch-early/.dirs/config 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_8E1PE3/gdbus/bus-unwatch-early/.dirs/system-data1:/tmp/test_gdbus-names_8E1PE3/gdbus/bus-unwatch-early/.dirs/system-data2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_8E1PE3/gdbus/bus-unwatch-early/.dirs/data 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_8E1PE3/gdbus/bus-unwatch-early/.dirs/state 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_8E1PE3/gdbus/bus-unwatch-early/.dirs/runtime 832s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/604 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s ok - glib/gdbus-names.test 832s # Running test: glib/gdbus-peer.test 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 832s ok 9 /gdbus/bus-unwatch-early 832s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_8E1PE3/gdbus/escape-object-path/.dirs/home 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_8E1PE3/gdbus/escape-object-path/.dirs/cache 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_8E1PE3/gdbus/escape-object-path/.dirs/system-config1:/tmp/test_gdbus-names_8E1PE3/gdbus/escape-object-path/.dirs/system-config2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_8E1PE3/gdbus/escape-object-path/.dirs/config 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_8E1PE3/gdbus/escape-object-path/.dirs/system-data1:/tmp/test_gdbus-names_8E1PE3/gdbus/escape-object-path/.dirs/system-data2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_8E1PE3/gdbus/escape-object-path/.dirs/data 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_8E1PE3/gdbus/escape-object-path/.dirs/state 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_8E1PE3/gdbus/escape-object-path/.dirs/runtime 832s ok 10 /gdbus/escape-object-path 832s # End of gdbus tests 832s TAP version 14 832s # random seed: R02S9a67b02b134dd8840a665badc178ff73 832s 1..12 832s # Start of gdbus tests 832s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_NGLOE3/gdbus/peer-to-peer/.dirs/home 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_NGLOE3/gdbus/peer-to-peer/.dirs/cache 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_NGLOE3/gdbus/peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_NGLOE3/gdbus/peer-to-peer/.dirs/system-config2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_NGLOE3/gdbus/peer-to-peer/.dirs/config 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_NGLOE3/gdbus/peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_NGLOE3/gdbus/peer-to-peer/.dirs/system-data2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_NGLOE3/gdbus/peer-to-peer/.dirs/data 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_NGLOE3/gdbus/peer-to-peer/.dirs/state 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_NGLOE3/gdbus/peer-to-peer/.dirs/runtime 832s # Testing with unix:dir address 832s # Testing with unix:tmpdir address 832s # Testing with unix:path address 832s ok 1 /gdbus/peer-to-peer 832s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_NGLOE3/gdbus/delayed-message-processing/.dirs/home 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_NGLOE3/gdbus/delayed-message-processing/.dirs/cache 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_NGLOE3/gdbus/delayed-message-processing/.dirs/system-config1:/tmp/test_gdbus-peer_NGLOE3/gdbus/delayed-message-processing/.dirs/system-config2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_NGLOE3/gdbus/delayed-message-processing/.dirs/config 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_NGLOE3/gdbus/delayed-message-processing/.dirs/system-data1:/tmp/test_gdbus-peer_NGLOE3/gdbus/delayed-message-processing/.dirs/system-data2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_NGLOE3/gdbus/delayed-message-processing/.dirs/data 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_NGLOE3/gdbus/delayed-message-processing/.dirs/state 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_NGLOE3/gdbus/delayed-message-processing/.dirs/runtime 832s # Testing with unix:dir address 833s ok 2 /gdbus/delayed-message-processing 833s # slow test /gdbus/delayed-message-processing executed in 0.51 secs 833s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_NGLOE3/gdbus/nonce-tcp/.dirs/home 833s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_NGLOE3/gdbus/nonce-tcp/.dirs/cache 833s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_NGLOE3/gdbus/nonce-tcp/.dirs/system-config1:/tmp/test_gdbus-peer_NGLOE3/gdbus/nonce-tcp/.dirs/system-config2 833s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_NGLOE3/gdbus/nonce-tcp/.dirs/config 833s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_NGLOE3/gdbus/nonce-tcp/.dirs/system-data1:/tmp/test_gdbus-peer_NGLOE3/gdbus/nonce-tcp/.dirs/system-data2 833s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_NGLOE3/gdbus/nonce-tcp/.dirs/data 833s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_NGLOE3/gdbus/nonce-tcp/.dirs/state 833s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_NGLOE3/gdbus/nonce-tcp/.dirs/runtime 833s ok 3 /gdbus/nonce-tcp 833s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_NGLOE3/gdbus/tcp-anonymous/.dirs/home 833s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_NGLOE3/gdbus/tcp-anonymous/.dirs/cache 833s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_NGLOE3/gdbus/tcp-anonymous/.dirs/system-config1:/tmp/test_gdbus-peer_NGLOE3/gdbus/tcp-anonymous/.dirs/system-config2 833s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_NGLOE3/gdbus/tcp-anonymous/.dirs/config 833s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_NGLOE3/gdbus/tcp-anonymous/.dirs/system-data1:/tmp/test_gdbus-peer_NGLOE3/gdbus/tcp-anonymous/.dirs/system-data2 833s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_NGLOE3/gdbus/tcp-anonymous/.dirs/data 833s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_NGLOE3/gdbus/tcp-anonymous/.dirs/state 833s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_NGLOE3/gdbus/tcp-anonymous/.dirs/runtime 833s ok 4 /gdbus/tcp-anonymous 833s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_NGLOE3/gdbus/credentials/.dirs/home 833s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_NGLOE3/gdbus/credentials/.dirs/cache 833s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_NGLOE3/gdbus/credentials/.dirs/system-config1:/tmp/test_gdbus-peer_NGLOE3/gdbus/credentials/.dirs/system-config2 833s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_NGLOE3/gdbus/credentials/.dirs/config 833s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_NGLOE3/gdbus/credentials/.dirs/system-data1:/tmp/test_gdbus-peer_NGLOE3/gdbus/credentials/.dirs/system-data2 833s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_NGLOE3/gdbus/credentials/.dirs/data 833s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_NGLOE3/gdbus/credentials/.dirs/state 833s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_NGLOE3/gdbus/credentials/.dirs/runtime 833s ok 5 /gdbus/credentials 833s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_NGLOE3/gdbus/codegen-peer-to-peer/.dirs/home 833s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_NGLOE3/gdbus/codegen-peer-to-peer/.dirs/cache 833s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_NGLOE3/gdbus/codegen-peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_NGLOE3/gdbus/codegen-peer-to-peer/.dirs/system-config2 833s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_NGLOE3/gdbus/codegen-peer-to-peer/.dirs/config 833s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_NGLOE3/gdbus/codegen-peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_NGLOE3/gdbus/codegen-peer-to-peer/.dirs/system-data2 833s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_NGLOE3/gdbus/codegen-peer-to-peer/.dirs/data 833s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_NGLOE3/gdbus/codegen-peer-to-peer/.dirs/state 833s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_NGLOE3/gdbus/codegen-peer-to-peer/.dirs/runtime 833s # Testing with unix:dir address 833s # Machine ID: 6e9cc0016ce54ff98a190b9145230c59 833s # Executing: glib/gdbus-peer.test 834s ok 6 /gdbus/codegen-peer-to-peer 834s # slow test /gdbus/codegen-peer-to-peer executed in 1.11 secs 834s # Start of peer-to-peer tests 834s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_NGLOE3/gdbus/peer-to-peer/signals/.dirs/home 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_NGLOE3/gdbus/peer-to-peer/signals/.dirs/cache 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_NGLOE3/gdbus/peer-to-peer/signals/.dirs/system-config1:/tmp/test_gdbus-peer_NGLOE3/gdbus/peer-to-peer/signals/.dirs/system-config2 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_NGLOE3/gdbus/peer-to-peer/signals/.dirs/config 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_NGLOE3/gdbus/peer-to-peer/signals/.dirs/system-data1:/tmp/test_gdbus-peer_NGLOE3/gdbus/peer-to-peer/signals/.dirs/system-data2 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_NGLOE3/gdbus/peer-to-peer/signals/.dirs/data 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_NGLOE3/gdbus/peer-to-peer/signals/.dirs/state 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_NGLOE3/gdbus/peer-to-peer/signals/.dirs/runtime 834s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1620 834s # Testing with unix:dir address 834s ok 7 /gdbus/peer-to-peer/signals 834s # Start of invalid tests 834s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_NGLOE3/gdbus/peer-to-peer/invalid/server/.dirs/home 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_NGLOE3/gdbus/peer-to-peer/invalid/server/.dirs/cache 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_NGLOE3/gdbus/peer-to-peer/invalid/server/.dirs/system-config1:/tmp/test_gdbus-peer_NGLOE3/gdbus/peer-to-peer/invalid/server/.dirs/system-config2 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_NGLOE3/gdbus/peer-to-peer/invalid/server/.dirs/config 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_NGLOE3/gdbus/peer-to-peer/invalid/server/.dirs/system-data1:/tmp/test_gdbus-peer_NGLOE3/gdbus/peer-to-peer/invalid/server/.dirs/system-data2 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_NGLOE3/gdbus/peer-to-peer/invalid/server/.dirs/data 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_NGLOE3/gdbus/peer-to-peer/invalid/server/.dirs/state 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_NGLOE3/gdbus/peer-to-peer/invalid/server/.dirs/runtime 834s ok 8 /gdbus/peer-to-peer/invalid/server 834s # Start of conn tests 834s # Start of stream tests 834s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_NGLOE3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/home 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_NGLOE3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/cache 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_NGLOE3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config1:/tmp/test_gdbus-peer_NGLOE3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config2 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_NGLOE3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/config 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_NGLOE3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data1:/tmp/test_gdbus-peer_NGLOE3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data2 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_NGLOE3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/data 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_NGLOE3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/state 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_NGLOE3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/runtime 834s ok 9 /gdbus/peer-to-peer/invalid/conn/stream/async 834s ok - glib/gdbus-peer.test 834s # Running test: glib/onceinit.test 834s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_NGLOE3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/home 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_NGLOE3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/cache 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_NGLOE3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config1:/tmp/test_gdbus-peer_NGLOE3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config2 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_NGLOE3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/config 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_NGLOE3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data1:/tmp/test_gdbus-peer_NGLOE3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data2 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_NGLOE3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/data 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_NGLOE3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/state 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_NGLOE3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/runtime 834s ok 10 /gdbus/peer-to-peer/invalid/conn/stream/sync 834s # End of stream tests 834s # Start of addr tests 834s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_NGLOE3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/home 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_NGLOE3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/cache 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_NGLOE3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config1:/tmp/test_gdbus-peer_NGLOE3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config2 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_NGLOE3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/config 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_NGLOE3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data1:/tmp/test_gdbus-peer_NGLOE3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data2 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_NGLOE3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/data 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_NGLOE3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/state 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_NGLOE3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/runtime 834s ok 11 /gdbus/peer-to-peer/invalid/conn/addr/async 834s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_NGLOE3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/home 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_NGLOE3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/cache 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_NGLOE3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config1:/tmp/test_gdbus-peer_NGLOE3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config2 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_NGLOE3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/config 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_NGLOE3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data1:/tmp/test_gdbus-peer_NGLOE3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data2 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_NGLOE3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/data 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_NGLOE3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/state 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_NGLOE3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/runtime 834s ok 12 /gdbus/peer-to-peer/invalid/conn/addr/sync 834s # End of addr tests 834s # End of conn tests 834s # End of invalid tests 834s # End of peer-to-peer tests 834s # End of gdbus tests 834s TAP version 14 834s # random seed: R02S7e9a15d7d91ab704e8bcf9573f2fd2c8 834s 1..1 834s # Start of thread tests 834s ok 1 /thread/onceinit 834s # End of thread tests 834s ok - glib/onceinit.test 834s # Running test: glib/gdbus-address-get-session.test 834s TAP version 14 834s # random seed: R02S4073328225c59a98c3e3f06919cb7228 834s 1..2 834s # Start of gdbus tests 834s ok 1 /gdbus/x11-autolaunch 834s ok - glib/gdbus-address-get-session.test 834s ok 2 /gdbus/xdg-runtime 834s # End of gdbus tests 834s # Running test: glib/mimeapps.test 834s TAP version 14 834s # random seed: R02S947ed1a48b320cef06a40272b85ae955 834s 1..13 834s # Start of appinfo tests 834s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_GZ5HE3/appinfo/all/.dirs/home 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_GZ5HE3/appinfo/all/.dirs/cache 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_GZ5HE3/appinfo/all/.dirs/system-config1:/tmp/test_mimeapps_GZ5HE3/appinfo/all/.dirs/system-config2 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_GZ5HE3/appinfo/all/.dirs/config 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_GZ5HE3/appinfo/all/.dirs/system-data1:/tmp/test_mimeapps_GZ5HE3/appinfo/all/.dirs/system-data2 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_GZ5HE3/appinfo/all/.dirs/data 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_GZ5HE3/appinfo/all/.dirs/state 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_GZ5HE3/appinfo/all/.dirs/runtime 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/all/.dirs/system-data1/applications' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/all/.dirs/system-data1/applications/mimeapps.list' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/all/.dirs/data/applications' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/all/.dirs/data/applications/myapp.desktop' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/all/.dirs/data/applications/myapp2.desktop' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/all/.dirs/data/applications/myapp3.desktop' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/all/.dirs/data/applications/myapp4.desktop' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/all/.dirs/data/applications/myapp5.desktop' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/all/.dirs/data/applications/nosuchapp.desktop' 834s # removing '/tmp/test_mimeapps_GZ5HE3/appinfo/all/.dirs/data/applications/mimeapps.list' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/all/.dirs/data/applications/mimeinfo.cache' 834s ok 1 /appinfo/all 834s # Start of mime tests 834s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_GZ5HE3/appinfo/mime/api/.dirs/home 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_GZ5HE3/appinfo/mime/api/.dirs/cache 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_GZ5HE3/appinfo/mime/api/.dirs/system-config1:/tmp/test_mimeapps_GZ5HE3/appinfo/mime/api/.dirs/system-config2 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_GZ5HE3/appinfo/mime/api/.dirs/config 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_GZ5HE3/appinfo/mime/api/.dirs/system-data1:/tmp/test_mimeapps_GZ5HE3/appinfo/mime/api/.dirs/system-data2 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_GZ5HE3/appinfo/mime/api/.dirs/data 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_GZ5HE3/appinfo/mime/api/.dirs/state 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_GZ5HE3/appinfo/mime/api/.dirs/runtime 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime/api/.dirs/system-data1/applications' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime/api/.dirs/system-data1/applications/mimeapps.list' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime/api/.dirs/data/applications' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime/api/.dirs/data/applications/myapp.desktop' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime/api/.dirs/data/applications/myapp2.desktop' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime/api/.dirs/data/applications/myapp3.desktop' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime/api/.dirs/data/applications/myapp4.desktop' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime/api/.dirs/data/applications/myapp5.desktop' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime/api/.dirs/data/applications/nosuchapp.desktop' 834s # removing '/tmp/test_mimeapps_GZ5HE3/appinfo/mime/api/.dirs/data/applications/mimeapps.list' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime/api/.dirs/data/applications/mimeinfo.cache' 834s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GZ5HE3/appinfo/mime/api/.dirs/config 834s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_GZ5HE3/appinfo/all/.dirs/config to /tmp/test_mimeapps_GZ5HE3/appinfo/mime/api/.dirs/config 834s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GZ5HE3/appinfo/mime/api/.dirs/config 834s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GZ5HE3/appinfo/mime/api/.dirs/config 834s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GZ5HE3/appinfo/mime/api/.dirs/config 834s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GZ5HE3/appinfo/mime/api/.dirs/config 834s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GZ5HE3/appinfo/mime/api/.dirs/config 834s ok 2 /appinfo/mime/api 834s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_GZ5HE3/appinfo/mime/default/.dirs/home 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_GZ5HE3/appinfo/mime/default/.dirs/cache 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_GZ5HE3/appinfo/mime/default/.dirs/system-config1:/tmp/test_mimeapps_GZ5HE3/appinfo/mime/default/.dirs/system-config2 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_GZ5HE3/appinfo/mime/default/.dirs/config 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_GZ5HE3/appinfo/mime/default/.dirs/system-data1:/tmp/test_mimeapps_GZ5HE3/appinfo/mime/default/.dirs/system-data2 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_GZ5HE3/appinfo/mime/default/.dirs/data 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_GZ5HE3/appinfo/mime/default/.dirs/state 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_GZ5HE3/appinfo/mime/default/.dirs/runtime 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime/default/.dirs/system-data1/applications' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime/default/.dirs/system-data1/applications/mimeapps.list' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime/default/.dirs/data/applications' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime/default/.dirs/data/applications/myapp.desktop' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime/default/.dirs/data/applications/myapp2.desktop' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime/default/.dirs/data/applications/myapp3.desktop' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime/default/.dirs/data/applications/myapp4.desktop' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime/default/.dirs/data/applications/myapp5.desktop' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime/default/.dirs/data/applications/nosuchapp.desktop' 834s # removing '/tmp/test_mimeapps_GZ5HE3/appinfo/mime/default/.dirs/data/applications/mimeapps.list' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime/default/.dirs/data/applications/mimeinfo.cache' 834s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GZ5HE3/appinfo/mime/default/.dirs/config 834s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_GZ5HE3/appinfo/mime/api/.dirs/config to /tmp/test_mimeapps_GZ5HE3/appinfo/mime/default/.dirs/config 834s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GZ5HE3/appinfo/mime/default/.dirs/config 834s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GZ5HE3/appinfo/mime/default/.dirs/config 834s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GZ5HE3/appinfo/mime/default/.dirs/config 834s ok 3 /appinfo/mime/default 834s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_GZ5HE3/appinfo/mime/file/.dirs/home 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_GZ5HE3/appinfo/mime/file/.dirs/cache 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_GZ5HE3/appinfo/mime/file/.dirs/system-config1:/tmp/test_mimeapps_GZ5HE3/appinfo/mime/file/.dirs/system-config2 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_GZ5HE3/appinfo/mime/file/.dirs/config 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_GZ5HE3/appinfo/mime/file/.dirs/system-data1:/tmp/test_mimeapps_GZ5HE3/appinfo/mime/file/.dirs/system-data2 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_GZ5HE3/appinfo/mime/file/.dirs/data 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_GZ5HE3/appinfo/mime/file/.dirs/state 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_GZ5HE3/appinfo/mime/file/.dirs/runtime 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime/file/.dirs/system-data1/applications' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime/file/.dirs/system-data1/applications/mimeapps.list' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime/file/.dirs/data/applications' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime/file/.dirs/data/applications/myapp.desktop' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime/file/.dirs/data/applications/myapp2.desktop' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime/file/.dirs/data/applications/myapp3.desktop' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime/file/.dirs/data/applications/myapp4.desktop' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime/file/.dirs/data/applications/myapp5.desktop' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime/file/.dirs/data/applications/nosuchapp.desktop' 834s # removing '/tmp/test_mimeapps_GZ5HE3/appinfo/mime/file/.dirs/data/applications/mimeapps.list' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime/file/.dirs/data/applications/mimeinfo.cache' 834s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GZ5HE3/appinfo/mime/file/.dirs/config 834s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_GZ5HE3/appinfo/mime/default/.dirs/config to /tmp/test_mimeapps_GZ5HE3/appinfo/mime/file/.dirs/config 834s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GZ5HE3/appinfo/mime/file/.dirs/config 834s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GZ5HE3/appinfo/mime/file/.dirs/config 834s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GZ5HE3/appinfo/mime/file/.dirs/config 834s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GZ5HE3/appinfo/mime/file/.dirs/config 834s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GZ5HE3/appinfo/mime/file/.dirs/config 834s ok 4 /appinfo/mime/file 834s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_GZ5HE3/appinfo/mime/scheme-handler/.dirs/home 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_GZ5HE3/appinfo/mime/scheme-handler/.dirs/cache 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_GZ5HE3/appinfo/mime/scheme-handler/.dirs/system-config1:/tmp/test_mimeapps_GZ5HE3/appinfo/mime/scheme-handler/.dirs/system-config2 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_GZ5HE3/appinfo/mime/scheme-handler/.dirs/config 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_GZ5HE3/appinfo/mime/scheme-handler/.dirs/system-data1:/tmp/test_mimeapps_GZ5HE3/appinfo/mime/scheme-handler/.dirs/system-data2 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_GZ5HE3/appinfo/mime/scheme-handler/.dirs/data 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_GZ5HE3/appinfo/mime/scheme-handler/.dirs/state 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_GZ5HE3/appinfo/mime/scheme-handler/.dirs/runtime 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime/scheme-handler/.dirs/system-data1/applications' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime/scheme-handler/.dirs/system-data1/applications/mimeapps.list' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime/scheme-handler/.dirs/data/applications' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime/scheme-handler/.dirs/data/applications/myapp.desktop' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime/scheme-handler/.dirs/data/applications/myapp2.desktop' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime/scheme-handler/.dirs/data/applications/myapp3.desktop' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime/scheme-handler/.dirs/data/applications/myapp4.desktop' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime/scheme-handler/.dirs/data/applications/myapp5.desktop' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime/scheme-handler/.dirs/data/applications/nosuchapp.desktop' 834s # removing '/tmp/test_mimeapps_GZ5HE3/appinfo/mime/scheme-handler/.dirs/data/applications/mimeapps.list' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime/scheme-handler/.dirs/data/applications/mimeinfo.cache' 834s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_GZ5HE3/appinfo/mime/file/.dirs/config to /tmp/test_mimeapps_GZ5HE3/appinfo/mime/scheme-handler/.dirs/config 834s ok 5 /appinfo/mime/scheme-handler 834s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_GZ5HE3/appinfo/mime/default-last-used/.dirs/home 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_GZ5HE3/appinfo/mime/default-last-used/.dirs/cache 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_GZ5HE3/appinfo/mime/default-last-used/.dirs/system-config1:/tmp/test_mimeapps_GZ5HE3/appinfo/mime/default-last-used/.dirs/system-config2 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_GZ5HE3/appinfo/mime/default-last-used/.dirs/config 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_GZ5HE3/appinfo/mime/default-last-used/.dirs/system-data1:/tmp/test_mimeapps_GZ5HE3/appinfo/mime/default-last-used/.dirs/system-data2 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_GZ5HE3/appinfo/mime/default-last-used/.dirs/data 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_GZ5HE3/appinfo/mime/default-last-used/.dirs/state 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_GZ5HE3/appinfo/mime/default-last-used/.dirs/runtime 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime/default-last-used/.dirs/system-data1/applications' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime/default-last-used/.dirs/system-data1/applications/mimeapps.list' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime/default-last-used/.dirs/data/applications' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime/default-last-used/.dirs/data/applications/myapp.desktop' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime/default-last-used/.dirs/data/applications/myapp2.desktop' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime/default-last-used/.dirs/data/applications/myapp3.desktop' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime/default-last-used/.dirs/data/applications/myapp4.desktop' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime/default-last-used/.dirs/data/applications/myapp5.desktop' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime/default-last-used/.dirs/data/applications/nosuchapp.desktop' 834s # removing '/tmp/test_mimeapps_GZ5HE3/appinfo/mime/default-last-used/.dirs/data/applications/mimeapps.list' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime/default-last-used/.dirs/data/applications/mimeinfo.cache' 834s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GZ5HE3/appinfo/mime/default-last-used/.dirs/config 834s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_GZ5HE3/appinfo/mime/scheme-handler/.dirs/config to /tmp/test_mimeapps_GZ5HE3/appinfo/mime/default-last-used/.dirs/config 834s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GZ5HE3/appinfo/mime/default-last-used/.dirs/config 834s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GZ5HE3/appinfo/mime/default-last-used/.dirs/config 834s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GZ5HE3/appinfo/mime/default-last-used/.dirs/config 834s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GZ5HE3/appinfo/mime/default-last-used/.dirs/config 834s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GZ5HE3/appinfo/mime/default-last-used/.dirs/config 834s ok 6 /appinfo/mime/default-last-used 834s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_GZ5HE3/appinfo/mime/ignore-nonexisting/.dirs/home 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_GZ5HE3/appinfo/mime/ignore-nonexisting/.dirs/cache 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_GZ5HE3/appinfo/mime/ignore-nonexisting/.dirs/system-config1:/tmp/test_mimeapps_GZ5HE3/appinfo/mime/ignore-nonexisting/.dirs/system-config2 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_GZ5HE3/appinfo/mime/ignore-nonexisting/.dirs/config 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_GZ5HE3/appinfo/mime/ignore-nonexisting/.dirs/system-data1:/tmp/test_mimeapps_GZ5HE3/appinfo/mime/ignore-nonexisting/.dirs/system-data2 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_GZ5HE3/appinfo/mime/ignore-nonexisting/.dirs/data 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_GZ5HE3/appinfo/mime/ignore-nonexisting/.dirs/state 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_GZ5HE3/appinfo/mime/ignore-nonexisting/.dirs/runtime 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications/mimeapps.list' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime/ignore-nonexisting/.dirs/data/applications' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp.desktop' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp2.desktop' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp3.desktop' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp4.desktop' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp5.desktop' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/nosuchapp.desktop' 834s # removing '/tmp/test_mimeapps_GZ5HE3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeapps.list' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeinfo.cache' 834s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_GZ5HE3/appinfo/mime/default-last-used/.dirs/config to /tmp/test_mimeapps_GZ5HE3/appinfo/mime/ignore-nonexisting/.dirs/config 834s ok 7 /appinfo/mime/ignore-nonexisting 834s # End of mime tests 834s # Start of mime-symlinked tests 834s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/api/.dirs/home 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/api/.dirs/cache 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/api/.dirs/system-config1:/tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/api/.dirs/system-config2 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/api/.dirs/config 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/api/.dirs/system-data1:/tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/api/.dirs/system-data2 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/api/.dirs/data 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/api/.dirs/state 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/api/.dirs/runtime 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/api/.dirs/system-data1/applications' 834s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/api/.dirs/system-data1/applications/mimeapps.list.c' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/api/.dirs/data/applications' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/api/.dirs/data/applications/myapp.desktop' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/api/.dirs/data/applications/myapp2.desktop' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/api/.dirs/data/applications/myapp3.desktop' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/api/.dirs/data/applications/myapp4.desktop' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/api/.dirs/data/applications/myapp5.desktop' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/api/.dirs/data/applications/nosuchapp.desktop' 834s # removing '/tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/api/.dirs/data/applications/mimeapps.list' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/api/.dirs/data/applications/mimeinfo.cache' 834s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/api/.dirs/config 834s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_GZ5HE3/appinfo/mime/ignore-nonexisting/.dirs/config to /tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/api/.dirs/config 834s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/api/.dirs/config 834s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/api/.dirs/config 834s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/api/.dirs/config 834s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/api/.dirs/config 834s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/api/.dirs/config 834s ok 8 /appinfo/mime-symlinked/api 834s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/default/.dirs/home 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/default/.dirs/cache 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/default/.dirs/system-config1:/tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/default/.dirs/system-config2 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/default/.dirs/config 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/default/.dirs/system-data1:/tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/default/.dirs/system-data2 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/default/.dirs/data 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/default/.dirs/state 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/default/.dirs/runtime 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/default/.dirs/system-data1/applications' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/default/.dirs/system-data1/applications/mimeapps.list.c' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/default/.dirs/data/applications' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/default/.dirs/data/applications/myapp.desktop' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/default/.dirs/data/applications/myapp2.desktop' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/default/.dirs/data/applications/myapp3.desktop' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/default/.dirs/data/applications/myapp4.desktop' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/default/.dirs/data/applications/myapp5.desktop' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/default/.dirs/data/applications/nosuchapp.desktop' 834s # removing '/tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/default/.dirs/data/applications/mimeapps.list' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/default/.dirs/data/applications/mimeinfo.cache' 834s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/default/.dirs/config 834s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/api/.dirs/config to /tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/default/.dirs/config 834s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/default/.dirs/config 834s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/default/.dirs/config 834s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/default/.dirs/config 834s ok 9 /appinfo/mime-symlinked/default 834s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/file/.dirs/home 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/file/.dirs/cache 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/file/.dirs/system-config1:/tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/file/.dirs/system-config2 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/file/.dirs/config 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/file/.dirs/system-data1:/tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/file/.dirs/system-data2 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/file/.dirs/data 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/file/.dirs/state 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/file/.dirs/runtime 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/file/.dirs/system-data1/applications' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/file/.dirs/system-data1/applications/mimeapps.list.c' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/file/.dirs/data/applications' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/file/.dirs/data/applications/myapp.desktop' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/file/.dirs/data/applications/myapp2.desktop' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/file/.dirs/data/applications/myapp3.desktop' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/file/.dirs/data/applications/myapp4.desktop' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/file/.dirs/data/applications/myapp5.desktop' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/file/.dirs/data/applications/nosuchapp.desktop' 834s # removing '/tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/file/.dirs/data/applications/mimeapps.list' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/file/.dirs/data/applications/mimeinfo.cache' 834s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/file/.dirs/config 834s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/default/.dirs/config to /tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/file/.dirs/config 834s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/file/.dirs/config 834s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/file/.dirs/config 834s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/file/.dirs/config 834s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/file/.dirs/config 834s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/file/.dirs/config 834s ok 10 /appinfo/mime-symlinked/file 834s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/scheme-handler/.dirs/home 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/scheme-handler/.dirs/cache 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/scheme-handler/.dirs/system-config1:/tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/scheme-handler/.dirs/system-config2 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/scheme-handler/.dirs/config 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/scheme-handler/.dirs/system-data1:/tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/scheme-handler/.dirs/system-data2 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/scheme-handler/.dirs/data 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/scheme-handler/.dirs/state 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/scheme-handler/.dirs/runtime 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/scheme-handler/.dirs/system-data1/applications' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/scheme-handler/.dirs/system-data1/applications/mimeapps.list.c' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/myapp.desktop' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/myapp2.desktop' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/myapp3.desktop' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/myapp4.desktop' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/myapp5.desktop' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/nosuchapp.desktop' 834s # removing '/tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/mimeapps.list' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/mimeinfo.cache' 834s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/file/.dirs/config to /tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/scheme-handler/.dirs/config 834s ok 11 /appinfo/mime-symlinked/scheme-handler 834s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/default-last-used/.dirs/home 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/default-last-used/.dirs/cache 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/default-last-used/.dirs/system-config1:/tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/default-last-used/.dirs/system-config2 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/default-last-used/.dirs/config 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/default-last-used/.dirs/system-data1:/tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/default-last-used/.dirs/system-data2 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/default-last-used/.dirs/data 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/default-last-used/.dirs/state 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/default-last-used/.dirs/runtime 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/default-last-used/.dirs/system-data1/applications' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/default-last-used/.dirs/system-data1/applications/mimeapps.list.c' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/myapp.desktop' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/myapp2.desktop' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/myapp3.desktop' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/myapp4.desktop' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/myapp5.desktop' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/nosuchapp.desktop' 834s # removing '/tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/mimeapps.list' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/mimeinfo.cache' 834s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/default-last-used/.dirs/config 834s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/scheme-handler/.dirs/config to /tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/default-last-used/.dirs/config 834s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/default-last-used/.dirs/config 834s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/default-last-used/.dirs/config 834s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/default-last-used/.dirs/config 834s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/default-last-used/.dirs/config 834s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/default-last-used/.dirs/config 834s ok 12 /appinfo/mime-symlinked/default-last-used 834s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/home 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/cache 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/system-config1:/tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/system-config2 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/config 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/system-data1:/tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/system-data2 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/state 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/runtime 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/system-data1/applications' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/system-data1/applications/mimeapps.list.c' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/myapp.desktop' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/myapp2.desktop' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/myapp3.desktop' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/myapp4.desktop' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/myapp5.desktop' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/nosuchapp.desktop' 834s # removing '/tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/mimeapps.list' 834s # creating '/tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/mimeinfo.cache' 834s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/default-last-used/.dirs/config to /tmp/test_mimeapps_GZ5HE3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/config 834s ok 13 /appinfo/mime-symlinked/ignore-nonexisting 834s # End of mime-symlinked tests 834s # End of appinfo tests 834s ok - glib/mimeapps.test 834s # Running test: glib/macros-c-89.test 834s TAP version 14 834s # random seed: R02S5896d65cefcaaeb589d84ace1abdbe24 834s 1..4 834s # Start of C tests 834s ok 1 /C/standard-89 834s # End of C tests 834s # Start of alignof tests 834s ok 2 /alignof/fallback 834s # End of alignof tests 834s # Start of assert tests 834s ok 3 /assert/static 834s # End of assert tests 834s # Start of struct tests 834s ok 4 /struct/sizeof_member 834s # End of struct tests 834s ok - glib/macros-c-89.test 834s # Running test: glib/utils-c-99.test 834s TAP version 14 834s # random seed: R02Sf8446af608b36749427df200edd95742 834s 1..41 834s # Start of utils tests 834s ok 1 /utils/language-names 834s # Testing locale ‘en’ 834s # Testing locale ‘sr@latin’ 834s # Testing locale ‘fr_BE’ 834s # Testing locale ‘sr_SR@latin’ 834s # Testing locale ‘sr_SR@latin.UTF-8’ 834s # Testing locale ‘sr@latin_invalid’ 834s # Testing locale ‘sr.UTF-8@latin’ 834s # Testing locale ‘sr.UTF-8_latin’ 834s # Testing locale ‘sr.UTF-8@latin_invalid’ 834s ok 2 /utils/locale-variants 834s ok 3 /utils/version 834s ok 4 /utils/appname 834s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 834s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 834s ok 5 /utils/prgname-thread-safety 834s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 834s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 834s ok 6 /utils/tmpdir 834s ok 7 /utils/basic_bits 834s ok 8 /utils/bits 834s ok 9 /utils/swap 834s ok 10 /utils/find-program 834s ok 11 /utils/find-program-for-path 834s ok 12 /utils/debug 834s ok 13 /utils/codeset 834s ok 14 /utils/codeset2 834s ok 15 /utils/console-charset 834s ok 16 /utils/gettext 834s ok 17 /utils/username 834s ok 18 /utils/realname 834s ok 19 /utils/hostname 834s ok 20 /utils/xdgdirs 834s ok 21 /utils/specialdir 834s # NAME: Ubuntu 834s ok 22 /utils/os-info 834s ok 23 /utils/clear-pointer 834s ok 24 /utils/clear-pointer-cast 834s ok 25 /utils/take-pointer 834s ok 26 /utils/clear-source 834s ok 27 /utils/misc-mem 834s # /utils/aligned-mem summary: Aligned memory allocator 834s # Alignment must not be zero 834s # Alignment must be a power of two 834s # Alignment must be a multiple of sizeof(void*) 834s ok 28 /utils/aligned-mem 834s # /utils/free-sized summary: Check that g_free_sized() works 834s ok 29 /utils/free-sized 834s ok 30 /utils/nullify 834s ok 31 /utils/atexit 834s ok 32 /utils/check-setuid 834s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 834s ok 33 /utils/int-limits 834s ok - glib/utils-c-99.test 834s # Running test: glib/checksum.test 834s ok 34 /utils/clear-list 834s ok 35 /utils/clear-slist 834s ok 36 /utils/steal-handle-id 834s # Start of specialdir tests 834s ok 37 /utils/specialdir/desktop 834s # End of specialdir tests 834s # Start of clear-pointer tests 834s ok 38 /utils/clear-pointer/side-effects 834s # End of clear-pointer tests 834s # Start of aligned-mem tests 834s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 834s ok 39 /utils/aligned-mem/alignment 834s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 834s ok 40 /utils/aligned-mem/zeroed 834s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 834s ok 41 /utils/aligned-mem/free-sized 834s # Start of subprocess tests 834s # End of subprocess tests 834s # End of aligned-mem tests 834s # End of utils tests 834s TAP version 14 834s # random seed: R02S20b6e63980e14a99c12c49fef5bf62a8 834s 1..1851 834s # Start of checksum tests 834s ok 1 /checksum/unsupported 834s # Start of MD5 tests 834s ok 2 /checksum/MD5/0 834s ok 3 /checksum/MD5/1 834s ok 4 /checksum/MD5/2 834s ok 5 /checksum/MD5/3 834s ok 6 /checksum/MD5/4 834s ok 7 /checksum/MD5/5 834s ok 8 /checksum/MD5/6 834s ok 9 /checksum/MD5/7 834s ok 10 /checksum/MD5/8 834s ok 11 /checksum/MD5/9 834s ok 12 /checksum/MD5/10 834s ok 13 /checksum/MD5/11 834s ok 14 /checksum/MD5/12 834s ok 15 /checksum/MD5/13 834s ok 16 /checksum/MD5/14 834s ok 17 /checksum/MD5/15 834s ok 18 /checksum/MD5/16 834s ok 19 /checksum/MD5/17 834s ok 20 /checksum/MD5/18 834s ok 21 /checksum/MD5/19 834s ok 22 /checksum/MD5/20 834s ok 23 /checksum/MD5/21 834s ok 24 /checksum/MD5/22 834s ok 25 /checksum/MD5/23 834s ok 26 /checksum/MD5/24 834s ok 27 /checksum/MD5/25 834s ok 28 /checksum/MD5/26 834s ok 29 /checksum/MD5/27 834s ok 30 /checksum/MD5/28 834s ok 31 /checksum/MD5/29 834s ok 32 /checksum/MD5/30 834s ok 33 /checksum/MD5/31 834s ok 34 /checksum/MD5/32 834s ok 35 /checksum/MD5/33 834s ok 36 /checksum/MD5/34 834s ok 37 /checksum/MD5/35 834s ok 38 /checksum/MD5/36 834s ok 39 /checksum/MD5/37 834s ok 40 /checksum/MD5/38 834s ok 41 /checksum/MD5/39 834s ok 42 /checksum/MD5/40 834s ok 43 /checksum/MD5/41 834s ok 44 /checksum/MD5/42 834s ok 45 /checksum/MD5/43 834s ok 46 /checksum/MD5/44 834s ok 47 /checksum/MD5/45 834s ok 48 /checksum/MD5/46 834s ok 49 /checksum/MD5/47 834s ok 50 /checksum/MD5/48 834s ok 51 /checksum/MD5/49 834s ok 52 /checksum/MD5/50 834s ok 53 /checksum/MD5/51 834s ok 54 /checksum/MD5/52 834s ok 55 /checksum/MD5/53 834s ok 56 /checksum/MD5/54 834s ok 57 /checksum/MD5/55 834s ok 58 /checksum/MD5/56 834s ok 59 /checksum/MD5/57 834s ok 60 /checksum/MD5/58 834s ok 61 /checksum/MD5/59 834s ok 62 /checksum/MD5/60 834s ok 63 /checksum/MD5/61 834s ok 64 /checksum/MD5/62 834s ok 65 /checksum/MD5/63 834s ok 66 /checksum/MD5/64 834s ok 67 /checksum/MD5/65 834s ok 68 /checksum/MD5/66 834s ok 69 /checksum/MD5/67 834s ok 70 /checksum/MD5/68 834s ok 71 /checksum/MD5/69 834s ok 72 /checksum/MD5/70 834s ok 73 /checksum/MD5/71 834s ok 74 /checksum/MD5/72 834s ok 75 /checksum/MD5/73 834s ok 76 /checksum/MD5/74 834s ok 77 /checksum/MD5/75 834s ok 78 /checksum/MD5/76 834s ok 79 /checksum/MD5/77 834s ok 80 /checksum/MD5/78 834s ok 81 /checksum/MD5/79 834s ok 82 /checksum/MD5/80 834s ok 83 /checksum/MD5/81 834s ok 84 /checksum/MD5/82 834s ok 85 /checksum/MD5/83 834s ok 86 /checksum/MD5/84 834s ok 87 /checksum/MD5/85 834s ok 88 /checksum/MD5/86 834s ok 89 /checksum/MD5/87 834s ok 90 /checksum/MD5/88 834s ok 91 /checksum/MD5/89 834s ok 92 /checksum/MD5/90 834s ok 93 /checksum/MD5/91 834s ok 94 /checksum/MD5/92 834s ok 95 /checksum/MD5/93 834s ok 96 /checksum/MD5/94 834s ok 97 /checksum/MD5/95 834s ok 98 /checksum/MD5/96 834s ok 99 /checksum/MD5/97 834s ok 100 /checksum/MD5/98 834s ok 101 /checksum/MD5/99 834s ok 102 /checksum/MD5/100 834s ok 103 /checksum/MD5/101 834s ok 104 /checksum/MD5/102 834s ok 105 /checksum/MD5/103 834s ok 106 /checksum/MD5/104 834s ok 107 /checksum/MD5/105 834s ok 108 /checksum/MD5/106 834s ok 109 /checksum/MD5/107 834s ok 110 /checksum/MD5/108 834s ok 111 /checksum/MD5/109 834s ok 112 /checksum/MD5/110 834s ok 113 /checksum/MD5/111 834s ok 114 /checksum/MD5/112 834s ok 115 /checksum/MD5/113 834s ok 116 /checksum/MD5/114 834s ok 117 /checksum/MD5/115 834s ok 118 /checksum/MD5/116 834s ok 119 /checksum/MD5/117 834s ok 120 /checksum/MD5/118 834s ok 121 /checksum/MD5/119 834s ok 122 /checksum/MD5/120 834s ok 123 /checksum/MD5/121 834s ok 124 /checksum/MD5/122 834s ok 125 /checksum/MD5/123 834s ok 126 /checksum/MD5/124 834s ok 127 /checksum/MD5/125 834s ok 128 /checksum/MD5/126 834s ok 129 /checksum/MD5/127 834s ok 130 /checksum/MD5/128 834s ok 131 /checksum/MD5/129 834s ok 132 /checksum/MD5/130 834s ok 133 /checksum/MD5/131 834s ok 134 /checksum/MD5/132 834s ok 135 /checksum/MD5/133 834s ok 136 /checksum/MD5/134 834s ok 137 /checksum/MD5/135 834s ok 138 /checksum/MD5/136 834s ok 139 /checksum/MD5/137 834s ok 140 /checksum/MD5/138 834s ok 141 /checksum/MD5/139 834s ok 142 /checksum/MD5/140 834s ok 143 /checksum/MD5/141 834s ok 144 /checksum/MD5/142 834s ok 145 /checksum/MD5/143 834s ok 146 /checksum/MD5/144 834s ok 147 /checksum/MD5/145 834s ok 148 /checksum/MD5/146 834s ok 149 /checksum/MD5/147 834s ok 150 /checksum/MD5/148 834s ok 151 /checksum/MD5/149 834s ok 152 /checksum/MD5/150 834s ok 153 /checksum/MD5/151 834s ok 154 /checksum/MD5/152 834s ok 155 /checksum/MD5/153 834s ok 156 /checksum/MD5/154 834s ok 157 /checksum/MD5/155 834s ok 158 /checksum/MD5/156 834s ok 159 /checksum/MD5/157 834s ok 160 /checksum/MD5/158 834s ok 161 /checksum/MD5/159 834s ok 162 /checksum/MD5/160 834s ok 163 /checksum/MD5/161 834s ok 164 /checksum/MD5/162 834s ok 165 /checksum/MD5/163 834s ok 166 /checksum/MD5/164 834s ok 167 /checksum/MD5/165 834s ok 168 /checksum/MD5/166 834s ok 169 /checksum/MD5/167 834s ok 170 /checksum/MD5/168 834s ok 171 /checksum/MD5/169 834s ok 172 /checksum/MD5/170 834s ok 173 /checksum/MD5/171 834s ok 174 /checksum/MD5/172 834s ok 175 /checksum/MD5/173 834s ok 176 /checksum/MD5/174 834s ok 177 /checksum/MD5/175 834s ok 178 /checksum/MD5/176 834s ok 179 /checksum/MD5/177 834s ok 180 /checksum/MD5/178 834s ok 181 /checksum/MD5/179 834s ok 182 /checksum/MD5/180 834s ok 183 /checksum/MD5/181 834s ok 184 /checksum/MD5/182 834s ok 185 /checksum/MD5/183 834s ok 186 /checksum/MD5/string 834s ok 187 /checksum/MD5/bytes 834s # Start of reset tests 834s ok 188 /checksum/MD5/reset/0 834s ok 189 /checksum/MD5/reset/1 834s ok 190 /checksum/MD5/reset/2 834s ok 191 /checksum/MD5/reset/3 834s ok 192 /checksum/MD5/reset/4 834s ok 193 /checksum/MD5/reset/5 834s ok 194 /checksum/MD5/reset/6 834s ok 195 /checksum/MD5/reset/7 834s ok 196 /checksum/MD5/reset/8 834s ok 197 /checksum/MD5/reset/9 834s ok 198 /checksum/MD5/reset/10 834s ok 199 /checksum/MD5/reset/11 834s ok 200 /checksum/MD5/reset/12 834s ok 201 /checksum/MD5/reset/13 834s ok 202 /checksum/MD5/reset/14 834s ok 203 /checksum/MD5/reset/15 834s ok 204 /checksum/MD5/reset/16 834s ok 205 /checksum/MD5/reset/17 834s ok 206 /checksum/MD5/reset/18 834s ok 207 /checksum/MD5/reset/19 834s ok 208 /checksum/MD5/reset/20 834s ok 209 /checksum/MD5/reset/21 834s ok 210 /checksum/MD5/reset/22 834s ok 211 /checksum/MD5/reset/23 834s ok 212 /checksum/MD5/reset/24 834s ok 213 /checksum/MD5/reset/25 834s ok 214 /checksum/MD5/reset/26 834s ok 215 /checksum/MD5/reset/27 834s ok 216 /checksum/MD5/reset/28 834s ok 217 /checksum/MD5/reset/29 834s ok 218 /checksum/MD5/reset/30 834s ok 219 /checksum/MD5/reset/31 834s ok 220 /checksum/MD5/reset/32 834s ok 221 /checksum/MD5/reset/33 834s ok 222 /checksum/MD5/reset/34 834s ok 223 /checksum/MD5/reset/35 834s ok 224 /checksum/MD5/reset/36 834s ok 225 /checksum/MD5/reset/37 834s ok 226 /checksum/MD5/reset/38 834s ok 227 /checksum/MD5/reset/39 834s ok 228 /checksum/MD5/reset/40 834s ok 229 /checksum/MD5/reset/41 834s ok 230 /checksum/MD5/reset/42 834s ok 231 /checksum/MD5/reset/43 834s ok 232 /checksum/MD5/reset/44 834s ok 233 /checksum/MD5/reset/45 834s ok 234 /checksum/MD5/reset/46 834s ok 235 /checksum/MD5/reset/47 834s ok 236 /checksum/MD5/reset/48 834s ok 237 /checksum/MD5/reset/49 834s ok 238 /checksum/MD5/reset/50 834s ok 239 /checksum/MD5/reset/51 834s ok 240 /checksum/MD5/reset/52 834s ok 241 /checksum/MD5/reset/53 834s ok 242 /checksum/MD5/reset/54 834s ok 243 /checksum/MD5/reset/55 834s ok 244 /checksum/MD5/reset/56 834s ok 245 /checksum/MD5/reset/57 834s ok 246 /checksum/MD5/reset/58 834s ok 247 /checksum/MD5/reset/59 834s ok 248 /checksum/MD5/reset/60 834s ok 249 /checksum/MD5/reset/61 834s ok 250 /checksum/MD5/reset/62 834s ok 251 /checksum/MD5/reset/63 834s ok 252 /checksum/MD5/reset/64 834s ok 253 /checksum/MD5/reset/65 834s ok 254 /checksum/MD5/reset/66 834s ok 255 /checksum/MD5/reset/67 834s ok 256 /checksum/MD5/reset/68 834s ok 257 /checksum/MD5/reset/69 834s ok 258 /checksum/MD5/reset/70 834s ok 259 /checksum/MD5/reset/71 834s ok 260 /checksum/MD5/reset/72 834s ok 261 /checksum/MD5/reset/73 834s ok 262 /checksum/MD5/reset/74 834s ok 263 /checksum/MD5/reset/75 834s ok 264 /checksum/MD5/reset/76 834s ok 265 /checksum/MD5/reset/77 834s ok 266 /checksum/MD5/reset/78 834s ok 267 /checksum/MD5/reset/79 834s ok 268 /checksum/MD5/reset/80 834s ok 269 /checksum/MD5/reset/81 834s ok 270 /checksum/MD5/reset/82 834s ok 271 /checksum/MD5/reset/83 834s ok 272 /checksum/MD5/reset/84 834s ok 273 /checksum/MD5/reset/85 834s ok 274 /checksum/MD5/reset/86 834s ok 275 /checksum/MD5/reset/87 834s ok 276 /checksum/MD5/reset/88 834s ok 277 /checksum/MD5/reset/89 834s ok 278 /checksum/MD5/reset/90 834s ok 279 /checksum/MD5/reset/91 834s ok 280 /checksum/MD5/reset/92 834s ok 281 /checksum/MD5/reset/93 834s ok 282 /checksum/MD5/reset/94 834s ok 283 /checksum/MD5/reset/95 834s ok 284 /checksum/MD5/reset/96 834s ok 285 /checksum/MD5/reset/97 834s ok 286 /checksum/MD5/reset/98 834s ok 287 /checksum/MD5/reset/99 834s ok 288 /checksum/MD5/reset/100 834s ok 289 /checksum/MD5/reset/101 834s ok 290 /checksum/MD5/reset/102 834s ok 291 /checksum/MD5/reset/103 834s ok 292 /checksum/MD5/reset/104 834s ok 293 /checksum/MD5/reset/105 834s ok 294 /checksum/MD5/reset/106 834s ok 295 /checksum/MD5/reset/107 834s ok 296 /checksum/MD5/reset/108 834s ok 297 /checksum/MD5/reset/109 834s ok 298 /checksum/MD5/reset/110 834s ok 299 /checksum/MD5/reset/111 834s ok 300 /checksum/MD5/reset/112 834s ok 301 /checksum/MD5/reset/113 834s ok 302 /checksum/MD5/reset/114 834s ok 303 /checksum/MD5/reset/115 834s ok 304 /checksum/MD5/reset/116 834s ok 305 /checksum/MD5/reset/117 834s ok 306 /checksum/MD5/reset/118 834s ok 307 /checksum/MD5/reset/119 834s ok 308 /checksum/MD5/reset/120 834s ok 309 /checksum/MD5/reset/121 834s ok 310 /checksum/MD5/reset/122 834s ok 311 /checksum/MD5/reset/123 834s ok 312 /checksum/MD5/reset/124 834s ok 313 /checksum/MD5/reset/125 834s ok 314 /checksum/MD5/reset/126 834s ok 315 /checksum/MD5/reset/127 834s ok 316 /checksum/MD5/reset/128 834s ok 317 /checksum/MD5/reset/129 834s ok 318 /checksum/MD5/reset/130 834s ok 319 /checksum/MD5/reset/131 834s ok 320 /checksum/MD5/reset/132 834s ok 321 /checksum/MD5/reset/133 834s ok 322 /checksum/MD5/reset/134 834s ok 323 /checksum/MD5/reset/135 834s ok 324 /checksum/MD5/reset/136 834s ok 325 /checksum/MD5/reset/137 834s ok 326 /checksum/MD5/reset/138 834s ok 327 /checksum/MD5/reset/139 834s ok 328 /checksum/MD5/reset/140 834s ok 329 /checksum/MD5/reset/141 834s ok 330 /checksum/MD5/reset/142 834s ok 331 /checksum/MD5/reset/143 834s ok 332 /checksum/MD5/reset/144 834s ok 333 /checksum/MD5/reset/145 834s ok 334 /checksum/MD5/reset/146 834s ok 335 /checksum/MD5/reset/147 834s ok 336 /checksum/MD5/reset/148 834s ok 337 /checksum/MD5/reset/149 834s ok 338 /checksum/MD5/reset/150 834s ok 339 /checksum/MD5/reset/151 834s ok 340 /checksum/MD5/reset/152 834s ok 341 /checksum/MD5/reset/153 834s ok 342 /checksum/MD5/reset/154 834s ok 343 /checksum/MD5/reset/155 834s ok 344 /checksum/MD5/reset/156 834s ok 345 /checksum/MD5/reset/157 834s ok 346 /checksum/MD5/reset/158 834s ok 347 /checksum/MD5/reset/159 834s ok 348 /checksum/MD5/reset/160 834s ok 349 /checksum/MD5/reset/161 834s ok 350 /checksum/MD5/reset/162 834s ok 351 /checksum/MD5/reset/163 834s ok 352 /checksum/MD5/reset/164 834s ok 353 /checksum/MD5/reset/165 834s ok 354 /checksum/MD5/reset/166 834s ok 355 /checksum/MD5/reset/167 834s ok 356 /checksum/MD5/reset/168 834s ok 357 /checksum/MD5/reset/169 834s ok 358 /checksum/MD5/reset/170 834s ok 359 /checksum/MD5/reset/171 834s ok 360 /checksum/MD5/reset/172 834s ok 361 /checksum/MD5/reset/173 834s ok 362 /checksum/MD5/reset/174 834s ok 363 /checksum/MD5/reset/175 834s ok 364 /checksum/MD5/reset/176 834s ok 365 /checksum/MD5/reset/177 834s ok 366 /checksum/MD5/reset/178 834s ok 367 /checksum/MD5/reset/179 834s ok 368 /checksum/MD5/reset/180 834s ok 369 /checksum/MD5/reset/181 834s ok 370 /checksum/MD5/reset/182 834s ok 371 /checksum/MD5/reset/183 834s # End of reset tests 834s # End of MD5 tests 834s # Start of SHA1 tests 834s ok 372 /checksum/SHA1/0 834s ok 373 /checksum/SHA1/1 834s ok 374 /checksum/SHA1/2 834s ok 375 /checksum/SHA1/3 834s ok 376 /checksum/SHA1/4 834s ok 377 /checksum/SHA1/5 834s ok 378 /checksum/SHA1/6 834s ok 379 /checksum/SHA1/7 834s ok 380 /checksum/SHA1/8 834s ok 381 /checksum/SHA1/9 834s ok 382 /checksum/SHA1/10 834s ok 383 /checksum/SHA1/11 834s ok 384 /checksum/SHA1/12 834s ok 385 /checksum/SHA1/13 834s ok 386 /checksum/SHA1/14 834s ok 387 /checksum/SHA1/15 834s ok 388 /checksum/SHA1/16 834s ok 389 /checksum/SHA1/17 834s ok 390 /checksum/SHA1/18 834s ok 391 /checksum/SHA1/19 834s ok 392 /checksum/SHA1/20 834s ok 393 /checksum/SHA1/21 834s ok 394 /checksum/SHA1/22 834s ok 395 /checksum/SHA1/23 834s ok 396 /checksum/SHA1/24 834s ok 397 /checksum/SHA1/25 834s ok 398 /checksum/SHA1/26 834s ok 399 /checksum/SHA1/27 834s ok 400 /checksum/SHA1/28 834s ok 401 /checksum/SHA1/29 834s ok 402 /checksum/SHA1/30 834s ok 403 /checksum/SHA1/31 834s ok 404 /checksum/SHA1/32 834s ok 405 /checksum/SHA1/33 834s ok 406 /checksum/SHA1/34 834s ok 407 /checksum/SHA1/35 834s ok 408 /checksum/SHA1/36 834s ok 409 /checksum/SHA1/37 834s ok 410 /checksum/SHA1/38 834s ok 411 /checksum/SHA1/39 834s ok 412 /checksum/SHA1/40 834s ok 413 /checksum/SHA1/41 834s ok 414 /checksum/SHA1/42 834s ok 415 /checksum/SHA1/43 834s ok 416 /checksum/SHA1/44 834s ok 417 /checksum/SHA1/45 834s ok 418 /checksum/SHA1/46 834s ok 419 /checksum/SHA1/47 834s ok 420 /checksum/SHA1/48 834s ok 421 /checksum/SHA1/49 834s ok 422 /checksum/SHA1/50 834s ok 423 /checksum/SHA1/51 834s ok 424 /checksum/SHA1/52 834s ok 425 /checksum/SHA1/53 834s ok 426 /checksum/SHA1/54 834s ok 427 /checksum/SHA1/55 834s ok 428 /checksum/SHA1/56 834s ok 429 /checksum/SHA1/57 834s ok 430 /checksum/SHA1/58 834s ok 431 /checksum/SHA1/59 834s ok 432 /checksum/SHA1/60 834s ok 433 /checksum/SHA1/61 834s ok 434 /checksum/SHA1/62 834s ok 435 /checksum/SHA1/63 834s ok 436 /checksum/SHA1/64 834s ok 437 /checksum/SHA1/65 834s ok 438 /checksum/SHA1/66 834s ok 439 /checksum/SHA1/67 834s ok 440 /checksum/SHA1/68 834s ok 441 /checksum/SHA1/69 834s ok 442 /checksum/SHA1/70 834s ok 443 /checksum/SHA1/71 834s ok 444 /checksum/SHA1/72 834s ok 445 /checksum/SHA1/73 834s ok 446 /checksum/SHA1/74 834s ok 447 /checksum/SHA1/75 834s ok 448 /checksum/SHA1/76 834s ok 449 /checksum/SHA1/77 834s ok 450 /checksum/SHA1/78 834s ok 451 /checksum/SHA1/79 834s ok 452 /checksum/SHA1/80 834s ok 453 /checksum/SHA1/81 834s ok 454 /checksum/SHA1/82 834s ok 455 /checksum/SHA1/83 834s ok 456 /checksum/SHA1/84 834s ok 457 /checksum/SHA1/85 834s ok 458 /checksum/SHA1/86 834s ok 459 /checksum/SHA1/87 834s ok 460 /checksum/SHA1/88 834s ok 461 /checksum/SHA1/89 834s ok 462 /checksum/SHA1/90 834s ok 463 /checksum/SHA1/91 834s ok 464 /checksum/SHA1/92 834s ok 465 /checksum/SHA1/93 834s ok 466 /checksum/SHA1/94 834s ok 467 /checksum/SHA1/95 834s ok 468 /checksum/SHA1/96 834s ok 469 /checksum/SHA1/97 834s ok 470 /checksum/SHA1/98 834s ok 471 /checksum/SHA1/99 834s ok 472 /checksum/SHA1/100 834s ok 473 /checksum/SHA1/101 834s ok 474 /checksum/SHA1/102 834s ok 475 /checksum/SHA1/103 834s ok 476 /checksum/SHA1/104 834s ok 477 /checksum/SHA1/105 834s ok 478 /checksum/SHA1/106 834s ok 479 /checksum/SHA1/107 834s ok 480 /checksum/SHA1/108 834s ok 481 /checksum/SHA1/109 834s ok 482 /checksum/SHA1/110 834s ok 483 /checksum/SHA1/111 834s ok 484 /checksum/SHA1/112 834s ok 485 /checksum/SHA1/113 834s ok 486 /checksum/SHA1/114 834s ok 487 /checksum/SHA1/115 834s ok 488 /checksum/SHA1/116 834s ok 489 /checksum/SHA1/117 834s ok 490 /checksum/SHA1/118 834s ok 491 /checksum/SHA1/119 834s ok 492 /checksum/SHA1/120 834s ok 493 /checksum/SHA1/121 834s ok 494 /checksum/SHA1/122 834s ok 495 /checksum/SHA1/123 834s ok 496 /checksum/SHA1/124 834s ok 497 /checksum/SHA1/125 834s ok 498 /checksum/SHA1/126 834s ok 499 /checksum/SHA1/127 834s ok 500 /checksum/SHA1/128 834s ok 501 /checksum/SHA1/129 834s ok 502 /checksum/SHA1/130 834s ok 503 /checksum/SHA1/131 834s ok 504 /checksum/SHA1/132 834s ok 505 /checksum/SHA1/133 834s ok 506 /checksum/SHA1/134 834s ok 507 /checksum/SHA1/135 834s ok 508 /checksum/SHA1/136 834s ok 509 /checksum/SHA1/137 834s ok 510 /checksum/SHA1/138 834s ok 511 /checksum/SHA1/139 834s ok 512 /checksum/SHA1/140 834s ok 513 /checksum/SHA1/141 834s ok 514 /checksum/SHA1/142 834s ok 515 /checksum/SHA1/143 834s ok 516 /checksum/SHA1/144 834s ok 517 /checksum/SHA1/145 834s ok 518 /checksum/SHA1/146 834s ok 519 /checksum/SHA1/147 834s ok 520 /checksum/SHA1/148 834s ok 521 /checksum/SHA1/149 834s ok 522 /checksum/SHA1/150 834s ok 523 /checksum/SHA1/151 834s ok 524 /checksum/SHA1/152 834s ok 525 /checksum/SHA1/153 834s ok 526 /checksum/SHA1/154 834s ok 527 /checksum/SHA1/155 834s ok 528 /checksum/SHA1/156 834s ok 529 /checksum/SHA1/157 834s ok 530 /checksum/SHA1/158 834s ok 531 /checksum/SHA1/159 834s ok 532 /checksum/SHA1/160 834s ok 533 /checksum/SHA1/161 834s ok 534 /checksum/SHA1/162 834s ok 535 /checksum/SHA1/163 834s ok 536 /checksum/SHA1/164 834s ok 537 /checksum/SHA1/165 834s ok 538 /checksum/SHA1/166 834s ok 539 /checksum/SHA1/167 834s ok 540 /checksum/SHA1/168 834s ok 541 /checksum/SHA1/169 834s ok 542 /checksum/SHA1/170 834s ok 543 /checksum/SHA1/171 834s ok 544 /checksum/SHA1/172 834s ok 545 /checksum/SHA1/173 834s ok 546 /checksum/SHA1/174 834s ok 547 /checksum/SHA1/175 834s ok 548 /checksum/SHA1/176 834s ok 549 /checksum/SHA1/177 834s ok 550 /checksum/SHA1/178 834s ok 551 /checksum/SHA1/179 834s ok 552 /checksum/SHA1/180 834s ok 553 /checksum/SHA1/181 834s ok 554 /checksum/SHA1/182 834s ok 555 /checksum/SHA1/183 834s ok 556 /checksum/SHA1/string 834s ok 557 /checksum/SHA1/bytes 834s # Start of reset tests 834s ok 558 /checksum/SHA1/reset/0 834s ok 559 /checksum/SHA1/reset/1 834s ok 560 /checksum/SHA1/reset/2 834s ok 561 /checksum/SHA1/reset/3 834s ok 562 /checksum/SHA1/reset/4 834s ok 563 /checksum/SHA1/reset/5 834s ok 564 /checksum/SHA1/reset/6 834s ok 565 /checksum/SHA1/reset/7 834s ok 566 /checksum/SHA1/reset/8 834s ok 567 /checksum/SHA1/reset/9 834s ok 568 /checksum/SHA1/reset/10 834s ok 569 /checksum/SHA1/reset/11 834s ok 570 /checksum/SHA1/reset/12 834s ok 571 /checksum/SHA1/reset/13 834s ok 572 /checksum/SHA1/reset/14 834s ok 573 /checksum/SHA1/reset/15 834s ok 574 /checksum/SHA1/reset/16 834s ok 575 /checksum/SHA1/reset/17 834s ok 576 /checksum/SHA1/reset/18 834s ok 577 /checksum/SHA1/reset/19 834s ok 578 /checksum/SHA1/reset/20 834s ok 579 /checksum/SHA1/reset/21 834s ok 580 /checksum/SHA1/reset/22 834s ok 581 /checksum/SHA1/reset/23 834s ok 582 /checksum/SHA1/reset/24 834s ok 583 /checksum/SHA1/reset/25 834s ok 584 /checksum/SHA1/reset/26 834s ok 585 /checksum/SHA1/reset/27 834s ok 586 /checksum/SHA1/reset/28 834s ok 587 /checksum/SHA1/reset/29 834s ok 588 /checksum/SHA1/reset/30 834s ok 589 /checksum/SHA1/reset/31 834s ok 590 /checksum/SHA1/reset/32 834s ok 591 /checksum/SHA1/reset/33 834s ok 592 /checksum/SHA1/reset/34 834s ok 593 /checksum/SHA1/reset/35 834s ok 594 /checksum/SHA1/reset/36 834s ok 595 /checksum/SHA1/reset/37 834s ok 596 /checksum/SHA1/reset/38 834s ok 597 /checksum/SHA1/reset/39 834s ok 598 /checksum/SHA1/reset/40 834s ok 599 /checksum/SHA1/reset/41 834s ok 600 /checksum/SHA1/reset/42 834s ok 601 /checksum/SHA1/reset/43 834s ok 602 /checksum/SHA1/reset/44 834s ok 603 /checksum/SHA1/reset/45 834s ok 604 /checksum/SHA1/reset/46 834s ok 605 /checksum/SHA1/reset/47 834s ok 606 /checksum/SHA1/reset/48 834s ok 607 /checksum/SHA1/reset/49 834s ok 608 /checksum/SHA1/reset/50 834s ok 609 /checksum/SHA1/reset/51 834s ok 610 /checksum/SHA1/reset/52 834s ok 611 /checksum/SHA1/reset/53 834s ok 612 /checksum/SHA1/reset/54 834s ok 613 /checksum/SHA1/reset/55 834s ok 614 /checksum/SHA1/reset/56 834s ok 615 /checksum/SHA1/reset/57 834s ok 616 /checksum/SHA1/reset/58 834s ok 617 /checksum/SHA1/reset/59 834s ok 618 /checksum/SHA1/reset/60 834s ok 619 /checksum/SHA1/reset/61 834s ok 620 /checksum/SHA1/reset/62 834s ok 621 /checksum/SHA1/reset/63 834s ok 622 /checksum/SHA1/reset/64 834s ok 623 /checksum/SHA1/reset/65 834s ok 624 /checksum/SHA1/reset/66 834s ok 625 /checksum/SHA1/reset/67 834s ok 626 /checksum/SHA1/reset/68 834s ok 627 /checksum/SHA1/reset/69 834s ok 628 /checksum/SHA1/reset/70 834s ok 629 /checksum/SHA1/reset/71 834s ok 630 /checksum/SHA1/reset/72 834s ok 631 /checksum/SHA1/reset/73 834s ok 632 /checksum/SHA1/reset/74 834s ok 633 /checksum/SHA1/reset/75 834s ok 634 /checksum/SHA1/reset/76 834s ok 635 /checksum/SHA1/reset/77 834s ok 636 /checksum/SHA1/reset/78 834s ok 637 /checksum/SHA1/reset/79 834s ok 638 /checksum/SHA1/reset/80 834s ok 639 /checksum/SHA1/reset/81 834s ok 640 /checksum/SHA1/reset/82 834s ok 641 /checksum/SHA1/reset/83 834s ok 642 /checksum/SHA1/reset/84 834s ok 643 /checksum/SHA1/reset/85 834s ok 644 /checksum/SHA1/reset/86 834s ok 645 /checksum/SHA1/reset/87 834s ok 646 /checksum/SHA1/reset/88 834s ok 647 /checksum/SHA1/reset/89 834s ok 648 /checksum/SHA1/reset/90 834s ok 649 /checksum/SHA1/reset/91 834s ok 650 /checksum/SHA1/reset/92 834s ok 651 /checksum/SHA1/reset/93 834s ok 652 /checksum/SHA1/reset/94 834s ok 653 /checksum/SHA1/reset/95 834s ok 654 /checksum/SHA1/reset/96 834s ok 655 /checksum/SHA1/reset/97 834s ok 656 /checksum/SHA1/reset/98 834s ok 657 /checksum/SHA1/reset/99 834s ok 658 /checksum/SHA1/reset/100 834s ok 659 /checksum/SHA1/reset/101 834s ok 660 /checksum/SHA1/reset/102 834s ok 661 /checksum/SHA1/reset/103 834s ok 662 /checksum/SHA1/reset/104 834s ok 663 /checksum/SHA1/reset/105 834s ok 664 /checksum/SHA1/reset/106 834s ok 665 /checksum/SHA1/reset/107 834s ok 666 /checksum/SHA1/reset/108 834s ok 667 /checksum/SHA1/reset/109 834s ok 668 /checksum/SHA1/reset/110 834s ok 669 /checksum/SHA1/reset/111 834s ok 670 /checksum/SHA1/reset/112 834s ok 671 /checksum/SHA1/reset/113 834s ok 672 /checksum/SHA1/reset/114 834s ok 673 /checksum/SHA1/reset/115 834s ok 674 /checksum/SHA1/reset/116 834s ok 675 /checksum/SHA1/reset/117 834s ok 676 /checksum/SHA1/reset/118 834s ok 677 /checksum/SHA1/reset/119 834s ok 678 /checksum/SHA1/reset/120 834s ok 679 /checksum/SHA1/reset/121 834s ok 680 /checksum/SHA1/reset/122 834s ok 681 /checksum/SHA1/reset/123 834s ok 682 /checksum/SHA1/reset/124 834s ok 683 /checksum/SHA1/reset/125 834s ok 684 /checksum/SHA1/reset/126 834s ok 685 /checksum/SHA1/reset/127 834s ok 686 /checksum/SHA1/reset/128 834s ok 687 /checksum/SHA1/reset/129 834s ok 688 /checksum/SHA1/reset/130 834s ok 689 /checksum/SHA1/reset/131 834s ok 690 /checksum/SHA1/reset/132 834s ok 691 /checksum/SHA1/reset/133 834s ok 692 /checksum/SHA1/reset/134 834s ok 693 /checksum/SHA1/reset/135 834s ok 694 /checksum/SHA1/reset/136 834s ok 695 /checksum/SHA1/reset/137 834s ok 696 /checksum/SHA1/reset/138 834s ok 697 /checksum/SHA1/reset/139 834s ok 698 /checksum/SHA1/reset/140 834s ok 699 /checksum/SHA1/reset/141 834s ok 700 /checksum/SHA1/reset/142 834s ok 701 /checksum/SHA1/reset/143 834s ok 702 /checksum/SHA1/reset/144 834s ok 703 /checksum/SHA1/reset/145 834s ok 704 /checksum/SHA1/reset/146 834s ok 705 /checksum/SHA1/reset/147 834s ok 706 /checksum/SHA1/reset/148 834s ok 707 /checksum/SHA1/reset/149 834s ok 708 /checksum/SHA1/reset/150 834s ok 709 /checksum/SHA1/reset/151 834s ok 710 /checksum/SHA1/reset/152 834s ok 711 /checksum/SHA1/reset/153 834s ok 712 /checksum/SHA1/reset/154 834s ok 713 /checksum/SHA1/reset/155 834s ok 714 /checksum/SHA1/reset/156 834s ok 715 /checksum/SHA1/reset/157 834s ok 716 /checksum/SHA1/reset/158 834s ok 717 /checksum/SHA1/reset/159 834s ok 718 /checksum/SHA1/reset/160 834s ok 719 /checksum/SHA1/reset/161 834s ok 720 /checksum/SHA1/reset/162 834s ok 721 /checksum/SHA1/reset/163 834s ok 722 /checksum/SHA1/reset/164 834s ok 723 /checksum/SHA1/reset/165 834s ok 724 /checksum/SHA1/reset/166 834s ok 725 /checksum/SHA1/reset/167 834s ok 726 /checksum/SHA1/reset/168 834s ok 727 /checksum/SHA1/reset/169 834s ok 728 /checksum/SHA1/reset/170 834s ok 729 /checksum/SHA1/reset/171 834s ok 730 /checksum/SHA1/reset/172 834s ok 731 /checksum/SHA1/reset/173 834s ok 732 /checksum/SHA1/reset/174 834s ok 733 /checksum/SHA1/reset/175 834s ok 734 /checksum/SHA1/reset/176 834s ok 735 /checksum/SHA1/reset/177 834s ok 736 /checksum/SHA1/reset/178 834s ok 737 /checksum/SHA1/reset/179 834s ok 738 /checksum/SHA1/reset/180 834s ok 739 /checksum/SHA1/reset/181 834s ok 740 /checksum/SHA1/reset/182 834s ok 741 /checksum/SHA1/reset/183 834s # End of reset tests 834s # End of SHA1 tests 834s # Start of SHA256 tests 834s ok 742 /checksum/SHA256/0 834s ok 743 /checksum/SHA256/1 834s ok 744 /checksum/SHA256/2 834s ok 745 /checksum/SHA256/3 834s ok 746 /checksum/SHA256/4 834s ok 747 /checksum/SHA256/5 834s ok 748 /checksum/SHA256/6 834s ok 749 /checksum/SHA256/7 834s ok 750 /checksum/SHA256/8 834s ok 751 /checksum/SHA256/9 834s ok 752 /checksum/SHA256/10 834s ok 753 /checksum/SHA256/11 834s ok 754 /checksum/SHA256/12 834s ok 755 /checksum/SHA256/13 834s ok 756 /checksum/SHA256/14 834s ok 757 /checksum/SHA256/15 834s ok 758 /checksum/SHA256/16 834s ok 759 /checksum/SHA256/17 834s ok 760 /checksum/SHA256/18 834s ok 761 /checksum/SHA256/19 834s ok 762 /checksum/SHA256/20 834s ok 763 /checksum/SHA256/21 834s ok 764 /checksum/SHA256/22 834s ok 765 /checksum/SHA256/23 834s ok 766 /checksum/SHA256/24 834s ok 767 /checksum/SHA256/25 834s ok 768 /checksum/SHA256/26 834s ok 769 /checksum/SHA256/27 834s ok 770 /checksum/SHA256/28 834s ok 771 /checksum/SHA256/29 834s ok 772 /checksum/SHA256/30 834s ok 773 /checksum/SHA256/31 834s ok 774 /checksum/SHA256/32 834s ok 775 /checksum/SHA256/33 834s ok 776 /checksum/SHA256/34 834s ok 777 /checksum/SHA256/35 834s ok 778 /checksum/SHA256/36 834s ok 779 /checksum/SHA256/37 834s ok 780 /checksum/SHA256/38 834s ok 781 /checksum/SHA256/39 834s ok 782 /checksum/SHA256/40 834s ok 783 /checksum/SHA256/41 834s ok 784 /checksum/SHA256/42 834s ok 785 /checksum/SHA256/43 834s ok 786 /checksum/SHA256/44 834s ok 787 /checksum/SHA256/45 834s ok 788 /checksum/SHA256/46 834s ok 789 /checksum/SHA256/47 834s ok 790 /checksum/SHA256/48 834s ok 791 /checksum/SHA256/49 834s ok 792 /checksum/SHA256/50 834s ok 793 /checksum/SHA256/51 834s ok 794 /checksum/SHA256/52 834s ok 795 /checksum/SHA256/53 834s ok 796 /checksum/SHA256/54 834s ok 797 /checksum/SHA256/55 834s ok 798 /checksum/SHA256/56 834s ok 799 /checksum/SHA256/57 834s ok 800 /checksum/SHA256/58 834s ok 801 /checksum/SHA256/59 834s ok 802 /checksum/SHA256/60 834s ok 803 /checksum/SHA256/61 834s ok 804 /checksum/SHA256/62 834s ok 805 /checksum/SHA256/63 834s ok 806 /checksum/SHA256/64 834s ok 807 /checksum/SHA256/65 834s ok 808 /checksum/SHA256/66 834s ok 809 /checksum/SHA256/67 834s ok 810 /checksum/SHA256/68 834s ok 811 /checksum/SHA256/69 834s ok 812 /checksum/SHA256/70 834s ok 813 /checksum/SHA256/71 834s ok 814 /checksum/SHA256/72 834s ok 815 /checksum/SHA256/73 834s ok 816 /checksum/SHA256/74 834s ok 817 /checksum/SHA256/75 834s ok 818 /checksum/SHA256/76 834s ok 819 /checksum/SHA256/77 834s ok 820 /checksum/SHA256/78 834s ok 821 /checksum/SHA256/79 834s ok 822 /checksum/SHA256/80 834s ok 823 /checksum/SHA256/81 834s ok 824 /checksum/SHA256/82 834s ok 825 /checksum/SHA256/83 834s ok 826 /checksum/SHA256/84 834s ok 827 /checksum/SHA256/85 834s ok 828 /checksum/SHA256/86 834s ok 829 /checksum/SHA256/87 834s ok 830 /checksum/SHA256/88 834s ok 831 /checksum/SHA256/89 834s ok 832 /checksum/SHA256/90 834s ok 833 /checksum/SHA256/91 834s ok 834 /checksum/SHA256/92 834s ok 835 /checksum/SHA256/93 834s ok 836 /checksum/SHA256/94 834s ok 837 /checksum/SHA256/95 834s ok 838 /checksum/SHA256/96 834s ok 839 /checksum/SHA256/97 834s ok 840 /checksum/SHA256/98 834s ok 841 /checksum/SHA256/99 834s ok 842 /checksum/SHA256/100 834s ok 843 /checksum/SHA256/101 834s ok 844 /checksum/SHA256/102 834s ok 845 /checksum/SHA256/103 834s ok 846 /checksum/SHA256/104 834s ok 847 /checksum/SHA256/105 834s ok 848 /checksum/SHA256/106 834s ok 849 /checksum/SHA256/107 834s ok 850 /checksum/SHA256/108 834s ok 851 /checksum/SHA256/109 834s ok 852 /checksum/SHA256/110 834s ok 853 /checksum/SHA256/111 834s ok 854 /checksum/SHA256/112 834s ok 855 /checksum/SHA256/113 834s ok 856 /checksum/SHA256/114 834s ok 857 /checksum/SHA256/115 834s ok 858 /checksum/SHA256/116 834s ok 859 /checksum/SHA256/117 834s ok 860 /checksum/SHA256/118 834s ok 861 /checksum/SHA256/119 834s ok 862 /checksum/SHA256/120 834s ok 863 /checksum/SHA256/121 834s ok 864 /checksum/SHA256/122 834s ok 865 /checksum/SHA256/123 834s ok 866 /checksum/SHA256/124 834s ok 867 /checksum/SHA256/125 834s ok 868 /checksum/SHA256/126 834s ok 869 /checksum/SHA256/127 834s ok 870 /checksum/SHA256/128 834s ok 871 /checksum/SHA256/129 834s ok 872 /checksum/SHA256/130 834s ok 873 /checksum/SHA256/131 834s ok 874 /checksum/SHA256/132 834s ok 875 /checksum/SHA256/133 834s ok 876 /checksum/SHA256/134 834s ok 877 /checksum/SHA256/135 834s ok 878 /checksum/SHA256/136 834s ok 879 /checksum/SHA256/137 834s ok 880 /checksum/SHA256/138 834s ok 881 /checksum/SHA256/139 834s ok 882 /checksum/SHA256/140 834s ok 883 /checksum/SHA256/141 834s ok 884 /checksum/SHA256/142 834s ok 885 /checksum/SHA256/143 834s ok 886 /checksum/SHA256/144 834s ok 887 /checksum/SHA256/145 834s ok 888 /checksum/SHA256/146 834s ok 889 /checksum/SHA256/147 834s ok 890 /checksum/SHA256/148 834s ok 891 /checksum/SHA256/149 834s ok 892 /checksum/SHA256/150 834s ok 893 /checksum/SHA256/151 834s ok 894 /checksum/SHA256/152 834s ok 895 /checksum/SHA256/153 834s ok 896 /checksum/SHA256/154 834s ok 897 /checksum/SHA256/155 834s ok 898 /checksum/SHA256/156 834s ok 899 /checksum/SHA256/157 834s ok 900 /checksum/SHA256/158 834s ok 901 /checksum/SHA256/159 834s ok 902 /checksum/SHA256/160 834s ok 903 /checksum/SHA256/161 834s ok 904 /checksum/SHA256/162 834s ok 905 /checksum/SHA256/163 834s ok 906 /checksum/SHA256/164 834s ok 907 /checksum/SHA256/165 834s ok 908 /checksum/SHA256/166 834s ok 909 /checksum/SHA256/167 834s ok 910 /checksum/SHA256/168 834s ok 911 /checksum/SHA256/169 834s ok 912 /checksum/SHA256/170 834s ok 913 /checksum/SHA256/171 834s ok 914 /checksum/SHA256/172 834s ok 915 /checksum/SHA256/173 834s ok 916 /checksum/SHA256/174 834s ok 917 /checksum/SHA256/175 834s ok 918 /checksum/SHA256/176 834s ok 919 /checksum/SHA256/177 834s ok 920 /checksum/SHA256/178 834s ok 921 /checksum/SHA256/179 834s ok 922 /checksum/SHA256/180 834s ok 923 /checksum/SHA256/181 834s ok 924 /checksum/SHA256/182 834s ok 925 /checksum/SHA256/183 834s ok 926 /checksum/SHA256/string 834s ok 927 /checksum/SHA256/bytes 834s # Start of reset tests 834s ok 928 /checksum/SHA256/reset/0 834s ok 929 /checksum/SHA256/reset/1 834s ok 930 /checksum/SHA256/reset/2 834s ok 931 /checksum/SHA256/reset/3 834s ok 932 /checksum/SHA256/reset/4 834s ok 933 /checksum/SHA256/reset/5 834s ok 934 /checksum/SHA256/reset/6 834s ok 935 /checksum/SHA256/reset/7 834s ok 936 /checksum/SHA256/reset/8 834s ok 937 /checksum/SHA256/reset/9 834s ok 938 /checksum/SHA256/reset/10 834s ok 939 /checksum/SHA256/reset/11 834s ok 940 /checksum/SHA256/reset/12 834s ok 941 /checksum/SHA256/reset/13 834s ok 942 /checksum/SHA256/reset/14 834s ok 943 /checksum/SHA256/reset/15 834s ok 944 /checksum/SHA256/reset/16 834s ok 945 /checksum/SHA256/reset/17 834s ok 946 /checksum/SHA256/reset/18 834s ok 947 /checksum/SHA256/reset/19 834s ok 948 /checksum/SHA256/reset/20 834s ok 949 /checksum/SHA256/reset/21 834s ok 950 /checksum/SHA256/reset/22 834s ok 951 /checksum/SHA256/reset/23 834s ok 952 /checksum/SHA256/reset/24 834s ok 953 /checksum/SHA256/reset/25 834s ok 954 /checksum/SHA256/reset/26 834s ok 955 /checksum/SHA256/reset/27 834s ok 956 /checksum/SHA256/reset/28 834s ok 957 /checksum/SHA256/reset/29 834s ok 958 /checksum/SHA256/reset/30 834s ok 959 /checksum/SHA256/reset/31 834s ok 960 /checksum/SHA256/reset/32 834s ok 961 /checksum/SHA256/reset/33 834s ok 962 /checksum/SHA256/reset/34 834s ok 963 /checksum/SHA256/reset/35 834s ok 964 /checksum/SHA256/reset/36 834s ok 965 /checksum/SHA256/reset/37 834s ok 966 /checksum/SHA256/reset/38 834s ok 967 /checksum/SHA256/reset/39 834s ok 968 /checksum/SHA256/reset/40 834s ok 969 /checksum/SHA256/reset/41 834s ok 970 /checksum/SHA256/reset/42 834s ok 971 /checksum/SHA256/reset/43 834s ok 972 /checksum/SHA256/reset/44 834s ok 973 /checksum/SHA256/reset/45 834s ok 974 /checksum/SHA256/reset/46 834s ok 975 /checksum/SHA256/reset/47 834s ok 976 /checksum/SHA256/reset/48 834s ok 977 /checksum/SHA256/reset/49 834s ok 978 /checksum/SHA256/reset/50 834s ok 979 /checksum/SHA256/reset/51 834s ok 980 /checksum/SHA256/reset/52 834s ok 981 /checksum/SHA256/reset/53 834s ok 982 /checksum/SHA256/reset/54 834s ok 983 /checksum/SHA256/reset/55 834s ok 984 /checksum/SHA256/reset/56 834s ok 985 /checksum/SHA256/reset/57 834s ok 986 /checksum/SHA256/reset/58 834s ok 987 /checksum/SHA256/reset/59 834s ok 988 /checksum/SHA256/reset/60 834s ok 989 /checksum/SHA256/reset/61 834s ok 990 /checksum/SHA256/reset/62 834s ok 991 /checksum/SHA256/reset/63 834s ok 992 /checksum/SHA256/reset/64 834s ok 993 /checksum/SHA256/reset/65 834s ok 994 /checksum/SHA256/reset/66 834s ok 995 /checksum/SHA256/reset/67 834s ok 996 /checksum/SHA256/reset/68 834s ok 997 /checksum/SHA256/reset/69 834s ok 998 /checksum/SHA256/reset/70 834s ok 999 /checksum/SHA256/reset/71 834s ok 1000 /checksum/SHA256/reset/72 834s ok 1001 /checksum/SHA256/reset/73 834s ok 1002 /checksum/SHA256/reset/74 834s ok 1003 /checksum/SHA256/reset/75 834s ok 1004 /checksum/SHA256/reset/76 834s ok 1005 /checksum/SHA256/reset/77 834s ok 1006 /checksum/SHA256/reset/78 834s ok 1007 /checksum/SHA256/reset/79 834s ok 1008 /checksum/SHA256/reset/80 834s ok 1009 /checksum/SHA256/reset/81 834s ok 1010 /checksum/SHA256/reset/82 834s ok 1011 /checksum/SHA256/reset/83 834s ok 1012 /checksum/SHA256/reset/84 834s ok 1013 /checksum/SHA256/reset/85 834s ok 1014 /checksum/SHA256/reset/86 834s ok 1015 /checksum/SHA256/reset/87 834s ok 1016 /checksum/SHA256/reset/88 834s ok 1017 /checksum/SHA256/reset/89 834s ok 1018 /checksum/SHA256/reset/90 834s ok 1019 /checksum/SHA256/reset/91 834s ok 1020 /checksum/SHA256/reset/92 834s ok 1021 /checksum/SHA256/reset/93 834s ok 1022 /checksum/SHA256/reset/94 834s ok 1023 /checksum/SHA256/reset/95 834s ok 1024 /checksum/SHA256/reset/96 834s ok 1025 /checksum/SHA256/reset/97 834s ok 1026 /checksum/SHA256/reset/98 834s ok 1027 /checksum/SHA256/reset/99 834s ok 1028 /checksum/SHA256/reset/100 834s ok 1029 /checksum/SHA256/reset/101 834s ok 1030 /checksum/SHA256/reset/102 834s ok 1031 /checksum/SHA256/reset/103 834s ok 1032 /checksum/SHA256/reset/104 834s ok 1033 /checksum/SHA256/reset/105 834s ok 1034 /checksum/SHA256/reset/106 834s ok 1035 /checksum/SHA256/reset/107 834s ok 1036 /checksum/SHA256/reset/108 834s ok 1037 /checksum/SHA256/reset/109 834s ok 1038 /checksum/SHA256/reset/110 834s ok 1039 /checksum/SHA256/reset/111 834s ok 1040 /checksum/SHA256/reset/112 834s ok 1041 /checksum/SHA256/reset/113 834s ok 1042 /checksum/SHA256/reset/114 834s ok 1043 /checksum/SHA256/reset/115 834s ok 1044 /checksum/SHA256/reset/116 834s ok 1045 /checksum/SHA256/reset/117 834s ok 1046 /checksum/SHA256/reset/118 834s ok 1047 /checksum/SHA256/reset/119 834s ok 1048 /checksum/SHA256/reset/120 834s ok 1049 /checksum/SHA256/reset/121 834s ok 1050 /checksum/SHA256/reset/122 834s ok 1051 /checksum/SHA256/reset/123 834s ok 1052 /checksum/SHA256/reset/124 834s ok 1053 /checksum/SHA256/reset/125 834s ok 1054 /checksum/SHA256/reset/126 834s ok 1055 /checksum/SHA256/reset/127 834s ok 1056 /checksum/SHA256/reset/128 834s ok 1057 /checksum/SHA256/reset/129 834s ok 1058 /checksum/SHA256/reset/130 834s ok 1059 /checksum/SHA256/reset/131 834s ok 1060 /checksum/SHA256/reset/132 834s ok 1061 /checksum/SHA256/reset/133 834s ok 1062 /checksum/SHA256/reset/134 834s ok 1063 /checksum/SHA256/reset/135 834s ok 1064 /checksum/SHA256/reset/136 834s ok 1065 /checksum/SHA256/reset/137 834s ok 1066 /checksum/SHA256/reset/138 834s ok 1067 /checksum/SHA256/reset/139 834s ok 1068 /checksum/SHA256/reset/140 834s ok 1069 /checksum/SHA256/reset/141 834s ok 1070 /checksum/SHA256/reset/142 834s ok 1071 /checksum/SHA256/reset/143 834s ok 1072 /checksum/SHA256/reset/144 834s ok 1073 /checksum/SHA256/reset/145 834s ok 1074 /checksum/SHA256/reset/146 834s ok 1075 /checksum/SHA256/reset/147 834s ok 1076 /checksum/SHA256/reset/148 834s ok 1077 /checksum/SHA256/reset/149 834s ok 1078 /checksum/SHA256/reset/150 834s ok 1079 /checksum/SHA256/reset/151 834s ok 1080 /checksum/SHA256/reset/152 834s ok 1081 /checksum/SHA256/reset/153 834s ok 1082 /checksum/SHA256/reset/154 834s ok 1083 /checksum/SHA256/reset/155 834s ok 1084 /checksum/SHA256/reset/156 834s ok 1085 /checksum/SHA256/reset/157 834s ok 1086 /checksum/SHA256/reset/158 834s ok 1087 /checksum/SHA256/reset/159 834s ok 1088 /checksum/SHA256/reset/160 834s ok 1089 /checksum/SHA256/reset/161 834s ok 1090 /checksum/SHA256/reset/162 834s ok 1091 /checksum/SHA256/reset/163 834s ok 1092 /checksum/SHA256/reset/164 834s ok 1093 /checksum/SHA256/reset/165 834s ok 1094 /checksum/SHA256/reset/166 834s ok 1095 /checksum/SHA256/reset/167 834s ok 1096 /checksum/SHA256/reset/168 834s ok 1097 /checksum/SHA256/reset/169 834s ok 1098 /checksum/SHA256/reset/170 834s ok 1099 /checksum/SHA256/reset/171 834s ok 1100 /checksum/SHA256/reset/172 834s ok 1101 /checksum/SHA256/reset/173 834s ok 1102 /checksum/SHA256/reset/174 834s ok 1103 /checksum/SHA256/reset/175 834s ok 1104 /checksum/SHA256/reset/176 834s ok 1105 /checksum/SHA256/reset/177 834s ok 1106 /checksum/SHA256/reset/178 834s ok 1107 /checksum/SHA256/reset/179 834s ok 1108 /checksum/SHA256/reset/180 834s ok 1109 /checksum/SHA256/reset/181 834s ok 1110 /checksum/SHA256/reset/182 834s ok 1111 /checksum/SHA256/reset/183 834s # End of reset tests 834s # End of SHA256 tests 834s # Start of SHA384 tests 834s ok 1112 /checksum/SHA384/0 834s ok 1113 /checksum/SHA384/1 834s ok 1114 /checksum/SHA384/2 834s ok 1115 /checksum/SHA384/3 834s ok 1116 /checksum/SHA384/4 834s ok 1117 /checksum/SHA384/5 834s ok 1118 /checksum/SHA384/6 834s ok 1119 /checksum/SHA384/7 834s ok 1120 /checksum/SHA384/8 834s ok 1121 /checksum/SHA384/9 834s ok 1122 /checksum/SHA384/10 834s ok 1123 /checksum/SHA384/11 834s ok 1124 /checksum/SHA384/12 834s ok 1125 /checksum/SHA384/13 834s ok 1126 /checksum/SHA384/14 834s ok 1127 /checksum/SHA384/15 834s ok 1128 /checksum/SHA384/16 834s ok 1129 /checksum/SHA384/17 834s ok 1130 /checksum/SHA384/18 834s ok 1131 /checksum/SHA384/19 834s ok 1132 /checksum/SHA384/20 834s ok 1133 /checksum/SHA384/21 834s ok 1134 /checksum/SHA384/22 834s ok 1135 /checksum/SHA384/23 834s ok 1136 /checksum/SHA384/24 834s ok 1137 /checksum/SHA384/25 834s ok 1138 /checksum/SHA384/26 834s ok 1139 /checksum/SHA384/27 834s ok 1140 /checksum/SHA384/28 834s ok 1141 /checksum/SHA384/29 834s ok 1142 /checksum/SHA384/30 834s ok 1143 /checksum/SHA384/31 834s ok 1144 /checksum/SHA384/32 834s ok 1145 /checksum/SHA384/33 834s ok 1146 /checksum/SHA384/34 834s ok 1147 /checksum/SHA384/35 834s ok 1148 /checksum/SHA384/36 834s ok 1149 /checksum/SHA384/37 834s ok 1150 /checksum/SHA384/38 834s ok 1151 /checksum/SHA384/39 834s ok 1152 /checksum/SHA384/40 834s ok 1153 /checksum/SHA384/41 834s ok 1154 /checksum/SHA384/42 834s ok 1155 /checksum/SHA384/43 834s ok 1156 /checksum/SHA384/44 834s ok 1157 /checksum/SHA384/45 834s ok 1158 /checksum/SHA384/46 834s ok 1159 /checksum/SHA384/47 834s ok 1160 /checksum/SHA384/48 834s ok 1161 /checksum/SHA384/49 834s ok 1162 /checksum/SHA384/50 834s ok 1163 /checksum/SHA384/51 834s ok 1164 /checksum/SHA384/52 834s ok 1165 /checksum/SHA384/53 834s ok 1166 /checksum/SHA384/54 834s ok 1167 /checksum/SHA384/55 834s ok 1168 /checksum/SHA384/56 834s ok 1169 /checksum/SHA384/57 834s ok 1170 /checksum/SHA384/58 834s ok 1171 /checksum/SHA384/59 834s ok 1172 /checksum/SHA384/60 834s ok 1173 /checksum/SHA384/61 834s ok 1174 /checksum/SHA384/62 834s ok 1175 /checksum/SHA384/63 834s ok 1176 /checksum/SHA384/64 834s ok 1177 /checksum/SHA384/65 834s ok 1178 /checksum/SHA384/66 834s ok 1179 /checksum/SHA384/67 834s ok 1180 /checksum/SHA384/68 834s ok 1181 /checksum/SHA384/69 834s ok 1182 /checksum/SHA384/70 834s ok 1183 /checksum/SHA384/71 834s ok 1184 /checksum/SHA384/72 834s ok 1185 /checksum/SHA384/73 834s ok 1186 /checksum/SHA384/74 834s ok 1187 /checksum/SHA384/75 834s ok 1188 /checksum/SHA384/76 834s ok 1189 /checksum/SHA384/77 834s ok 1190 /checksum/SHA384/78 834s ok 1191 /checksum/SHA384/79 834s ok 1192 /checksum/SHA384/80 834s ok 1193 /checksum/SHA384/81 834s ok 1194 /checksum/SHA384/82 834s ok 1195 /checksum/SHA384/83 834s ok 1196 /checksum/SHA384/84 834s ok 1197 /checksum/SHA384/85 834s ok 1198 /checksum/SHA384/86 834s ok 1199 /checksum/SHA384/87 834s ok 1200 /checksum/SHA384/88 834s ok 1201 /checksum/SHA384/89 834s ok 1202 /checksum/SHA384/90 834s ok 1203 /checksum/SHA384/91 834s ok 1204 /checksum/SHA384/92 834s ok 1205 /checksum/SHA384/93 834s ok 1206 /checksum/SHA384/94 834s ok 1207 /checksum/SHA384/95 834s ok 1208 /checksum/SHA384/96 834s ok 1209 /checksum/SHA384/97 834s ok 1210 /checksum/SHA384/98 834s ok 1211 /checksum/SHA384/99 834s ok 1212 /checksum/SHA384/100 834s ok 1213 /checksum/SHA384/101 834s ok 1214 /checksum/SHA384/102 834s ok 1215 /checksum/SHA384/103 834s ok 1216 /checksum/SHA384/104 834s ok 1217 /checksum/SHA384/105 834s ok 1218 /checksum/SHA384/106 834s ok 1219 /checksum/SHA384/107 834s ok 1220 /checksum/SHA384/108 834s ok 1221 /checksum/SHA384/109 834s ok 1222 /checksum/SHA384/110 834s ok 1223 /checksum/SHA384/111 834s ok 1224 /checksum/SHA384/112 834s ok 1225 /checksum/SHA384/113 834s ok 1226 /checksum/SHA384/114 834s ok 1227 /checksum/SHA384/115 834s ok 1228 /checksum/SHA384/116 834s ok 1229 /checksum/SHA384/117 834s ok 1230 /checksum/SHA384/118 834s ok 1231 /checksum/SHA384/119 834s ok 1232 /checksum/SHA384/120 834s ok 1233 /checksum/SHA384/121 834s ok 1234 /checksum/SHA384/122 834s ok 1235 /checksum/SHA384/123 834s ok 1236 /checksum/SHA384/124 834s ok 1237 /checksum/SHA384/125 834s ok 1238 /checksum/SHA384/126 834s ok 1239 /checksum/SHA384/127 834s ok 1240 /checksum/SHA384/128 834s ok 1241 /checksum/SHA384/129 834s ok 1242 /checksum/SHA384/130 834s ok 1243 /checksum/SHA384/131 834s ok 1244 /checksum/SHA384/132 834s ok 1245 /checksum/SHA384/133 834s ok 1246 /checksum/SHA384/134 834s ok 1247 /checksum/SHA384/135 834s ok 1248 /checksum/SHA384/136 834s ok 1249 /checksum/SHA384/137 834s ok 1250 /checksum/SHA384/138 834s ok 1251 /checksum/SHA384/139 834s ok 1252 /checksum/SHA384/140 834s ok 1253 /checksum/SHA384/141 834s ok 1254 /checksum/SHA384/142 834s ok 1255 /checksum/SHA384/143 834s ok 1256 /checksum/SHA384/144 834s ok 1257 /checksum/SHA384/145 834s ok 1258 /checksum/SHA384/146 834s ok 1259 /checksum/SHA384/147 834s ok 1260 /checksum/SHA384/148 834s ok 1261 /checksum/SHA384/149 834s ok 1262 /checksum/SHA384/150 834s ok 1263 /checksum/SHA384/151 834s ok 1264 /checksum/SHA384/152 834s ok 1265 /checksum/SHA384/153 834s ok 1266 /checksum/SHA384/154 834s ok 1267 /checksum/SHA384/155 834s ok 1268 /checksum/SHA384/156 834s ok 1269 /checksum/SHA384/157 834s ok 1270 /checksum/SHA384/158 834s ok 1271 /checksum/SHA384/159 834s ok 1272 /checksum/SHA384/160 834s ok 1273 /checksum/SHA384/161 834s ok 1274 /checksum/SHA384/162 834s ok 1275 /checksum/SHA384/163 834s ok 1276 /checksum/SHA384/164 834s ok 1277 /checksum/SHA384/165 834s ok 1278 /checksum/SHA384/166 834s ok 1279 /checksum/SHA384/167 834s ok 1280 /checksum/SHA384/168 834s ok 1281 /checksum/SHA384/169 834s ok 1282 /checksum/SHA384/170 834s ok 1283 /checksum/SHA384/171 834s ok 1284 /checksum/SHA384/172 834s ok 1285 /checksum/SHA384/173 834s ok 1286 /checksum/SHA384/174 834s ok 1287 /checksum/SHA384/175 834s ok 1288 /checksum/SHA384/176 834s ok 1289 /checksum/SHA384/177 834s ok 1290 /checksum/SHA384/178 834s ok 1291 /checksum/SHA384/179 834s ok 1292 /checksum/SHA384/180 834s ok 1293 /checksum/SHA384/181 834s ok 1294 /checksum/SHA384/182 834s ok 1295 /checksum/SHA384/183 834s ok 1296 /checksum/SHA384/string 834s ok 1297 /checksum/SHA384/bytes 834s # Start of reset tests 834s ok 1298 /checksum/SHA384/reset/0 834s ok 1299 /checksum/SHA384/reset/1 834s ok 1300 /checksum/SHA384/reset/2 834s ok 1301 /checksum/SHA384/reset/3 834s ok 1302 /checksum/SHA384/reset/4 834s ok 1303 /checksum/SHA384/reset/5 834s ok 1304 /checksum/SHA384/reset/6 834s ok 1305 /checksum/SHA384/reset/7 834s ok 1306 /checksum/SHA384/reset/8 834s ok 1307 /checksum/SHA384/reset/9 834s ok 1308 /checksum/SHA384/reset/10 834s ok 1309 /checksum/SHA384/reset/11 834s ok 1310 /checksum/SHA384/reset/12 834s ok 1311 /checksum/SHA384/reset/13 834s ok 1312 /checksum/SHA384/reset/14 834s ok 1313 /checksum/SHA384/reset/15 834s ok 1314 /checksum/SHA384/reset/16 834s ok 1315 /checksum/SHA384/reset/17 834s ok 1316 /checksum/SHA384/reset/18 834s ok 1317 /checksum/SHA384/reset/19 834s ok 1318 /checksum/SHA384/reset/20 834s ok 1319 /checksum/SHA384/reset/21 834s ok 1320 /checksum/SHA384/reset/22 834s ok 1321 /checksum/SHA384/reset/23 834s ok 1322 /checksum/SHA384/reset/24 834s ok 1323 /checksum/SHA384/reset/25 834s ok 1324 /checksum/SHA384/reset/26 834s ok 1325 /checksum/SHA384/reset/27 834s ok 1326 /checksum/SHA384/reset/28 834s ok 1327 /checksum/SHA384/reset/29 834s ok 1328 /checksum/SHA384/reset/30 834s ok 1329 /checksum/SHA384/reset/31 834s ok 1330 /checksum/SHA384/reset/32 834s ok 1331 /checksum/SHA384/reset/33 834s ok 1332 /checksum/SHA384/reset/34 834s ok 1333 /checksum/SHA384/reset/35 834s ok 1334 /checksum/SHA384/reset/36 834s ok 1335 /checksum/SHA384/reset/37 834s ok 1336 /checksum/SHA384/reset/38 834s ok 1337 /checksum/SHA384/reset/39 834s ok 1338 /checksum/SHA384/reset/40 834s ok 1339 /checksum/SHA384/reset/41 834s ok 1340 /checksum/SHA384/reset/42 834s ok 1341 /checksum/SHA384/reset/43 834s ok 1342 /checksum/SHA384/reset/44 834s ok 1343 /checksum/SHA384/reset/45 834s ok 1344 /checksum/SHA384/reset/46 834s ok 1345 /checksum/SHA384/reset/47 834s ok 1346 /checksum/SHA384/reset/48 834s ok 1347 /checksum/SHA384/reset/49 834s ok 1348 /checksum/SHA384/reset/50 834s ok 1349 /checksum/SHA384/reset/51 834s ok 1350 /checksum/SHA384/reset/52 834s ok 1351 /checksum/SHA384/reset/53 834s ok 1352 /checksum/SHA384/reset/54 834s ok 1353 /checksum/SHA384/reset/55 834s ok 1354 /checksum/SHA384/reset/56 834s ok 1355 /checksum/SHA384/reset/57 834s ok 1356 /checksum/SHA384/reset/58 834s ok 1357 /checksum/SHA384/reset/59 834s ok 1358 /checksum/SHA384/reset/60 834s ok 1359 /checksum/SHA384/reset/61 834s ok 1360 /checksum/SHA384/reset/62 834s ok 1361 /checksum/SHA384/reset/63 834s ok 1362 /checksum/SHA384/reset/64 834s ok 1363 /checksum/SHA384/reset/65 834s ok 1364 /checksum/SHA384/reset/66 834s ok 1365 /checksum/SHA384/reset/67 834s ok 1366 /checksum/SHA384/reset/68 834s ok 1367 /checksum/SHA384/reset/69 834s ok 1368 /checksum/SHA384/reset/70 834s ok 1369 /checksum/SHA384/reset/71 834s ok 1370 /checksum/SHA384/reset/72 834s ok 1371 /checksum/SHA384/reset/73 834s ok 1372 /checksum/SHA384/reset/74 834s ok 1373 /checksum/SHA384/reset/75 834s ok 1374 /checksum/SHA384/reset/76 834s ok 1375 /checksum/SHA384/reset/77 834s ok 1376 /checksum/SHA384/reset/78 834s ok 1377 /checksum/SHA384/reset/79 834s ok 1378 /checksum/SHA384/reset/80 834s ok 1379 /checksum/SHA384/reset/81 834s ok 1380 /checksum/SHA384/reset/82 834s ok 1381 /checksum/SHA384/reset/83 834s ok 1382 /checksum/SHA384/reset/84 834s ok 1383 /checksum/SHA384/reset/85 834s ok 1384 /checksum/SHA384/reset/86 834s ok 1385 /checksum/SHA384/reset/87 834s ok 1386 /checksum/SHA384/reset/88 834s ok 1387 /checksum/SHA384/reset/89 834s ok 1388 /checksum/SHA384/reset/90 834s ok 1389 /checksum/SHA384/reset/91 834s ok 1390 /checksum/SHA384/reset/92 834s ok 1391 /checksum/SHA384/reset/93 834s ok 1392 /checksum/SHA384/reset/94 834s ok 1393 /checksum/SHA384/reset/95 834s ok 1394 /checksum/SHA384/reset/96 834s ok 1395 /checksum/SHA384/reset/97 834s ok 1396 /checksum/SHA384/reset/98 834s ok 1397 /checksum/SHA384/reset/99 834s ok 1398 /checksum/SHA384/reset/100 834s ok 1399 /checksum/SHA384/reset/101 834s ok 1400 /checksum/SHA384/reset/102 834s ok 1401 /checksum/SHA384/reset/103 834s ok 1402 /checksum/SHA384/reset/104 834s ok 1403 /checksum/SHA384/reset/105 834s ok 1404 /checksum/SHA384/reset/106 834s ok 1405 /checksum/SHA384/reset/107 834s ok 1406 /checksum/SHA384/reset/108 834s ok 1407 /checksum/SHA384/reset/109 834s ok 1408 /checksum/SHA384/reset/110 834s ok 1409 /checksum/SHA384/reset/111 834s ok 1410 /checksum/SHA384/reset/112 834s ok 1411 /checksum/SHA384/reset/113 834s ok 1412 /checksum/SHA384/reset/114 834s ok 1413 /checksum/SHA384/reset/115 834s ok 1414 /checksum/SHA384/reset/116 834s ok 1415 /checksum/SHA384/reset/117 834s ok 1416 /checksum/SHA384/reset/118 834s ok 1417 /checksum/SHA384/reset/119 834s ok 1418 /checksum/SHA384/reset/120 834s ok 1419 /checksum/SHA384/reset/121 834s ok 1420 /checksum/SHA384/reset/122 834s ok 1421 /checksum/SHA384/reset/123 834s ok 1422 /checksum/SHA384/reset/124 834s ok 1423 /checksum/SHA384/reset/125 834s ok 1424 /checksum/SHA384/reset/126 834s ok 1425 /checksum/SHA384/reset/127 834s ok 1426 /checksum/SHA384/reset/128 834s ok 1427 /checksum/SHA384/reset/129 834s ok 1428 /checksum/SHA384/reset/130 834s ok 1429 /checksum/SHA384/reset/131 834s ok 1430 /checksum/SHA384/reset/132 834s ok 1431 /checksum/SHA384/reset/133 834s ok 1432 /checksum/SHA384/reset/134 834s ok 1433 /checksum/SHA384/reset/135 834s ok 1434 /checksum/SHA384/reset/136 834s ok 1435 /checksum/SHA384/reset/137 834s ok 1436 /checksum/SHA384/reset/138 834s ok 1437 /checksum/SHA384/reset/139 834s ok 1438 /checksum/SHA384/reset/140 834s ok 1439 /checksum/SHA384/reset/141 834s ok 1440 /checksum/SHA384/reset/142 834s ok 1441 /checksum/SHA384/reset/143 834s ok 1442 /checksum/SHA384/reset/144 834s ok 1443 /checksum/SHA384/reset/145 834s ok 1444 /checksum/SHA384/reset/146 834s ok 1445 /checksum/SHA384/reset/147 834s ok 1446 /checksum/SHA384/reset/148 834s ok 1447 /checksum/SHA384/reset/149 834s ok 1448 /checksum/SHA384/reset/150 834s ok 1449 /checksum/SHA384/reset/151 834s ok 1450 /checksum/SHA384/reset/152 834s ok 1451 /checksum/SHA384/reset/153 834s ok 1452 /checksum/SHA384/reset/154 834s ok 1453 /checksum/SHA384/reset/155 834s ok 1454 /checksum/SHA384/reset/156 834s ok 1455 /checksum/SHA384/reset/157 834s ok 1456 /checksum/SHA384/reset/158 834s ok 1457 /checksum/SHA384/reset/159 834s ok 1458 /checksum/SHA384/reset/160 834s ok 1459 /checksum/SHA384/reset/161 834s ok 1460 /checksum/SHA384/reset/162 834s ok 1461 /checksum/SHA384/reset/163 834s ok 1462 /checksum/SHA384/reset/164 834s ok 1463 /checksum/SHA384/reset/165 834s ok 1464 /checksum/SHA384/reset/166 834s ok 1465 /checksum/SHA384/reset/167 834s ok 1466 /checksum/SHA384/reset/168 834s ok 1467 /checksum/SHA384/reset/169 834s ok 1468 /checksum/SHA384/reset/170 834s ok 1469 /checksum/SHA384/reset/171 834s ok 1470 /checksum/SHA384/reset/172 834s ok 1471 /checksum/SHA384/reset/173 834s ok 1472 /checksum/SHA384/reset/174 834s ok 1473 /checksum/SHA384/reset/175 834s ok 1474 /checksum/SHA384/reset/176 834s ok 1475 /checksum/SHA384/reset/177 834s ok 1476 /checksum/SHA384/reset/178 834s ok 1477 /checksum/SHA384/reset/179 834s ok 1478 /checksum/SHA384/reset/180 834s ok 1479 /checksum/SHA384/reset/181 834s ok 1480 /checksum/SHA384/reset/182 834s ok 1481 /checksum/SHA384/reset/183 834s # End of reset tests 834s # End of SHA384 tests 834s # Start of SHA512 tests 834s ok 1482 /checksum/SHA512/0 834s ok 1483 /checksum/SHA512/1 834s ok 1484 /checksum/SHA512/2 834s ok 1485 /checksum/SHA512/3 834s ok 1486 /checksum/SHA512/4 834s ok 1487 /checksum/SHA512/5 834s ok 1488 /checksum/SHA512/6 834s ok 1489 /checksum/SHA512/7 834s ok 1490 /checksum/SHA512/8 834s ok 1491 /checksum/SHA512/9 834s ok 1492 /checksum/SHA512/10 834s ok 1493 /checksum/SHA512/11 834s ok 1494 /checksum/SHA512/12 834s ok 1495 /checksum/SHA512/13 834s ok 1496 /checksum/SHA512/14 834s ok 1497 /checksum/SHA512/15 834s ok 1498 /checksum/SHA512/16 834s ok 1499 /checksum/SHA512/17 834s ok 1500 /checksum/SHA512/18 834s ok 1501 /checksum/SHA512/19 834s ok 1502 /checksum/SHA512/20 834s ok 1503 /checksum/SHA512/21 834s ok 1504 /checksum/SHA512/22 834s ok 1505 /checksum/SHA512/23 834s ok 1506 /checksum/SHA512/24 834s ok 1507 /checksum/SHA512/25 834s ok 1508 /checksum/SHA512/26 834s ok 1509 /checksum/SHA512/27 834s ok 1510 /checksum/SHA512/28 834s ok 1511 /checksum/SHA512/29 834s ok 1512 /checksum/SHA512/30 834s ok 1513 /checksum/SHA512/31 834s ok 1514 /checksum/SHA512/32 834s ok 1515 /checksum/SHA512/33 834s ok 1516 /checksum/SHA512/34 834s ok 1517 /checksum/SHA512/35 834s ok 1518 /checksum/SHA512/36 834s ok 1519 /checksum/SHA512/37 834s ok 1520 /checksum/SHA512/38 834s ok 1521 /checksum/SHA512/39 834s ok 1522 /checksum/SHA512/40 834s ok 1523 /checksum/SHA512/41 834s ok 1524 /checksum/SHA512/42 834s ok 1525 /checksum/SHA512/43 834s ok 1526 /checksum/SHA512/44 834s ok 1527 /checksum/SHA512/45 834s ok 1528 /checksum/SHA512/46 834s ok 1529 /checksum/SHA512/47 834s ok 1530 /checksum/SHA512/48 834s ok 1531 /checksum/SHA512/49 834s ok 1532 /checksum/SHA512/50 834s ok 1533 /checksum/SHA512/51 834s ok 1534 /checksum/SHA512/52 834s ok 1535 /checksum/SHA512/53 834s ok 1536 /checksum/SHA512/54 834s ok 1537 /checksum/SHA512/55 834s ok 1538 /checksum/SHA512/56 834s ok 1539 /checksum/SHA512/57 834s ok 1540 /checksum/SHA512/58 834s ok 1541 /checksum/SHA512/59 834s ok 1542 /checksum/SHA512/60 834s ok 1543 /checksum/SHA512/61 834s ok 1544 /checksum/SHA512/62 834s ok 1545 /checksum/SHA512/63 834s ok 1546 /checksum/SHA512/64 834s ok 1547 /checksum/SHA512/65 834s ok 1548 /checksum/SHA512/66 834s ok 1549 /checksum/SHA512/67 834s ok 1550 /checksum/SHA512/68 834s ok 1551 /checksum/SHA512/69 834s ok 1552 /checksum/SHA512/70 834s ok 1553 /checksum/SHA512/71 834s ok 1554 /checksum/SHA512/72 834s ok 1555 /checksum/SHA512/73 834s ok 1556 /checksum/SHA512/74 834s ok 1557 /checksum/SHA512/75 834s ok 1558 /checksum/SHA512/76 834s ok 1559 /checksum/SHA512/77 834s ok 1560 /checksum/SHA512/78 834s ok 1561 /checksum/SHA512/79 834s ok 1562 /checksum/SHA512/80 834s ok 1563 /checksum/SHA512/81 834s ok 1564 /checksum/SHA512/82 834s ok 1565 /checksum/SHA512/83 834s ok 1566 /checksum/SHA512/84 834s ok 1567 /checksum/SHA512/85 834s ok 1568 /checksum/SHA512/86 834s ok 1569 /checksum/SHA512/87 834s ok 1570 /checksum/SHA512/88 834s ok 1571 /checksum/SHA512/89 834s ok 1572 /checksum/SHA512/90 834s ok 1573 /checksum/SHA512/91 834s ok 1574 /checksum/SHA512/92 834s ok 1575 /checksum/SHA512/93 834s ok 1576 /checksum/SHA512/94 834s ok 1577 /checksum/SHA512/95 834s ok 1578 /checksum/SHA512/96 834s ok 1579 /checksum/SHA512/97 834s ok 1580 /checksum/SHA512/98 834s ok 1581 /checksum/SHA512/99 834s ok 1582 /checksum/SHA512/100 834s ok 1583 /checksum/SHA512/101 834s ok 1584 /checksum/SHA512/102 834s ok 1585 /checksum/SHA512/103 834s ok 1586 /checksum/SHA512/104 834s ok 1587 /checksum/SHA512/105 834s ok 1588 /checksum/SHA512/106 834s ok 1589 /checksum/SHA512/107 834s ok 1590 /checksum/SHA512/108 834s ok 1591 /checksum/SHA512/109 834s ok 1592 /checksum/SHA512/110 834s ok 1593 /checksum/SHA512/111 834s ok 1594 /checksum/SHA512/112 834s ok 1595 /checksum/SHA512/113 834s ok 1596 /checksum/SHA512/114 834s ok 1597 /checksum/SHA512/115 834s ok 1598 /checksum/SHA512/116 834s ok 1599 /checksum/SHA512/117 834s ok 1600 /checksum/SHA512/118 834s ok 1601 /checksum/SHA512/119 834s ok 1602 /checksum/SHA512/120 834s ok 1603 /checksum/SHA512/121 834s ok 1604 /checksum/SHA512/122 834s ok 1605 /checksum/SHA512/123 834s ok 1606 /checksum/SHA512/124 834s ok 1607 /checksum/SHA512/125 834s ok 1608 /checksum/SHA512/126 834s ok 1609 /checksum/SHA512/127 834s ok 1610 /checksum/SHA512/128 834s ok 1611 /checksum/SHA512/129 834s ok 1612 /checksum/SHA512/130 834s ok 1613 /checksum/SHA512/131 834s ok 1614 /checksum/SHA512/132 834s ok 1615 /checksum/SHA512/133 834s ok 1616 /checksum/SHA512/134 834s ok 1617 /checksum/SHA512/135 834s ok 1618 /checksum/SHA512/136 834s ok 1619 /checksum/SHA512/137 834s ok 1620 /checksum/SHA512/138 834s ok 1621 /checksum/SHA512/139 834s ok 1622 /checksum/SHA512/140 834s ok 1623 /checksum/SHA512/141 834s ok 1624 /checksum/SHA512/142 834s ok 1625 /checksum/SHA512/143 834s ok 1626 /checksum/SHA512/144 834s ok 1627 /checksum/SHA512/145 834s ok 1628 /checksum/SHA512/146 834s ok 1629 /checksum/SHA512/147 834s ok 1630 /checksum/SHA512/148 834s ok 1631 /checksum/SHA512/149 834s ok 1632 /checksum/SHA512/150 834s ok 1633 /checksum/SHA512/151 834s ok 1634 /checksum/SHA512/152 834s ok 1635 /checksum/SHA512/153 834s ok 1636 /checksum/SHA512/154 834s ok 1637 /checksum/SHA512/155 834s ok 1638 /checksum/SHA512/156 834s ok 1639 /checksum/SHA512/157 834s ok 1640 /checksum/SHA512/158 834s ok 1641 /checksum/SHA512/159 834s ok 1642 /checksum/SHA512/160 834s ok 1643 /checksum/SHA512/161 834s ok 1644 /checksum/SHA512/162 834s ok 1645 /checksum/SHA512/163 834s ok 1646 /checksum/SHA512/164 834s ok 1647 /checksum/SHA512/165 834s ok 1648 /checksum/SHA512/166 834s ok 1649 /checksum/SHA512/167 834s ok 1650 /checksum/SHA512/168 834s ok 1651 /checksum/SHA512/169 834s ok 1652 /checksum/SHA512/170 834s ok 1653 /checksum/SHA512/171 834s ok 1654 /checksum/SHA512/172 834s ok 1655 /checksum/SHA512/173 834s ok 1656 /checksum/SHA512/174 834s ok 1657 /checksum/SHA512/175 834s ok 1658 /checksum/SHA512/176 834s ok 1659 /checksum/SHA512/177 834s ok 1660 /checksum/SHA512/178 834s ok 1661 /checksum/SHA512/179 834s ok 1662 /checksum/SHA512/180 834s ok 1663 /checksum/SHA512/181 834s ok 1664 /checksum/SHA512/182 834s ok 1665 /checksum/SHA512/183 834s ok 1666 /checksum/SHA512/string 834s ok 1667 /checksum/SHA512/bytes 834s # Start of reset tests 834s ok 1668 /checksum/SHA512/reset/0 834s ok 1669 /checksum/SHA512/reset/1 834s ok 1670 /checksum/SHA512/reset/2 834s ok 1671 /checksum/SHA512/reset/3 834s ok 1672 /checksum/SHA512/reset/4 834s ok 1673 /checksum/SHA512/reset/5 834s ok 1674 /checksum/SHA512/reset/6 834s ok 1675 /checksum/SHA512/reset/7 834s ok 1676 /checksum/SHA512/reset/8 834s ok 1677 /checksum/SHA512/reset/9 834s ok 1678 /checksum/SHA512/reset/10 834s ok 1679 /checksum/SHA512/reset/11 834s ok 1680 /checksum/SHA512/reset/12 834s ok 1681 /checksum/SHA512/reset/13 834s ok 1682 /checksum/SHA512/reset/14 834s ok 1683 /checksum/SHA512/reset/15 834s ok 1684 /checksum/SHA512/reset/16 834s ok 1685 /checksum/SHA512/reset/17 834s ok 1686 /checksum/SHA512/reset/18 834s ok 1687 /checksum/SHA512/reset/19 834s ok 1688 /checksum/SHA512/reset/20 834s ok 1689 /checksum/SHA512/reset/21 834s ok 1690 /checksum/SHA512/reset/22 834s ok 1691 /checksum/SHA512/reset/23 834s ok 1692 /checksum/SHA512/reset/24 834s ok 1693 /checksum/SHA512/reset/25 834s ok 1694 /checksum/SHA512/reset/26 834s ok 1695 /checksum/SHA512/reset/27 834s ok 1696 /checksum/SHA512/reset/28 834s ok 1697 /checksum/SHA512/reset/29 834s ok 1698 /checksum/SHA512/reset/30 834s ok 1699 /checksum/SHA512/reset/31 834s ok 1700 /checksum/SHA512/reset/32 834s ok 1701 /checksum/SHA512/reset/33 834s ok 1702 /checksum/SHA512/reset/34 834s ok 1703 /checksum/SHA512/reset/35 834s ok 1704 /checksum/SHA512/reset/36 834s ok 1705 /checksum/SHA512/reset/37 834s ok 1706 /checksum/SHA512/reset/38 834s ok 1707 /checksum/SHA512/reset/39 834s ok 1708 /checksum/SHA512/reset/40 834s ok 1709 /checksum/SHA512/reset/41 834s ok 1710 /checksum/SHA512/reset/42 834s ok 1711 /checksum/SHA512/reset/43 834s ok 1712 /checksum/SHA512/reset/44 834s ok 1713 /checksum/SHA512/reset/45 834s ok 1714 /checksum/SHA512/reset/46 834s ok 1715 /checksum/SHA512/reset/47 834s ok 1716 /checksum/SHA512/reset/48 834s ok 1717 /checksum/SHA512/reset/49 834s ok 1718 /checksum/SHA512/reset/50 834s ok 1719 /checksum/SHA512/reset/51 834s ok 1720 /checksum/SHA512/reset/52 834s ok 1721 /checksum/SHA512/reset/53 834s ok 1722 /checksum/SHA512/reset/54 834s ok 1723 /checksum/SHA512/reset/55 834s ok 1724 /checksum/SHA512/reset/56 834s ok 1725 /checksum/SHA512/reset/57 834s ok 1726 /checksum/SHA512/reset/58 834s ok 1727 /checksum/SHA512/reset/59 834s ok 1728 /checksum/SHA512/reset/60 834s ok 1729 /checksum/SHA512/reset/61 834s ok 1730 /checksum/SHA512/reset/62 834s ok 1731 /checksum/SHA512/reset/63 834s ok 1732 /checksum/SHA512/reset/64 834s ok 1733 /checksum/SHA512/reset/65 834s ok 1734 /checksum/SHA512/reset/66 834s ok 1735 /checksum/SHA512/reset/67 834s ok 1736 /checksum/SHA512/reset/68 834s ok 1737 /checksum/SHA512/reset/69 834s ok 1738 /checksum/SHA512/reset/70 834s ok 1739 /checksum/SHA512/reset/71 834s ok 1740 /checksum/SHA512/reset/72 834s ok 1741 /checksum/SHA512/reset/73 834s ok 1742 /checksum/SHA512/reset/74 834s ok 1743 /checksum/SHA512/reset/75 834s ok 1744 /checksum/SHA512/reset/76 834s ok 1745 /checksum/SHA512/reset/77 834s ok 1746 /checksum/SHA512/reset/78 834s ok 1747 /checksum/SHA512/reset/79 834s ok 1748 /checksum/SHA512/reset/80 834s ok 1749 /checksum/SHA512/reset/81 834s ok 1750 /checksum/SHA512/reset/82 834s ok 1751 /checksum/SHA512/reset/83 834s ok 1752 /checksum/SHA512/reset/84 834s ok 1753 /checksum/SHA512/reset/85 834s ok 1754 /checksum/SHA512/reset/86 834s ok 1755 /checksum/SHA512/reset/87 834s ok 1756 /checksum/SHA512/reset/88 834s ok 1757 /checksum/SHA512/reset/89 834s ok 1758 /checksum/SHA512/reset/90 834s ok 1759 /checksum/SHA512/reset/91 834s ok 1760 /checksum/SHA512/reset/92 834s ok 1761 /checksum/SHA512/reset/93 834s ok 1762 /checksum/SHA512/reset/94 834s ok 1763 /checksum/SHA512/reset/95 834s ok 1764 /checksum/SHA512/reset/96 834s ok 1765 /checksum/SHA512/reset/97 834s ok 1766 /checksum/SHA512/reset/98 834s ok 1767 /checksum/SHA512/reset/99 834s ok 1768 /checksum/SHA512/reset/100 834s ok 1769 /checksum/SHA512/reset/101 834s ok 1770 /checksum/SHA512/reset/102 834s ok 1771 /checksum/SHA512/reset/103 834s ok 1772 /checksum/SHA512/reset/104 834s ok 1773 /checksum/SHA512/reset/105 834s ok 1774 /checksum/SHA512/reset/106 834s ok 1775 /checksum/SHA512/reset/107 834s ok 1776 /checksum/SHA512/reset/108 834s ok 1777 /checksum/SHA512/reset/109 834s ok 1778 /checksum/SHA512/reset/110 834s ok 1779 /checksum/SHA512/reset/111 834s ok 1780 /checksum/SHA512/reset/112 834s ok 1781 /checksum/SHA512/reset/113 834s ok 1782 /checksum/SHA512/reset/114 834s ok 1783 /checksum/SHA512/reset/115 834s ok 1784 /checksum/SHA512/reset/116 834s ok 1785 /checksum/SHA512/reset/117 834s ok 1786 /checksum/SHA512/reset/118 834s ok 1787 /checksum/SHA512/reset/119 834s ok 1788 /checksum/SHA512/reset/120 834s ok 1789 /checksum/SHA512/reset/121 834s ok 1790 /checksum/SHA512/reset/122 834s ok 1791 /checksum/SHA512/reset/123 834s ok 1792 /checksum/SHA512/reset/124 834s ok 1793 /checksum/SHA512/reset/125 834s ok 1794 /checksum/SHA512/reset/126 834s ok 1795 /checksum/SHA512/reset/127 834s ok 1796 /checksum/SHA512/reset/128 834s ok 1797 /checksum/SHA512/reset/129 834s ok 1798 /checksum/SHA512/reset/130 834s ok 1799 /checksum/SHA512/reset/131 834s ok 1800 /checksum/SHA512/reset/132 834s ok 1801 /checksum/SHA512/reset/133 834s ok 1802 /checksum/SHA512/reset/134 834s ok 1803 /checksum/SHA512/reset/135 834s ok 1804 /checksum/SHA512/reset/136 834s ok 1805 /checksum/SHA512/reset/137 834s ok 1806 /checksum/SHA512/reset/138 834s ok 1807 /checksum/SHA512/reset/139 834s ok 1808 /checksum/SHA512/reset/140 834s ok 1809 /checksum/SHA512/reset/141 834s ok 1810 /checksum/SHA512/reset/142 834s ok 1811 /checksum/SHA512/reset/143 834s ok 1812 /checksum/SHA512/reset/144 834s ok 1813 /checksum/SHA512/reset/145 834s ok 1814 /checksum/SHA512/reset/146 834s ok 1815 /checksum/SHA512/reset/147 834s ok 1816 /checksum/SHA512/reset/148 834s ok 1817 /checksum/SHA512/reset/149 834s ok 1818 /checksum/SHA512/reset/150 834s ok 1819 /checksum/SHA512/reset/151 834s ok 1820 /checksum/SHA512/reset/152 834s ok 1821 /checksum/SHA512/reset/153 834s ok 1822 /checksum/SHA512/reset/154 834s ok 1823 /checksum/SHA512/reset/155 834s ok 1824 /checksum/SHA512/reset/156 834s ok 1825 /checksum/SHA512/reset/157 834s ok 1826 /checksum/SHA512/reset/158 834s ok 1827 /checksum/SHA512/reset/159 834s ok 1828 /checksum/SHA512/reset/160 834s ok 1829 /checksum/SHA512/reset/161 834s ok 1830 /checksum/SHA512/reset/162 834s ok 1831 /checksum/SHA512/reset/163 834s ok 1832 /checksum/SHA512/reset/164 834s ok 1833 /checksum/SHA512/reset/165 834s ok 1834 /checksum/SHA512/reset/166 834s ok 1835 /checksum/SHA512/reset/167 834s ok 1836 /checksum/SHA512/reset/168 834s ok 1837 /checksum/SHA512/reset/169 834s ok 1838 /checksum/SHA512/reset/170 834s ok 1839 /checksum/SHA512/reset/171 834s ok 1840 /checksum/SHA512/reset/172 834s ok 1841 /checksum/SHA512/reset/173 834s ok 1842 /checksum/SHA512/reset/174 834s ok 1843 /checksum/SHA512/reset/175 834s ok 1844 /checksum/SHA512/reset/176 834s ok 1845 /checksum/SHA512/reset/177 834s ok 1846 /checksum/SHA512/reset/178 834s ok 1847 /checksum/SHA512/reset/179 834s ok 1848 /checksum/SHA512/reset/180 834s ok 1849 /checksum/SHA512/reset/181 834s ok 1850 /checksum/SHA512/reset/182 834s ok 1851 /checksum/SHA512/reset/183 834s # End of reset tests 834s # End of SHA512 tests 834s # End of checksum tests 834s ok - glib/checksum.test 834s # Running test: glib/sequence.test 834s TAP version 14 834s # random seed: R02S076e0ac3bced543645150be2be257f39 834s 1..16 834s # Start of sequence tests 834s ok 1 /sequence/out-of-range-jump 834s ok 2 /sequence/iter-move 834s ok 3 /sequence/insert-sorted-non-pointer 834s ok 4 /sequence/stable-sort 834s ok 5 /sequence/is_empty 834s # Start of random tests 835s ok 6 /sequence/random/seed:825541564 835s # slow test /sequence/random/seed:825541564 executed in 0.70 secs 836s ok 7 /sequence/random/seed:801678400 836s # slow test /sequence/random/seed:801678400 executed in 0.67 secs 836s ok 8 /sequence/random/seed:1477639090 836s # slow test /sequence/random/seed:1477639090 executed in 0.69 secs 837s ok 9 /sequence/random/seed:3369132895 837s # slow test /sequence/random/seed:3369132895 executed in 0.64 secs 838s ok 10 /sequence/random/seed:1192944867 838s # slow test /sequence/random/seed:1192944867 executed in 0.67 secs 838s # Executing: glib/sequence.test 838s ok 11 /sequence/random/seed:770458294 838s # slow test /sequence/random/seed:770458294 executed in 0.70 secs 839s ok 12 /sequence/random/seed:1099575817 839s # slow test /sequence/random/seed:1099575817 executed in 0.67 secs 840s ok 13 /sequence/random/seed:590523467 840s # slow test /sequence/random/seed:590523467 executed in 0.69 secs 840s ok 14 /sequence/random/seed:3583571454 840s # slow test /sequence/random/seed:3583571454 executed in 0.69 secs 841s ok 15 /sequence/random/seed:579241222 841s # slow test /sequence/random/seed:579241222 executed in 0.69 secs 842s ok - glib/sequence.test 842s # Running test: glib/codegen.py.test 842s ok 16 /sequence/random/seed:1651259572 842s # slow test /sequence/random/seed:1651259572 executed in 0.68 secs 842s # End of random tests 842s # End of sequence tests 842s TAP version 13 842s ok 1 __main__.TestCodegen.test_call_flags_and_timeout_method_args 842s # gdbus-codegen: /usr/bin/gdbus-codegen 842s # tmpdir: /tmp/tmpung394l8 842s # /tmp/tmpung394l8/tmp_gend6tv.xml: 842s # 842s # 842s # 842s # 842s # 842s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpung394l8/tmp_gend6tv.xml', '--output', '-', '--header'] 842s # Return code: 0 842s # Output: 842s # /* 842s # * This file is generated by gdbus-codegen, do not modify it. 842s # * 842s # * The license of this code is the same as for the D-Bus interface description 842s # * it was derived from. Note that it links to GLib, so must comply with the 842s # * LGPL linking clauses. 842s # */ 842s # 842s # #ifndef __STDOUT__ 842s # #define __STDOUT__ 842s # 842s # #include 842s # 842s # G_BEGIN_DECLS 842s # 842s # 842s # /* ------------------------------------------------------------------------ */ 842s # /* Declarations for org.project.UsefulInterface */ 842s # 842s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 842s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 842s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 842s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 842s # 842s # struct _OrgProjectUsefulInterface; 842s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 842s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 842s # 842s # struct _OrgProjectUsefulInterfaceIface 842s # { 842s # GTypeInterface parent_iface; 842s # 842s # gboolean (*handle_useful_method) ( 842s # OrgProjectUsefulInterface *object, 842s # GDBusMethodInvocation *invocation); 842s # 842s # }; 842s # 842s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 842s # 842s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 842s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 842s # 842s # 842s # /* D-Bus method call completion functions: */ 842s # void org_project_useful_interface_complete_useful_method ( 842s # OrgProjectUsefulInterface *object, 842s # GDBusMethodInvocation *invocation); 842s # 842s # 842s # 842s # /* D-Bus method calls: */ 842s # void org_project_useful_interface_call_useful_method ( 842s # OrgProjectUsefulInterface *proxy, 842s # GCancellable *cancellable, 842s # GAsyncReadyCallback callback, 842s # gpointer user_data); 842s # 842s # gboolean org_project_useful_interface_call_useful_method_finish ( 842s # OrgProjectUsefulInterface *proxy, 842s # GAsyncResult *res, 842s # GError **error); 842s # 842s # gboolean org_project_useful_interface_call_useful_method_sync ( 842s # OrgProjectUsefulInterface *proxy, 842s # GCancellable *cancellable, 842s # GError **error); 842s # 842s # 842s # 842s # /* ---- */ 842s # 842s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 842s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 842s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 842s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 842s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 842s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 842s # 842s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 842s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 842s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 842s # 842s # struct _OrgProjectUsefulInterfaceProxy 842s # { 842s # /*< private >*/ 842s # GDBusProxy parent_instance; 842s # OrgProjectUsefulInterfaceProxyPrivate *priv; 842s # }; 842s # 842s # struct _OrgProjectUsefulInterfaceProxyClass 842s # { 842s # GDBusProxyClass parent_class; 842s # }; 842s # 842s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 842s # 842s # #if GLIB_CHECK_VERSION(2, 44, 0) 842s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 842s # #endif 842s # 842s # void org_project_useful_interface_proxy_new ( 842s # GDBusConnection *connection, 842s # GDBusProxyFlags flags, 842s # const gchar *name, 842s # const gchar *object_path, 842s # GCancellable *cancellable, 842s # GAsyncReadyCallback callback, 842s # gpointer user_data); 842s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 842s # GAsyncResult *res, 842s # GError **error); 842s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 842s # GDBusConnection *connection, 842s # GDBusProxyFlags flags, 842s # const gchar *name, 842s # const gchar *object_path, 842s # GCancellable *cancellable, 842s # GError **error); 842s # 842s # void org_project_useful_interface_proxy_new_for_bus ( 842s # GBusType bus_type, 842s # GDBusProxyFlags flags, 842s # const gchar *name, 842s # const gchar *object_path, 842s # GCancellable *cancellable, 842s # GAsyncReadyCallback callback, 842s # gpointer user_data); 842s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 842s # GAsyncResult *res, 842s # GError **error); 842s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 842s # GBusType bus_type, 842s # GDBusProxyFlags flags, 842s # const gchar *name, 842s # const gchar *object_path, 842s # GCancellable *cancellable, 842s # GError **error); 842s # 842s # 842s # /* ---- */ 842s # 842s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 842s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 842s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 842s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 842s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 842s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 842s # 842s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 842s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 842s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 842s # 842s # struct _OrgProjectUsefulInterfaceSkeleton 842s # { 842s # /*< private >*/ 842s # GDBusInterfaceSkeleton parent_instance; 842s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 842s # }; 842s # 842s # struct _OrgProjectUsefulInterfaceSkeletonClass 842s # { 842s # GDBusInterfaceSkeletonClass parent_class; 842s # }; 842s # 842s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 842s # 842s # #if GLIB_CHECK_VERSION(2, 44, 0) 842s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 842s # #endif 842s # 842s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 842s # 842s # 842s # G_END_DECLS 842s # 842s # #endif /* __STDOUT__ */ 842s # Error: 842s # 842s # /tmp/tmpung394l8/tmpocvffkgn.xml: 842s # 842s # 842s # 842s # 842s # 842s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpung394l8/tmpocvffkgn.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 842s # Return code: 0 842s # Output: 842s # /* 842s # * This file is generated by gdbus-codegen, do not modify it. 842s # * 842s # * The license of this code is the same as for the D-Bus interface description 842s # * it was derived from. Note that it links to GLib, so must comply with the 842s # * LGPL linking clauses. 842s # */ 842s # 842s # #ifndef __STDOUT__ 842s # #define __STDOUT__ 842s # 842s # #include 842s # 842s # G_BEGIN_DECLS 842s # 842s # 842s # /* ------------------------------------------------------------------------ */ 842s # /* Declarations for org.project.UsefulInterface */ 842s # 842s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 842s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 842s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 842s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 842s # 842s # struct _OrgProjectUsefulInterface; 842s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 842s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 842s # 842s # struct _OrgProjectUsefulInterfaceIface 842s # { 842s # GTypeInterface parent_iface; 842s # 842s # gboolean (*handle_useful_method) ( 842s # OrgProjectUsefulInterface *object, 842s # GDBusMethodInvocation *invocation); 842s # 842s # }; 842s # 842s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 842s # 842s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 842s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 842s # 842s # 842s # /* D-Bus method call completion functions: */ 842s # void org_project_useful_interface_complete_useful_method ( 842s # OrgProjectUsefulInterface *object, 842s # GDBusMethodInvocation *invocation); 842s # 842s # 842s # 842s # /* D-Bus method calls: */ 842s # void org_project_useful_interface_call_useful_method ( 842s # OrgProjectUsefulInterface *proxy, 842s # GCancellable *cancellable, 842s # GAsyncReadyCallback callback, 842s # gpointer user_data); 842s # 842s # gboolean org_project_useful_interface_call_useful_method_finish ( 842s # OrgProjectUsefulInterface *proxy, 842s # GAsyncResult *res, 842s # GError **error); 842s # 842s # gboolean org_project_useful_interface_call_useful_method_sync ( 842s # OrgProjectUsefulInterface *proxy, 842s # GCancellable *cancellable, 842s # GError **error); 842s # 842s # 842s # 842s # /* ---- */ 842s # 842s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 842s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 842s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 842s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 842s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 842s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 842s # 842s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 842s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 842s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 842s # 842s # struct _OrgProjectUsefulInterfaceProxy 842s # { 842s # /*< private >*/ 842s # GDBusProxy parent_instance; 842s # OrgProjectUsefulInterfaceProxyPrivate *priv; 842s # }; 842s # 842s # struct _OrgProjectUsefulInterfaceProxyClass 842s # { 842s # GDBusProxyClass parent_class; 842s # }; 842s # 842s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 842s # 842s # #if GLIB_CHECK_VERSION(2, 44, 0) 842s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 842s # #endif 842s # 842s # void org_project_useful_interface_proxy_new ( 842s # GDBusConnection *connection, 842s # GDBusProxyFlags flags, 842s # const gchar *name, 842s # const gchar *object_path, 842s # GCancellable *cancellable, 842s # GAsyncReadyCallback callback, 842s # gpointer user_data); 842s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 842s # GAsyncResult *res, 842s # GError **error); 842s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 842s # GDBusConnection *connection, 842s # GDBusProxyFlags flags, 842s # const gchar *name, 842s # const gchar *object_path, 842s # GCancellable *cancellable, 842s # GError **error); 842s # 842s # void org_project_useful_interface_proxy_new_for_bus ( 842s # GBusType bus_type, 842s # GDBusProxyFlags flags, 842s # const gchar *name, 842s # const gchar *object_path, 842s # GCancellable *cancellable, 842s # GAsyncReadyCallback callback, 842s # gpointer user_data); 842s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 842s # GAsyncResult *res, 842s # GError **error); 842s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 842s # GBusType bus_type, 842s # GDBusProxyFlags flags, 842s # const gchar *name, 842s # const gchar *object_path, 842s # GCancellable *cancellable, 842s # GError **error); 842s # 842s # 842s # /* ---- */ 842s # 842s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 842s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 842s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 842s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 842s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 842s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 842s # 842s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 842s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 842s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 842s # 842s # struct _OrgProjectUsefulInterfaceSkeleton 842s # { 842s # /*< private >*/ 842s # GDBusInterfaceSkeleton parent_instance; 842s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 842s # }; 842s # 842s # struct _OrgProjectUsefulInterfaceSkeletonClass 842s # { 842s # GDBusInterfaceSkeletonClass parent_class; 842s # }; 842s # 842s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 842s # 842s # #if GLIB_CHECK_VERSION(2, 44, 0) 842s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 842s # #endif 842s # 842s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 842s # 842s # 842s # G_END_DECLS 842s # 842s # #endif /* __STDOUT__ */ 842s # Error: 842s # 842s # /tmp/tmpung394l8/tmpx39e7gkn.xml: 842s # 842s # 842s # 842s # 842s # 842s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpung394l8/tmpx39e7gkn.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 842s # Return code: 0 842s # Output: 842s # /* 842s # * This file is generated by gdbus-codegen, do not modify it. 842s # * 842s # * The license of this code is the same as for the D-Bus interface description 842s # * it was derived from. Note that it links to GLib, so must comply with the 842s # * LGPL linking clauses. 842s # */ 842s # 842s # #ifndef __STDOUT__ 842s # #define __STDOUT__ 842s # 842s # #include 842s # 842s # G_BEGIN_DECLS 842s # 842s # 842s # /* ------------------------------------------------------------------------ */ 842s # /* Declarations for org.project.UsefulInterface */ 842s # 842s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 842s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 842s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 842s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 842s # 842s # struct _OrgProjectUsefulInterface; 842s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 842s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 842s # 842s # struct _OrgProjectUsefulInterfaceIface 842s # { 842s # GTypeInterface parent_iface; 842s # 842s # gboolean (*handle_useful_method) ( 842s # OrgProjectUsefulInterface *object, 842s # GDBusMethodInvocation *invocation); 842s # 842s # }; 842s # 842s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 842s # 842s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 842s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 842s # 842s # 842s # /* D-Bus method call completion functions: */ 842s # void org_project_useful_interface_complete_useful_method ( 842s # OrgProjectUsefulInterface *object, 842s # GDBusMethodInvocation *invocation); 842s # 842s # 842s # 842s # /* D-Bus method calls: */ 842s # void org_project_useful_interface_call_useful_method ( 842s # OrgProjectUsefulInterface *proxy, 842s # GDBusCallFlags call_flags, 842s # gint timeout_msec, 842s # GCancellable *cancellable, 842s # GAsyncReadyCallback callback, 842s # gpointer user_data); 842s # 842s # gboolean org_project_useful_interface_call_useful_method_finish ( 842s # OrgProjectUsefulInterface *proxy, 842s # GAsyncResult *res, 842s # GError **error); 842s # 842s # gboolean org_project_useful_interface_call_useful_method_sync ( 842s # OrgProjectUsefulInterface *proxy, 842s # GDBusCallFlags call_flags, 842s # gint timeout_msec, 842s # GCancellable *cancellable, 842s # GError **error); 842s # 842s # 842s # 842s # /* ---- */ 842s # 842s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 842s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 842s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 842s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 842s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 842s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 842s # 842s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 842s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 842s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 842s # 842s # struct _OrgProjectUsefulInterfaceProxy 842s # { 842s # /*< private >*/ 842s # GDBusProxy parent_instance; 842s # OrgProjectUsefulInterfaceProxyPrivate *priv; 842s # }; 842s # 842s # struct _OrgProjectUsefulInterfaceProxyClass 842s # { 842s # GDBusProxyClass parent_class; 842s # }; 842s # 842s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 842s # 842s # #if GLIB_CHECK_VERSION(2, 44, 0) 842s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 842s # #endif 842s # 842s # void org_project_useful_interface_proxy_new ( 842s # GDBusConnection *connection, 842s # GDBusProxyFlags flags, 842s # const gchar *name, 842s # const gchar *object_path, 842s # GCancellable *cancellable, 842s # GAsyncReadyCallback callback, 842s # gpointer user_data); 842s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 842s # GAsyncResult *res, 842s # GError **error); 842s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 842s # GDBusConnection *connection, 842s # GDBusProxyFlags flags, 842s # const gchar *name, 842s # const gchar *object_path, 842s # GCancellable *cancellable, 842s # GError **error); 842s # 842s # void org_project_useful_interface_proxy_new_for_bus ( 842s # GBusType bus_type, 842s # GDBusProxyFlags flags, 842s # const gchar *name, 842s # const gchar *object_path, 842s # GCancellable *cancellable, 842s # GAsyncReadyCallback callback, 842s # gpointer user_data); 842s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 842s # GAsyncResult *res, 842s # GError **error); 842s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 842s # GBusType bus_type, 842s # GDBusProxyFlags flags, 842s # const gchar *name, 842s # const gchar *object_path, 842s # GCancellable *cancellable, 842s # GError **error); 842s # 842s # 842s # /* ---- */ 842s # 842s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 842s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 842s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 842s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 842s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 842s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 842s # 842s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 842s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 842s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 842s # 842s # struct _OrgProjectUsefulInterfaceSkeleton 842s # { 842s # /*< private >*/ 842s # GDBusInterfaceSkeleton parent_instance; 842s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 842s # }; 842s # 842s # struct _OrgProjectUsefulInterfaceSkeletonClass 842s # { 842s # GDBusInterfaceSkeletonClass parent_class; 842s # }; 842s # 842s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 842s # 842s # #if GLIB_CHECK_VERSION(2, 44, 0) 842s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 842s # #endif 842s # 842s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 842s # 842s # 842s # G_END_DECLS 842s # 842s # #endif /* __STDOUT__ */ 842s # Error: 843s ok 2 __main__.TestCodegen.test_dbus_types 843s # gdbus-codegen: /usr/bin/gdbus-codegen 843s # tmpdir: /tmp/tmp1m22zm4u 843s # /tmp/tmp1m22zm4u/tmpwhelybix.xml: 843s # 843s # 843s # 843s # 843s # 843s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1m22zm4u/tmpwhelybix.xml', '--output', '-', '--body'] 843s # Return code: 1 843s # Output: 843s # 843s # Error: 843s # ERROR: Bad signature "{vs}". "v" is not a valid type for dictionary keys at position 1. 843s # /tmp/tmp1m22zm4u/tmpna4oi1es.xml: 843s # 843s # 843s # 843s # 843s # 843s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1m22zm4u/tmpna4oi1es.xml', '--output', '-', '--body'] 843s # Return code: 1 843s # Output: 843s # 843s # Error: 843s # ERROR: Bad signature "(ss(s{{sv}s}))". "{" is not a valid type for dictionary keys at position 6. 843s # /tmp/tmp1m22zm4u/tmp18hffpap.xml: 843s # 843s # 843s # 843s # 843s # 843s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1m22zm4u/tmp18hffpap.xml', '--output', '-', '--body'] 843s # Return code: 1 843s # Output: 843s # 843s # Error: 843s # ERROR: Bad signature "{s". Error parsing string or brackets not closed. 843s # /tmp/tmp1m22zm4u/tmpvuupvsh0.xml: 843s # 843s # 843s # 843s # 843s # 843s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1m22zm4u/tmpvuupvsh0.xml', '--output', '-', '--body'] 843s # Return code: 1 843s # Output: 843s # 843s # Error: 843s # ERROR: Bad signature "(s{sss})". Dict must end with "}" at position 5. 843s # /tmp/tmp1m22zm4u/tmpppvas2jp.xml: 843s # 843s # 843s # 843s # 843s # 843s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1m22zm4u/tmpppvas2jp.xml', '--output', '-', '--body'] 843s # Return code: 1 843s # Output: 843s # 843s # Error: 843s # ERROR: Bad signature "z". "z" is not a valid D-Bus type. 843s # /tmp/tmp1m22zm4u/tmpnb35tuz9.xml: 843s # 843s # 843s # 843s # 843s # 843s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1m22zm4u/tmpnb35tuz9.xml', '--output', '-', '--body'] 843s # Return code: 1 843s # Output: 843s # 843s # Error: 843s # ERROR: Bad signature "(ssms)". "m" is not a valid D-Bus type. 843s # /tmp/tmp1m22zm4u/tmp_9yjg769.xml: 843s # 843s # 843s # 843s # 843s # 843s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1m22zm4u/tmp_9yjg769.xml', '--output', '-', '--body'] 843s # Return code: 1 843s # Output: 843s # 843s # Error: 843s # ERROR: Bad signature "(". Error parsing string or brackets not closed. 843s # /tmp/tmp1m22zm4u/tmp0rdv7hjo.xml: 843s # 843s # 843s # 843s # 843s # 843s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1m22zm4u/tmp0rdv7hjo.xml', '--output', '-', '--body'] 843s # Return code: 1 843s # Output: 843s # 843s # Error: 843s # ERROR: Bad signature "(((ss))". Error parsing string or brackets not closed. 843s # /tmp/tmp1m22zm4u/tmpe1rcy09e.xml: 843s # 843s # 843s # 843s # 843s # 843s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1m22zm4u/tmpe1rcy09e.xml', '--output', '-', '--body'] 843s # Return code: 1 843s # Output: 843s # 843s # Error: 843s # ERROR: Bad signature "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas". Too much recursion beginning at 129. 843s # /tmp/tmp1m22zm4u/tmpatsrgdoe.xml: 843s # 843s # 843s # 843s # 843s # 843s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1m22zm4u/tmpatsrgdoe.xml', '--output', '-', '--body'] 843s # Return code: 1 843s # Output: 843s # 843s # Error: 843s # ERROR: D-Bus maximum signature length of 255 exceeded. 843s # /tmp/tmp1m22zm4u/tmp00o6qji1.xml: 843s # 843s # 843s # 843s # 843s # 843s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1m22zm4u/tmp00o6qji1.xml', '--output', '-', '--body'] 843s # Return code: 1 843s # Output: 843s # 843s # Error: 843s # ERROR: D-Bus maximum signature length of 255 exceeded. 843s # /tmp/tmp1m22zm4u/tmp6blt9v7b.xml: 843s # 843s # 843s # 843s # 843s # 843s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1m22zm4u/tmp6blt9v7b.xml', '--output', '-', '--body'] 843s # Return code: 1 843s # Output: 843s # 843s # Error: 843s # ERROR: Bad signature "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaa{sv})". Too much recursion beginning at 129. 843s # /tmp/tmp1m22zm4u/tmpor6lsert.xml: 843s # 843s # 843s # 843s # 843s # 843s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1m22zm4u/tmpor6lsert.xml', '--output', '-', '--body'] 843s # Return code: 1 843s # Output: 843s # 843s # Error: 843s # ERROR: D-Bus maximum signature length of 255 exceeded. 843s # /tmp/tmp1m22zm4u/tmpsx03olh9.xml: 843s # 843s # 843s # 843s # 843s # 843s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1m22zm4u/tmpsx03olh9.xml', '--output', '-', '--body'] 843s # Return code: 0 843s # Output: 843s # /* 843s # * This file is generated by gdbus-codegen, do not modify it. 843s # * 843s # * The license of this code is the same as for the D-Bus interface description 843s # * it was derived from. Note that it links to GLib, so must comply with the 843s # * LGPL linking clauses. 843s # */ 843s # 843s # #ifdef HAVE_CONFIG_H 843s # # include "config.h" 843s # #endif 843s # 843s # #include 843s # #ifdef G_OS_UNIX 843s # # include 843s # #endif 843s # 843s # #ifdef G_ENABLE_DEBUG 843s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 843s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 843s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 843s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 843s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 843s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 843s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 843s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 843s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 843s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 843s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 843s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 843s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 843s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 843s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 843s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 843s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 843s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 843s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 843s # #else /* !G_ENABLE_DEBUG */ 843s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 843s # * Do not access GValues directly in your code. Instead, use the 843s # * g_value_get_*() functions 843s # */ 843s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 843s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 843s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 843s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 843s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 843s # #endif /* !G_ENABLE_DEBUG */ 843s # 843s # typedef struct 843s # { 843s # GDBusArgInfo parent_struct; 843s # gboolean use_gvariant; 843s # } _ExtendedGDBusArgInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusMethodInfo parent_struct; 843s # const gchar *signal_name; 843s # gboolean pass_fdlist; 843s # } _ExtendedGDBusMethodInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusSignalInfo parent_struct; 843s # const gchar *signal_name; 843s # } _ExtendedGDBusSignalInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusPropertyInfo parent_struct; 843s # const gchar *hyphen_name; 843s # guint use_gvariant : 1; 843s # guint emits_changed_signal : 1; 843s # } _ExtendedGDBusPropertyInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusInterfaceInfo parent_struct; 843s # const gchar *hyphen_name; 843s # } _ExtendedGDBusInterfaceInfo; 843s # 843s # typedef struct 843s # { 843s # const _ExtendedGDBusPropertyInfo *info; 843s # guint prop_id; 843s # GValue orig_value; /* the value before the change */ 843s # } ChangedProperty; 843s # 843s # static void 843s # _changed_property_free (ChangedProperty *data) 843s # { 843s # g_value_unset (&data->orig_value); 843s # g_free (data); 843s # } 843s # 843s # static gboolean 843s # _g_strv_equal0 (gchar **a, gchar **b) 843s # { 843s # gboolean ret = FALSE; 843s # guint n; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # if (g_strv_length (a) != g_strv_length (b)) 843s # goto out; 843s # for (n = 0; a[n] != NULL; n++) 843s # if (g_strcmp0 (a[n], b[n]) != 0) 843s # goto out; 843s # ret = TRUE; 843s # out: 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _g_variant_equal0 (GVariant *a, GVariant *b) 843s # { 843s # gboolean ret = FALSE; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # ret = g_variant_equal (a, b); 843s # out: 843s # return ret; 843s # } 843s # 843s # G_GNUC_UNUSED static gboolean 843s # _g_value_equal (const GValue *a, const GValue *b) 843s # { 843s # gboolean ret = FALSE; 843s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 843s # switch (G_VALUE_TYPE (a)) 843s # { 843s # case G_TYPE_BOOLEAN: 843s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 843s # break; 843s # case G_TYPE_UCHAR: 843s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 843s # break; 843s # case G_TYPE_INT: 843s # ret = (g_value_get_int (a) == g_value_get_int (b)); 843s # break; 843s # case G_TYPE_UINT: 843s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 843s # break; 843s # case G_TYPE_INT64: 843s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 843s # break; 843s # case G_TYPE_UINT64: 843s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 843s # break; 843s # case G_TYPE_DOUBLE: 843s # { 843s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 843s # gdouble da = g_value_get_double (a); 843s # gdouble db = g_value_get_double (b); 843s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 843s # } 843s # break; 843s # case G_TYPE_STRING: 843s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 843s # break; 843s # case G_TYPE_VARIANT: 843s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 843s # break; 843s # default: 843s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 843s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 843s # else 843s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 843s # break; 843s # } 843s # return ret; 843s # } 843s # 843s # /* ------------------------------------------------------------------------ 843s # * Code for interface GoodTypes 843s # * ------------------------------------------------------------------------ 843s # */ 843s # 843s # /** 843s # * SECTION:GoodTypes 843s # * @title: GoodTypes 843s # * @short_description: Generated C code for the GoodTypes D-Bus interface 843s # * 843s # * This section contains code for working with the GoodTypes D-Bus interface in C. 843s # */ 843s # 843s # /* ---- Introspection data for GoodTypes ---- */ 843s # 843s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 843s # { 843s # { 843s # -1, 843s # (gchar *) "GoodPropertyType", 843s # (gchar *) "si{s{b(ybnqiuxtdh)}}{yv}{nv}{dv}", 843s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 843s # NULL 843s # }, 843s # "good-property-type", 843s # FALSE, 843s # TRUE 843s # }; 843s # 843s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 843s # { 843s # &_good_types_property_info_good_property_type.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 843s # { 843s # { 843s # -1, 843s # (gchar *) "GoodTypes", 843s # NULL, 843s # NULL, 843s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 843s # NULL 843s # }, 843s # "good-types", 843s # }; 843s # 843s # 843s # /** 843s # * good_types_interface_info: 843s # * 843s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 843s # * 843s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 843s # */ 843s # GDBusInterfaceInfo * 843s # good_types_interface_info (void) 843s # { 843s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 843s # } 843s # 843s # /** 843s # * good_types_override_properties: 843s # * @klass: The class structure for a #GObject derived class. 843s # * @property_id_begin: The property id to assign to the first overridden property. 843s # * 843s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 843s # * The properties are overridden in the order they are defined. 843s # * 843s # * Returns: The last property id. 843s # */ 843s # guint 843s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 843s # { 843s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 843s # return property_id_begin - 1; 843s # } 843s # 843s # 843s # 843s # /** 843s # * GoodTypes: 843s # * 843s # * Abstract interface type for the D-Bus interface GoodTypes. 843s # */ 843s # 843s # /** 843s # * GoodTypesIface: 843s # * @parent_iface: The parent interface. 843s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 843s # * 843s # * Virtual table for the D-Bus interface GoodTypes. 843s # */ 843s # 843s # typedef GoodTypesIface GoodTypesInterface; 843s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 843s # 843s # static void 843s # good_types_default_init (GoodTypesIface *iface) 843s # { 843s # /* GObject properties for D-Bus properties: */ 843s # /** 843s # * GoodTypes:good-property-type: 843s # * 843s # * Represents the D-Bus property "GoodPropertyType". 843s # * 843s # * 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. 843s # */ 843s # g_object_interface_install_property (iface, 843s # 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)); 843s # } 843s # 843s # /** 843s # * good_types_get_good_property_type: (skip) 843s # * @object: A GoodTypes. 843s # * 843s # * Gets the value of the "GoodPropertyType" D-Bus property. 843s # * 843s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 843s # * 843s # * 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. 843s # * 843s # * 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. 843s # */ 843s # GVariant * 843s # good_types_get_good_property_type (GoodTypes *object) 843s # { 843s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 843s # 843s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 843s # } 843s # 843s # /** 843s # * good_types_dup_good_property_type: (skip) 843s # * @object: A GoodTypes. 843s # * 843s # * Gets a copy of the "GoodPropertyType" D-Bus property. 843s # * 843s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 843s # * 843s # * 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(). 843s # */ 843s # GVariant * 843s # good_types_dup_good_property_type (GoodTypes *object) 843s # { 843s # GVariant *value; 843s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 843s # return value; 843s # } 843s # 843s # /** 843s # * good_types_set_good_property_type: (skip) 843s # * @object: A GoodTypes. 843s # * @value: The value to set. 843s # * 843s # * Sets the "GoodPropertyType" D-Bus property to @value. 843s # * 843s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 843s # */ 843s # void 843s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 843s # { 843s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * GoodTypesProxy: 843s # * 843s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * GoodTypesProxyClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for GoodTypesProxy. 843s # */ 843s # 843s # struct _GoodTypesProxyPrivate 843s # { 843s # GData *qdata; 843s # }; 843s # 843s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 843s # G_ADD_PRIVATE (GoodTypesProxy) 843s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 843s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 843s # 843s # #endif 843s # static void 843s # good_types_proxy_finalize (GObject *object) 843s # { 843s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 843s # g_datalist_clear (&proxy->priv->qdata); 843s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # good_types_proxy_get_property (GObject *object, 843s # guint prop_id, 843s # GValue *value, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # const _ExtendedGDBusPropertyInfo *info; 843s # GVariant *variant; 843s # g_assert (prop_id != 0 && prop_id - 1 < 1); 843s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 843s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 843s # if (info->use_gvariant) 843s # { 843s # g_value_set_variant (value, variant); 843s # } 843s # else 843s # { 843s # if (variant != NULL) 843s # g_dbus_gvariant_to_gvalue (variant, value); 843s # } 843s # if (variant != NULL) 843s # g_variant_unref (variant); 843s # } 843s # 843s # static void 843s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 843s # GAsyncResult *res, 843s # gpointer user_data) 843s # { 843s # const _ExtendedGDBusPropertyInfo *info = user_data; 843s # GError *error; 843s # GVariant *_ret; 843s # error = NULL; 843s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 843s # if (!_ret) 843s # { 843s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 843s # info->parent_struct.name, 843s # error->message, g_quark_to_string (error->domain), error->code); 843s # g_error_free (error); 843s # } 843s # else 843s # { 843s # g_variant_unref (_ret); 843s # } 843s # } 843s # 843s # static void 843s # good_types_proxy_set_property (GObject *object, 843s # guint prop_id, 843s # const GValue *value, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # const _ExtendedGDBusPropertyInfo *info; 843s # GVariant *variant; 843s # g_assert (prop_id != 0 && prop_id - 1 < 1); 843s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 843s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 843s # g_dbus_proxy_call (G_DBUS_PROXY (object), 843s # "org.freedesktop.DBus.Properties.Set", 843s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 843s # g_variant_unref (variant); 843s # } 843s # 843s # static void 843s # good_types_proxy_g_signal (GDBusProxy *proxy, 843s # const gchar *sender_name G_GNUC_UNUSED, 843s # const gchar *signal_name, 843s # GVariant *parameters) 843s # { 843s # _ExtendedGDBusSignalInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # gsize n; 843s # guint signal_id; 843s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 843s # if (info == NULL) 843s # return; 843s # num_params = g_variant_n_children (parameters); 843s # paramv = g_new0 (GValue, num_params + 1); 843s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 843s # g_value_set_object (¶mv[0], proxy); 843s # g_variant_iter_init (&iter, parameters); 843s # n = 1; 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 843s # g_signal_emitv (paramv, signal_id, 0, NULL); 843s # for (n = 0; n < num_params + 1; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static void 843s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 843s # GVariant *changed_properties, 843s # const gchar *const *invalidated_properties) 843s # { 843s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 843s # guint n; 843s # const gchar *key; 843s # GVariantIter *iter; 843s # _ExtendedGDBusPropertyInfo *info; 843s # g_variant_get (changed_properties, "a{sv}", &iter); 843s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 843s # g_datalist_remove_data (&proxy->priv->qdata, key); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # g_variant_iter_free (iter); 843s # for (n = 0; invalidated_properties[n] != NULL; n++) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 843s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # } 843s # 843s # static GVariant * 843s # good_types_proxy_get_good_property_type (GoodTypes *object) 843s # { 843s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 843s # GVariant *variant; 843s # GVariant *value = NULL; 843s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 843s # value = variant; 843s # if (variant != NULL) 843s # g_variant_unref (variant); 843s # return value; 843s # } 843s # 843s # static void 843s # good_types_proxy_init (GoodTypesProxy *proxy) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # proxy->priv = good_types_proxy_get_instance_private (proxy); 843s # #else 843s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 843s # #endif 843s # 843s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 843s # } 843s # 843s # static void 843s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusProxyClass *proxy_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = good_types_proxy_finalize; 843s # gobject_class->get_property = good_types_proxy_get_property; 843s # gobject_class->set_property = good_types_proxy_set_property; 843s # 843s # proxy_class = G_DBUS_PROXY_CLASS (klass); 843s # proxy_class->g_signal = good_types_proxy_g_signal; 843s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 843s # 843s # good_types_override_properties (gobject_class, 1); 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # good_types_proxy_iface_init (GoodTypesIface *iface) 843s # { 843s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 843s # } 843s # 843s # /** 843s # * good_types_proxy_new: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 843s # * 843s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # good_types_proxy_new ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # 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); 843s # } 843s # 843s # /** 843s # * good_types_proxy_new_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with good_types_proxy_new(). 843s # * 843s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # GoodTypes * 843s # good_types_proxy_new_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return GOOD_TYPES (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * good_types_proxy_new_sync: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See good_types_proxy_new() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # GoodTypes * 843s # good_types_proxy_new_sync ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return GOOD_TYPES (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /** 843s # * good_types_proxy_new_for_bus: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 843s # * 843s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # good_types_proxy_new_for_bus ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # 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); 843s # } 843s # 843s # /** 843s # * good_types_proxy_new_for_bus_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with good_types_proxy_new_for_bus(). 843s # * 843s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # GoodTypes * 843s # good_types_proxy_new_for_bus_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return GOOD_TYPES (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * good_types_proxy_new_for_bus_sync: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # GoodTypes * 843s # good_types_proxy_new_for_bus_sync ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return GOOD_TYPES (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * GoodTypesSkeleton: 843s # * 843s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * GoodTypesSkeletonClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for GoodTypesSkeleton. 843s # */ 843s # 843s # struct _GoodTypesSkeletonPrivate 843s # { 843s # GValue *properties; 843s # GList *changed_properties; 843s # GSource *changed_properties_idle_source; 843s # GMainContext *context; 843s # GMutex lock; 843s # }; 843s # 843s # static void 843s # _good_types_skeleton_handle_method_call ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name, 843s # const gchar *method_name, 843s # GVariant *parameters, 843s # GDBusMethodInvocation *invocation, 843s # gpointer user_data) 843s # { 843s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 843s # _ExtendedGDBusMethodInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # guint num_extra; 843s # gsize n; 843s # guint signal_id; 843s # GValue return_value = G_VALUE_INIT; 843s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 843s # g_assert (info != NULL); 843s # num_params = g_variant_n_children (parameters); 843s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 843s # n = 0; 843s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 843s # g_value_set_object (¶mv[n++], skeleton); 843s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 843s # g_value_set_object (¶mv[n++], invocation); 843s # if (info->pass_fdlist) 843s # { 843s # #ifdef G_OS_UNIX 843s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 843s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 843s # #else 843s # g_assert_not_reached (); 843s # #endif 843s # } 843s # g_variant_iter_init (&iter, parameters); 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 843s # g_value_init (&return_value, G_TYPE_BOOLEAN); 843s # g_signal_emitv (paramv, signal_id, 0, &return_value); 843s # if (!g_value_get_boolean (&return_value)) 843s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 843s # g_value_unset (&return_value); 843s # for (n = 0; n < num_params + num_extra; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static GVariant * 843s # _good_types_skeleton_handle_get_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # GVariant *ret; 843s # ret = NULL; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # g_value_init (&value, pspec->value_type); 843s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 843s # g_value_unset (&value); 843s # } 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _good_types_skeleton_handle_set_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GVariant *variant, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # gboolean ret; 843s # ret = FALSE; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # if (info->use_gvariant) 843s # g_value_set_variant (&value, variant); 843s # else 843s # g_dbus_gvariant_to_gvalue (variant, &value); 843s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # g_value_unset (&value); 843s # ret = TRUE; 843s # } 843s # return ret; 843s # } 843s # 843s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 843s # { 843s # _good_types_skeleton_handle_method_call, 843s # _good_types_skeleton_handle_get_property, 843s # _good_types_skeleton_handle_set_property, 843s # {NULL} 843s # }; 843s # 843s # static GDBusInterfaceInfo * 843s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return good_types_interface_info (); 843s # } 843s # 843s # static GDBusInterfaceVTable * 843s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 843s # } 843s # 843s # static GVariant * 843s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 843s # { 843s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 843s # 843s # GVariantBuilder builder; 843s # guint n; 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 843s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #else 843s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #endif 843s # if (_good_types_interface_info.parent_struct.properties == NULL) 843s # goto out; 843s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 843s # { 843s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 843s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 843s # { 843s # GVariant *value; 843s # 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); 843s # if (value != NULL) 843s # { 843s # g_variant_take_ref (value); 843s # g_variant_builder_add (&builder, "{sv}", info->name, value); 843s # g_variant_unref (value); 843s # } 843s # } 843s # } 843s # out: 843s # return g_variant_builder_end (&builder); 843s # } 843s # 843s # static gboolean _good_types_emit_changed (gpointer user_data); 843s # 843s # static void 843s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 843s # { 843s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 843s # gboolean emit_changed = FALSE; 843s # 843s # g_mutex_lock (&skeleton->priv->lock); 843s # if (skeleton->priv->changed_properties_idle_source != NULL) 843s # { 843s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 843s # skeleton->priv->changed_properties_idle_source = NULL; 843s # emit_changed = TRUE; 843s # } 843s # g_mutex_unlock (&skeleton->priv->lock); 843s # 843s # if (emit_changed) 843s # _good_types_emit_changed (skeleton); 843s # } 843s # 843s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_ADD_PRIVATE (GoodTypesSkeleton) 843s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 843s # 843s # #endif 843s # static void 843s # good_types_skeleton_finalize (GObject *object) 843s # { 843s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 843s # guint n; 843s # for (n = 0; n < 1; n++) 843s # g_value_unset (&skeleton->priv->properties[n]); 843s # g_free (skeleton->priv->properties); 843s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 843s # if (skeleton->priv->changed_properties_idle_source != NULL) 843s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 843s # g_main_context_unref (skeleton->priv->context); 843s # g_mutex_clear (&skeleton->priv->lock); 843s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # good_types_skeleton_get_property (GObject *object, 843s # guint prop_id, 843s # GValue *value, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 843s # g_assert (prop_id != 0 && prop_id - 1 < 1); 843s # g_mutex_lock (&skeleton->priv->lock); 843s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 843s # g_mutex_unlock (&skeleton->priv->lock); 843s # } 843s # 843s # static gboolean 843s # _good_types_emit_changed (gpointer user_data) 843s # { 843s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 843s # GList *l; 843s # GVariantBuilder builder; 843s # GVariantBuilder invalidated_builder; 843s # guint num_changes; 843s # 843s # g_mutex_lock (&skeleton->priv->lock); 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 843s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 843s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 843s # #else 843s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 843s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 843s # #endif 843s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 843s # { 843s # ChangedProperty *cp = l->data; 843s # GVariant *variant; 843s # const GValue *cur_value; 843s # 843s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 843s # if (!_g_value_equal (cur_value, &cp->orig_value)) 843s # { 843s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 843s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 843s # g_variant_unref (variant); 843s # num_changes++; 843s # } 843s # } 843s # if (num_changes > 0) 843s # { 843s # GList *connections, *ll; 843s # GVariant *signal_variant; 843s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 843s # &builder, &invalidated_builder)); 843s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 843s # for (ll = connections; ll != NULL; ll = ll->next) 843s # { 843s # GDBusConnection *connection = ll->data; 843s # 843s # g_dbus_connection_emit_signal (connection, 843s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 843s # "org.freedesktop.DBus.Properties", 843s # "PropertiesChanged", 843s # signal_variant, 843s # NULL); 843s # } 843s # g_variant_unref (signal_variant); 843s # g_list_free_full (connections, g_object_unref); 843s # } 843s # else 843s # { 843s # g_variant_builder_clear (&builder); 843s # g_variant_builder_clear (&invalidated_builder); 843s # } 843s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 843s # skeleton->priv->changed_properties = NULL; 843s # skeleton->priv->changed_properties_idle_source = NULL; 843s # g_mutex_unlock (&skeleton->priv->lock); 843s # return FALSE; 843s # } 843s # 843s # static void 843s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 843s # { 843s # ChangedProperty *cp; 843s # GList *l; 843s # cp = NULL; 843s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 843s # { 843s # ChangedProperty *i_cp = l->data; 843s # if (i_cp->info == info) 843s # { 843s # cp = i_cp; 843s # break; 843s # } 843s # } 843s # if (cp == NULL) 843s # { 843s # cp = g_new0 (ChangedProperty, 1); 843s # cp->prop_id = prop_id; 843s # cp->info = info; 843s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 843s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 843s # g_value_copy (orig_value, &cp->orig_value); 843s # } 843s # } 843s # 843s # static void 843s # good_types_skeleton_notify (GObject *object, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 843s # g_mutex_lock (&skeleton->priv->lock); 843s # if (skeleton->priv->changed_properties != NULL && 843s # skeleton->priv->changed_properties_idle_source == NULL) 843s # { 843s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 843s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 843s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 843s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 843s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 843s # g_source_unref (skeleton->priv->changed_properties_idle_source); 843s # } 843s # g_mutex_unlock (&skeleton->priv->lock); 843s # } 843s # 843s # static void 843s # good_types_skeleton_set_property (GObject *object, 843s # guint prop_id, 843s # const GValue *value, 843s # GParamSpec *pspec) 843s # { 843s # const _ExtendedGDBusPropertyInfo *info; 843s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 843s # g_assert (prop_id != 0 && prop_id - 1 < 1); 843s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 843s # g_mutex_lock (&skeleton->priv->lock); 843s # g_object_freeze_notify (object); 843s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 843s # { 843s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 843s # info->emits_changed_signal) 843s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 843s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 843s # g_object_notify_by_pspec (object, pspec); 843s # } 843s # g_mutex_unlock (&skeleton->priv->lock); 843s # g_object_thaw_notify (object); 843s # } 843s # 843s # static void 843s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 843s # #else 843s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 843s # #endif 843s # 843s # g_mutex_init (&skeleton->priv->lock); 843s # skeleton->priv->context = g_main_context_ref_thread_default (); 843s # skeleton->priv->properties = g_new0 (GValue, 1); 843s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 843s # } 843s # 843s # static GVariant * 843s # good_types_skeleton_get_good_property_type (GoodTypes *object) 843s # { 843s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 843s # GVariant *value; 843s # g_mutex_lock (&skeleton->priv->lock); 843s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 843s # g_mutex_unlock (&skeleton->priv->lock); 843s # return value; 843s # } 843s # 843s # static void 843s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusInterfaceSkeletonClass *skeleton_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = good_types_skeleton_finalize; 843s # gobject_class->get_property = good_types_skeleton_get_property; 843s # gobject_class->set_property = good_types_skeleton_set_property; 843s # gobject_class->notify = good_types_skeleton_notify; 843s # 843s # 843s # good_types_override_properties (gobject_class, 1); 843s # 843s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 843s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 843s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 843s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 843s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # good_types_skeleton_iface_init (GoodTypesIface *iface) 843s # { 843s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 843s # } 843s # 843s # /** 843s # * good_types_skeleton_new: 843s # * 843s # * Creates a skeleton object for the D-Bus interface GoodTypes. 843s # * 843s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 843s # */ 843s # GoodTypes * 843s # good_types_skeleton_new (void) 843s # { 843s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 843s # } 843s # Error: 843s # 843s # /tmp/tmp1m22zm4u/tmp3bo0ee8x.xml: 843s # 843s # 843s # 843s # 843s # 843s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1m22zm4u/tmp3bo0ee8x.xml', '--output', '-', '--body'] 843s # Return code: 0 843s # Output: 843s # /* 843s # * This file is generated by gdbus-codegen, do not modify it. 843s # * 843s # * The license of this code is the same as for the D-Bus interface description 843s # * it was derived from. Note that it links to GLib, so must comply with the 843s # * LGPL linking clauses. 843s # */ 843s # 843s # #ifdef HAVE_CONFIG_H 843s # # include "config.h" 843s # #endif 843s # 843s # #include 843s # #ifdef G_OS_UNIX 843s # # include 843s # #endif 843s # 843s # #ifdef G_ENABLE_DEBUG 843s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 843s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 843s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 843s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 843s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 843s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 843s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 843s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 843s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 843s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 843s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 843s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 843s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 843s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 843s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 843s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 843s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 843s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 843s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 843s # #else /* !G_ENABLE_DEBUG */ 843s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 843s # * Do not access GValues directly in your code. Instead, use the 843s # * g_value_get_*() functions 843s # */ 843s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 843s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 843s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 843s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 843s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 843s # #endif /* !G_ENABLE_DEBUG */ 843s # 843s # typedef struct 843s # { 843s # GDBusArgInfo parent_struct; 843s # gboolean use_gvariant; 843s # } _ExtendedGDBusArgInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusMethodInfo parent_struct; 843s # const gchar *signal_name; 843s # gboolean pass_fdlist; 843s # } _ExtendedGDBusMethodInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusSignalInfo parent_struct; 843s # const gchar *signal_name; 843s # } _ExtendedGDBusSignalInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusPropertyInfo parent_struct; 843s # const gchar *hyphen_name; 843s # guint use_gvariant : 1; 843s # guint emits_changed_signal : 1; 843s # } _ExtendedGDBusPropertyInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusInterfaceInfo parent_struct; 843s # const gchar *hyphen_name; 843s # } _ExtendedGDBusInterfaceInfo; 843s # 843s # typedef struct 843s # { 843s # const _ExtendedGDBusPropertyInfo *info; 843s # guint prop_id; 843s # GValue orig_value; /* the value before the change */ 843s # } ChangedProperty; 843s # 843s # static void 843s # _changed_property_free (ChangedProperty *data) 843s # { 843s # g_value_unset (&data->orig_value); 843s # g_free (data); 843s # } 843s # 843s # static gboolean 843s # _g_strv_equal0 (gchar **a, gchar **b) 843s # { 843s # gboolean ret = FALSE; 843s # guint n; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # if (g_strv_length (a) != g_strv_length (b)) 843s # goto out; 843s # for (n = 0; a[n] != NULL; n++) 843s # if (g_strcmp0 (a[n], b[n]) != 0) 843s # goto out; 843s # ret = TRUE; 843s # out: 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _g_variant_equal0 (GVariant *a, GVariant *b) 843s # { 843s # gboolean ret = FALSE; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # ret = g_variant_equal (a, b); 843s # out: 843s # return ret; 843s # } 843s # 843s # G_GNUC_UNUSED static gboolean 843s # _g_value_equal (const GValue *a, const GValue *b) 843s # { 843s # gboolean ret = FALSE; 843s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 843s # switch (G_VALUE_TYPE (a)) 843s # { 843s # case G_TYPE_BOOLEAN: 843s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 843s # break; 843s # case G_TYPE_UCHAR: 843s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 843s # break; 843s # case G_TYPE_INT: 843s # ret = (g_value_get_int (a) == g_value_get_int (b)); 843s # break; 843s # case G_TYPE_UINT: 843s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 843s # break; 843s # case G_TYPE_INT64: 843s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 843s # break; 843s # case G_TYPE_UINT64: 843s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 843s # break; 843s # case G_TYPE_DOUBLE: 843s # { 843s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 843s # gdouble da = g_value_get_double (a); 843s # gdouble db = g_value_get_double (b); 843s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 843s # } 843s # break; 843s # case G_TYPE_STRING: 843s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 843s # break; 843s # case G_TYPE_VARIANT: 843s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 843s # break; 843s # default: 843s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 843s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 843s # else 843s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 843s # break; 843s # } 843s # return ret; 843s # } 843s # 843s # /* ------------------------------------------------------------------------ 843s # * Code for interface GoodTypes 843s # * ------------------------------------------------------------------------ 843s # */ 843s # 843s # /** 843s # * SECTION:GoodTypes 843s # * @title: GoodTypes 843s # * @short_description: Generated C code for the GoodTypes D-Bus interface 843s # * 843s # * This section contains code for working with the GoodTypes D-Bus interface in C. 843s # */ 843s # 843s # /* ---- Introspection data for GoodTypes ---- */ 843s # 843s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 843s # { 843s # { 843s # -1, 843s # (gchar *) "GoodPropertyType", 843s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas", 843s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 843s # NULL 843s # }, 843s # "good-property-type", 843s # FALSE, 843s # TRUE 843s # }; 843s # 843s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 843s # { 843s # &_good_types_property_info_good_property_type.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 843s # { 843s # { 843s # -1, 843s # (gchar *) "GoodTypes", 843s # NULL, 843s # NULL, 843s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 843s # NULL 843s # }, 843s # "good-types", 843s # }; 843s # 843s # 843s # /** 843s # * good_types_interface_info: 843s # * 843s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 843s # * 843s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 843s # */ 843s # GDBusInterfaceInfo * 843s # good_types_interface_info (void) 843s # { 843s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 843s # } 843s # 843s # /** 843s # * good_types_override_properties: 843s # * @klass: The class structure for a #GObject derived class. 843s # * @property_id_begin: The property id to assign to the first overridden property. 843s # * 843s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 843s # * The properties are overridden in the order they are defined. 843s # * 843s # * Returns: The last property id. 843s # */ 843s # guint 843s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 843s # { 843s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 843s # return property_id_begin - 1; 843s # } 843s # 843s # 843s # 843s # /** 843s # * GoodTypes: 843s # * 843s # * Abstract interface type for the D-Bus interface GoodTypes. 843s # */ 843s # 843s # /** 843s # * GoodTypesIface: 843s # * @parent_iface: The parent interface. 843s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 843s # * 843s # * Virtual table for the D-Bus interface GoodTypes. 843s # */ 843s # 843s # typedef GoodTypesIface GoodTypesInterface; 843s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 843s # 843s # static void 843s # good_types_default_init (GoodTypesIface *iface) 843s # { 843s # /* GObject properties for D-Bus properties: */ 843s # /** 843s # * GoodTypes:good-property-type: 843s # * 843s # * Represents the D-Bus property "GoodPropertyType". 843s # * 843s # * 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. 843s # */ 843s # g_object_interface_install_property (iface, 843s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 843s # } 843s # 843s # /** 843s # * good_types_get_good_property_type: (skip) 843s # * @object: A GoodTypes. 843s # * 843s # * Gets the value of the "GoodPropertyType" D-Bus property. 843s # * 843s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 843s # * 843s # * 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. 843s # * 843s # * 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. 843s # */ 843s # GVariant * 843s # good_types_get_good_property_type (GoodTypes *object) 843s # { 843s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 843s # 843s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 843s # } 843s # 843s # /** 843s # * good_types_dup_good_property_type: (skip) 843s # * @object: A GoodTypes. 843s # * 843s # * Gets a copy of the "GoodPropertyType" D-Bus property. 843s # * 843s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 843s # * 843s # * 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(). 843s # */ 843s # GVariant * 843s # good_types_dup_good_property_type (GoodTypes *object) 843s # { 843s # GVariant *value; 843s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 843s # return value; 843s # } 843s # 843s # /** 843s # * good_types_set_good_property_type: (skip) 843s # * @object: A GoodTypes. 843s # * @value: The value to set. 843s # * 843s # * Sets the "GoodPropertyType" D-Bus property to @value. 843s # * 843s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 843s # */ 843s # void 843s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 843s # { 843s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * GoodTypesProxy: 843s # * 843s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * GoodTypesProxyClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for GoodTypesProxy. 843s # */ 843s # 843s # struct _GoodTypesProxyPrivate 843s # { 843s # GData *qdata; 843s # }; 843s # 843s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 843s # G_ADD_PRIVATE (GoodTypesProxy) 843s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 843s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 843s # 843s # #endif 843s # static void 843s # good_types_proxy_finalize (GObject *object) 843s # { 843s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 843s # g_datalist_clear (&proxy->priv->qdata); 843s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # good_types_proxy_get_property (GObject *object, 843s # guint prop_id, 843s # GValue *value, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # const _ExtendedGDBusPropertyInfo *info; 843s # GVariant *variant; 843s # g_assert (prop_id != 0 && prop_id - 1 < 1); 843s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 843s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 843s # if (info->use_gvariant) 843s # { 843s # g_value_set_variant (value, variant); 843s # } 843s # else 843s # { 843s # if (variant != NULL) 843s # g_dbus_gvariant_to_gvalue (variant, value); 843s # } 843s # if (variant != NULL) 843s # g_variant_unref (variant); 843s # } 843s # 843s # static void 843s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 843s # GAsyncResult *res, 843s # gpointer user_data) 843s # { 843s # const _ExtendedGDBusPropertyInfo *info = user_data; 843s # GError *error; 843s # GVariant *_ret; 843s # error = NULL; 843s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 843s # if (!_ret) 843s # { 843s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 843s # info->parent_struct.name, 843s # error->message, g_quark_to_string (error->domain), error->code); 843s # g_error_free (error); 843s # } 843s # else 843s # { 843s # g_variant_unref (_ret); 843s # } 843s # } 843s # 843s # static void 843s # good_types_proxy_set_property (GObject *object, 843s # guint prop_id, 843s # const GValue *value, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # const _ExtendedGDBusPropertyInfo *info; 843s # GVariant *variant; 843s # g_assert (prop_id != 0 && prop_id - 1 < 1); 843s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 843s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 843s # g_dbus_proxy_call (G_DBUS_PROXY (object), 843s # "org.freedesktop.DBus.Properties.Set", 843s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 843s # g_variant_unref (variant); 843s # } 843s # 843s # static void 843s # good_types_proxy_g_signal (GDBusProxy *proxy, 843s # const gchar *sender_name G_GNUC_UNUSED, 843s # const gchar *signal_name, 843s # GVariant *parameters) 843s # { 843s # _ExtendedGDBusSignalInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # gsize n; 843s # guint signal_id; 843s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 843s # if (info == NULL) 843s # return; 843s # num_params = g_variant_n_children (parameters); 843s # paramv = g_new0 (GValue, num_params + 1); 843s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 843s # g_value_set_object (¶mv[0], proxy); 843s # g_variant_iter_init (&iter, parameters); 843s # n = 1; 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 843s # g_signal_emitv (paramv, signal_id, 0, NULL); 843s # for (n = 0; n < num_params + 1; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static void 843s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 843s # GVariant *changed_properties, 843s # const gchar *const *invalidated_properties) 843s # { 843s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 843s # guint n; 843s # const gchar *key; 843s # GVariantIter *iter; 843s # _ExtendedGDBusPropertyInfo *info; 843s # g_variant_get (changed_properties, "a{sv}", &iter); 843s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 843s # g_datalist_remove_data (&proxy->priv->qdata, key); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # g_variant_iter_free (iter); 843s # for (n = 0; invalidated_properties[n] != NULL; n++) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 843s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # } 843s # 843s # static GVariant * 843s # good_types_proxy_get_good_property_type (GoodTypes *object) 843s # { 843s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 843s # GVariant *variant; 843s # GVariant *value = NULL; 843s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 843s # value = variant; 843s # if (variant != NULL) 843s # g_variant_unref (variant); 843s # return value; 843s # } 843s # 843s # static void 843s # good_types_proxy_init (GoodTypesProxy *proxy) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # proxy->priv = good_types_proxy_get_instance_private (proxy); 843s # #else 843s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 843s # #endif 843s # 843s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 843s # } 843s # 843s # static void 843s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusProxyClass *proxy_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = good_types_proxy_finalize; 843s # gobject_class->get_property = good_types_proxy_get_property; 843s # gobject_class->set_property = good_types_proxy_set_property; 843s # 843s # proxy_class = G_DBUS_PROXY_CLASS (klass); 843s # proxy_class->g_signal = good_types_proxy_g_signal; 843s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 843s # 843s # good_types_override_properties (gobject_class, 1); 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # good_types_proxy_iface_init (GoodTypesIface *iface) 843s # { 843s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 843s # } 843s # 843s # /** 843s # * good_types_proxy_new: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 843s # * 843s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # good_types_proxy_new ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # 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); 843s # } 843s # 843s # /** 843s # * good_types_proxy_new_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with good_types_proxy_new(). 843s # * 843s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # GoodTypes * 843s # good_types_proxy_new_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return GOOD_TYPES (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * good_types_proxy_new_sync: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See good_types_proxy_new() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # GoodTypes * 843s # good_types_proxy_new_sync ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return GOOD_TYPES (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /** 843s # * good_types_proxy_new_for_bus: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 843s # * 843s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # good_types_proxy_new_for_bus ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # 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); 843s # } 843s # 843s # /** 843s # * good_types_proxy_new_for_bus_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with good_types_proxy_new_for_bus(). 843s # * 843s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # GoodTypes * 843s # good_types_proxy_new_for_bus_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return GOOD_TYPES (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * good_types_proxy_new_for_bus_sync: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # GoodTypes * 843s # good_types_proxy_new_for_bus_sync ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return GOOD_TYPES (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * GoodTypesSkeleton: 843s # * 843s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * GoodTypesSkeletonClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for GoodTypesSkeleton. 843s # */ 843s # 843s # struct _GoodTypesSkeletonPrivate 843s # { 843s # GValue *properties; 843s # GList *changed_properties; 843s # GSource *changed_properties_idle_source; 843s # GMainContext *context; 843s # GMutex lock; 843s # }; 843s # 843s # static void 843s # _good_types_skeleton_handle_method_call ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name, 843s # const gchar *method_name, 843s # GVariant *parameters, 843s # GDBusMethodInvocation *invocation, 843s # gpointer user_data) 843s # { 843s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 843s # _ExtendedGDBusMethodInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # guint num_extra; 843s # gsize n; 843s # guint signal_id; 843s # GValue return_value = G_VALUE_INIT; 843s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 843s # g_assert (info != NULL); 843s # num_params = g_variant_n_children (parameters); 843s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 843s # n = 0; 843s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 843s # g_value_set_object (¶mv[n++], skeleton); 843s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 843s # g_value_set_object (¶mv[n++], invocation); 843s # if (info->pass_fdlist) 843s # { 843s # #ifdef G_OS_UNIX 843s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 843s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 843s # #else 843s # g_assert_not_reached (); 843s # #endif 843s # } 843s # g_variant_iter_init (&iter, parameters); 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 843s # g_value_init (&return_value, G_TYPE_BOOLEAN); 843s # g_signal_emitv (paramv, signal_id, 0, &return_value); 843s # if (!g_value_get_boolean (&return_value)) 843s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 843s # g_value_unset (&return_value); 843s # for (n = 0; n < num_params + num_extra; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static GVariant * 843s # _good_types_skeleton_handle_get_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # GVariant *ret; 843s # ret = NULL; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # g_value_init (&value, pspec->value_type); 843s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 843s # g_value_unset (&value); 843s # } 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _good_types_skeleton_handle_set_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GVariant *variant, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # gboolean ret; 843s # ret = FALSE; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # if (info->use_gvariant) 843s # g_value_set_variant (&value, variant); 843s # else 843s # g_dbus_gvariant_to_gvalue (variant, &value); 843s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # g_value_unset (&value); 843s # ret = TRUE; 843s # } 843s # return ret; 843s # } 843s # 843s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 843s # { 843s # _good_types_skeleton_handle_method_call, 843s # _good_types_skeleton_handle_get_property, 843s # _good_types_skeleton_handle_set_property, 843s # {NULL} 843s # }; 843s # 843s # static GDBusInterfaceInfo * 843s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return good_types_interface_info (); 843s # } 843s # 843s # static GDBusInterfaceVTable * 843s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 843s # } 843s # 843s # static GVariant * 843s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 843s # { 843s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 843s # 843s # GVariantBuilder builder; 843s # guint n; 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 843s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #else 843s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #endif 843s # if (_good_types_interface_info.parent_struct.properties == NULL) 843s # goto out; 843s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 843s # { 843s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 843s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 843s # { 843s # GVariant *value; 843s # 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); 843s # if (value != NULL) 843s # { 843s # g_variant_take_ref (value); 843s # g_variant_builder_add (&builder, "{sv}", info->name, value); 843s # g_variant_unref (value); 843s # } 843s # } 843s # } 843s # out: 843s # return g_variant_builder_end (&builder); 843s # } 843s # 843s # static gboolean _good_types_emit_changed (gpointer user_data); 843s # 843s # static void 843s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 843s # { 843s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 843s # gboolean emit_changed = FALSE; 843s # 843s # g_mutex_lock (&skeleton->priv->lock); 843s # if (skeleton->priv->changed_properties_idle_source != NULL) 843s # { 843s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 843s # skeleton->priv->changed_properties_idle_source = NULL; 843s # emit_changed = TRUE; 843s # } 843s # g_mutex_unlock (&skeleton->priv->lock); 843s # 843s # if (emit_changed) 843s # _good_types_emit_changed (skeleton); 843s # } 843s # 843s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_ADD_PRIVATE (GoodTypesSkeleton) 843s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 843s # 843s # #endif 843s # static void 843s # good_types_skeleton_finalize (GObject *object) 843s # { 843s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 843s # guint n; 843s # for (n = 0; n < 1; n++) 843s # g_value_unset (&skeleton->priv->properties[n]); 843s # g_free (skeleton->priv->properties); 843s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 843s # if (skeleton->priv->changed_properties_idle_source != NULL) 843s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 843s # g_main_context_unref (skeleton->priv->context); 843s # g_mutex_clear (&skeleton->priv->lock); 843s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # good_types_skeleton_get_property (GObject *object, 843s # guint prop_id, 843s # GValue *value, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 843s # g_assert (prop_id != 0 && prop_id - 1 < 1); 843s # g_mutex_lock (&skeleton->priv->lock); 843s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 843s # g_mutex_unlock (&skeleton->priv->lock); 843s # } 843s # 843s # static gboolean 843s # _good_types_emit_changed (gpointer user_data) 843s # { 843s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 843s # GList *l; 843s # GVariantBuilder builder; 843s # GVariantBuilder invalidated_builder; 843s # guint num_changes; 843s # 843s # g_mutex_lock (&skeleton->priv->lock); 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 843s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 843s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 843s # #else 843s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 843s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 843s # #endif 843s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 843s # { 843s # ChangedProperty *cp = l->data; 843s # GVariant *variant; 843s # const GValue *cur_value; 843s # 843s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 843s # if (!_g_value_equal (cur_value, &cp->orig_value)) 843s # { 843s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 843s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 843s # g_variant_unref (variant); 843s # num_changes++; 843s # } 843s # } 843s # if (num_changes > 0) 843s # { 843s # GList *connections, *ll; 843s # GVariant *signal_variant; 843s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 843s # &builder, &invalidated_builder)); 843s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 843s # for (ll = connections; ll != NULL; ll = ll->next) 843s # { 843s # GDBusConnection *connection = ll->data; 843s # 843s # g_dbus_connection_emit_signal (connection, 843s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 843s # "org.freedesktop.DBus.Properties", 843s # "PropertiesChanged", 843s # signal_variant, 843s # NULL); 843s # } 843s # g_variant_unref (signal_variant); 843s # g_list_free_full (connections, g_object_unref); 843s # } 843s # else 843s # { 843s # g_variant_builder_clear (&builder); 843s # g_variant_builder_clear (&invalidated_builder); 843s # } 843s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 843s # skeleton->priv->changed_properties = NULL; 843s # skeleton->priv->changed_properties_idle_source = NULL; 843s # g_mutex_unlock (&skeleton->priv->lock); 843s # return FALSE; 843s # } 843s # 843s # static void 843s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 843s # { 843s # ChangedProperty *cp; 843s # GList *l; 843s # cp = NULL; 843s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 843s # { 843s # ChangedProperty *i_cp = l->data; 843s # if (i_cp->info == info) 843s # { 843s # cp = i_cp; 843s # break; 843s # } 843s # } 843s # if (cp == NULL) 843s # { 843s # cp = g_new0 (ChangedProperty, 1); 843s # cp->prop_id = prop_id; 843s # cp->info = info; 843s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 843s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 843s # g_value_copy (orig_value, &cp->orig_value); 843s # } 843s # } 843s # 843s # static void 843s # good_types_skeleton_notify (GObject *object, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 843s # g_mutex_lock (&skeleton->priv->lock); 843s # if (skeleton->priv->changed_properties != NULL && 843s # skeleton->priv->changed_properties_idle_source == NULL) 843s # { 843s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 843s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 843s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 843s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 843s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 843s # g_source_unref (skeleton->priv->changed_properties_idle_source); 843s # } 843s # g_mutex_unlock (&skeleton->priv->lock); 843s # } 843s # 843s # static void 843s # good_types_skeleton_set_property (GObject *object, 843s # guint prop_id, 843s # const GValue *value, 843s # GParamSpec *pspec) 843s # { 843s # const _ExtendedGDBusPropertyInfo *info; 843s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 843s # g_assert (prop_id != 0 && prop_id - 1 < 1); 843s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 843s # g_mutex_lock (&skeleton->priv->lock); 843s # g_object_freeze_notify (object); 843s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 843s # { 843s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 843s # info->emits_changed_signal) 843s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 843s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 843s # g_object_notify_by_pspec (object, pspec); 843s # } 843s # g_mutex_unlock (&skeleton->priv->lock); 843s # g_object_thaw_notify (object); 843s # } 843s # 843s # static void 843s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 843s # #else 843s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 843s # #endif 843s # 843s # g_mutex_init (&skeleton->priv->lock); 843s # skeleton->priv->context = g_main_context_ref_thread_default (); 843s # skeleton->priv->properties = g_new0 (GValue, 1); 843s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 843s # } 843s # 843s # static GVariant * 843s # good_types_skeleton_get_good_property_type (GoodTypes *object) 843s # { 843s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 843s # GVariant *value; 843s # g_mutex_lock (&skeleton->priv->lock); 843s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 843s # g_mutex_unlock (&skeleton->priv->lock); 843s # return value; 843s # } 843s # 843s # static void 843s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusInterfaceSkeletonClass *skeleton_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = good_types_skeleton_finalize; 843s # gobject_class->get_property = good_types_skeleton_get_property; 843s # gobject_class->set_property = good_types_skeleton_set_property; 843s # gobject_class->notify = good_types_skeleton_notify; 843s # 843s # 843s # good_types_override_properties (gobject_class, 1); 843s # 843s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 843s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 843s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 843s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 843s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # good_types_skeleton_iface_init (GoodTypesIface *iface) 843s # { 843s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 843s # } 843s # 843s # /** 843s # * good_types_skeleton_new: 843s # * 843s # * Creates a skeleton object for the D-Bus interface GoodTypes. 843s # * 843s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 843s # */ 843s # GoodTypes * 843s # good_types_skeleton_new (void) 843s # { 843s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 843s # } 843s # Error: 843s # 843s # /tmp/tmp1m22zm4u/tmpkexb2qvg.xml: 843s # 843s # 843s # 843s # 843s # 843s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1m22zm4u/tmpkexb2qvg.xml', '--output', '-', '--body'] 843s # Return code: 0 843s # Output: 843s # /* 843s # * This file is generated by gdbus-codegen, do not modify it. 843s # * 843s # * The license of this code is the same as for the D-Bus interface description 843s # * it was derived from. Note that it links to GLib, so must comply with the 843s # * LGPL linking clauses. 843s # */ 843s # 843s # #ifdef HAVE_CONFIG_H 843s # # include "config.h" 843s # #endif 843s # 843s # #include 843s # #ifdef G_OS_UNIX 843s # # include 843s # #endif 843s # 843s # #ifdef G_ENABLE_DEBUG 843s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 843s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 843s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 843s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 843s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 843s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 843s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 843s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 843s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 843s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 843s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 843s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 843s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 843s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 843s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 843s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 843s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 843s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 843s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 843s # #else /* !G_ENABLE_DEBUG */ 843s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 843s # * Do not access GValues directly in your code. Instead, use the 843s # * g_value_get_*() functions 843s # */ 843s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 843s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 843s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 843s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 843s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 843s # #endif /* !G_ENABLE_DEBUG */ 843s # 843s # typedef struct 843s # { 843s # GDBusArgInfo parent_struct; 843s # gboolean use_gvariant; 843s # } _ExtendedGDBusArgInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusMethodInfo parent_struct; 843s # const gchar *signal_name; 843s # gboolean pass_fdlist; 843s # } _ExtendedGDBusMethodInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusSignalInfo parent_struct; 843s # const gchar *signal_name; 843s # } _ExtendedGDBusSignalInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusPropertyInfo parent_struct; 843s # const gchar *hyphen_name; 843s # guint use_gvariant : 1; 843s # guint emits_changed_signal : 1; 843s # } _ExtendedGDBusPropertyInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusInterfaceInfo parent_struct; 843s # const gchar *hyphen_name; 843s # } _ExtendedGDBusInterfaceInfo; 843s # 843s # typedef struct 843s # { 843s # const _ExtendedGDBusPropertyInfo *info; 843s # guint prop_id; 843s # GValue orig_value; /* the value before the change */ 843s # } ChangedProperty; 843s # 843s # static void 843s # _changed_property_free (ChangedProperty *data) 843s # { 843s # g_value_unset (&data->orig_value); 843s # g_free (data); 843s # } 843s # 843s # static gboolean 843s # _g_strv_equal0 (gchar **a, gchar **b) 843s # { 843s # gboolean ret = FALSE; 843s # guint n; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # if (g_strv_length (a) != g_strv_length (b)) 843s # goto out; 843s # for (n = 0; a[n] != NULL; n++) 843s # if (g_strcmp0 (a[n], b[n]) != 0) 843s # goto out; 843s # ret = TRUE; 843s # out: 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _g_variant_equal0 (GVariant *a, GVariant *b) 843s # { 843s # gboolean ret = FALSE; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # ret = g_variant_equal (a, b); 843s # out: 843s # return ret; 843s # } 843s # 843s # G_GNUC_UNUSED static gboolean 843s # _g_value_equal (const GValue *a, const GValue *b) 843s # { 843s # gboolean ret = FALSE; 843s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 843s # switch (G_VALUE_TYPE (a)) 843s # { 843s # case G_TYPE_BOOLEAN: 843s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 843s # break; 843s # case G_TYPE_UCHAR: 843s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 843s # break; 843s # case G_TYPE_INT: 843s # ret = (g_value_get_int (a) == g_value_get_int (b)); 843s # break; 843s # case G_TYPE_UINT: 843s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 843s # break; 843s # case G_TYPE_INT64: 843s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 843s # break; 843s # case G_TYPE_UINT64: 843s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 843s # break; 843s # case G_TYPE_DOUBLE: 843s # { 843s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 843s # gdouble da = g_value_get_double (a); 843s # gdouble db = g_value_get_double (b); 843s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 843s # } 843s # break; 843s # case G_TYPE_STRING: 843s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 843s # break; 843s # case G_TYPE_VARIANT: 843s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 843s # break; 843s # default: 843s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 843s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 843s # else 843s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 843s # break; 843s # } 843s # return ret; 843s # } 843s # 843s # /* ------------------------------------------------------------------------ 843s # * Code for interface GoodTypes 843s # * ------------------------------------------------------------------------ 843s # */ 843s # 843s # /** 843s # * SECTION:GoodTypes 843s # * @title: GoodTypes 843s # * @short_description: Generated C code for the GoodTypes D-Bus interface 843s # * 843s # * This section contains code for working with the GoodTypes D-Bus interface in C. 843s # */ 843s # 843s # /* ---- Introspection data for GoodTypes ---- */ 843s # 843s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 843s # { 843s # { 843s # -1, 843s # (gchar *) "GoodPropertyType", 843s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})", 843s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 843s # NULL 843s # }, 843s # "good-property-type", 843s # FALSE, 843s # TRUE 843s # }; 843s # 843s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 843s # { 843s # &_good_types_property_info_good_property_type.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 843s # { 843s # { 843s # -1, 843s # (gchar *) "GoodTypes", 843s # NULL, 843s # NULL, 843s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 843s # NULL 843s # }, 843s # "good-types", 843s # }; 843s # 843s # 843s # /** 843s # * good_types_interface_info: 843s # * 843s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 843s # * 843s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 843s # */ 843s # GDBusInterfaceInfo * 843s # good_types_interface_info (void) 843s # { 843s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 843s # } 843s # 843s # /** 843s # * good_types_override_properties: 843s # * @klass: The class structure for a #GObject derived class. 843s # * @property_id_begin: The property id to assign to the first overridden property. 843s # * 843s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 843s # * The properties are overridden in the order they are defined. 843s # * 843s # * Returns: The last property id. 843s # */ 843s # guint 843s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 843s # { 843s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 843s # return property_id_begin - 1; 843s # } 843s # 843s # 843s # 843s # /** 843s # * GoodTypes: 843s # * 843s # * Abstract interface type for the D-Bus interface GoodTypes. 843s # */ 843s # 843s # /** 843s # * GoodTypesIface: 843s # * @parent_iface: The parent interface. 843s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 843s # * 843s # * Virtual table for the D-Bus interface GoodTypes. 843s # */ 843s # 843s # typedef GoodTypesIface GoodTypesInterface; 843s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 843s # 843s # static void 843s # good_types_default_init (GoodTypesIface *iface) 843s # { 843s # /* GObject properties for D-Bus properties: */ 843s # /** 843s # * GoodTypes:good-property-type: 843s # * 843s # * Represents the D-Bus property "GoodPropertyType". 843s # * 843s # * 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. 843s # */ 843s # g_object_interface_install_property (iface, 843s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 843s # } 843s # 843s # /** 843s # * good_types_get_good_property_type: (skip) 843s # * @object: A GoodTypes. 843s # * 843s # * Gets the value of the "GoodPropertyType" D-Bus property. 843s # * 843s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 843s # * 843s # * 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. 843s # * 843s # * 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. 843s # */ 843s # GVariant * 843s # good_types_get_good_property_type (GoodTypes *object) 843s # { 843s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 843s # 843s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 843s # } 843s # 843s # /** 843s # * good_types_dup_good_property_type: (skip) 843s # * @object: A GoodTypes. 843s # * 843s # * Gets a copy of the "GoodPropertyType" D-Bus property. 843s # * 843s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 843s # * 843s # * 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(). 843s # */ 843s # GVariant * 843s # good_types_dup_good_property_type (GoodTypes *object) 843s # { 843s # GVariant *value; 843s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 843s # return value; 843s # } 843s # 843s # /** 843s # * good_types_set_good_property_type: (skip) 843s # * @object: A GoodTypes. 843s # * @value: The value to set. 843s # * 843s # * Sets the "GoodPropertyType" D-Bus property to @value. 843s # * 843s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 843s # */ 843s # void 843s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 843s # { 843s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * GoodTypesProxy: 843s # * 843s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * GoodTypesProxyClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for GoodTypesProxy. 843s # */ 843s # 843s # struct _GoodTypesProxyPrivate 843s # { 843s # GData *qdata; 843s # }; 843s # 843s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 843s # G_ADD_PRIVATE (GoodTypesProxy) 843s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 843s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 843s # 843s # #endif 843s # static void 843s # good_types_proxy_finalize (GObject *object) 843s # { 843s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 843s # g_datalist_clear (&proxy->priv->qdata); 843s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # good_types_proxy_get_property (GObject *object, 843s # guint prop_id, 843s # GValue *value, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # const _ExtendedGDBusPropertyInfo *info; 843s # GVariant *variant; 843s # g_assert (prop_id != 0 && prop_id - 1 < 1); 843s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 843s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 843s # if (info->use_gvariant) 843s # { 843s # g_value_set_variant (value, variant); 843s # } 843s # else 843s # { 843s # if (variant != NULL) 843s # g_dbus_gvariant_to_gvalue (variant, value); 843s # } 843s # if (variant != NULL) 843s # g_variant_unref (variant); 843s # } 843s # 843s # static void 843s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 843s # GAsyncResult *res, 843s # gpointer user_data) 843s # { 843s # const _ExtendedGDBusPropertyInfo *info = user_data; 843s # GError *error; 843s # GVariant *_ret; 843s # error = NULL; 843s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 843s # if (!_ret) 843s # { 843s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 843s # info->parent_struct.name, 843s # error->message, g_quark_to_string (error->domain), error->code); 843s # g_error_free (error); 843s # } 843s # else 843s # { 843s # g_variant_unref (_ret); 843s # } 843s # } 843s # 843s # static void 843s # good_types_proxy_set_property (GObject *object, 843s # guint prop_id, 843s # const GValue *value, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # const _ExtendedGDBusPropertyInfo *info; 843s # GVariant *variant; 843s # g_assert (prop_id != 0 && prop_id - 1 < 1); 843s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 843s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 843s # g_dbus_proxy_call (G_DBUS_PROXY (object), 843s # "org.freedesktop.DBus.Properties.Set", 843s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 843s # g_variant_unref (variant); 843s # } 843s # 843s # static void 843s # good_types_proxy_g_signal (GDBusProxy *proxy, 843s # const gchar *sender_name G_GNUC_UNUSED, 843s # const gchar *signal_name, 843s # GVariant *parameters) 843s # { 843s # _ExtendedGDBusSignalInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # gsize n; 843s # guint signal_id; 843s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 843s # if (info == NULL) 843s # return; 843s # num_params = g_variant_n_children (parameters); 843s # paramv = g_new0 (GValue, num_params + 1); 843s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 843s # g_value_set_object (¶mv[0], proxy); 843s # g_variant_iter_init (&iter, parameters); 843s # n = 1; 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 843s # g_signal_emitv (paramv, signal_id, 0, NULL); 843s # for (n = 0; n < num_params + 1; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static void 843s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 843s # GVariant *changed_properties, 843s # const gchar *const *invalidated_properties) 843s # { 843s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 843s # guint n; 843s # const gchar *key; 843s # GVariantIter *iter; 843s # _ExtendedGDBusPropertyInfo *info; 843s # g_variant_get (changed_properties, "a{sv}", &iter); 843s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 843s # g_datalist_remove_data (&proxy->priv->qdata, key); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # g_variant_iter_free (iter); 843s # for (n = 0; invalidated_properties[n] != NULL; n++) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 843s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # } 843s # 843s # static GVariant * 843s # good_types_proxy_get_good_property_type (GoodTypes *object) 843s # { 843s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 843s # GVariant *variant; 843s # GVariant *value = NULL; 843s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 843s # value = variant; 843s # if (variant != NULL) 843s # g_variant_unref (variant); 843s # return value; 843s # } 843s # 843s # static void 843s # good_types_proxy_init (GoodTypesProxy *proxy) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # proxy->priv = good_types_proxy_get_instance_private (proxy); 843s # #else 843s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 843s # #endif 843s # 843s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 843s # } 843s # 843s # static void 843s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusProxyClass *proxy_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = good_types_proxy_finalize; 843s # gobject_class->get_property = good_types_proxy_get_property; 843s # gobject_class->set_property = good_types_proxy_set_property; 843s # 843s # proxy_class = G_DBUS_PROXY_CLASS (klass); 843s # proxy_class->g_signal = good_types_proxy_g_signal; 843s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 843s # 843s # good_types_override_properties (gobject_class, 1); 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # good_types_proxy_iface_init (GoodTypesIface *iface) 843s # { 843s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 843s # } 843s # 843s # /** 843s # * good_types_proxy_new: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 843s # * 843s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # good_types_proxy_new ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # 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); 843s # } 843s # 843s # /** 843s # * good_types_proxy_new_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with good_types_proxy_new(). 843s # * 843s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # GoodTypes * 843s # good_types_proxy_new_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return GOOD_TYPES (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * good_types_proxy_new_sync: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See good_types_proxy_new() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # GoodTypes * 843s # good_types_proxy_new_sync ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return GOOD_TYPES (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /** 843s # * good_types_proxy_new_for_bus: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 843s # * 843s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # good_types_proxy_new_for_bus ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # 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); 843s # } 843s # 843s # /** 843s # * good_types_proxy_new_for_bus_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with good_types_proxy_new_for_bus(). 843s # * 843s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # GoodTypes * 843s # good_types_proxy_new_for_bus_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return GOOD_TYPES (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * good_types_proxy_new_for_bus_sync: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # GoodTypes * 843s # good_types_proxy_new_for_bus_sync ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return GOOD_TYPES (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * GoodTypesSkeleton: 843s # * 843s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * GoodTypesSkeletonClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for GoodTypesSkeleton. 843s # */ 843s # 843s # struct _GoodTypesSkeletonPrivate 843s # { 843s # GValue *properties; 843s # GList *changed_properties; 843s # GSource *changed_properties_idle_source; 843s # GMainContext *context; 843s # GMutex lock; 843s # }; 843s # 843s # static void 843s # _good_types_skeleton_handle_method_call ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name, 843s # const gchar *method_name, 843s # GVariant *parameters, 843s # GDBusMethodInvocation *invocation, 843s # gpointer user_data) 843s # { 843s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 843s # _ExtendedGDBusMethodInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # guint num_extra; 843s # gsize n; 843s # guint signal_id; 843s # GValue return_value = G_VALUE_INIT; 843s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 843s # g_assert (info != NULL); 843s # num_params = g_variant_n_children (parameters); 843s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 843s # n = 0; 843s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 843s # g_value_set_object (¶mv[n++], skeleton); 843s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 843s # g_value_set_object (¶mv[n++], invocation); 843s # if (info->pass_fdlist) 843s # { 843s # #ifdef G_OS_UNIX 843s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 843s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 843s # #else 843s # g_assert_not_reached (); 843s # #endif 843s # } 843s # g_variant_iter_init (&iter, parameters); 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 843s # g_value_init (&return_value, G_TYPE_BOOLEAN); 843s # g_signal_emitv (paramv, signal_id, 0, &return_value); 843s # if (!g_value_get_boolean (&return_value)) 843s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 843s # g_value_unset (&return_value); 843s # for (n = 0; n < num_params + num_extra; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static GVariant * 843s # _good_types_skeleton_handle_get_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # GVariant *ret; 843s # ret = NULL; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # g_value_init (&value, pspec->value_type); 843s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 843s # g_value_unset (&value); 843s # } 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _good_types_skeleton_handle_set_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GVariant *variant, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # gboolean ret; 843s # ret = FALSE; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # if (info->use_gvariant) 843s # g_value_set_variant (&value, variant); 843s # else 843s # g_dbus_gvariant_to_gvalue (variant, &value); 843s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # g_value_unset (&value); 843s # ret = TRUE; 843s # } 843s # return ret; 843s # } 843s # 843s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 843s # { 843s # _good_types_skeleton_handle_method_call, 843s # _good_types_skeleton_handle_get_property, 843s # _good_types_skeleton_handle_set_property, 843s # {NULL} 843s # }; 843s # 843s # static GDBusInterfaceInfo * 843s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return good_types_interface_info (); 843s # } 843s # 843s # static GDBusInterfaceVTable * 843s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 843s # } 843s # 843s # static GVariant * 843s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 843s # { 843s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 843s # 843s # GVariantBuilder builder; 843s # guint n; 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 843s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #else 843s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #endif 843s # if (_good_types_interface_info.parent_struct.properties == NULL) 843s # goto out; 843s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 843s # { 843s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 843s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 843s # { 843s # GVariant *value; 843s # 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); 843s # if (value != NULL) 843s # { 843s # g_variant_take_ref (value); 843s # g_variant_builder_add (&builder, "{sv}", info->name, value); 843s # g_variant_unref (value); 843s # } 843s # } 843s # } 843s # out: 843s # return g_variant_builder_end (&builder); 843s # } 843s # 843s # static gboolean _good_types_emit_changed (gpointer user_data); 843s # 843s # static void 843s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 843s # { 843s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 843s # gboolean emit_changed = FALSE; 843s # 843s # g_mutex_lock (&skeleton->priv->lock); 843s # if (skeleton->priv->changed_properties_idle_source != NULL) 843s # { 843s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 843s # skeleton->priv->changed_properties_idle_source = NULL; 843s # emit_changed = TRUE; 843s # } 843s # g_mutex_unlock (&skeleton->priv->lock); 843s # 843s # if (emit_changed) 843s # _good_types_emit_changed (skeleton); 843s # } 843s # 843s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_ADD_PRIVATE (GoodTypesSkeleton) 843s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 843s # 843s # #endif 843s # static void 843s # good_types_skeleton_finalize (GObject *object) 843s # { 843s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 843s # guint n; 843s # for (n = 0; n < 1; n++) 843s # g_value_unset (&skeleton->priv->properties[n]); 843s # g_free (skeleton->priv->properties); 843s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 843s # if (skeleton->priv->changed_properties_idle_source != NULL) 843s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 843s # g_main_context_unref (skeleton->priv->context); 843s # g_mutex_clear (&skeleton->priv->lock); 843s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # good_types_skeleton_get_property (GObject *object, 843s # guint prop_id, 843s # GValue *value, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 843s # g_assert (prop_id != 0 && prop_id - 1 < 1); 843s # g_mutex_lock (&skeleton->priv->lock); 843s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 843s # g_mutex_unlock (&skeleton->priv->lock); 843s # } 843s # 843s # static gboolean 843s # _good_types_emit_changed (gpointer user_data) 843s # { 843s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 843s # GList *l; 843s # GVariantBuilder builder; 843s # GVariantBuilder invalidated_builder; 843s # guint num_changes; 843s # 843s # g_mutex_lock (&skeleton->priv->lock); 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 843s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 843s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 843s # #else 843s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 843s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 843s # #endif 843s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 843s # { 843s # ChangedProperty *cp = l->data; 843s # GVariant *variant; 843s # const GValue *cur_value; 843s # 843s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 843s # if (!_g_value_equal (cur_value, &cp->orig_value)) 843s # { 843s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 843s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 843s # g_variant_unref (variant); 843s # num_changes++; 843s # } 843s # } 843s # if (num_changes > 0) 843s # { 843s # GList *connections, *ll; 843s # GVariant *signal_variant; 843s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 843s # &builder, &invalidated_builder)); 843s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 843s # for (ll = connections; ll != NULL; ll = ll->next) 843s # { 843s # GDBusConnection *connection = ll->data; 843s # 843s # g_dbus_connection_emit_signal (connection, 843s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 843s # "org.freedesktop.DBus.Properties", 843s # "PropertiesChanged", 843s # signal_variant, 843s # NULL); 843s # } 843s # g_variant_unref (signal_variant); 843s # g_list_free_full (connections, g_object_unref); 843s # } 843s # else 843s # { 843s # g_variant_builder_clear (&builder); 843s # g_variant_builder_clear (&invalidated_builder); 843s # } 843s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 843s # skeleton->priv->changed_properties = NULL; 843s # skeleton->priv->changed_properties_idle_source = NULL; 843s # g_mutex_unlock (&skeleton->priv->lock); 843s # return FALSE; 843s # } 843s # 843s # static void 843s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 843s # { 843s # ChangedProperty *cp; 843s # GList *l; 843s # cp = NULL; 843s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 843s # { 843s # ChangedProperty *i_cp = l->data; 843s # if (i_cp->info == info) 843s # { 843s # cp = i_cp; 843s # break; 843s # } 843s # } 843s # if (cp == NULL) 843s # { 843s # cp = g_new0 (ChangedProperty, 1); 843s # cp->prop_id = prop_id; 843s # cp->info = info; 843s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 843s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 843s # g_value_copy (orig_value, &cp->orig_value); 843s # } 843s # } 843s # 843s # static void 843s # good_types_skeleton_notify (GObject *object, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 843s # g_mutex_lock (&skeleton->priv->lock); 843s # if (skeleton->priv->changed_properties != NULL && 843s # skeleton->priv->changed_properties_idle_source == NULL) 843s # { 843s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 843s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 843s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 843s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 843s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 843s # g_source_unref (skeleton->priv->changed_properties_idle_source); 843s # } 843s # g_mutex_unlock (&skeleton->priv->lock); 843s # } 843s # 843s # static void 843s # good_types_skeleton_set_property (GObject *object, 843s # guint prop_id, 843s # const GValue *value, 843s # GParamSpec *pspec) 843s # { 843s # const _ExtendedGDBusPropertyInfo *info; 843s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 843s # g_assert (prop_id != 0 && prop_id - 1 < 1); 843s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 843s # g_mutex_lock (&skeleton->priv->lock); 843s # g_object_freeze_notify (object); 843s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 843s # { 843s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 843s # info->emits_changed_signal) 843s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 843s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 843s # g_object_notify_by_pspec (object, pspec); 843s # } 843s # g_mutex_unlock (&skeleton->priv->lock); 843s # g_object_thaw_notify (object); 843s # } 843s # 843s # static void 843s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 843s # #else 843s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 843s # #endif 843s # 843s # g_mutex_init (&skeleton->priv->lock); 843s # skeleton->priv->context = g_main_context_ref_thread_default (); 843s # skeleton->priv->properties = g_new0 (GValue, 1); 843s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 843s # } 843s # 843s # static GVariant * 843s # good_types_skeleton_get_good_property_type (GoodTypes *object) 843s # { 843s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 843s # GVariant *value; 843s # g_mutex_lock (&skeleton->priv->lock); 843s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 843s # g_mutex_unlock (&skeleton->priv->lock); 843s # return value; 843s # } 843s # 843s # static void 843s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusInterfaceSkeletonClass *skeleton_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = good_types_skeleton_finalize; 843s # gobject_class->get_property = good_types_skeleton_get_property; 843s # gobject_class->set_property = good_types_skeleton_set_property; 843s # gobject_class->notify = good_types_skeleton_notify; 843s # 843s # 843s # good_types_override_properties (gobject_class, 1); 843s # 843s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 843s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 843s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 843s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 843s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # good_types_skeleton_iface_init (GoodTypesIface *iface) 843s # { 843s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 843s # } 843s # 843s # /** 843s # * good_types_skeleton_new: 843s # * 843s # * Creates a skeleton object for the D-Bus interface GoodTypes. 843s # * 843s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 843s # */ 843s # GoodTypes * 843s # good_types_skeleton_new (void) 843s # { 843s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 843s # } 843s # Error: 843s ok 3 __main__.TestCodegen.test_empty_interface_body 843s # gdbus-codegen: /usr/bin/gdbus-codegen 843s # tmpdir: /tmp/tmpv6s4ga6b 843s # /tmp/tmpv6s4ga6b/tmpz_w2yi9a.xml: 843s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpv6s4ga6b/tmpz_w2yi9a.xml', '--output', '-', '--body'] 843s # Return code: 0 843s # Output: 843s # /* 843s # * This file is generated by gdbus-codegen, do not modify it. 843s # * 843s # * The license of this code is the same as for the D-Bus interface description 843s # * it was derived from. Note that it links to GLib, so must comply with the 843s # * LGPL linking clauses. 843s # */ 843s # 843s # #ifdef HAVE_CONFIG_H 843s # # include "config.h" 843s # #endif 843s # 843s # #include 843s # #ifdef G_OS_UNIX 843s # # include 843s # #endif 843s # 843s # #ifdef G_ENABLE_DEBUG 843s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 843s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 843s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 843s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 843s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 843s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 843s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 843s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 843s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 843s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 843s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 843s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 843s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 843s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 843s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 843s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 843s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 843s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 843s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 843s # #else /* !G_ENABLE_DEBUG */ 843s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 843s # * Do not access GValues directly in your code. Instead, use the 843s # * g_value_get_*() functions 843s # */ 843s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 843s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 843s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 843s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 843s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 843s # #endif /* !G_ENABLE_DEBUG */ 843s # 843s # typedef struct 843s # { 843s # GDBusArgInfo parent_struct; 843s # gboolean use_gvariant; 843s # } _ExtendedGDBusArgInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusMethodInfo parent_struct; 843s # const gchar *signal_name; 843s # gboolean pass_fdlist; 843s # } _ExtendedGDBusMethodInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusSignalInfo parent_struct; 843s # const gchar *signal_name; 843s # } _ExtendedGDBusSignalInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusPropertyInfo parent_struct; 843s # const gchar *hyphen_name; 843s # guint use_gvariant : 1; 843s # guint emits_changed_signal : 1; 843s # } _ExtendedGDBusPropertyInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusInterfaceInfo parent_struct; 843s # const gchar *hyphen_name; 843s # } _ExtendedGDBusInterfaceInfo; 843s # 843s # typedef struct 843s # { 843s # const _ExtendedGDBusPropertyInfo *info; 843s # guint prop_id; 843s # GValue orig_value; /* the value before the change */ 843s # } ChangedProperty; 843s # 843s # static void 843s # _changed_property_free (ChangedProperty *data) 843s # { 843s # g_value_unset (&data->orig_value); 843s # g_free (data); 843s # } 843s # 843s # static gboolean 843s # _g_strv_equal0 (gchar **a, gchar **b) 843s # { 843s # gboolean ret = FALSE; 843s # guint n; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # if (g_strv_length (a) != g_strv_length (b)) 843s # goto out; 843s # for (n = 0; a[n] != NULL; n++) 843s # if (g_strcmp0 (a[n], b[n]) != 0) 843s # goto out; 843s # ret = TRUE; 843s # out: 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _g_variant_equal0 (GVariant *a, GVariant *b) 843s # { 843s # gboolean ret = FALSE; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # ret = g_variant_equal (a, b); 843s # out: 843s # return ret; 843s # } 843s # 843s # G_GNUC_UNUSED static gboolean 843s # _g_value_equal (const GValue *a, const GValue *b) 843s # { 843s # gboolean ret = FALSE; 843s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 843s # switch (G_VALUE_TYPE (a)) 843s # { 843s # case G_TYPE_BOOLEAN: 843s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 843s # break; 843s # case G_TYPE_UCHAR: 843s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 843s # break; 843s # case G_TYPE_INT: 843s # ret = (g_value_get_int (a) == g_value_get_int (b)); 843s # break; 843s # case G_TYPE_UINT: 843s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 843s # break; 843s # case G_TYPE_INT64: 843s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 843s # break; 843s # case G_TYPE_UINT64: 843s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 843s # break; 843s # case G_TYPE_DOUBLE: 843s # { 843s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 843s # gdouble da = g_value_get_double (a); 843s # gdouble db = g_value_get_double (b); 843s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 843s # } 843s # break; 843s # case G_TYPE_STRING: 843s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 843s # break; 843s # case G_TYPE_VARIANT: 843s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 843s # break; 843s # default: 843s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 843s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 843s # else 843s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 843s # break; 843s # } 843s # return ret; 843s # } 843s # Error: 843s ok 4 __main__.TestCodegen.test_empty_interface_header 843s # gdbus-codegen: /usr/bin/gdbus-codegen 843s # tmpdir: /tmp/tmp_c4v7jrs 843s # /tmp/tmp_c4v7jrs/tmpzhggd41m.xml: 843s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_c4v7jrs/tmpzhggd41m.xml', '--output', '-', '--header'] 843s # Return code: 0 843s # Output: 843s # /* 843s # * This file is generated by gdbus-codegen, do not modify it. 843s # * 843s # * The license of this code is the same as for the D-Bus interface description 843s # * it was derived from. Note that it links to GLib, so must comply with the 843s # * LGPL linking clauses. 843s # */ 843s # 843s # #ifndef __STDOUT__ 843s # #define __STDOUT__ 843s # 843s # #include 843s # 843s # G_BEGIN_DECLS 843s # 843s # 843s # G_END_DECLS 843s # 843s # #endif /* __STDOUT__ */ 843s # Error: 843s ok 5 __main__.TestCodegen.test_empty_interface_info_body 843s # gdbus-codegen: /usr/bin/gdbus-codegen 843s # tmpdir: /tmp/tmpua2268z_ 843s # /tmp/tmpua2268z_/tmp7j_o0j84.xml: 843s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpua2268z_/tmp7j_o0j84.xml', '--output', '-', '--interface-info-body'] 843s # Return code: 0 843s # Output: 843s # /* 843s # * This file is generated by gdbus-codegen, do not modify it. 843s # * 843s # * The license of this code is the same as for the D-Bus interface description 843s # * it was derived from. Note that it links to GLib, so must comply with the 843s # * LGPL linking clauses. 843s # */ 843s # 843s # #ifdef HAVE_CONFIG_H 843s # # include "config.h" 843s # #endif 843s # 843s # #include 843s # Error: 843s ok 6 __main__.TestCodegen.test_empty_interface_info_header 843s # gdbus-codegen: /usr/bin/gdbus-codegen 843s # tmpdir: /tmp/tmpgg8naly_ 843s # /tmp/tmpgg8naly_/tmp3h3jrdg7.xml: 843s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgg8naly_/tmp3h3jrdg7.xml', '--output', '-', '--interface-info-header'] 843s # Return code: 0 843s # Output: 843s # /* 843s # * This file is generated by gdbus-codegen, do not modify it. 843s # * 843s # * The license of this code is the same as for the D-Bus interface description 843s # * it was derived from. Note that it links to GLib, so must comply with the 843s # * LGPL linking clauses. 843s # */ 843s # 843s # #ifndef __STDOUT__ 843s # #define __STDOUT__ 843s # 843s # #include 843s # 843s # G_BEGIN_DECLS 843s # 843s # 843s # G_END_DECLS 843s # 843s # #endif /* __STDOUT__ */ 843s # Error: 843s ok 7 __main__.TestCodegen.test_generate_docbook 843s # gdbus-codegen: /usr/bin/gdbus-codegen 843s # tmpdir: /tmp/tmpes99ga9j 843s # /tmp/tmpes99ga9j/tmpqc4a7d27.xml: 843s # 843s # 843s # 843s # 843s # 843s # 843s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpes99ga9j/tmpqc4a7d27.xml', '--generate-docbook', 'test'] 843s # Return code: 0 843s # Output: 843s # 843s # Error: 843s ok 8 __main__.TestCodegen.test_generate_md 843s # gdbus-codegen: /usr/bin/gdbus-codegen 843s # tmpdir: /tmp/tmpqns_fkzm 843s # /tmp/tmpqns_fkzm/tmpcxpvqu23.xml: 843s # 843s # 843s # 843s # 843s # 843s # 843s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqns_fkzm/tmpcxpvqu23.xml', '--generate-md', 'test'] 843s # Return code: 0 843s # Output: 843s # 843s # Error: 843s ok 9 __main__.TestCodegen.test_generate_methods_marshaller_simple_method 843s # gdbus-codegen: /usr/bin/gdbus-codegen 843s # tmpdir: /tmp/tmpn06ite4h 843s # /tmp/tmpn06ite4h/tmp3ephguvj.xml: 843s # 843s # 843s # 843s # 843s # 843s # 843s # 843s # 843s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpn06ite4h/tmp3ephguvj.xml', '--output', '-', '--body'] 843s # Return code: 0 843s # Output: 843s # /* 843s # * This file is generated by gdbus-codegen, do not modify it. 843s # * 843s # * The license of this code is the same as for the D-Bus interface description 843s # * it was derived from. Note that it links to GLib, so must comply with the 843s # * LGPL linking clauses. 843s # */ 843s # 843s # #ifdef HAVE_CONFIG_H 843s # # include "config.h" 843s # #endif 843s # 843s # #include 843s # #ifdef G_OS_UNIX 843s # # include 843s # #endif 843s # 843s # #ifdef G_ENABLE_DEBUG 843s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 843s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 843s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 843s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 843s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 843s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 843s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 843s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 843s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 843s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 843s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 843s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 843s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 843s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 843s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 843s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 843s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 843s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 843s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 843s # #else /* !G_ENABLE_DEBUG */ 843s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 843s # * Do not access GValues directly in your code. Instead, use the 843s # * g_value_get_*() functions 843s # */ 843s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 843s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 843s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 843s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 843s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 843s # #endif /* !G_ENABLE_DEBUG */ 843s # 843s # typedef struct 843s # { 843s # GDBusArgInfo parent_struct; 843s # gboolean use_gvariant; 843s # } _ExtendedGDBusArgInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusMethodInfo parent_struct; 843s # const gchar *signal_name; 843s # gboolean pass_fdlist; 843s # } _ExtendedGDBusMethodInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusSignalInfo parent_struct; 843s # const gchar *signal_name; 843s # } _ExtendedGDBusSignalInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusPropertyInfo parent_struct; 843s # const gchar *hyphen_name; 843s # guint use_gvariant : 1; 843s # guint emits_changed_signal : 1; 843s # } _ExtendedGDBusPropertyInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusInterfaceInfo parent_struct; 843s # const gchar *hyphen_name; 843s # } _ExtendedGDBusInterfaceInfo; 843s # 843s # typedef struct 843s # { 843s # const _ExtendedGDBusPropertyInfo *info; 843s # guint prop_id; 843s # GValue orig_value; /* the value before the change */ 843s # } ChangedProperty; 843s # 843s # static void 843s # _changed_property_free (ChangedProperty *data) 843s # { 843s # g_value_unset (&data->orig_value); 843s # g_free (data); 843s # } 843s # 843s # static gboolean 843s # _g_strv_equal0 (gchar **a, gchar **b) 843s # { 843s # gboolean ret = FALSE; 843s # guint n; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # if (g_strv_length (a) != g_strv_length (b)) 843s # goto out; 843s # for (n = 0; a[n] != NULL; n++) 843s # if (g_strcmp0 (a[n], b[n]) != 0) 843s # goto out; 843s # ret = TRUE; 843s # out: 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _g_variant_equal0 (GVariant *a, GVariant *b) 843s # { 843s # gboolean ret = FALSE; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # ret = g_variant_equal (a, b); 843s # out: 843s # return ret; 843s # } 843s # 843s # G_GNUC_UNUSED static gboolean 843s # _g_value_equal (const GValue *a, const GValue *b) 843s # { 843s # gboolean ret = FALSE; 843s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 843s # switch (G_VALUE_TYPE (a)) 843s # { 843s # case G_TYPE_BOOLEAN: 843s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 843s # break; 843s # case G_TYPE_UCHAR: 843s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 843s # break; 843s # case G_TYPE_INT: 843s # ret = (g_value_get_int (a) == g_value_get_int (b)); 843s # break; 843s # case G_TYPE_UINT: 843s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 843s # break; 843s # case G_TYPE_INT64: 843s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 843s # break; 843s # case G_TYPE_UINT64: 843s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 843s # break; 843s # case G_TYPE_DOUBLE: 843s # { 843s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 843s # gdouble da = g_value_get_double (a); 843s # gdouble db = g_value_get_double (b); 843s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 843s # } 843s # break; 843s # case G_TYPE_STRING: 843s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 843s # break; 843s # case G_TYPE_VARIANT: 843s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 843s # break; 843s # default: 843s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 843s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 843s # else 843s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 843s # break; 843s # } 843s # return ret; 843s # } 843s # 843s # static void 843s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 843s # GClosure *closure, 843s # GValue *return_value, 843s # unsigned int n_param_values, 843s # const GValue *param_values, 843s # void *invocation_hint G_GNUC_UNUSED, 843s # void *marshal_data) 843s # { 843s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 843s # (void *data1, 843s # GDBusMethodInvocation *arg_method_invocation, 843s # void *data2); 843s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 843s # GCClosure *cc = (GCClosure*) closure; 843s # void *data1, *data2; 843s # gboolean v_return; 843s # 843s # g_return_if_fail (return_value != NULL); 843s # g_return_if_fail (n_param_values == 2); 843s # 843s # if (G_CCLOSURE_SWAP_DATA (closure)) 843s # { 843s # data1 = closure->data; 843s # data2 = g_value_peek_pointer (param_values + 0); 843s # } 843s # else 843s # { 843s # data1 = g_value_peek_pointer (param_values + 0); 843s # data2 = closure->data; 843s # } 843s # 843s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 843s # (marshal_data ? marshal_data : cc->callback); 843s # 843s # v_return = 843s # callback (data1, 843s # g_marshal_value_peek_object (param_values + 1), 843s # data2); 843s # 843s # g_value_set_boolean (return_value, v_return); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ 843s # * Code for interface org.project.CallableIface 843s # * ------------------------------------------------------------------------ 843s # */ 843s # 843s # /** 843s # * SECTION:OrgProjectCallableIface 843s # * @title: OrgProjectCallableIface 843s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 843s # * 843s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 843s # */ 843s # 843s # /* ---- Introspection data for org.project.CallableIface ---- */ 843s # 843s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_simple_method = 843s # { 843s # { 843s # -1, 843s # (gchar *) "SimpleMethod", 843s # NULL, 843s # NULL, 843s # NULL 843s # }, 843s # "handle-simple-method", 843s # FALSE 843s # }; 843s # 843s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 843s # { 843s # &_org_project_callable_iface_method_info_simple_method.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 843s # { 843s # { 843s # -1, 843s # (gchar *) "org.project.CallableIface", 843s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 843s # NULL, 843s # NULL, 843s # NULL 843s # }, 843s # "org-project-callable-iface", 843s # }; 843s # 843s # 843s # /** 843s # * org_project_callable_iface_interface_info: 843s # * 843s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 843s # * 843s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 843s # */ 843s # GDBusInterfaceInfo * 843s # org_project_callable_iface_interface_info (void) 843s # { 843s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 843s # } 843s # 843s # /** 843s # * org_project_callable_iface_override_properties: 843s # * @klass: The class structure for a #GObject derived class. 843s # * @property_id_begin: The property id to assign to the first overridden property. 843s # * 843s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 843s # * The properties are overridden in the order they are defined. 843s # * 843s # * Returns: The last property id. 843s # */ 843s # guint 843s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 843s # { 843s # return property_id_begin - 1; 843s # } 843s # 843s # 843s # inline static void 843s # org_project_callable_iface_method_marshal_simple_method ( 843s # GClosure *closure, 843s # GValue *return_value, 843s # unsigned int n_param_values, 843s # const GValue *param_values, 843s # void *invocation_hint, 843s # void *marshal_data) 843s # { 843s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 843s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 843s # } 843s # 843s # 843s # /** 843s # * OrgProjectCallableIface: 843s # * 843s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 843s # */ 843s # 843s # /** 843s # * OrgProjectCallableIfaceIface: 843s # * @parent_iface: The parent interface. 843s # * @handle_simple_method: Handler for the #OrgProjectCallableIface::handle-simple-method signal. 843s # * 843s # * Virtual table for the D-Bus interface org.project.CallableIface. 843s # */ 843s # 843s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 843s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 843s # 843s # static void 843s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 843s # { 843s # /* GObject signals for incoming D-Bus method calls: */ 843s # /** 843s # * OrgProjectCallableIface::handle-simple-method: 843s # * @object: A #OrgProjectCallableIface. 843s # * @invocation: A #GDBusMethodInvocation. 843s # * 843s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 843s # * 843s # * 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. 843s # * 843s # * 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. 843s # */ 843s # g_signal_new ("handle-simple-method", 843s # G_TYPE_FROM_INTERFACE (iface), 843s # G_SIGNAL_RUN_LAST, 843s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_simple_method), 843s # g_signal_accumulator_true_handled, 843s # NULL, 843s # org_project_callable_iface_method_marshal_simple_method, 843s # G_TYPE_BOOLEAN, 843s # 1, 843s # G_TYPE_DBUS_METHOD_INVOCATION); 843s # 843s # } 843s # 843s # /** 843s # * org_project_callable_iface_call_simple_method: 843s # * @proxy: A #OrgProjectCallableIfaceProxy. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_callable_iface_call_simple_method_finish() to get the result of the operation. 843s # * 843s # * See org_project_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 843s # */ 843s # void 843s # org_project_callable_iface_call_simple_method ( 843s # OrgProjectCallableIface *proxy, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 843s # "SimpleMethod", 843s # g_variant_new ("()"), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # cancellable, 843s # callback, 843s # user_data); 843s # } 843s # 843s # /** 843s # * org_project_callable_iface_call_simple_method_finish: 843s # * @proxy: A #OrgProjectCallableIfaceProxy. 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_simple_method(). 843s # * @error: Return location for error or %NULL. 843s # * 843s # * Finishes an operation started with org_project_callable_iface_call_simple_method(). 843s # * 843s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 843s # */ 843s # gboolean 843s # org_project_callable_iface_call_simple_method_finish ( 843s # OrgProjectCallableIface *proxy, 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GVariant *_ret; 843s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 843s # if (_ret == NULL) 843s # goto _out; 843s # g_variant_get (_ret, 843s # "()"); 843s # g_variant_unref (_ret); 843s # _out: 843s # return _ret != NULL; 843s # } 843s # 843s # /** 843s # * org_project_callable_iface_call_simple_method_sync: 843s # * @proxy: A #OrgProjectCallableIfaceProxy. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL. 843s # * 843s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_callable_iface_call_simple_method() for the asynchronous version of this method. 843s # * 843s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 843s # */ 843s # gboolean 843s # org_project_callable_iface_call_simple_method_sync ( 843s # OrgProjectCallableIface *proxy, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GVariant *_ret; 843s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 843s # "SimpleMethod", 843s # g_variant_new ("()"), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # cancellable, 843s # error); 843s # if (_ret == NULL) 843s # goto _out; 843s # g_variant_get (_ret, 843s # "()"); 843s # g_variant_unref (_ret); 843s # _out: 843s # return _ret != NULL; 843s # } 843s # 843s # /** 843s # * org_project_callable_iface_complete_simple_method: 843s # * @object: A #OrgProjectCallableIface. 843s # * @invocation: (transfer full): A #GDBusMethodInvocation. 843s # * 843s # * 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. 843s # * 843s # * This method will free @invocation, you cannot use it afterwards. 843s # */ 843s # void 843s # org_project_callable_iface_complete_simple_method ( 843s # OrgProjectCallableIface *object G_GNUC_UNUSED, 843s # GDBusMethodInvocation *invocation) 843s # { 843s # g_dbus_method_invocation_return_value (invocation, 843s # g_variant_new ("()")); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * OrgProjectCallableIfaceProxy: 843s # * 843s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * OrgProjectCallableIfaceProxyClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for #OrgProjectCallableIfaceProxy. 843s # */ 843s # 843s # struct _OrgProjectCallableIfaceProxyPrivate 843s # { 843s # GData *qdata; 843s # }; 843s # 843s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 843s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 843s # 843s # #endif 843s # static void 843s # org_project_callable_iface_proxy_finalize (GObject *object) 843s # { 843s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 843s # g_datalist_clear (&proxy->priv->qdata); 843s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 843s # guint prop_id G_GNUC_UNUSED, 843s # GValue *value G_GNUC_UNUSED, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void 843s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 843s # guint prop_id G_GNUC_UNUSED, 843s # const GValue *value G_GNUC_UNUSED, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void 843s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 843s # const gchar *sender_name G_GNUC_UNUSED, 843s # const gchar *signal_name, 843s # GVariant *parameters) 843s # { 843s # _ExtendedGDBusSignalInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # gsize n; 843s # guint signal_id; 843s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 843s # if (info == NULL) 843s # return; 843s # num_params = g_variant_n_children (parameters); 843s # paramv = g_new0 (GValue, num_params + 1); 843s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 843s # g_value_set_object (¶mv[0], proxy); 843s # g_variant_iter_init (&iter, parameters); 843s # n = 1; 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 843s # g_signal_emitv (paramv, signal_id, 0, NULL); 843s # for (n = 0; n < num_params + 1; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static void 843s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 843s # GVariant *changed_properties, 843s # const gchar *const *invalidated_properties) 843s # { 843s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 843s # guint n; 843s # const gchar *key; 843s # GVariantIter *iter; 843s # _ExtendedGDBusPropertyInfo *info; 843s # g_variant_get (changed_properties, "a{sv}", &iter); 843s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 843s # g_datalist_remove_data (&proxy->priv->qdata, key); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # g_variant_iter_free (iter); 843s # for (n = 0; invalidated_properties[n] != NULL; n++) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 843s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # } 843s # 843s # static void 843s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 843s # #else 843s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 843s # #endif 843s # 843s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 843s # } 843s # 843s # static void 843s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusProxyClass *proxy_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 843s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 843s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 843s # 843s # proxy_class = G_DBUS_PROXY_CLASS (klass); 843s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 843s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # /** 843s # * org_project_callable_iface_proxy_new: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 843s # * 843s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # org_project_callable_iface_proxy_new ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # 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); 843s # } 843s # 843s # /** 843s # * org_project_callable_iface_proxy_new_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 843s # * 843s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectCallableIface * 843s # org_project_callable_iface_proxy_new_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return ORG_PROJECT_CALLABLE_IFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * org_project_callable_iface_proxy_new_sync: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectCallableIface * 843s # org_project_callable_iface_proxy_new_sync ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return ORG_PROJECT_CALLABLE_IFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /** 843s # * org_project_callable_iface_proxy_new_for_bus: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 843s # * 843s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # org_project_callable_iface_proxy_new_for_bus ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # 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); 843s # } 843s # 843s # /** 843s # * org_project_callable_iface_proxy_new_for_bus_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 843s # * 843s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectCallableIface * 843s # org_project_callable_iface_proxy_new_for_bus_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return ORG_PROJECT_CALLABLE_IFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * org_project_callable_iface_proxy_new_for_bus_sync: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectCallableIface * 843s # org_project_callable_iface_proxy_new_for_bus_sync ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return ORG_PROJECT_CALLABLE_IFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * OrgProjectCallableIfaceSkeleton: 843s # * 843s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * OrgProjectCallableIfaceSkeletonClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for #OrgProjectCallableIfaceSkeleton. 843s # */ 843s # 843s # struct _OrgProjectCallableIfaceSkeletonPrivate 843s # { 843s # GValue *properties; 843s # GList *changed_properties; 843s # GSource *changed_properties_idle_source; 843s # GMainContext *context; 843s # GMutex lock; 843s # }; 843s # 843s # static void 843s # _org_project_callable_iface_skeleton_handle_method_call ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name, 843s # const gchar *method_name, 843s # GVariant *parameters, 843s # GDBusMethodInvocation *invocation, 843s # gpointer user_data) 843s # { 843s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 843s # _ExtendedGDBusMethodInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # guint num_extra; 843s # gsize n; 843s # guint signal_id; 843s # GValue return_value = G_VALUE_INIT; 843s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 843s # g_assert (info != NULL); 843s # num_params = g_variant_n_children (parameters); 843s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 843s # n = 0; 843s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 843s # g_value_set_object (¶mv[n++], skeleton); 843s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 843s # g_value_set_object (¶mv[n++], invocation); 843s # if (info->pass_fdlist) 843s # { 843s # #ifdef G_OS_UNIX 843s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 843s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 843s # #else 843s # g_assert_not_reached (); 843s # #endif 843s # } 843s # g_variant_iter_init (&iter, parameters); 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 843s # g_value_init (&return_value, G_TYPE_BOOLEAN); 843s # g_signal_emitv (paramv, signal_id, 0, &return_value); 843s # if (!g_value_get_boolean (&return_value)) 843s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 843s # g_value_unset (&return_value); 843s # for (n = 0; n < num_params + num_extra; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static GVariant * 843s # _org_project_callable_iface_skeleton_handle_get_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # GVariant *ret; 843s # ret = NULL; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # g_value_init (&value, pspec->value_type); 843s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 843s # g_value_unset (&value); 843s # } 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _org_project_callable_iface_skeleton_handle_set_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GVariant *variant, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # gboolean ret; 843s # ret = FALSE; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # if (info->use_gvariant) 843s # g_value_set_variant (&value, variant); 843s # else 843s # g_dbus_gvariant_to_gvalue (variant, &value); 843s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # g_value_unset (&value); 843s # ret = TRUE; 843s # } 843s # return ret; 843s # } 843s # 843s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 843s # { 843s # _org_project_callable_iface_skeleton_handle_method_call, 843s # _org_project_callable_iface_skeleton_handle_get_property, 843s # _org_project_callable_iface_skeleton_handle_set_property, 843s # {NULL} 843s # }; 843s # 843s # static GDBusInterfaceInfo * 843s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return org_project_callable_iface_interface_info (); 843s # } 843s # 843s # static GDBusInterfaceVTable * 843s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 843s # } 843s # 843s # static GVariant * 843s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 843s # { 843s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 843s # 843s # GVariantBuilder builder; 843s # guint n; 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 843s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #else 843s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #endif 843s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 843s # goto out; 843s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 843s # { 843s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 843s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 843s # { 843s # GVariant *value; 843s # 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); 843s # if (value != NULL) 843s # { 843s # g_variant_take_ref (value); 843s # g_variant_builder_add (&builder, "{sv}", info->name, value); 843s # g_variant_unref (value); 843s # } 843s # } 843s # } 843s # out: 843s # return g_variant_builder_end (&builder); 843s # } 843s # 843s # static void 843s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 843s # 843s # #endif 843s # static void 843s # org_project_callable_iface_skeleton_finalize (GObject *object) 843s # { 843s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 843s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 843s # if (skeleton->priv->changed_properties_idle_source != NULL) 843s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 843s # g_main_context_unref (skeleton->priv->context); 843s # g_mutex_clear (&skeleton->priv->lock); 843s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 843s # #else 843s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 843s # #endif 843s # 843s # g_mutex_init (&skeleton->priv->lock); 843s # skeleton->priv->context = g_main_context_ref_thread_default (); 843s # } 843s # 843s # static void 843s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusInterfaceSkeletonClass *skeleton_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 843s # 843s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 843s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 843s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 843s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 843s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # /** 843s # * org_project_callable_iface_skeleton_new: 843s # * 843s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 843s # * 843s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 843s # */ 843s # OrgProjectCallableIface * 843s # org_project_callable_iface_skeleton_new (void) 843s # { 843s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ 843s # * Code for interface org.project.OtherCallableIface 843s # * ------------------------------------------------------------------------ 843s # */ 843s # 843s # /** 843s # * SECTION:OrgProjectOtherCallableIface 843s # * @title: OrgProjectOtherCallableIface 843s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 843s # * 843s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 843s # */ 843s # 843s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 843s # 843s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_simple_method = 843s # { 843s # { 843s # -1, 843s # (gchar *) "SimpleMethod", 843s # NULL, 843s # NULL, 843s # NULL 843s # }, 843s # "handle-simple-method", 843s # FALSE 843s # }; 843s # 843s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 843s # { 843s # &_org_project_other_callable_iface_method_info_simple_method.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 843s # { 843s # { 843s # -1, 843s # (gchar *) "org.project.OtherCallableIface", 843s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 843s # NULL, 843s # NULL, 843s # NULL 843s # }, 843s # "org-project-other-callable-iface", 843s # }; 843s # 843s # 843s # /** 843s # * org_project_other_callable_iface_interface_info: 843s # * 843s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 843s # * 843s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 843s # */ 843s # GDBusInterfaceInfo * 843s # org_project_other_callable_iface_interface_info (void) 843s # { 843s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 843s # } 843s # 843s # /** 843s # * org_project_other_callable_iface_override_properties: 843s # * @klass: The class structure for a #GObject derived class. 843s # * @property_id_begin: The property id to assign to the first overridden property. 843s # * 843s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 843s # * The properties are overridden in the order they are defined. 843s # * 843s # * Returns: The last property id. 843s # */ 843s # guint 843s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 843s # { 843s # return property_id_begin - 1; 843s # } 843s # 843s # 843s # inline static void 843s # org_project_other_callable_iface_method_marshal_simple_method ( 843s # GClosure *closure, 843s # GValue *return_value, 843s # unsigned int n_param_values, 843s # const GValue *param_values, 843s # void *invocation_hint, 843s # void *marshal_data) 843s # { 843s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 843s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 843s # } 843s # 843s # 843s # /** 843s # * OrgProjectOtherCallableIface: 843s # * 843s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 843s # */ 843s # 843s # /** 843s # * OrgProjectOtherCallableIfaceIface: 843s # * @parent_iface: The parent interface. 843s # * @handle_simple_method: Handler for the #OrgProjectOtherCallableIface::handle-simple-method signal. 843s # * 843s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 843s # */ 843s # 843s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 843s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 843s # 843s # static void 843s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 843s # { 843s # /* GObject signals for incoming D-Bus method calls: */ 843s # /** 843s # * OrgProjectOtherCallableIface::handle-simple-method: 843s # * @object: A #OrgProjectOtherCallableIface. 843s # * @invocation: A #GDBusMethodInvocation. 843s # * 843s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 843s # * 843s # * 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. 843s # * 843s # * 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. 843s # */ 843s # g_signal_new ("handle-simple-method", 843s # G_TYPE_FROM_INTERFACE (iface), 843s # G_SIGNAL_RUN_LAST, 843s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_simple_method), 843s # g_signal_accumulator_true_handled, 843s # NULL, 843s # org_project_other_callable_iface_method_marshal_simple_method, 843s # G_TYPE_BOOLEAN, 843s # 1, 843s # G_TYPE_DBUS_METHOD_INVOCATION); 843s # 843s # } 843s # 843s # /** 843s # * org_project_other_callable_iface_call_simple_method: 843s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_other_callable_iface_call_simple_method_finish() to get the result of the operation. 843s # * 843s # * See org_project_other_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 843s # */ 843s # void 843s # org_project_other_callable_iface_call_simple_method ( 843s # OrgProjectOtherCallableIface *proxy, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 843s # "SimpleMethod", 843s # g_variant_new ("()"), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # cancellable, 843s # callback, 843s # user_data); 843s # } 843s # 843s # /** 843s # * org_project_other_callable_iface_call_simple_method_finish: 843s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_simple_method(). 843s # * @error: Return location for error or %NULL. 843s # * 843s # * Finishes an operation started with org_project_other_callable_iface_call_simple_method(). 843s # * 843s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 843s # */ 843s # gboolean 843s # org_project_other_callable_iface_call_simple_method_finish ( 843s # OrgProjectOtherCallableIface *proxy, 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GVariant *_ret; 843s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 843s # if (_ret == NULL) 843s # goto _out; 843s # g_variant_get (_ret, 843s # "()"); 843s # g_variant_unref (_ret); 843s # _out: 843s # return _ret != NULL; 843s # } 843s # 843s # /** 843s # * org_project_other_callable_iface_call_simple_method_sync: 843s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL. 843s # * 843s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_other_callable_iface_call_simple_method() for the asynchronous version of this method. 843s # * 843s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 843s # */ 843s # gboolean 843s # org_project_other_callable_iface_call_simple_method_sync ( 843s # OrgProjectOtherCallableIface *proxy, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GVariant *_ret; 843s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 843s # "SimpleMethod", 843s # g_variant_new ("()"), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # cancellable, 843s # error); 843s # if (_ret == NULL) 843s # goto _out; 843s # g_variant_get (_ret, 843s # "()"); 843s # g_variant_unref (_ret); 843s # _out: 843s # return _ret != NULL; 843s # } 843s # 843s # /** 843s # * org_project_other_callable_iface_complete_simple_method: 843s # * @object: A #OrgProjectOtherCallableIface. 843s # * @invocation: (transfer full): A #GDBusMethodInvocation. 843s # * 843s # * 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. 843s # * 843s # * This method will free @invocation, you cannot use it afterwards. 843s # */ 843s # void 843s # org_project_other_callable_iface_complete_simple_method ( 843s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 843s # GDBusMethodInvocation *invocation) 843s # { 843s # g_dbus_method_invocation_return_value (invocation, 843s # g_variant_new ("()")); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * OrgProjectOtherCallableIfaceProxy: 843s # * 843s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * OrgProjectOtherCallableIfaceProxyClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 843s # */ 843s # 843s # struct _OrgProjectOtherCallableIfaceProxyPrivate 843s # { 843s # GData *qdata; 843s # }; 843s # 843s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 843s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 843s # 843s # #endif 843s # static void 843s # org_project_other_callable_iface_proxy_finalize (GObject *object) 843s # { 843s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 843s # g_datalist_clear (&proxy->priv->qdata); 843s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 843s # guint prop_id G_GNUC_UNUSED, 843s # GValue *value G_GNUC_UNUSED, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void 843s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 843s # guint prop_id G_GNUC_UNUSED, 843s # const GValue *value G_GNUC_UNUSED, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void 843s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 843s # const gchar *sender_name G_GNUC_UNUSED, 843s # const gchar *signal_name, 843s # GVariant *parameters) 843s # { 843s # _ExtendedGDBusSignalInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # gsize n; 843s # guint signal_id; 843s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 843s # if (info == NULL) 843s # return; 843s # num_params = g_variant_n_children (parameters); 843s # paramv = g_new0 (GValue, num_params + 1); 843s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 843s # g_value_set_object (¶mv[0], proxy); 843s # g_variant_iter_init (&iter, parameters); 843s # n = 1; 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 843s # g_signal_emitv (paramv, signal_id, 0, NULL); 843s # for (n = 0; n < num_params + 1; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static void 843s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 843s # GVariant *changed_properties, 843s # const gchar *const *invalidated_properties) 843s # { 843s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 843s # guint n; 843s # const gchar *key; 843s # GVariantIter *iter; 843s # _ExtendedGDBusPropertyInfo *info; 843s # g_variant_get (changed_properties, "a{sv}", &iter); 843s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 843s # g_datalist_remove_data (&proxy->priv->qdata, key); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # g_variant_iter_free (iter); 843s # for (n = 0; invalidated_properties[n] != NULL; n++) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 843s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # } 843s # 843s # static void 843s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 843s # #else 843s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 843s # #endif 843s # 843s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 843s # } 843s # 843s # static void 843s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusProxyClass *proxy_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 843s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 843s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 843s # 843s # proxy_class = G_DBUS_PROXY_CLASS (klass); 843s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 843s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # /** 843s # * org_project_other_callable_iface_proxy_new: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 843s # * 843s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # org_project_other_callable_iface_proxy_new ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # 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); 843s # } 843s # 843s # /** 843s # * org_project_other_callable_iface_proxy_new_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 843s # * 843s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectOtherCallableIface * 843s # org_project_other_callable_iface_proxy_new_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * org_project_other_callable_iface_proxy_new_sync: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectOtherCallableIface * 843s # org_project_other_callable_iface_proxy_new_sync ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /** 843s # * org_project_other_callable_iface_proxy_new_for_bus: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 843s # * 843s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # org_project_other_callable_iface_proxy_new_for_bus ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # 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); 843s # } 843s # 843s # /** 843s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 843s # * 843s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectOtherCallableIface * 843s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectOtherCallableIface * 843s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * OrgProjectOtherCallableIfaceSkeleton: 843s # * 843s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * OrgProjectOtherCallableIfaceSkeletonClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 843s # */ 843s # 843s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 843s # { 843s # GValue *properties; 843s # GList *changed_properties; 843s # GSource *changed_properties_idle_source; 843s # GMainContext *context; 843s # GMutex lock; 843s # }; 843s # 843s # static void 843s # _org_project_other_callable_iface_skeleton_handle_method_call ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name, 843s # const gchar *method_name, 843s # GVariant *parameters, 843s # GDBusMethodInvocation *invocation, 843s # gpointer user_data) 843s # { 843s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 843s # _ExtendedGDBusMethodInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # guint num_extra; 843s # gsize n; 843s # guint signal_id; 843s # GValue return_value = G_VALUE_INIT; 843s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 843s # g_assert (info != NULL); 843s # num_params = g_variant_n_children (parameters); 843s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 843s # n = 0; 843s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 843s # g_value_set_object (¶mv[n++], skeleton); 843s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 843s # g_value_set_object (¶mv[n++], invocation); 843s # if (info->pass_fdlist) 843s # { 843s # #ifdef G_OS_UNIX 843s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 843s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 843s # #else 843s # g_assert_not_reached (); 843s # #endif 843s # } 843s # g_variant_iter_init (&iter, parameters); 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 843s # g_value_init (&return_value, G_TYPE_BOOLEAN); 843s # g_signal_emitv (paramv, signal_id, 0, &return_value); 843s # if (!g_value_get_boolean (&return_value)) 843s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 843s # g_value_unset (&return_value); 843s # for (n = 0; n < num_params + num_extra; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static GVariant * 843s # _org_project_other_callable_iface_skeleton_handle_get_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # GVariant *ret; 843s # ret = NULL; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # g_value_init (&value, pspec->value_type); 843s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 843s # g_value_unset (&value); 843s # } 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _org_project_other_callable_iface_skeleton_handle_set_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GVariant *variant, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # gboolean ret; 843s # ret = FALSE; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # if (info->use_gvariant) 843s # g_value_set_variant (&value, variant); 843s # else 843s # g_dbus_gvariant_to_gvalue (variant, &value); 843s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # g_value_unset (&value); 843s # ret = TRUE; 843s # } 843s # return ret; 843s # } 843s # 843s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 843s # { 843s # _org_project_other_callable_iface_skeleton_handle_method_call, 843s # _org_project_other_callable_iface_skeleton_handle_get_property, 843s # _org_project_other_callable_iface_skeleton_handle_set_property, 843s # {NULL} 843s # }; 843s # 843s # static GDBusInterfaceInfo * 843s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return org_project_other_callable_iface_interface_info (); 843s # } 843s # 843s # static GDBusInterfaceVTable * 843s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 843s # } 843s # 843s # static GVariant * 843s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 843s # { 843s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 843s # 843s # GVariantBuilder builder; 843s # guint n; 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 843s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #else 843s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #endif 843s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 843s # goto out; 843s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 843s # { 843s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 843s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 843s # { 843s # GVariant *value; 843s # 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); 843s # if (value != NULL) 843s # { 843s # g_variant_take_ref (value); 843s # g_variant_builder_add (&builder, "{sv}", info->name, value); 843s # g_variant_unref (value); 843s # } 843s # } 843s # } 843s # out: 843s # return g_variant_builder_end (&builder); 843s # } 843s # 843s # static void 843s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 843s # 843s # #endif 843s # static void 843s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 843s # { 843s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 843s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 843s # if (skeleton->priv->changed_properties_idle_source != NULL) 843s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 843s # g_main_context_unref (skeleton->priv->context); 843s # g_mutex_clear (&skeleton->priv->lock); 843s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 843s # #else 843s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 843s # #endif 843s # 843s # g_mutex_init (&skeleton->priv->lock); 843s # skeleton->priv->context = g_main_context_ref_thread_default (); 843s # } 843s # 843s # static void 843s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusInterfaceSkeletonClass *skeleton_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 843s # 843s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 843s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 843s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 843s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 843s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # /** 843s # * org_project_other_callable_iface_skeleton_new: 843s # * 843s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 843s # * 843s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 843s # */ 843s # OrgProjectOtherCallableIface * 843s # org_project_other_callable_iface_skeleton_new (void) 843s # { 843s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 843s # } 843s # Error: 843s # Executing: glib/codegen.py.test 843s ok 10 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_in_args 843s # gdbus-codegen: /usr/bin/gdbus-codegen 843s # tmpdir: /tmp/tmpwsrbnec3 843s # /tmp/tmpwsrbnec3/tmpn_w8odui.xml: 843s # 843s # 843s # 843s # 843s # 843s # 843s # 843s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwsrbnec3/tmpn_w8odui.xml', '--output', '-', '--body'] 843s # Return code: 0 843s # Output: 843s # /* 843s # * This file is generated by gdbus-codegen, do not modify it. 843s # * 843s # * The license of this code is the same as for the D-Bus interface description 843s # * it was derived from. Note that it links to GLib, so must comply with the 843s # * LGPL linking clauses. 843s # */ 843s # 843s # #ifdef HAVE_CONFIG_H 843s # # include "config.h" 843s # #endif 843s # 843s # #include 843s # #ifdef G_OS_UNIX 843s # # include 843s # #endif 843s # 843s # #ifdef G_ENABLE_DEBUG 843s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 843s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 843s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 843s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 843s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 843s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 843s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 843s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 843s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 843s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 843s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 843s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 843s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 843s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 843s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 843s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 843s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 843s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 843s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 843s # #else /* !G_ENABLE_DEBUG */ 843s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 843s # * Do not access GValues directly in your code. Instead, use the 843s # * g_value_get_*() functions 843s # */ 843s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 843s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 843s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 843s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 843s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 843s # #endif /* !G_ENABLE_DEBUG */ 843s # 843s # typedef struct 843s # { 843s # GDBusArgInfo parent_struct; 843s # gboolean use_gvariant; 843s # } _ExtendedGDBusArgInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusMethodInfo parent_struct; 843s # const gchar *signal_name; 843s # gboolean pass_fdlist; 843s # } _ExtendedGDBusMethodInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusSignalInfo parent_struct; 843s # const gchar *signal_name; 843s # } _ExtendedGDBusSignalInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusPropertyInfo parent_struct; 843s # const gchar *hyphen_name; 843s # guint use_gvariant : 1; 843s # guint emits_changed_signal : 1; 843s # } _ExtendedGDBusPropertyInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusInterfaceInfo parent_struct; 843s # const gchar *hyphen_name; 843s # } _ExtendedGDBusInterfaceInfo; 843s # 843s # typedef struct 843s # { 843s # const _ExtendedGDBusPropertyInfo *info; 843s # guint prop_id; 843s # GValue orig_value; /* the value before the change */ 843s # } ChangedProperty; 843s # 843s # static void 843s # _changed_property_free (ChangedProperty *data) 843s # { 843s # g_value_unset (&data->orig_value); 843s # g_free (data); 843s # } 843s # 843s # static gboolean 843s # _g_strv_equal0 (gchar **a, gchar **b) 843s # { 843s # gboolean ret = FALSE; 843s # guint n; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # if (g_strv_length (a) != g_strv_length (b)) 843s # goto out; 843s # for (n = 0; a[n] != NULL; n++) 843s # if (g_strcmp0 (a[n], b[n]) != 0) 843s # goto out; 843s # ret = TRUE; 843s # out: 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _g_variant_equal0 (GVariant *a, GVariant *b) 843s # { 843s # gboolean ret = FALSE; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # ret = g_variant_equal (a, b); 843s # out: 843s # return ret; 843s # } 843s # 843s # G_GNUC_UNUSED static gboolean 843s # _g_value_equal (const GValue *a, const GValue *b) 843s # { 843s # gboolean ret = FALSE; 843s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 843s # switch (G_VALUE_TYPE (a)) 843s # { 843s # case G_TYPE_BOOLEAN: 843s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 843s # break; 843s # case G_TYPE_UCHAR: 843s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 843s # break; 843s # case G_TYPE_INT: 843s # ret = (g_value_get_int (a) == g_value_get_int (b)); 843s # break; 843s # case G_TYPE_UINT: 843s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 843s # break; 843s # case G_TYPE_INT64: 843s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 843s # break; 843s # case G_TYPE_UINT64: 843s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 843s # break; 843s # case G_TYPE_DOUBLE: 843s # { 843s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 843s # gdouble da = g_value_get_double (a); 843s # gdouble db = g_value_get_double (b); 843s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 843s # } 843s # break; 843s # case G_TYPE_STRING: 843s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 843s # break; 843s # case G_TYPE_VARIANT: 843s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 843s # break; 843s # default: 843s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 843s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 843s # else 843s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 843s # break; 843s # } 843s # return ret; 843s # } 843s # 843s # static void 843s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN ( 843s # GClosure *closure, 843s # GValue *return_value, 843s # unsigned int n_param_values, 843s # const GValue *param_values, 843s # void *invocation_hint G_GNUC_UNUSED, 843s # void *marshal_data) 843s # { 843s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 843s # (void *data1, 843s # GDBusMethodInvocation *arg_method_invocation, 843s # gboolean arg_arg_b, 843s # void *data2); 843s # _GDbusCodegenMarshalBoolean_ObjectBooleanFunc callback; 843s # GCClosure *cc = (GCClosure*) closure; 843s # void *data1, *data2; 843s # gboolean v_return; 843s # 843s # g_return_if_fail (return_value != NULL); 843s # g_return_if_fail (n_param_values == 3); 843s # 843s # if (G_CCLOSURE_SWAP_DATA (closure)) 843s # { 843s # data1 = closure->data; 843s # data2 = g_value_peek_pointer (param_values + 0); 843s # } 843s # else 843s # { 843s # data1 = g_value_peek_pointer (param_values + 0); 843s # data2 = closure->data; 843s # } 843s # 843s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 843s # (marshal_data ? marshal_data : cc->callback); 843s # 843s # v_return = 843s # callback (data1, 843s # g_marshal_value_peek_object (param_values + 1), 843s # g_marshal_value_peek_boolean (param_values + 2), 843s # data2); 843s # 843s # g_value_set_boolean (return_value, v_return); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ 843s # * Code for interface org.project.UsefulInterface 843s # * ------------------------------------------------------------------------ 843s # */ 843s # 843s # /** 843s # * SECTION:OrgProjectUsefulInterface 843s # * @title: OrgProjectUsefulInterface 843s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 843s # * 843s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 843s # */ 843s # 843s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 843s # 843s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b = 843s # { 843s # { 843s # -1, 843s # (gchar *) "arg_b", 843s # (gchar *) "b", 843s # NULL 843s # }, 843s # FALSE 843s # }; 843s # 843s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers[] = 843s # { 843s # &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 843s # { 843s # { 843s # -1, 843s # (gchar *) "SingleArgMethodB", 843s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers, 843s # NULL, 843s # NULL 843s # }, 843s # "handle-single-arg-method-b", 843s # FALSE 843s # }; 843s # 843s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 843s # { 843s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 843s # { 843s # { 843s # -1, 843s # (gchar *) "org.project.UsefulInterface", 843s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 843s # NULL, 843s # NULL, 843s # NULL 843s # }, 843s # "org-project-useful-interface", 843s # }; 843s # 843s # 843s # /** 843s # * org_project_useful_interface_interface_info: 843s # * 843s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 843s # * 843s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 843s # */ 843s # GDBusInterfaceInfo * 843s # org_project_useful_interface_interface_info (void) 843s # { 843s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_override_properties: 843s # * @klass: The class structure for a #GObject derived class. 843s # * @property_id_begin: The property id to assign to the first overridden property. 843s # * 843s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 843s # * The properties are overridden in the order they are defined. 843s # * 843s # * Returns: The last property id. 843s # */ 843s # guint 843s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 843s # { 843s # return property_id_begin - 1; 843s # } 843s # 843s # 843s # inline static void 843s # org_project_useful_interface_method_marshal_single_arg_method_b ( 843s # GClosure *closure, 843s # GValue *return_value, 843s # unsigned int n_param_values, 843s # const GValue *param_values, 843s # void *invocation_hint, 843s # void *marshal_data) 843s # { 843s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN (closure, 843s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 843s # } 843s # 843s # 843s # /** 843s # * OrgProjectUsefulInterface: 843s # * 843s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceIface: 843s # * @parent_iface: The parent interface. 843s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 843s # * 843s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 843s # */ 843s # 843s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 843s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 843s # 843s # static void 843s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 843s # { 843s # /* GObject signals for incoming D-Bus method calls: */ 843s # /** 843s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 843s # * @object: A #OrgProjectUsefulInterface. 843s # * @invocation: A #GDBusMethodInvocation. 843s # * @arg_arg_b: Argument passed by remote caller. 843s # * 843s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 843s # * 843s # * 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. 843s # * 843s # * 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. 843s # */ 843s # g_signal_new ("handle-single-arg-method-b", 843s # G_TYPE_FROM_INTERFACE (iface), 843s # G_SIGNAL_RUN_LAST, 843s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 843s # g_signal_accumulator_true_handled, 843s # NULL, 843s # org_project_useful_interface_method_marshal_single_arg_method_b, 843s # G_TYPE_BOOLEAN, 843s # 2, 843s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_BOOLEAN); 843s # 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_b: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @arg_arg_b: Argument to pass with the method invocation. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 843s # */ 843s # void 843s # org_project_useful_interface_call_single_arg_method_b ( 843s # OrgProjectUsefulInterface *proxy, 843s # gboolean arg_arg_b, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 843s # "SingleArgMethodB", 843s # g_variant_new ("(b)", 843s # arg_arg_b), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # cancellable, 843s # callback, 843s # user_data); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_b_finish: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 843s # * @error: Return location for error or %NULL. 843s # * 843s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 843s # * 843s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 843s # */ 843s # gboolean 843s # org_project_useful_interface_call_single_arg_method_b_finish ( 843s # OrgProjectUsefulInterface *proxy, 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GVariant *_ret; 843s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 843s # if (_ret == NULL) 843s # goto _out; 843s # g_variant_get (_ret, 843s # "()"); 843s # g_variant_unref (_ret); 843s # _out: 843s # return _ret != NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_b_sync: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @arg_arg_b: Argument to pass with the method invocation. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL. 843s # * 843s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 843s # * 843s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 843s # */ 843s # gboolean 843s # org_project_useful_interface_call_single_arg_method_b_sync ( 843s # OrgProjectUsefulInterface *proxy, 843s # gboolean arg_arg_b, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GVariant *_ret; 843s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 843s # "SingleArgMethodB", 843s # g_variant_new ("(b)", 843s # arg_arg_b), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # cancellable, 843s # error); 843s # if (_ret == NULL) 843s # goto _out; 843s # g_variant_get (_ret, 843s # "()"); 843s # g_variant_unref (_ret); 843s # _out: 843s # return _ret != NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_complete_single_arg_method_b: 843s # * @object: A #OrgProjectUsefulInterface. 843s # * @invocation: (transfer full): A #GDBusMethodInvocation. 843s # * 843s # * 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. 843s # * 843s # * This method will free @invocation, you cannot use it afterwards. 843s # */ 843s # void 843s # org_project_useful_interface_complete_single_arg_method_b ( 843s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 843s # GDBusMethodInvocation *invocation) 843s # { 843s # g_dbus_method_invocation_return_value (invocation, 843s # g_variant_new ("()")); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceProxy: 843s # * 843s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceProxyClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for #OrgProjectUsefulInterfaceProxy. 843s # */ 843s # 843s # struct _OrgProjectUsefulInterfaceProxyPrivate 843s # { 843s # GData *qdata; 843s # }; 843s # 843s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 843s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 843s # 843s # #endif 843s # static void 843s # org_project_useful_interface_proxy_finalize (GObject *object) 843s # { 843s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 843s # g_datalist_clear (&proxy->priv->qdata); 843s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 843s # guint prop_id G_GNUC_UNUSED, 843s # GValue *value G_GNUC_UNUSED, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 843s # guint prop_id G_GNUC_UNUSED, 843s # const GValue *value G_GNUC_UNUSED, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 843s # const gchar *sender_name G_GNUC_UNUSED, 843s # const gchar *signal_name, 843s # GVariant *parameters) 843s # { 843s # _ExtendedGDBusSignalInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # gsize n; 843s # guint signal_id; 843s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 843s # if (info == NULL) 843s # return; 843s # num_params = g_variant_n_children (parameters); 843s # paramv = g_new0 (GValue, num_params + 1); 843s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_set_object (¶mv[0], proxy); 843s # g_variant_iter_init (&iter, parameters); 843s # n = 1; 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_signal_emitv (paramv, signal_id, 0, NULL); 843s # for (n = 0; n < num_params + 1; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 843s # GVariant *changed_properties, 843s # const gchar *const *invalidated_properties) 843s # { 843s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 843s # guint n; 843s # const gchar *key; 843s # GVariantIter *iter; 843s # _ExtendedGDBusPropertyInfo *info; 843s # g_variant_get (changed_properties, "a{sv}", &iter); 843s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 843s # g_datalist_remove_data (&proxy->priv->qdata, key); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # g_variant_iter_free (iter); 843s # for (n = 0; invalidated_properties[n] != NULL; n++) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 843s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 843s # #else 843s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 843s # #endif 843s # 843s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusProxyClass *proxy_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 843s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 843s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 843s # 843s # proxy_class = G_DBUS_PROXY_CLASS (klass); 843s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 843s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # org_project_useful_interface_proxy_new ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # g_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); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_sync: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_sync ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # org_project_useful_interface_proxy_new_for_bus ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # g_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); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_for_bus_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus_sync: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_for_bus_sync ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceSkeleton: 843s # * 843s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceSkeletonClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 843s # */ 843s # 843s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 843s # { 843s # GValue *properties; 843s # GList *changed_properties; 843s # GSource *changed_properties_idle_source; 843s # GMainContext *context; 843s # GMutex lock; 843s # }; 843s # 843s # static void 843s # _org_project_useful_interface_skeleton_handle_method_call ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name, 843s # const gchar *method_name, 843s # GVariant *parameters, 843s # GDBusMethodInvocation *invocation, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # _ExtendedGDBusMethodInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # guint num_extra; 843s # gsize n; 843s # guint signal_id; 843s # GValue return_value = G_VALUE_INIT; 843s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 843s # g_assert (info != NULL); 843s # num_params = g_variant_n_children (parameters); 843s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 843s # n = 0; 843s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_set_object (¶mv[n++], skeleton); 843s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 843s # g_value_set_object (¶mv[n++], invocation); 843s # if (info->pass_fdlist) 843s # { 843s # #ifdef G_OS_UNIX 843s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 843s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 843s # #else 843s # g_assert_not_reached (); 843s # #endif 843s # } 843s # g_variant_iter_init (&iter, parameters); 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_init (&return_value, G_TYPE_BOOLEAN); 843s # g_signal_emitv (paramv, signal_id, 0, &return_value); 843s # if (!g_value_get_boolean (&return_value)) 843s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 843s # g_value_unset (&return_value); 843s # for (n = 0; n < num_params + num_extra; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static GVariant * 843s # _org_project_useful_interface_skeleton_handle_get_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # GVariant *ret; 843s # ret = NULL; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # g_value_init (&value, pspec->value_type); 843s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 843s # g_value_unset (&value); 843s # } 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _org_project_useful_interface_skeleton_handle_set_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GVariant *variant, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # gboolean ret; 843s # ret = FALSE; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # if (info->use_gvariant) 843s # g_value_set_variant (&value, variant); 843s # else 843s # g_dbus_gvariant_to_gvalue (variant, &value); 843s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # g_value_unset (&value); 843s # ret = TRUE; 843s # } 843s # return ret; 843s # } 843s # 843s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 843s # { 843s # _org_project_useful_interface_skeleton_handle_method_call, 843s # _org_project_useful_interface_skeleton_handle_get_property, 843s # _org_project_useful_interface_skeleton_handle_set_property, 843s # {NULL} 843s # }; 843s # 843s # static GDBusInterfaceInfo * 843s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return org_project_useful_interface_interface_info (); 843s # } 843s # 843s # static GDBusInterfaceVTable * 843s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 843s # } 843s # 843s # static GVariant * 843s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 843s # 843s # GVariantBuilder builder; 843s # guint n; 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 843s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #else 843s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #endif 843s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 843s # goto out; 843s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 843s # { 843s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 843s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 843s # { 843s # GVariant *value; 843s # 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); 843s # if (value != NULL) 843s # { 843s # g_variant_take_ref (value); 843s # g_variant_builder_add (&builder, "{sv}", info->name, value); 843s # g_variant_unref (value); 843s # } 843s # } 843s # } 843s # out: 843s # return g_variant_builder_end (&builder); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 843s # 843s # #endif 843s # static void 843s # org_project_useful_interface_skeleton_finalize (GObject *object) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 843s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 843s # if (skeleton->priv->changed_properties_idle_source != NULL) 843s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 843s # g_main_context_unref (skeleton->priv->context); 843s # g_mutex_clear (&skeleton->priv->lock); 843s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 843s # #else 843s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 843s # #endif 843s # 843s # g_mutex_init (&skeleton->priv->lock); 843s # skeleton->priv->context = g_main_context_ref_thread_default (); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusInterfaceSkeletonClass *skeleton_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 843s # 843s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 843s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 843s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 843s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 843s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_skeleton_new: 843s # * 843s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_skeleton_new (void) 843s # { 843s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 843s # } 843s # Error: 843s # 843s # /tmp/tmpwsrbnec3/tmpxc22cbzs.xml: 843s # 843s # 843s # 843s # 843s # 843s # 843s # 843s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwsrbnec3/tmpxc22cbzs.xml', '--output', '-', '--body'] 843s # Return code: 0 843s # Output: 843s # /* 843s # * This file is generated by gdbus-codegen, do not modify it. 843s # * 843s # * The license of this code is the same as for the D-Bus interface description 843s # * it was derived from. Note that it links to GLib, so must comply with the 843s # * LGPL linking clauses. 843s # */ 843s # 843s # #ifdef HAVE_CONFIG_H 843s # # include "config.h" 843s # #endif 843s # 843s # #include 843s # #ifdef G_OS_UNIX 843s # # include 843s # #endif 843s # 843s # #ifdef G_ENABLE_DEBUG 843s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 843s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 843s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 843s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 843s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 843s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 843s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 843s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 843s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 843s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 843s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 843s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 843s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 843s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 843s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 843s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 843s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 843s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 843s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 843s # #else /* !G_ENABLE_DEBUG */ 843s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 843s # * Do not access GValues directly in your code. Instead, use the 843s # * g_value_get_*() functions 843s # */ 843s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 843s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 843s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 843s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 843s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 843s # #endif /* !G_ENABLE_DEBUG */ 843s # 843s # typedef struct 843s # { 843s # GDBusArgInfo parent_struct; 843s # gboolean use_gvariant; 843s # } _ExtendedGDBusArgInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusMethodInfo parent_struct; 843s # const gchar *signal_name; 843s # gboolean pass_fdlist; 843s # } _ExtendedGDBusMethodInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusSignalInfo parent_struct; 843s # const gchar *signal_name; 843s # } _ExtendedGDBusSignalInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusPropertyInfo parent_struct; 843s # const gchar *hyphen_name; 843s # guint use_gvariant : 1; 843s # guint emits_changed_signal : 1; 843s # } _ExtendedGDBusPropertyInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusInterfaceInfo parent_struct; 843s # const gchar *hyphen_name; 843s # } _ExtendedGDBusInterfaceInfo; 843s # 843s # typedef struct 843s # { 843s # const _ExtendedGDBusPropertyInfo *info; 843s # guint prop_id; 843s # GValue orig_value; /* the value before the change */ 843s # } ChangedProperty; 843s # 843s # static void 843s # _changed_property_free (ChangedProperty *data) 843s # { 843s # g_value_unset (&data->orig_value); 843s # g_free (data); 843s # } 843s # 843s # static gboolean 843s # _g_strv_equal0 (gchar **a, gchar **b) 843s # { 843s # gboolean ret = FALSE; 843s # guint n; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # if (g_strv_length (a) != g_strv_length (b)) 843s # goto out; 843s # for (n = 0; a[n] != NULL; n++) 843s # if (g_strcmp0 (a[n], b[n]) != 0) 843s # goto out; 843s # ret = TRUE; 843s # out: 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _g_variant_equal0 (GVariant *a, GVariant *b) 843s # { 843s # gboolean ret = FALSE; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # ret = g_variant_equal (a, b); 843s # out: 843s # return ret; 843s # } 843s # 843s # G_GNUC_UNUSED static gboolean 843s # _g_value_equal (const GValue *a, const GValue *b) 843s # { 843s # gboolean ret = FALSE; 843s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 843s # switch (G_VALUE_TYPE (a)) 843s # { 843s # case G_TYPE_BOOLEAN: 843s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 843s # break; 843s # case G_TYPE_UCHAR: 843s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 843s # break; 843s # case G_TYPE_INT: 843s # ret = (g_value_get_int (a) == g_value_get_int (b)); 843s # break; 843s # case G_TYPE_UINT: 843s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 843s # break; 843s # case G_TYPE_INT64: 843s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 843s # break; 843s # case G_TYPE_UINT64: 843s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 843s # break; 843s # case G_TYPE_DOUBLE: 843s # { 843s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 843s # gdouble da = g_value_get_double (a); 843s # gdouble db = g_value_get_double (b); 843s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 843s # } 843s # break; 843s # case G_TYPE_STRING: 843s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 843s # break; 843s # case G_TYPE_VARIANT: 843s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 843s # break; 843s # default: 843s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 843s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 843s # else 843s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 843s # break; 843s # } 843s # return ret; 843s # } 843s # 843s # static void 843s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR ( 843s # GClosure *closure, 843s # GValue *return_value, 843s # unsigned int n_param_values, 843s # const GValue *param_values, 843s # void *invocation_hint G_GNUC_UNUSED, 843s # void *marshal_data) 843s # { 843s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 843s # (void *data1, 843s # GDBusMethodInvocation *arg_method_invocation, 843s # guchar arg_arg_y, 843s # void *data2); 843s # _GDbusCodegenMarshalBoolean_ObjectUcharFunc callback; 843s # GCClosure *cc = (GCClosure*) closure; 843s # void *data1, *data2; 843s # gboolean v_return; 843s # 843s # g_return_if_fail (return_value != NULL); 843s # g_return_if_fail (n_param_values == 3); 843s # 843s # if (G_CCLOSURE_SWAP_DATA (closure)) 843s # { 843s # data1 = closure->data; 843s # data2 = g_value_peek_pointer (param_values + 0); 843s # } 843s # else 843s # { 843s # data1 = g_value_peek_pointer (param_values + 0); 843s # data2 = closure->data; 843s # } 843s # 843s # callback = (_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 843s # (marshal_data ? marshal_data : cc->callback); 843s # 843s # v_return = 843s # callback (data1, 843s # g_marshal_value_peek_object (param_values + 1), 843s # g_marshal_value_peek_uchar (param_values + 2), 843s # data2); 843s # 843s # g_value_set_boolean (return_value, v_return); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ 843s # * Code for interface org.project.UsefulInterface 843s # * ------------------------------------------------------------------------ 843s # */ 843s # 843s # /** 843s # * SECTION:OrgProjectUsefulInterface 843s # * @title: OrgProjectUsefulInterface 843s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 843s # * 843s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 843s # */ 843s # 843s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 843s # 843s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y = 843s # { 843s # { 843s # -1, 843s # (gchar *) "arg_y", 843s # (gchar *) "y", 843s # NULL 843s # }, 843s # FALSE 843s # }; 843s # 843s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers[] = 843s # { 843s # &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 843s # { 843s # { 843s # -1, 843s # (gchar *) "SingleArgMethodY", 843s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers, 843s # NULL, 843s # NULL 843s # }, 843s # "handle-single-arg-method-y", 843s # FALSE 843s # }; 843s # 843s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 843s # { 843s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 843s # { 843s # { 843s # -1, 843s # (gchar *) "org.project.UsefulInterface", 843s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 843s # NULL, 843s # NULL, 843s # NULL 843s # }, 843s # "org-project-useful-interface", 843s # }; 843s # 843s # 843s # /** 843s # * org_project_useful_interface_interface_info: 843s # * 843s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 843s # * 843s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 843s # */ 843s # GDBusInterfaceInfo * 843s # org_project_useful_interface_interface_info (void) 843s # { 843s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_override_properties: 843s # * @klass: The class structure for a #GObject derived class. 843s # * @property_id_begin: The property id to assign to the first overridden property. 843s # * 843s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 843s # * The properties are overridden in the order they are defined. 843s # * 843s # * Returns: The last property id. 843s # */ 843s # guint 843s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 843s # { 843s # return property_id_begin - 1; 843s # } 843s # 843s # 843s # inline static void 843s # org_project_useful_interface_method_marshal_single_arg_method_y ( 843s # GClosure *closure, 843s # GValue *return_value, 843s # unsigned int n_param_values, 843s # const GValue *param_values, 843s # void *invocation_hint, 843s # void *marshal_data) 843s # { 843s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR (closure, 843s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 843s # } 843s # 843s # 843s # /** 843s # * OrgProjectUsefulInterface: 843s # * 843s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceIface: 843s # * @parent_iface: The parent interface. 843s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 843s # * 843s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 843s # */ 843s # 843s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 843s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 843s # 843s # static void 843s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 843s # { 843s # /* GObject signals for incoming D-Bus method calls: */ 843s # /** 843s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 843s # * @object: A #OrgProjectUsefulInterface. 843s # * @invocation: A #GDBusMethodInvocation. 843s # * @arg_arg_y: Argument passed by remote caller. 843s # * 843s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 843s # * 843s # * 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. 843s # * 843s # * 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. 843s # */ 843s # g_signal_new ("handle-single-arg-method-y", 843s # G_TYPE_FROM_INTERFACE (iface), 843s # G_SIGNAL_RUN_LAST, 843s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 843s # g_signal_accumulator_true_handled, 843s # NULL, 843s # org_project_useful_interface_method_marshal_single_arg_method_y, 843s # G_TYPE_BOOLEAN, 843s # 2, 843s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UCHAR); 843s # 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_y: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @arg_arg_y: Argument to pass with the method invocation. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 843s # */ 843s # void 843s # org_project_useful_interface_call_single_arg_method_y ( 843s # OrgProjectUsefulInterface *proxy, 843s # guchar arg_arg_y, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 843s # "SingleArgMethodY", 843s # g_variant_new ("(y)", 843s # arg_arg_y), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # cancellable, 843s # callback, 843s # user_data); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_y_finish: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 843s # * @error: Return location for error or %NULL. 843s # * 843s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 843s # * 843s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 843s # */ 843s # gboolean 843s # org_project_useful_interface_call_single_arg_method_y_finish ( 843s # OrgProjectUsefulInterface *proxy, 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GVariant *_ret; 843s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 843s # if (_ret == NULL) 843s # goto _out; 843s # g_variant_get (_ret, 843s # "()"); 843s # g_variant_unref (_ret); 843s # _out: 843s # return _ret != NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_y_sync: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @arg_arg_y: Argument to pass with the method invocation. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL. 843s # * 843s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 843s # * 843s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 843s # */ 843s # gboolean 843s # org_project_useful_interface_call_single_arg_method_y_sync ( 843s # OrgProjectUsefulInterface *proxy, 843s # guchar arg_arg_y, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GVariant *_ret; 843s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 843s # "SingleArgMethodY", 843s # g_variant_new ("(y)", 843s # arg_arg_y), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # cancellable, 843s # error); 843s # if (_ret == NULL) 843s # goto _out; 843s # g_variant_get (_ret, 843s # "()"); 843s # g_variant_unref (_ret); 843s # _out: 843s # return _ret != NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_complete_single_arg_method_y: 843s # * @object: A #OrgProjectUsefulInterface. 843s # * @invocation: (transfer full): A #GDBusMethodInvocation. 843s # * 843s # * 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. 843s # * 843s # * This method will free @invocation, you cannot use it afterwards. 843s # */ 843s # void 843s # org_project_useful_interface_complete_single_arg_method_y ( 843s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 843s # GDBusMethodInvocation *invocation) 843s # { 843s # g_dbus_method_invocation_return_value (invocation, 843s # g_variant_new ("()")); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceProxy: 843s # * 843s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceProxyClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for #OrgProjectUsefulInterfaceProxy. 843s # */ 843s # 843s # struct _OrgProjectUsefulInterfaceProxyPrivate 843s # { 843s # GData *qdata; 843s # }; 843s # 843s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 843s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 843s # 843s # #endif 843s # static void 843s # org_project_useful_interface_proxy_finalize (GObject *object) 843s # { 843s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 843s # g_datalist_clear (&proxy->priv->qdata); 843s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 843s # guint prop_id G_GNUC_UNUSED, 843s # GValue *value G_GNUC_UNUSED, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 843s # guint prop_id G_GNUC_UNUSED, 843s # const GValue *value G_GNUC_UNUSED, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 843s # const gchar *sender_name G_GNUC_UNUSED, 843s # const gchar *signal_name, 843s # GVariant *parameters) 843s # { 843s # _ExtendedGDBusSignalInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # gsize n; 843s # guint signal_id; 843s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 843s # if (info == NULL) 843s # return; 843s # num_params = g_variant_n_children (parameters); 843s # paramv = g_new0 (GValue, num_params + 1); 843s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_set_object (¶mv[0], proxy); 843s # g_variant_iter_init (&iter, parameters); 843s # n = 1; 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_signal_emitv (paramv, signal_id, 0, NULL); 843s # for (n = 0; n < num_params + 1; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 843s # GVariant *changed_properties, 843s # const gchar *const *invalidated_properties) 843s # { 843s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 843s # guint n; 843s # const gchar *key; 843s # GVariantIter *iter; 843s # _ExtendedGDBusPropertyInfo *info; 843s # g_variant_get (changed_properties, "a{sv}", &iter); 843s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 843s # g_datalist_remove_data (&proxy->priv->qdata, key); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # g_variant_iter_free (iter); 843s # for (n = 0; invalidated_properties[n] != NULL; n++) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 843s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 843s # #else 843s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 843s # #endif 843s # 843s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusProxyClass *proxy_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 843s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 843s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 843s # 843s # proxy_class = G_DBUS_PROXY_CLASS (klass); 843s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 843s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # org_project_useful_interface_proxy_new ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # g_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); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_sync: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_sync ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # org_project_useful_interface_proxy_new_for_bus ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # g_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); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_for_bus_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus_sync: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_for_bus_sync ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceSkeleton: 843s # * 843s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceSkeletonClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 843s # */ 843s # 843s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 843s # { 843s # GValue *properties; 843s # GList *changed_properties; 843s # GSource *changed_properties_idle_source; 843s # GMainContext *context; 843s # GMutex lock; 843s # }; 843s # 843s # static void 843s # _org_project_useful_interface_skeleton_handle_method_call ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name, 843s # const gchar *method_name, 843s # GVariant *parameters, 843s # GDBusMethodInvocation *invocation, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # _ExtendedGDBusMethodInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # guint num_extra; 843s # gsize n; 843s # guint signal_id; 843s # GValue return_value = G_VALUE_INIT; 843s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 843s # g_assert (info != NULL); 843s # num_params = g_variant_n_children (parameters); 843s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 843s # n = 0; 843s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_set_object (¶mv[n++], skeleton); 843s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 843s # g_value_set_object (¶mv[n++], invocation); 843s # if (info->pass_fdlist) 843s # { 843s # #ifdef G_OS_UNIX 843s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 843s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 843s # #else 843s # g_assert_not_reached (); 843s # #endif 843s # } 843s # g_variant_iter_init (&iter, parameters); 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_init (&return_value, G_TYPE_BOOLEAN); 843s # g_signal_emitv (paramv, signal_id, 0, &return_value); 843s # if (!g_value_get_boolean (&return_value)) 843s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 843s # g_value_unset (&return_value); 843s # for (n = 0; n < num_params + num_extra; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static GVariant * 843s # _org_project_useful_interface_skeleton_handle_get_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # GVariant *ret; 843s # ret = NULL; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # g_value_init (&value, pspec->value_type); 843s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 843s # g_value_unset (&value); 843s # } 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _org_project_useful_interface_skeleton_handle_set_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GVariant *variant, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # gboolean ret; 843s # ret = FALSE; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # if (info->use_gvariant) 843s # g_value_set_variant (&value, variant); 843s # else 843s # g_dbus_gvariant_to_gvalue (variant, &value); 843s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # g_value_unset (&value); 843s # ret = TRUE; 843s # } 843s # return ret; 843s # } 843s # 843s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 843s # { 843s # _org_project_useful_interface_skeleton_handle_method_call, 843s # _org_project_useful_interface_skeleton_handle_get_property, 843s # _org_project_useful_interface_skeleton_handle_set_property, 843s # {NULL} 843s # }; 843s # 843s # static GDBusInterfaceInfo * 843s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return org_project_useful_interface_interface_info (); 843s # } 843s # 843s # static GDBusInterfaceVTable * 843s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 843s # } 843s # 843s # static GVariant * 843s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 843s # 843s # GVariantBuilder builder; 843s # guint n; 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 843s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #else 843s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #endif 843s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 843s # goto out; 843s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 843s # { 843s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 843s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 843s # { 843s # GVariant *value; 843s # 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); 843s # if (value != NULL) 843s # { 843s # g_variant_take_ref (value); 843s # g_variant_builder_add (&builder, "{sv}", info->name, value); 843s # g_variant_unref (value); 843s # } 843s # } 843s # } 843s # out: 843s # return g_variant_builder_end (&builder); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 843s # 843s # #endif 843s # static void 843s # org_project_useful_interface_skeleton_finalize (GObject *object) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 843s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 843s # if (skeleton->priv->changed_properties_idle_source != NULL) 843s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 843s # g_main_context_unref (skeleton->priv->context); 843s # g_mutex_clear (&skeleton->priv->lock); 843s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 843s # #else 843s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 843s # #endif 843s # 843s # g_mutex_init (&skeleton->priv->lock); 843s # skeleton->priv->context = g_main_context_ref_thread_default (); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusInterfaceSkeletonClass *skeleton_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 843s # 843s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 843s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 843s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 843s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 843s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_skeleton_new: 843s # * 843s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_skeleton_new (void) 843s # { 843s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 843s # } 843s # Error: 843s # 843s # /tmp/tmpwsrbnec3/tmp221bwhye.xml: 843s # 843s # 843s # 843s # 843s # 843s # 843s # 843s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwsrbnec3/tmp221bwhye.xml', '--output', '-', '--body'] 843s # Return code: 0 843s # Output: 843s # /* 843s # * This file is generated by gdbus-codegen, do not modify it. 843s # * 843s # * The license of this code is the same as for the D-Bus interface description 843s # * it was derived from. Note that it links to GLib, so must comply with the 843s # * LGPL linking clauses. 843s # */ 843s # 843s # #ifdef HAVE_CONFIG_H 843s # # include "config.h" 843s # #endif 843s # 843s # #include 843s # #ifdef G_OS_UNIX 843s # # include 843s # #endif 843s # 843s # #ifdef G_ENABLE_DEBUG 843s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 843s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 843s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 843s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 843s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 843s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 843s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 843s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 843s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 843s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 843s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 843s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 843s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 843s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 843s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 843s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 843s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 843s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 843s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 843s # #else /* !G_ENABLE_DEBUG */ 843s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 843s # * Do not access GValues directly in your code. Instead, use the 843s # * g_value_get_*() functions 843s # */ 843s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 843s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 843s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 843s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 843s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 843s # #endif /* !G_ENABLE_DEBUG */ 843s # 843s # typedef struct 843s # { 843s # GDBusArgInfo parent_struct; 843s # gboolean use_gvariant; 843s # } _ExtendedGDBusArgInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusMethodInfo parent_struct; 843s # const gchar *signal_name; 843s # gboolean pass_fdlist; 843s # } _ExtendedGDBusMethodInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusSignalInfo parent_struct; 843s # const gchar *signal_name; 843s # } _ExtendedGDBusSignalInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusPropertyInfo parent_struct; 843s # const gchar *hyphen_name; 843s # guint use_gvariant : 1; 843s # guint emits_changed_signal : 1; 843s # } _ExtendedGDBusPropertyInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusInterfaceInfo parent_struct; 843s # const gchar *hyphen_name; 843s # } _ExtendedGDBusInterfaceInfo; 843s # 843s # typedef struct 843s # { 843s # const _ExtendedGDBusPropertyInfo *info; 843s # guint prop_id; 843s # GValue orig_value; /* the value before the change */ 843s # } ChangedProperty; 843s # 843s # static void 843s # _changed_property_free (ChangedProperty *data) 843s # { 843s # g_value_unset (&data->orig_value); 843s # g_free (data); 843s # } 843s # 843s # static gboolean 843s # _g_strv_equal0 (gchar **a, gchar **b) 843s # { 843s # gboolean ret = FALSE; 843s # guint n; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # if (g_strv_length (a) != g_strv_length (b)) 843s # goto out; 843s # for (n = 0; a[n] != NULL; n++) 843s # if (g_strcmp0 (a[n], b[n]) != 0) 843s # goto out; 843s # ret = TRUE; 843s # out: 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _g_variant_equal0 (GVariant *a, GVariant *b) 843s # { 843s # gboolean ret = FALSE; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # ret = g_variant_equal (a, b); 843s # out: 843s # return ret; 843s # } 843s # 843s # G_GNUC_UNUSED static gboolean 843s # _g_value_equal (const GValue *a, const GValue *b) 843s # { 843s # gboolean ret = FALSE; 843s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 843s # switch (G_VALUE_TYPE (a)) 843s # { 843s # case G_TYPE_BOOLEAN: 843s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 843s # break; 843s # case G_TYPE_UCHAR: 843s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 843s # break; 843s # case G_TYPE_INT: 843s # ret = (g_value_get_int (a) == g_value_get_int (b)); 843s # break; 843s # case G_TYPE_UINT: 843s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 843s # break; 843s # case G_TYPE_INT64: 843s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 843s # break; 843s # case G_TYPE_UINT64: 843s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 843s # break; 843s # case G_TYPE_DOUBLE: 843s # { 843s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 843s # gdouble da = g_value_get_double (a); 843s # gdouble db = g_value_get_double (b); 843s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 843s # } 843s # break; 843s # case G_TYPE_STRING: 843s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 843s # break; 843s # case G_TYPE_VARIANT: 843s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 843s # break; 843s # default: 843s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 843s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 843s # else 843s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 843s # break; 843s # } 843s # return ret; 843s # } 843s # 843s # static void 843s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 843s # GClosure *closure, 843s # GValue *return_value, 843s # unsigned int n_param_values, 843s # const GValue *param_values, 843s # void *invocation_hint G_GNUC_UNUSED, 843s # void *marshal_data) 843s # { 843s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 843s # (void *data1, 843s # GDBusMethodInvocation *arg_method_invocation, 843s # gint16 arg_arg_n, 843s # void *data2); 843s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 843s # GCClosure *cc = (GCClosure*) closure; 843s # void *data1, *data2; 843s # gboolean v_return; 843s # 843s # g_return_if_fail (return_value != NULL); 843s # g_return_if_fail (n_param_values == 3); 843s # 843s # if (G_CCLOSURE_SWAP_DATA (closure)) 843s # { 843s # data1 = closure->data; 843s # data2 = g_value_peek_pointer (param_values + 0); 843s # } 843s # else 843s # { 843s # data1 = g_value_peek_pointer (param_values + 0); 843s # data2 = closure->data; 843s # } 843s # 843s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 843s # (marshal_data ? marshal_data : cc->callback); 843s # 843s # v_return = 843s # callback (data1, 843s # g_marshal_value_peek_object (param_values + 1), 843s # g_marshal_value_peek_int (param_values + 2), 843s # data2); 843s # 843s # g_value_set_boolean (return_value, v_return); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ 843s # * Code for interface org.project.UsefulInterface 843s # * ------------------------------------------------------------------------ 843s # */ 843s # 843s # /** 843s # * SECTION:OrgProjectUsefulInterface 843s # * @title: OrgProjectUsefulInterface 843s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 843s # * 843s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 843s # */ 843s # 843s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 843s # 843s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n = 843s # { 843s # { 843s # -1, 843s # (gchar *) "arg_n", 843s # (gchar *) "n", 843s # NULL 843s # }, 843s # FALSE 843s # }; 843s # 843s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers[] = 843s # { 843s # &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 843s # { 843s # { 843s # -1, 843s # (gchar *) "SingleArgMethodN", 843s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers, 843s # NULL, 843s # NULL 843s # }, 843s # "handle-single-arg-method-n", 843s # FALSE 843s # }; 843s # 843s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 843s # { 843s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 843s # { 843s # { 843s # -1, 843s # (gchar *) "org.project.UsefulInterface", 843s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 843s # NULL, 843s # NULL, 843s # NULL 843s # }, 843s # "org-project-useful-interface", 843s # }; 843s # 843s # 843s # /** 843s # * org_project_useful_interface_interface_info: 843s # * 843s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 843s # * 843s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 843s # */ 843s # GDBusInterfaceInfo * 843s # org_project_useful_interface_interface_info (void) 843s # { 843s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_override_properties: 843s # * @klass: The class structure for a #GObject derived class. 843s # * @property_id_begin: The property id to assign to the first overridden property. 843s # * 843s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 843s # * The properties are overridden in the order they are defined. 843s # * 843s # * Returns: The last property id. 843s # */ 843s # guint 843s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 843s # { 843s # return property_id_begin - 1; 843s # } 843s # 843s # 843s # inline static void 843s # org_project_useful_interface_method_marshal_single_arg_method_n ( 843s # GClosure *closure, 843s # GValue *return_value, 843s # unsigned int n_param_values, 843s # const GValue *param_values, 843s # void *invocation_hint, 843s # void *marshal_data) 843s # { 843s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 843s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 843s # } 843s # 843s # 843s # /** 843s # * OrgProjectUsefulInterface: 843s # * 843s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceIface: 843s # * @parent_iface: The parent interface. 843s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 843s # * 843s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 843s # */ 843s # 843s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 843s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 843s # 843s # static void 843s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 843s # { 843s # /* GObject signals for incoming D-Bus method calls: */ 843s # /** 843s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 843s # * @object: A #OrgProjectUsefulInterface. 843s # * @invocation: A #GDBusMethodInvocation. 843s # * @arg_arg_n: Argument passed by remote caller. 843s # * 843s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 843s # * 843s # * 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. 843s # * 843s # * 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. 843s # */ 843s # g_signal_new ("handle-single-arg-method-n", 843s # G_TYPE_FROM_INTERFACE (iface), 843s # G_SIGNAL_RUN_LAST, 843s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 843s # g_signal_accumulator_true_handled, 843s # NULL, 843s # org_project_useful_interface_method_marshal_single_arg_method_n, 843s # G_TYPE_BOOLEAN, 843s # 2, 843s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 843s # 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_n: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @arg_arg_n: Argument to pass with the method invocation. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 843s # */ 843s # void 843s # org_project_useful_interface_call_single_arg_method_n ( 843s # OrgProjectUsefulInterface *proxy, 843s # gint16 arg_arg_n, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 843s # "SingleArgMethodN", 843s # g_variant_new ("(n)", 843s # arg_arg_n), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # cancellable, 843s # callback, 843s # user_data); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_n_finish: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 843s # * @error: Return location for error or %NULL. 843s # * 843s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 843s # * 843s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 843s # */ 843s # gboolean 843s # org_project_useful_interface_call_single_arg_method_n_finish ( 843s # OrgProjectUsefulInterface *proxy, 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GVariant *_ret; 843s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 843s # if (_ret == NULL) 843s # goto _out; 843s # g_variant_get (_ret, 843s # "()"); 843s # g_variant_unref (_ret); 843s # _out: 843s # return _ret != NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_n_sync: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @arg_arg_n: Argument to pass with the method invocation. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL. 843s # * 843s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 843s # * 843s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 843s # */ 843s # gboolean 843s # org_project_useful_interface_call_single_arg_method_n_sync ( 843s # OrgProjectUsefulInterface *proxy, 843s # gint16 arg_arg_n, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GVariant *_ret; 843s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 843s # "SingleArgMethodN", 843s # g_variant_new ("(n)", 843s # arg_arg_n), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # cancellable, 843s # error); 843s # if (_ret == NULL) 843s # goto _out; 843s # g_variant_get (_ret, 843s # "()"); 843s # g_variant_unref (_ret); 843s # _out: 843s # return _ret != NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_complete_single_arg_method_n: 843s # * @object: A #OrgProjectUsefulInterface. 843s # * @invocation: (transfer full): A #GDBusMethodInvocation. 843s # * 843s # * 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. 843s # * 843s # * This method will free @invocation, you cannot use it afterwards. 843s # */ 843s # void 843s # org_project_useful_interface_complete_single_arg_method_n ( 843s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 843s # GDBusMethodInvocation *invocation) 843s # { 843s # g_dbus_method_invocation_return_value (invocation, 843s # g_variant_new ("()")); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceProxy: 843s # * 843s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceProxyClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for #OrgProjectUsefulInterfaceProxy. 843s # */ 843s # 843s # struct _OrgProjectUsefulInterfaceProxyPrivate 843s # { 843s # GData *qdata; 843s # }; 843s # 843s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 843s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 843s # 843s # #endif 843s # static void 843s # org_project_useful_interface_proxy_finalize (GObject *object) 843s # { 843s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 843s # g_datalist_clear (&proxy->priv->qdata); 843s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 843s # guint prop_id G_GNUC_UNUSED, 843s # GValue *value G_GNUC_UNUSED, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 843s # guint prop_id G_GNUC_UNUSED, 843s # const GValue *value G_GNUC_UNUSED, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 843s # const gchar *sender_name G_GNUC_UNUSED, 843s # const gchar *signal_name, 843s # GVariant *parameters) 843s # { 843s # _ExtendedGDBusSignalInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # gsize n; 843s # guint signal_id; 843s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 843s # if (info == NULL) 843s # return; 843s # num_params = g_variant_n_children (parameters); 843s # paramv = g_new0 (GValue, num_params + 1); 843s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_set_object (¶mv[0], proxy); 843s # g_variant_iter_init (&iter, parameters); 843s # n = 1; 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_signal_emitv (paramv, signal_id, 0, NULL); 843s # for (n = 0; n < num_params + 1; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 843s # GVariant *changed_properties, 843s # const gchar *const *invalidated_properties) 843s # { 843s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 843s # guint n; 843s # const gchar *key; 843s # GVariantIter *iter; 843s # _ExtendedGDBusPropertyInfo *info; 843s # g_variant_get (changed_properties, "a{sv}", &iter); 843s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 843s # g_datalist_remove_data (&proxy->priv->qdata, key); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # g_variant_iter_free (iter); 843s # for (n = 0; invalidated_properties[n] != NULL; n++) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 843s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 843s # #else 843s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 843s # #endif 843s # 843s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusProxyClass *proxy_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 843s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 843s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 843s # 843s # proxy_class = G_DBUS_PROXY_CLASS (klass); 843s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 843s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # org_project_useful_interface_proxy_new ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # g_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); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_sync: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_sync ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # org_project_useful_interface_proxy_new_for_bus ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # g_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); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_for_bus_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus_sync: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_for_bus_sync ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceSkeleton: 843s # * 843s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceSkeletonClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 843s # */ 843s # 843s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 843s # { 843s # GValue *properties; 843s # GList *changed_properties; 843s # GSource *changed_properties_idle_source; 843s # GMainContext *context; 843s # GMutex lock; 843s # }; 843s # 843s # static void 843s # _org_project_useful_interface_skeleton_handle_method_call ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name, 843s # const gchar *method_name, 843s # GVariant *parameters, 843s # GDBusMethodInvocation *invocation, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # _ExtendedGDBusMethodInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # guint num_extra; 843s # gsize n; 843s # guint signal_id; 843s # GValue return_value = G_VALUE_INIT; 843s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 843s # g_assert (info != NULL); 843s # num_params = g_variant_n_children (parameters); 843s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 843s # n = 0; 843s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_set_object (¶mv[n++], skeleton); 843s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 843s # g_value_set_object (¶mv[n++], invocation); 843s # if (info->pass_fdlist) 843s # { 843s # #ifdef G_OS_UNIX 843s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 843s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 843s # #else 843s # g_assert_not_reached (); 843s # #endif 843s # } 843s # g_variant_iter_init (&iter, parameters); 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_init (&return_value, G_TYPE_BOOLEAN); 843s # g_signal_emitv (paramv, signal_id, 0, &return_value); 843s # if (!g_value_get_boolean (&return_value)) 843s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 843s # g_value_unset (&return_value); 843s # for (n = 0; n < num_params + num_extra; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static GVariant * 843s # _org_project_useful_interface_skeleton_handle_get_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # GVariant *ret; 843s # ret = NULL; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # g_value_init (&value, pspec->value_type); 843s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 843s # g_value_unset (&value); 843s # } 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _org_project_useful_interface_skeleton_handle_set_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GVariant *variant, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # gboolean ret; 843s # ret = FALSE; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # if (info->use_gvariant) 843s # g_value_set_variant (&value, variant); 843s # else 843s # g_dbus_gvariant_to_gvalue (variant, &value); 843s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # g_value_unset (&value); 843s # ret = TRUE; 843s # } 843s # return ret; 843s # } 843s # 843s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 843s # { 843s # _org_project_useful_interface_skeleton_handle_method_call, 843s # _org_project_useful_interface_skeleton_handle_get_property, 843s # _org_project_useful_interface_skeleton_handle_set_property, 843s # {NULL} 843s # }; 843s # 843s # static GDBusInterfaceInfo * 843s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return org_project_useful_interface_interface_info (); 843s # } 843s # 843s # static GDBusInterfaceVTable * 843s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 843s # } 843s # 843s # static GVariant * 843s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 843s # 843s # GVariantBuilder builder; 843s # guint n; 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 843s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #else 843s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #endif 843s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 843s # goto out; 843s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 843s # { 843s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 843s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 843s # { 843s # GVariant *value; 843s # 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); 843s # if (value != NULL) 843s # { 843s # g_variant_take_ref (value); 843s # g_variant_builder_add (&builder, "{sv}", info->name, value); 843s # g_variant_unref (value); 843s # } 843s # } 843s # } 843s # out: 843s # return g_variant_builder_end (&builder); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 843s # 843s # #endif 843s # static void 843s # org_project_useful_interface_skeleton_finalize (GObject *object) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 843s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 843s # if (skeleton->priv->changed_properties_idle_source != NULL) 843s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 843s # g_main_context_unref (skeleton->priv->context); 843s # g_mutex_clear (&skeleton->priv->lock); 843s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 843s # #else 843s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 843s # #endif 843s # 843s # g_mutex_init (&skeleton->priv->lock); 843s # skeleton->priv->context = g_main_context_ref_thread_default (); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusInterfaceSkeletonClass *skeleton_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 843s # 843s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 843s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 843s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 843s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 843s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_skeleton_new: 843s # * 843s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_skeleton_new (void) 843s # { 843s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 843s # } 843s # Error: 843s # 843s # /tmp/tmpwsrbnec3/tmp3b__gka6.xml: 843s # 843s # 843s # 843s # 843s # 843s # 843s # 843s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwsrbnec3/tmp3b__gka6.xml', '--output', '-', '--body'] 843s # Return code: 0 843s # Output: 843s # /* 843s # * This file is generated by gdbus-codegen, do not modify it. 843s # * 843s # * The license of this code is the same as for the D-Bus interface description 843s # * it was derived from. Note that it links to GLib, so must comply with the 843s # * LGPL linking clauses. 843s # */ 843s # 843s # #ifdef HAVE_CONFIG_H 843s # # include "config.h" 843s # #endif 843s # 843s # #include 843s # #ifdef G_OS_UNIX 843s # # include 843s # #endif 843s # 843s # #ifdef G_ENABLE_DEBUG 843s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 843s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 843s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 843s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 843s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 843s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 843s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 843s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 843s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 843s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 843s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 843s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 843s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 843s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 843s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 843s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 843s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 843s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 843s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 843s # #else /* !G_ENABLE_DEBUG */ 843s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 843s # * Do not access GValues directly in your code. Instead, use the 843s # * g_value_get_*() functions 843s # */ 843s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 843s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 843s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 843s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 843s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 843s # #endif /* !G_ENABLE_DEBUG */ 843s # 843s # typedef struct 843s # { 843s # GDBusArgInfo parent_struct; 843s # gboolean use_gvariant; 843s # } _ExtendedGDBusArgInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusMethodInfo parent_struct; 843s # const gchar *signal_name; 843s # gboolean pass_fdlist; 843s # } _ExtendedGDBusMethodInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusSignalInfo parent_struct; 843s # const gchar *signal_name; 843s # } _ExtendedGDBusSignalInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusPropertyInfo parent_struct; 843s # const gchar *hyphen_name; 843s # guint use_gvariant : 1; 843s # guint emits_changed_signal : 1; 843s # } _ExtendedGDBusPropertyInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusInterfaceInfo parent_struct; 843s # const gchar *hyphen_name; 843s # } _ExtendedGDBusInterfaceInfo; 843s # 843s # typedef struct 843s # { 843s # const _ExtendedGDBusPropertyInfo *info; 843s # guint prop_id; 843s # GValue orig_value; /* the value before the change */ 843s # } ChangedProperty; 843s # 843s # static void 843s # _changed_property_free (ChangedProperty *data) 843s # { 843s # g_value_unset (&data->orig_value); 843s # g_free (data); 843s # } 843s # 843s # static gboolean 843s # _g_strv_equal0 (gchar **a, gchar **b) 843s # { 843s # gboolean ret = FALSE; 843s # guint n; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # if (g_strv_length (a) != g_strv_length (b)) 843s # goto out; 843s # for (n = 0; a[n] != NULL; n++) 843s # if (g_strcmp0 (a[n], b[n]) != 0) 843s # goto out; 843s # ret = TRUE; 843s # out: 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _g_variant_equal0 (GVariant *a, GVariant *b) 843s # { 843s # gboolean ret = FALSE; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # ret = g_variant_equal (a, b); 843s # out: 843s # return ret; 843s # } 843s # 843s # G_GNUC_UNUSED static gboolean 843s # _g_value_equal (const GValue *a, const GValue *b) 843s # { 843s # gboolean ret = FALSE; 843s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 843s # switch (G_VALUE_TYPE (a)) 843s # { 843s # case G_TYPE_BOOLEAN: 843s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 843s # break; 843s # case G_TYPE_UCHAR: 843s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 843s # break; 843s # case G_TYPE_INT: 843s # ret = (g_value_get_int (a) == g_value_get_int (b)); 843s # break; 843s # case G_TYPE_UINT: 843s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 843s # break; 843s # case G_TYPE_INT64: 843s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 843s # break; 843s # case G_TYPE_UINT64: 843s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 843s # break; 843s # case G_TYPE_DOUBLE: 843s # { 843s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 843s # gdouble da = g_value_get_double (a); 843s # gdouble db = g_value_get_double (b); 843s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 843s # } 843s # break; 843s # case G_TYPE_STRING: 843s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 843s # break; 843s # case G_TYPE_VARIANT: 843s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 843s # break; 843s # default: 843s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 843s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 843s # else 843s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 843s # break; 843s # } 843s # return ret; 843s # } 843s # 843s # static void 843s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 843s # GClosure *closure, 843s # GValue *return_value, 843s # unsigned int n_param_values, 843s # const GValue *param_values, 843s # void *invocation_hint G_GNUC_UNUSED, 843s # void *marshal_data) 843s # { 843s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 843s # (void *data1, 843s # GDBusMethodInvocation *arg_method_invocation, 843s # guint16 arg_arg_q, 843s # void *data2); 843s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 843s # GCClosure *cc = (GCClosure*) closure; 843s # void *data1, *data2; 843s # gboolean v_return; 843s # 843s # g_return_if_fail (return_value != NULL); 843s # g_return_if_fail (n_param_values == 3); 843s # 843s # if (G_CCLOSURE_SWAP_DATA (closure)) 843s # { 843s # data1 = closure->data; 843s # data2 = g_value_peek_pointer (param_values + 0); 843s # } 843s # else 843s # { 843s # data1 = g_value_peek_pointer (param_values + 0); 843s # data2 = closure->data; 843s # } 843s # 843s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 843s # (marshal_data ? marshal_data : cc->callback); 843s # 843s # v_return = 843s # callback (data1, 843s # g_marshal_value_peek_object (param_values + 1), 843s # g_marshal_value_peek_uint (param_values + 2), 843s # data2); 843s # 843s # g_value_set_boolean (return_value, v_return); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ 843s # * Code for interface org.project.UsefulInterface 843s # * ------------------------------------------------------------------------ 843s # */ 843s # 843s # /** 843s # * SECTION:OrgProjectUsefulInterface 843s # * @title: OrgProjectUsefulInterface 843s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 843s # * 843s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 843s # */ 843s # 843s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 843s # 843s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q = 843s # { 843s # { 843s # -1, 843s # (gchar *) "arg_q", 843s # (gchar *) "q", 843s # NULL 843s # }, 843s # FALSE 843s # }; 843s # 843s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers[] = 843s # { 843s # &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 843s # { 843s # { 843s # -1, 843s # (gchar *) "SingleArgMethodQ", 843s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers, 843s # NULL, 843s # NULL 843s # }, 843s # "handle-single-arg-method-q", 843s # FALSE 843s # }; 843s # 843s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 843s # { 843s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 843s # { 843s # { 843s # -1, 843s # (gchar *) "org.project.UsefulInterface", 843s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 843s # NULL, 843s # NULL, 843s # NULL 843s # }, 843s # "org-project-useful-interface", 843s # }; 843s # 843s # 843s # /** 843s # * org_project_useful_interface_interface_info: 843s # * 843s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 843s # * 843s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 843s # */ 843s # GDBusInterfaceInfo * 843s # org_project_useful_interface_interface_info (void) 843s # { 843s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_override_properties: 843s # * @klass: The class structure for a #GObject derived class. 843s # * @property_id_begin: The property id to assign to the first overridden property. 843s # * 843s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 843s # * The properties are overridden in the order they are defined. 843s # * 843s # * Returns: The last property id. 843s # */ 843s # guint 843s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 843s # { 843s # return property_id_begin - 1; 843s # } 843s # 843s # 843s # inline static void 843s # org_project_useful_interface_method_marshal_single_arg_method_q ( 843s # GClosure *closure, 843s # GValue *return_value, 843s # unsigned int n_param_values, 843s # const GValue *param_values, 843s # void *invocation_hint, 843s # void *marshal_data) 843s # { 843s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 843s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 843s # } 843s # 843s # 843s # /** 843s # * OrgProjectUsefulInterface: 843s # * 843s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceIface: 843s # * @parent_iface: The parent interface. 843s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 843s # * 843s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 843s # */ 843s # 843s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 843s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 843s # 843s # static void 843s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 843s # { 843s # /* GObject signals for incoming D-Bus method calls: */ 843s # /** 843s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 843s # * @object: A #OrgProjectUsefulInterface. 843s # * @invocation: A #GDBusMethodInvocation. 843s # * @arg_arg_q: Argument passed by remote caller. 843s # * 843s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 843s # * 843s # * 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. 843s # * 843s # * 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. 843s # */ 843s # g_signal_new ("handle-single-arg-method-q", 843s # G_TYPE_FROM_INTERFACE (iface), 843s # G_SIGNAL_RUN_LAST, 843s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 843s # g_signal_accumulator_true_handled, 843s # NULL, 843s # org_project_useful_interface_method_marshal_single_arg_method_q, 843s # G_TYPE_BOOLEAN, 843s # 2, 843s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 843s # 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_q: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @arg_arg_q: Argument to pass with the method invocation. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 843s # */ 843s # void 843s # org_project_useful_interface_call_single_arg_method_q ( 843s # OrgProjectUsefulInterface *proxy, 843s # guint16 arg_arg_q, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 843s # "SingleArgMethodQ", 843s # g_variant_new ("(q)", 843s # arg_arg_q), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # cancellable, 843s # callback, 843s # user_data); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_q_finish: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 843s # * @error: Return location for error or %NULL. 843s # * 843s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 843s # * 843s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 843s # */ 843s # gboolean 843s # org_project_useful_interface_call_single_arg_method_q_finish ( 843s # OrgProjectUsefulInterface *proxy, 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GVariant *_ret; 843s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 843s # if (_ret == NULL) 843s # goto _out; 843s # g_variant_get (_ret, 843s # "()"); 843s # g_variant_unref (_ret); 843s # _out: 843s # return _ret != NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_q_sync: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @arg_arg_q: Argument to pass with the method invocation. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL. 843s # * 843s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 843s # * 843s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 843s # */ 843s # gboolean 843s # org_project_useful_interface_call_single_arg_method_q_sync ( 843s # OrgProjectUsefulInterface *proxy, 843s # guint16 arg_arg_q, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GVariant *_ret; 843s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 843s # "SingleArgMethodQ", 843s # g_variant_new ("(q)", 843s # arg_arg_q), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # cancellable, 843s # error); 843s # if (_ret == NULL) 843s # goto _out; 843s # g_variant_get (_ret, 843s # "()"); 843s # g_variant_unref (_ret); 843s # _out: 843s # return _ret != NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_complete_single_arg_method_q: 843s # * @object: A #OrgProjectUsefulInterface. 843s # * @invocation: (transfer full): A #GDBusMethodInvocation. 843s # * 843s # * 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. 843s # * 843s # * This method will free @invocation, you cannot use it afterwards. 843s # */ 843s # void 843s # org_project_useful_interface_complete_single_arg_method_q ( 843s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 843s # GDBusMethodInvocation *invocation) 843s # { 843s # g_dbus_method_invocation_return_value (invocation, 843s # g_variant_new ("()")); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceProxy: 843s # * 843s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceProxyClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for #OrgProjectUsefulInterfaceProxy. 843s # */ 843s # 843s # struct _OrgProjectUsefulInterfaceProxyPrivate 843s # { 843s # GData *qdata; 843s # }; 843s # 843s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 843s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 843s # 843s # #endif 843s # static void 843s # org_project_useful_interface_proxy_finalize (GObject *object) 843s # { 843s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 843s # g_datalist_clear (&proxy->priv->qdata); 843s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 843s # guint prop_id G_GNUC_UNUSED, 843s # GValue *value G_GNUC_UNUSED, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 843s # guint prop_id G_GNUC_UNUSED, 843s # const GValue *value G_GNUC_UNUSED, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 843s # const gchar *sender_name G_GNUC_UNUSED, 843s # const gchar *signal_name, 843s # GVariant *parameters) 843s # { 843s # _ExtendedGDBusSignalInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # gsize n; 843s # guint signal_id; 843s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 843s # if (info == NULL) 843s # return; 843s # num_params = g_variant_n_children (parameters); 843s # paramv = g_new0 (GValue, num_params + 1); 843s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_set_object (¶mv[0], proxy); 843s # g_variant_iter_init (&iter, parameters); 843s # n = 1; 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_signal_emitv (paramv, signal_id, 0, NULL); 843s # for (n = 0; n < num_params + 1; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 843s # GVariant *changed_properties, 843s # const gchar *const *invalidated_properties) 843s # { 843s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 843s # guint n; 843s # const gchar *key; 843s # GVariantIter *iter; 843s # _ExtendedGDBusPropertyInfo *info; 843s # g_variant_get (changed_properties, "a{sv}", &iter); 843s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 843s # g_datalist_remove_data (&proxy->priv->qdata, key); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # g_variant_iter_free (iter); 843s # for (n = 0; invalidated_properties[n] != NULL; n++) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 843s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 843s # #else 843s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 843s # #endif 843s # 843s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusProxyClass *proxy_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 843s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 843s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 843s # 843s # proxy_class = G_DBUS_PROXY_CLASS (klass); 843s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 843s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # org_project_useful_interface_proxy_new ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # g_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); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_sync: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_sync ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # org_project_useful_interface_proxy_new_for_bus ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # g_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); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_for_bus_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus_sync: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_for_bus_sync ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceSkeleton: 843s # * 843s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceSkeletonClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 843s # */ 843s # 843s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 843s # { 843s # GValue *properties; 843s # GList *changed_properties; 843s # GSource *changed_properties_idle_source; 843s # GMainContext *context; 843s # GMutex lock; 843s # }; 843s # 843s # static void 843s # _org_project_useful_interface_skeleton_handle_method_call ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name, 843s # const gchar *method_name, 843s # GVariant *parameters, 843s # GDBusMethodInvocation *invocation, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # _ExtendedGDBusMethodInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # guint num_extra; 843s # gsize n; 843s # guint signal_id; 843s # GValue return_value = G_VALUE_INIT; 843s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 843s # g_assert (info != NULL); 843s # num_params = g_variant_n_children (parameters); 843s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 843s # n = 0; 843s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_set_object (¶mv[n++], skeleton); 843s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 843s # g_value_set_object (¶mv[n++], invocation); 843s # if (info->pass_fdlist) 843s # { 843s # #ifdef G_OS_UNIX 843s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 843s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 843s # #else 843s # g_assert_not_reached (); 843s # #endif 843s # } 843s # g_variant_iter_init (&iter, parameters); 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_init (&return_value, G_TYPE_BOOLEAN); 843s # g_signal_emitv (paramv, signal_id, 0, &return_value); 843s # if (!g_value_get_boolean (&return_value)) 843s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 843s # g_value_unset (&return_value); 843s # for (n = 0; n < num_params + num_extra; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static GVariant * 843s # _org_project_useful_interface_skeleton_handle_get_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # GVariant *ret; 843s # ret = NULL; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # g_value_init (&value, pspec->value_type); 843s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 843s # g_value_unset (&value); 843s # } 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _org_project_useful_interface_skeleton_handle_set_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GVariant *variant, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # gboolean ret; 843s # ret = FALSE; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # if (info->use_gvariant) 843s # g_value_set_variant (&value, variant); 843s # else 843s # g_dbus_gvariant_to_gvalue (variant, &value); 843s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # g_value_unset (&value); 843s # ret = TRUE; 843s # } 843s # return ret; 843s # } 843s # 843s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 843s # { 843s # _org_project_useful_interface_skeleton_handle_method_call, 843s # _org_project_useful_interface_skeleton_handle_get_property, 843s # _org_project_useful_interface_skeleton_handle_set_property, 843s # {NULL} 843s # }; 843s # 843s # static GDBusInterfaceInfo * 843s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return org_project_useful_interface_interface_info (); 843s # } 843s # 843s # static GDBusInterfaceVTable * 843s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 843s # } 843s # 843s # static GVariant * 843s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 843s # 843s # GVariantBuilder builder; 843s # guint n; 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 843s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #else 843s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #endif 843s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 843s # goto out; 843s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 843s # { 843s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 843s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 843s # { 843s # GVariant *value; 843s # 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); 843s # if (value != NULL) 843s # { 843s # g_variant_take_ref (value); 843s # g_variant_builder_add (&builder, "{sv}", info->name, value); 843s # g_variant_unref (value); 843s # } 843s # } 843s # } 843s # out: 843s # return g_variant_builder_end (&builder); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 843s # 843s # #endif 843s # static void 843s # org_project_useful_interface_skeleton_finalize (GObject *object) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 843s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 843s # if (skeleton->priv->changed_properties_idle_source != NULL) 843s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 843s # g_main_context_unref (skeleton->priv->context); 843s # g_mutex_clear (&skeleton->priv->lock); 843s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 843s # #else 843s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 843s # #endif 843s # 843s # g_mutex_init (&skeleton->priv->lock); 843s # skeleton->priv->context = g_main_context_ref_thread_default (); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusInterfaceSkeletonClass *skeleton_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 843s # 843s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 843s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 843s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 843s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 843s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_skeleton_new: 843s # * 843s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_skeleton_new (void) 843s # { 843s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 843s # } 843s # Error: 843s # 843s # /tmp/tmpwsrbnec3/tmptm8t8xaw.xml: 843s # 843s # 843s # 843s # 843s # 843s # 843s # 843s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwsrbnec3/tmptm8t8xaw.xml', '--output', '-', '--body'] 843s # Return code: 0 843s # Output: 843s # /* 843s # * This file is generated by gdbus-codegen, do not modify it. 843s # * 843s # * The license of this code is the same as for the D-Bus interface description 843s # * it was derived from. Note that it links to GLib, so must comply with the 843s # * LGPL linking clauses. 843s # */ 843s # 843s # #ifdef HAVE_CONFIG_H 843s # # include "config.h" 843s # #endif 843s # 843s # #include 843s # #ifdef G_OS_UNIX 843s # # include 843s # #endif 843s # 843s # #ifdef G_ENABLE_DEBUG 843s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 843s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 843s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 843s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 843s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 843s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 843s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 843s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 843s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 843s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 843s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 843s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 843s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 843s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 843s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 843s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 843s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 843s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 843s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 843s # #else /* !G_ENABLE_DEBUG */ 843s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 843s # * Do not access GValues directly in your code. Instead, use the 843s # * g_value_get_*() functions 843s # */ 843s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 843s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 843s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 843s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 843s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 843s # #endif /* !G_ENABLE_DEBUG */ 843s # 843s # typedef struct 843s # { 843s # GDBusArgInfo parent_struct; 843s # gboolean use_gvariant; 843s # } _ExtendedGDBusArgInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusMethodInfo parent_struct; 843s # const gchar *signal_name; 843s # gboolean pass_fdlist; 843s # } _ExtendedGDBusMethodInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusSignalInfo parent_struct; 843s # const gchar *signal_name; 843s # } _ExtendedGDBusSignalInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusPropertyInfo parent_struct; 843s # const gchar *hyphen_name; 843s # guint use_gvariant : 1; 843s # guint emits_changed_signal : 1; 843s # } _ExtendedGDBusPropertyInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusInterfaceInfo parent_struct; 843s # const gchar *hyphen_name; 843s # } _ExtendedGDBusInterfaceInfo; 843s # 843s # typedef struct 843s # { 843s # const _ExtendedGDBusPropertyInfo *info; 843s # guint prop_id; 843s # GValue orig_value; /* the value before the change */ 843s # } ChangedProperty; 843s # 843s # static void 843s # _changed_property_free (ChangedProperty *data) 843s # { 843s # g_value_unset (&data->orig_value); 843s # g_free (data); 843s # } 843s # 843s # static gboolean 843s # _g_strv_equal0 (gchar **a, gchar **b) 843s # { 843s # gboolean ret = FALSE; 843s # guint n; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # if (g_strv_length (a) != g_strv_length (b)) 843s # goto out; 843s # for (n = 0; a[n] != NULL; n++) 843s # if (g_strcmp0 (a[n], b[n]) != 0) 843s # goto out; 843s # ret = TRUE; 843s # out: 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _g_variant_equal0 (GVariant *a, GVariant *b) 843s # { 843s # gboolean ret = FALSE; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # ret = g_variant_equal (a, b); 843s # out: 843s # return ret; 843s # } 843s # 843s # G_GNUC_UNUSED static gboolean 843s # _g_value_equal (const GValue *a, const GValue *b) 843s # { 843s # gboolean ret = FALSE; 843s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 843s # switch (G_VALUE_TYPE (a)) 843s # { 843s # case G_TYPE_BOOLEAN: 843s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 843s # break; 843s # case G_TYPE_UCHAR: 843s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 843s # break; 843s # case G_TYPE_INT: 843s # ret = (g_value_get_int (a) == g_value_get_int (b)); 843s # break; 843s # case G_TYPE_UINT: 843s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 843s # break; 843s # case G_TYPE_INT64: 843s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 843s # break; 843s # case G_TYPE_UINT64: 843s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 843s # break; 843s # case G_TYPE_DOUBLE: 843s # { 843s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 843s # gdouble da = g_value_get_double (a); 843s # gdouble db = g_value_get_double (b); 843s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 843s # } 843s # break; 843s # case G_TYPE_STRING: 843s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 843s # break; 843s # case G_TYPE_VARIANT: 843s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 843s # break; 843s # default: 843s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 843s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 843s # else 843s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 843s # break; 843s # } 843s # return ret; 843s # } 843s # 843s # static void 843s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 843s # GClosure *closure, 843s # GValue *return_value, 843s # unsigned int n_param_values, 843s # const GValue *param_values, 843s # void *invocation_hint G_GNUC_UNUSED, 843s # void *marshal_data) 843s # { 843s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 843s # (void *data1, 843s # GDBusMethodInvocation *arg_method_invocation, 843s # gint arg_arg_i, 843s # void *data2); 843s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 843s # GCClosure *cc = (GCClosure*) closure; 843s # void *data1, *data2; 843s # gboolean v_return; 843s # 843s # g_return_if_fail (return_value != NULL); 843s # g_return_if_fail (n_param_values == 3); 843s # 843s # if (G_CCLOSURE_SWAP_DATA (closure)) 843s # { 843s # data1 = closure->data; 843s # data2 = g_value_peek_pointer (param_values + 0); 843s # } 843s # else 843s # { 843s # data1 = g_value_peek_pointer (param_values + 0); 843s # data2 = closure->data; 843s # } 843s # 843s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 843s # (marshal_data ? marshal_data : cc->callback); 843s # 843s # v_return = 843s # callback (data1, 843s # g_marshal_value_peek_object (param_values + 1), 843s # g_marshal_value_peek_int (param_values + 2), 843s # data2); 843s # 843s # g_value_set_boolean (return_value, v_return); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ 843s # * Code for interface org.project.UsefulInterface 843s # * ------------------------------------------------------------------------ 843s # */ 843s # 843s # /** 843s # * SECTION:OrgProjectUsefulInterface 843s # * @title: OrgProjectUsefulInterface 843s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 843s # * 843s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 843s # */ 843s # 843s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 843s # 843s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i = 843s # { 843s # { 843s # -1, 843s # (gchar *) "arg_i", 843s # (gchar *) "i", 843s # NULL 843s # }, 843s # FALSE 843s # }; 843s # 843s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers[] = 843s # { 843s # &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 843s # { 843s # { 843s # -1, 843s # (gchar *) "SingleArgMethodI", 843s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers, 843s # NULL, 843s # NULL 843s # }, 843s # "handle-single-arg-method-i", 843s # FALSE 843s # }; 843s # 843s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 843s # { 843s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 843s # { 843s # { 843s # -1, 843s # (gchar *) "org.project.UsefulInterface", 843s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 843s # NULL, 843s # NULL, 843s # NULL 843s # }, 843s # "org-project-useful-interface", 843s # }; 843s # 843s # 843s # /** 843s # * org_project_useful_interface_interface_info: 843s # * 843s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 843s # * 843s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 843s # */ 843s # GDBusInterfaceInfo * 843s # org_project_useful_interface_interface_info (void) 843s # { 843s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_override_properties: 843s # * @klass: The class structure for a #GObject derived class. 843s # * @property_id_begin: The property id to assign to the first overridden property. 843s # * 843s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 843s # * The properties are overridden in the order they are defined. 843s # * 843s # * Returns: The last property id. 843s # */ 843s # guint 843s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 843s # { 843s # return property_id_begin - 1; 843s # } 843s # 843s # 843s # inline static void 843s # org_project_useful_interface_method_marshal_single_arg_method_i ( 843s # GClosure *closure, 843s # GValue *return_value, 843s # unsigned int n_param_values, 843s # const GValue *param_values, 843s # void *invocation_hint, 843s # void *marshal_data) 843s # { 843s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 843s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 843s # } 843s # 843s # 843s # /** 843s # * OrgProjectUsefulInterface: 843s # * 843s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceIface: 843s # * @parent_iface: The parent interface. 843s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 843s # * 843s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 843s # */ 843s # 843s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 843s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 843s # 843s # static void 843s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 843s # { 843s # /* GObject signals for incoming D-Bus method calls: */ 843s # /** 843s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 843s # * @object: A #OrgProjectUsefulInterface. 843s # * @invocation: A #GDBusMethodInvocation. 843s # * @arg_arg_i: Argument passed by remote caller. 843s # * 843s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 843s # * 843s # * 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. 843s # * 843s # * 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. 843s # */ 843s # g_signal_new ("handle-single-arg-method-i", 843s # G_TYPE_FROM_INTERFACE (iface), 843s # G_SIGNAL_RUN_LAST, 843s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 843s # g_signal_accumulator_true_handled, 843s # NULL, 843s # org_project_useful_interface_method_marshal_single_arg_method_i, 843s # G_TYPE_BOOLEAN, 843s # 2, 843s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 843s # 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_i: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @arg_arg_i: Argument to pass with the method invocation. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 843s # */ 843s # void 843s # org_project_useful_interface_call_single_arg_method_i ( 843s # OrgProjectUsefulInterface *proxy, 843s # gint arg_arg_i, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 843s # "SingleArgMethodI", 843s # g_variant_new ("(i)", 843s # arg_arg_i), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # cancellable, 843s # callback, 843s # user_data); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_i_finish: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 843s # * @error: Return location for error or %NULL. 843s # * 843s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 843s # * 843s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 843s # */ 843s # gboolean 843s # org_project_useful_interface_call_single_arg_method_i_finish ( 843s # OrgProjectUsefulInterface *proxy, 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GVariant *_ret; 843s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 843s # if (_ret == NULL) 843s # goto _out; 843s # g_variant_get (_ret, 843s # "()"); 843s # g_variant_unref (_ret); 843s # _out: 843s # return _ret != NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_i_sync: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @arg_arg_i: Argument to pass with the method invocation. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL. 843s # * 843s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 843s # * 843s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 843s # */ 843s # gboolean 843s # org_project_useful_interface_call_single_arg_method_i_sync ( 843s # OrgProjectUsefulInterface *proxy, 843s # gint arg_arg_i, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GVariant *_ret; 843s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 843s # "SingleArgMethodI", 843s # g_variant_new ("(i)", 843s # arg_arg_i), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # cancellable, 843s # error); 843s # if (_ret == NULL) 843s # goto _out; 843s # g_variant_get (_ret, 843s # "()"); 843s # g_variant_unref (_ret); 843s # _out: 843s # return _ret != NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_complete_single_arg_method_i: 843s # * @object: A #OrgProjectUsefulInterface. 843s # * @invocation: (transfer full): A #GDBusMethodInvocation. 843s # * 843s # * 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. 843s # * 843s # * This method will free @invocation, you cannot use it afterwards. 843s # */ 843s # void 843s # org_project_useful_interface_complete_single_arg_method_i ( 843s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 843s # GDBusMethodInvocation *invocation) 843s # { 843s # g_dbus_method_invocation_return_value (invocation, 843s # g_variant_new ("()")); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceProxy: 843s # * 843s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceProxyClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for #OrgProjectUsefulInterfaceProxy. 843s # */ 843s # 843s # struct _OrgProjectUsefulInterfaceProxyPrivate 843s # { 843s # GData *qdata; 843s # }; 843s # 843s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 843s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 843s # 843s # #endif 843s # static void 843s # org_project_useful_interface_proxy_finalize (GObject *object) 843s # { 843s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 843s # g_datalist_clear (&proxy->priv->qdata); 843s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 843s # guint prop_id G_GNUC_UNUSED, 843s # GValue *value G_GNUC_UNUSED, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 843s # guint prop_id G_GNUC_UNUSED, 843s # const GValue *value G_GNUC_UNUSED, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 843s # const gchar *sender_name G_GNUC_UNUSED, 843s # const gchar *signal_name, 843s # GVariant *parameters) 843s # { 843s # _ExtendedGDBusSignalInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # gsize n; 843s # guint signal_id; 843s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 843s # if (info == NULL) 843s # return; 843s # num_params = g_variant_n_children (parameters); 843s # paramv = g_new0 (GValue, num_params + 1); 843s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_set_object (¶mv[0], proxy); 843s # g_variant_iter_init (&iter, parameters); 843s # n = 1; 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_signal_emitv (paramv, signal_id, 0, NULL); 843s # for (n = 0; n < num_params + 1; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 843s # GVariant *changed_properties, 843s # const gchar *const *invalidated_properties) 843s # { 843s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 843s # guint n; 843s # const gchar *key; 843s # GVariantIter *iter; 843s # _ExtendedGDBusPropertyInfo *info; 843s # g_variant_get (changed_properties, "a{sv}", &iter); 843s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 843s # g_datalist_remove_data (&proxy->priv->qdata, key); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # g_variant_iter_free (iter); 843s # for (n = 0; invalidated_properties[n] != NULL; n++) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 843s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 843s # #else 843s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 843s # #endif 843s # 843s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusProxyClass *proxy_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 843s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 843s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 843s # 843s # proxy_class = G_DBUS_PROXY_CLASS (klass); 843s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 843s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # org_project_useful_interface_proxy_new ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # g_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); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_sync: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_sync ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # org_project_useful_interface_proxy_new_for_bus ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # g_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); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_for_bus_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus_sync: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_for_bus_sync ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceSkeleton: 843s # * 843s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceSkeletonClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 843s # */ 843s # 843s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 843s # { 843s # GValue *properties; 843s # GList *changed_properties; 843s # GSource *changed_properties_idle_source; 843s # GMainContext *context; 843s # GMutex lock; 843s # }; 843s # 843s # static void 843s # _org_project_useful_interface_skeleton_handle_method_call ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name, 843s # const gchar *method_name, 843s # GVariant *parameters, 843s # GDBusMethodInvocation *invocation, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # _ExtendedGDBusMethodInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # guint num_extra; 843s # gsize n; 843s # guint signal_id; 843s # GValue return_value = G_VALUE_INIT; 843s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 843s # g_assert (info != NULL); 843s # num_params = g_variant_n_children (parameters); 843s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 843s # n = 0; 843s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_set_object (¶mv[n++], skeleton); 843s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 843s # g_value_set_object (¶mv[n++], invocation); 843s # if (info->pass_fdlist) 843s # { 843s # #ifdef G_OS_UNIX 843s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 843s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 843s # #else 843s # g_assert_not_reached (); 843s # #endif 843s # } 843s # g_variant_iter_init (&iter, parameters); 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_init (&return_value, G_TYPE_BOOLEAN); 843s # g_signal_emitv (paramv, signal_id, 0, &return_value); 843s # if (!g_value_get_boolean (&return_value)) 843s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 843s # g_value_unset (&return_value); 843s # for (n = 0; n < num_params + num_extra; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static GVariant * 843s # _org_project_useful_interface_skeleton_handle_get_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # GVariant *ret; 843s # ret = NULL; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # g_value_init (&value, pspec->value_type); 843s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 843s # g_value_unset (&value); 843s # } 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _org_project_useful_interface_skeleton_handle_set_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GVariant *variant, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # gboolean ret; 843s # ret = FALSE; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # if (info->use_gvariant) 843s # g_value_set_variant (&value, variant); 843s # else 843s # g_dbus_gvariant_to_gvalue (variant, &value); 843s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # g_value_unset (&value); 843s # ret = TRUE; 843s # } 843s # return ret; 843s # } 843s # 843s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 843s # { 843s # _org_project_useful_interface_skeleton_handle_method_call, 843s # _org_project_useful_interface_skeleton_handle_get_property, 843s # _org_project_useful_interface_skeleton_handle_set_property, 843s # {NULL} 843s # }; 843s # 843s # static GDBusInterfaceInfo * 843s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return org_project_useful_interface_interface_info (); 843s # } 843s # 843s # static GDBusInterfaceVTable * 843s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 843s # } 843s # 843s # static GVariant * 843s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 843s # 843s # GVariantBuilder builder; 843s # guint n; 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 843s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #else 843s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #endif 843s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 843s # goto out; 843s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 843s # { 843s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 843s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 843s # { 843s # GVariant *value; 843s # 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); 843s # if (value != NULL) 843s # { 843s # g_variant_take_ref (value); 843s # g_variant_builder_add (&builder, "{sv}", info->name, value); 843s # g_variant_unref (value); 843s # } 843s # } 843s # } 843s # out: 843s # return g_variant_builder_end (&builder); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 843s # 843s # #endif 843s # static void 843s # org_project_useful_interface_skeleton_finalize (GObject *object) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 843s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 843s # if (skeleton->priv->changed_properties_idle_source != NULL) 843s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 843s # g_main_context_unref (skeleton->priv->context); 843s # g_mutex_clear (&skeleton->priv->lock); 843s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 843s # #else 843s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 843s # #endif 843s # 843s # g_mutex_init (&skeleton->priv->lock); 843s # skeleton->priv->context = g_main_context_ref_thread_default (); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusInterfaceSkeletonClass *skeleton_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 843s # 843s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 843s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 843s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 843s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 843s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_skeleton_new: 843s # * 843s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_skeleton_new (void) 843s # { 843s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 843s # } 843s # Error: 843s # 843s # /tmp/tmpwsrbnec3/tmpi1kb7j4l.xml: 843s # 843s # 843s # 843s # 843s # 843s # 843s # 843s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwsrbnec3/tmpi1kb7j4l.xml', '--output', '-', '--body'] 843s # Return code: 0 843s # Output: 843s # /* 843s # * This file is generated by gdbus-codegen, do not modify it. 843s # * 843s # * The license of this code is the same as for the D-Bus interface description 843s # * it was derived from. Note that it links to GLib, so must comply with the 843s # * LGPL linking clauses. 843s # */ 843s # 843s # #ifdef HAVE_CONFIG_H 843s # # include "config.h" 843s # #endif 843s # 843s # #include 843s # #ifdef G_OS_UNIX 843s # # include 843s # #endif 843s # 843s # #ifdef G_ENABLE_DEBUG 843s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 843s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 843s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 843s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 843s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 843s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 843s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 843s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 843s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 843s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 843s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 843s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 843s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 843s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 843s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 843s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 843s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 843s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 843s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 843s # #else /* !G_ENABLE_DEBUG */ 843s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 843s # * Do not access GValues directly in your code. Instead, use the 843s # * g_value_get_*() functions 843s # */ 843s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 843s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 843s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 843s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 843s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 843s # #endif /* !G_ENABLE_DEBUG */ 843s # 843s # typedef struct 843s # { 843s # GDBusArgInfo parent_struct; 843s # gboolean use_gvariant; 843s # } _ExtendedGDBusArgInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusMethodInfo parent_struct; 843s # const gchar *signal_name; 843s # gboolean pass_fdlist; 843s # } _ExtendedGDBusMethodInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusSignalInfo parent_struct; 843s # const gchar *signal_name; 843s # } _ExtendedGDBusSignalInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusPropertyInfo parent_struct; 843s # const gchar *hyphen_name; 843s # guint use_gvariant : 1; 843s # guint emits_changed_signal : 1; 843s # } _ExtendedGDBusPropertyInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusInterfaceInfo parent_struct; 843s # const gchar *hyphen_name; 843s # } _ExtendedGDBusInterfaceInfo; 843s # 843s # typedef struct 843s # { 843s # const _ExtendedGDBusPropertyInfo *info; 843s # guint prop_id; 843s # GValue orig_value; /* the value before the change */ 843s # } ChangedProperty; 843s # 843s # static void 843s # _changed_property_free (ChangedProperty *data) 843s # { 843s # g_value_unset (&data->orig_value); 843s # g_free (data); 843s # } 843s # 843s # static gboolean 843s # _g_strv_equal0 (gchar **a, gchar **b) 843s # { 843s # gboolean ret = FALSE; 843s # guint n; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # if (g_strv_length (a) != g_strv_length (b)) 843s # goto out; 843s # for (n = 0; a[n] != NULL; n++) 843s # if (g_strcmp0 (a[n], b[n]) != 0) 843s # goto out; 843s # ret = TRUE; 843s # out: 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _g_variant_equal0 (GVariant *a, GVariant *b) 843s # { 843s # gboolean ret = FALSE; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # ret = g_variant_equal (a, b); 843s # out: 843s # return ret; 843s # } 843s # 843s # G_GNUC_UNUSED static gboolean 843s # _g_value_equal (const GValue *a, const GValue *b) 843s # { 843s # gboolean ret = FALSE; 843s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 843s # switch (G_VALUE_TYPE (a)) 843s # { 843s # case G_TYPE_BOOLEAN: 843s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 843s # break; 843s # case G_TYPE_UCHAR: 843s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 843s # break; 843s # case G_TYPE_INT: 843s # ret = (g_value_get_int (a) == g_value_get_int (b)); 843s # break; 843s # case G_TYPE_UINT: 843s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 843s # break; 843s # case G_TYPE_INT64: 843s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 843s # break; 843s # case G_TYPE_UINT64: 843s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 843s # break; 843s # case G_TYPE_DOUBLE: 843s # { 843s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 843s # gdouble da = g_value_get_double (a); 843s # gdouble db = g_value_get_double (b); 843s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 843s # } 843s # break; 843s # case G_TYPE_STRING: 843s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 843s # break; 843s # case G_TYPE_VARIANT: 843s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 843s # break; 843s # default: 843s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 843s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 843s # else 843s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 843s # break; 843s # } 843s # return ret; 843s # } 843s # 843s # static void 843s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 843s # GClosure *closure, 843s # GValue *return_value, 843s # unsigned int n_param_values, 843s # const GValue *param_values, 843s # void *invocation_hint G_GNUC_UNUSED, 843s # void *marshal_data) 843s # { 843s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 843s # (void *data1, 843s # GDBusMethodInvocation *arg_method_invocation, 843s # guint arg_arg_u, 843s # void *data2); 843s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 843s # GCClosure *cc = (GCClosure*) closure; 843s # void *data1, *data2; 843s # gboolean v_return; 843s # 843s # g_return_if_fail (return_value != NULL); 843s # g_return_if_fail (n_param_values == 3); 843s # 843s # if (G_CCLOSURE_SWAP_DATA (closure)) 843s # { 843s # data1 = closure->data; 843s # data2 = g_value_peek_pointer (param_values + 0); 843s # } 843s # else 843s # { 843s # data1 = g_value_peek_pointer (param_values + 0); 843s # data2 = closure->data; 843s # } 843s # 843s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 843s # (marshal_data ? marshal_data : cc->callback); 843s # 843s # v_return = 843s # callback (data1, 843s # g_marshal_value_peek_object (param_values + 1), 843s # g_marshal_value_peek_uint (param_values + 2), 843s # data2); 843s # 843s # g_value_set_boolean (return_value, v_return); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ 843s # * Code for interface org.project.UsefulInterface 843s # * ------------------------------------------------------------------------ 843s # */ 843s # 843s # /** 843s # * SECTION:OrgProjectUsefulInterface 843s # * @title: OrgProjectUsefulInterface 843s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 843s # * 843s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 843s # */ 843s # 843s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 843s # 843s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u = 843s # { 843s # { 843s # -1, 843s # (gchar *) "arg_u", 843s # (gchar *) "u", 843s # NULL 843s # }, 843s # FALSE 843s # }; 843s # 843s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers[] = 843s # { 843s # &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 843s # { 843s # { 843s # -1, 843s # (gchar *) "SingleArgMethodU", 843s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers, 843s # NULL, 843s # NULL 843s # }, 843s # "handle-single-arg-method-u", 843s # FALSE 843s # }; 843s # 843s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 843s # { 843s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 843s # { 843s # { 843s # -1, 843s # (gchar *) "org.project.UsefulInterface", 843s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 843s # NULL, 843s # NULL, 843s # NULL 843s # }, 843s # "org-project-useful-interface", 843s # }; 843s # 843s # 843s # /** 843s # * org_project_useful_interface_interface_info: 843s # * 843s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 843s # * 843s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 843s # */ 843s # GDBusInterfaceInfo * 843s # org_project_useful_interface_interface_info (void) 843s # { 843s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_override_properties: 843s # * @klass: The class structure for a #GObject derived class. 843s # * @property_id_begin: The property id to assign to the first overridden property. 843s # * 843s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 843s # * The properties are overridden in the order they are defined. 843s # * 843s # * Returns: The last property id. 843s # */ 843s # guint 843s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 843s # { 843s # return property_id_begin - 1; 843s # } 843s # 843s # 843s # inline static void 843s # org_project_useful_interface_method_marshal_single_arg_method_u ( 843s # GClosure *closure, 843s # GValue *return_value, 843s # unsigned int n_param_values, 843s # const GValue *param_values, 843s # void *invocation_hint, 843s # void *marshal_data) 843s # { 843s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 843s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 843s # } 843s # 843s # 843s # /** 843s # * OrgProjectUsefulInterface: 843s # * 843s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceIface: 843s # * @parent_iface: The parent interface. 843s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 843s # * 843s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 843s # */ 843s # 843s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 843s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 843s # 843s # static void 843s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 843s # { 843s # /* GObject signals for incoming D-Bus method calls: */ 843s # /** 843s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 843s # * @object: A #OrgProjectUsefulInterface. 843s # * @invocation: A #GDBusMethodInvocation. 843s # * @arg_arg_u: Argument passed by remote caller. 843s # * 843s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 843s # * 843s # * 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. 843s # * 843s # * 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. 843s # */ 843s # g_signal_new ("handle-single-arg-method-u", 843s # G_TYPE_FROM_INTERFACE (iface), 843s # G_SIGNAL_RUN_LAST, 843s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 843s # g_signal_accumulator_true_handled, 843s # NULL, 843s # org_project_useful_interface_method_marshal_single_arg_method_u, 843s # G_TYPE_BOOLEAN, 843s # 2, 843s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 843s # 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_u: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @arg_arg_u: Argument to pass with the method invocation. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 843s # */ 843s # void 843s # org_project_useful_interface_call_single_arg_method_u ( 843s # OrgProjectUsefulInterface *proxy, 843s # guint arg_arg_u, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 843s # "SingleArgMethodU", 843s # g_variant_new ("(u)", 843s # arg_arg_u), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # cancellable, 843s # callback, 843s # user_data); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_u_finish: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 843s # * @error: Return location for error or %NULL. 843s # * 843s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 843s # * 843s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 843s # */ 843s # gboolean 843s # org_project_useful_interface_call_single_arg_method_u_finish ( 843s # OrgProjectUsefulInterface *proxy, 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GVariant *_ret; 843s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 843s # if (_ret == NULL) 843s # goto _out; 843s # g_variant_get (_ret, 843s # "()"); 843s # g_variant_unref (_ret); 843s # _out: 843s # return _ret != NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_u_sync: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @arg_arg_u: Argument to pass with the method invocation. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL. 843s # * 843s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 843s # * 843s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 843s # */ 843s # gboolean 843s # org_project_useful_interface_call_single_arg_method_u_sync ( 843s # OrgProjectUsefulInterface *proxy, 843s # guint arg_arg_u, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GVariant *_ret; 843s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 843s # "SingleArgMethodU", 843s # g_variant_new ("(u)", 843s # arg_arg_u), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # cancellable, 843s # error); 843s # if (_ret == NULL) 843s # goto _out; 843s # g_variant_get (_ret, 843s # "()"); 843s # g_variant_unref (_ret); 843s # _out: 843s # return _ret != NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_complete_single_arg_method_u: 843s # * @object: A #OrgProjectUsefulInterface. 843s # * @invocation: (transfer full): A #GDBusMethodInvocation. 843s # * 843s # * 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. 843s # * 843s # * This method will free @invocation, you cannot use it afterwards. 843s # */ 843s # void 843s # org_project_useful_interface_complete_single_arg_method_u ( 843s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 843s # GDBusMethodInvocation *invocation) 843s # { 843s # g_dbus_method_invocation_return_value (invocation, 843s # g_variant_new ("()")); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceProxy: 843s # * 843s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceProxyClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for #OrgProjectUsefulInterfaceProxy. 843s # */ 843s # 843s # struct _OrgProjectUsefulInterfaceProxyPrivate 843s # { 843s # GData *qdata; 843s # }; 843s # 843s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 843s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 843s # 843s # #endif 843s # static void 843s # org_project_useful_interface_proxy_finalize (GObject *object) 843s # { 843s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 843s # g_datalist_clear (&proxy->priv->qdata); 843s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 843s # guint prop_id G_GNUC_UNUSED, 843s # GValue *value G_GNUC_UNUSED, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 843s # guint prop_id G_GNUC_UNUSED, 843s # const GValue *value G_GNUC_UNUSED, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 843s # const gchar *sender_name G_GNUC_UNUSED, 843s # const gchar *signal_name, 843s # GVariant *parameters) 843s # { 843s # _ExtendedGDBusSignalInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # gsize n; 843s # guint signal_id; 843s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 843s # if (info == NULL) 843s # return; 843s # num_params = g_variant_n_children (parameters); 843s # paramv = g_new0 (GValue, num_params + 1); 843s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_set_object (¶mv[0], proxy); 843s # g_variant_iter_init (&iter, parameters); 843s # n = 1; 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_signal_emitv (paramv, signal_id, 0, NULL); 843s # for (n = 0; n < num_params + 1; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 843s # GVariant *changed_properties, 843s # const gchar *const *invalidated_properties) 843s # { 843s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 843s # guint n; 843s # const gchar *key; 843s # GVariantIter *iter; 843s # _ExtendedGDBusPropertyInfo *info; 843s # g_variant_get (changed_properties, "a{sv}", &iter); 843s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 843s # g_datalist_remove_data (&proxy->priv->qdata, key); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # g_variant_iter_free (iter); 843s # for (n = 0; invalidated_properties[n] != NULL; n++) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 843s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 843s # #else 843s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 843s # #endif 843s # 843s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusProxyClass *proxy_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 843s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 843s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 843s # 843s # proxy_class = G_DBUS_PROXY_CLASS (klass); 843s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 843s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # org_project_useful_interface_proxy_new ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # g_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); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_sync: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_sync ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # org_project_useful_interface_proxy_new_for_bus ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # g_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); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_for_bus_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus_sync: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_for_bus_sync ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceSkeleton: 843s # * 843s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceSkeletonClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 843s # */ 843s # 843s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 843s # { 843s # GValue *properties; 843s # GList *changed_properties; 843s # GSource *changed_properties_idle_source; 843s # GMainContext *context; 843s # GMutex lock; 843s # }; 843s # 843s # static void 843s # _org_project_useful_interface_skeleton_handle_method_call ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name, 843s # const gchar *method_name, 843s # GVariant *parameters, 843s # GDBusMethodInvocation *invocation, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # _ExtendedGDBusMethodInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # guint num_extra; 843s # gsize n; 843s # guint signal_id; 843s # GValue return_value = G_VALUE_INIT; 843s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 843s # g_assert (info != NULL); 843s # num_params = g_variant_n_children (parameters); 843s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 843s # n = 0; 843s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_set_object (¶mv[n++], skeleton); 843s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 843s # g_value_set_object (¶mv[n++], invocation); 843s # if (info->pass_fdlist) 843s # { 843s # #ifdef G_OS_UNIX 843s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 843s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 843s # #else 843s # g_assert_not_reached (); 843s # #endif 843s # } 843s # g_variant_iter_init (&iter, parameters); 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_init (&return_value, G_TYPE_BOOLEAN); 843s # g_signal_emitv (paramv, signal_id, 0, &return_value); 843s # if (!g_value_get_boolean (&return_value)) 843s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 843s # g_value_unset (&return_value); 843s # for (n = 0; n < num_params + num_extra; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static GVariant * 843s # _org_project_useful_interface_skeleton_handle_get_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # GVariant *ret; 843s # ret = NULL; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # g_value_init (&value, pspec->value_type); 843s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 843s # g_value_unset (&value); 843s # } 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _org_project_useful_interface_skeleton_handle_set_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GVariant *variant, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # gboolean ret; 843s # ret = FALSE; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # if (info->use_gvariant) 843s # g_value_set_variant (&value, variant); 843s # else 843s # g_dbus_gvariant_to_gvalue (variant, &value); 843s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # g_value_unset (&value); 843s # ret = TRUE; 843s # } 843s # return ret; 843s # } 843s # 843s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 843s # { 843s # _org_project_useful_interface_skeleton_handle_method_call, 843s # _org_project_useful_interface_skeleton_handle_get_property, 843s # _org_project_useful_interface_skeleton_handle_set_property, 843s # {NULL} 843s # }; 843s # 843s # static GDBusInterfaceInfo * 843s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return org_project_useful_interface_interface_info (); 843s # } 843s # 843s # static GDBusInterfaceVTable * 843s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 843s # } 843s # 843s # static GVariant * 843s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 843s # 843s # GVariantBuilder builder; 843s # guint n; 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 843s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #else 843s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #endif 843s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 843s # goto out; 843s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 843s # { 843s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 843s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 843s # { 843s # GVariant *value; 843s # 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); 843s # if (value != NULL) 843s # { 843s # g_variant_take_ref (value); 843s # g_variant_builder_add (&builder, "{sv}", info->name, value); 843s # g_variant_unref (value); 843s # } 843s # } 843s # } 843s # out: 843s # return g_variant_builder_end (&builder); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 843s # 843s # #endif 843s # static void 843s # org_project_useful_interface_skeleton_finalize (GObject *object) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 843s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 843s # if (skeleton->priv->changed_properties_idle_source != NULL) 843s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 843s # g_main_context_unref (skeleton->priv->context); 843s # g_mutex_clear (&skeleton->priv->lock); 843s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 843s # #else 843s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 843s # #endif 843s # 843s # g_mutex_init (&skeleton->priv->lock); 843s # skeleton->priv->context = g_main_context_ref_thread_default (); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusInterfaceSkeletonClass *skeleton_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 843s # 843s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 843s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 843s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 843s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 843s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_skeleton_new: 843s # * 843s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_skeleton_new (void) 843s # { 843s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 843s # } 843s # Error: 843s # 843s # /tmp/tmpwsrbnec3/tmp97e7o9ze.xml: 843s # 843s # 843s # 843s # 843s # 843s # 843s # 843s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwsrbnec3/tmp97e7o9ze.xml', '--output', '-', '--body'] 843s # Return code: 0 843s # Output: 843s # /* 843s # * This file is generated by gdbus-codegen, do not modify it. 843s # * 843s # * The license of this code is the same as for the D-Bus interface description 843s # * it was derived from. Note that it links to GLib, so must comply with the 843s # * LGPL linking clauses. 843s # */ 843s # 843s # #ifdef HAVE_CONFIG_H 843s # # include "config.h" 843s # #endif 843s # 843s # #include 843s # #ifdef G_OS_UNIX 843s # # include 843s # #endif 843s # 843s # #ifdef G_ENABLE_DEBUG 843s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 843s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 843s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 843s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 843s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 843s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 843s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 843s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 843s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 843s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 843s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 843s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 843s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 843s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 843s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 843s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 843s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 843s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 843s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 843s # #else /* !G_ENABLE_DEBUG */ 843s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 843s # * Do not access GValues directly in your code. Instead, use the 843s # * g_value_get_*() functions 843s # */ 843s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 843s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 843s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 843s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 843s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 843s # #endif /* !G_ENABLE_DEBUG */ 843s # 843s # typedef struct 843s # { 843s # GDBusArgInfo parent_struct; 843s # gboolean use_gvariant; 843s # } _ExtendedGDBusArgInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusMethodInfo parent_struct; 843s # const gchar *signal_name; 843s # gboolean pass_fdlist; 843s # } _ExtendedGDBusMethodInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusSignalInfo parent_struct; 843s # const gchar *signal_name; 843s # } _ExtendedGDBusSignalInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusPropertyInfo parent_struct; 843s # const gchar *hyphen_name; 843s # guint use_gvariant : 1; 843s # guint emits_changed_signal : 1; 843s # } _ExtendedGDBusPropertyInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusInterfaceInfo parent_struct; 843s # const gchar *hyphen_name; 843s # } _ExtendedGDBusInterfaceInfo; 843s # 843s # typedef struct 843s # { 843s # const _ExtendedGDBusPropertyInfo *info; 843s # guint prop_id; 843s # GValue orig_value; /* the value before the change */ 843s # } ChangedProperty; 843s # 843s # static void 843s # _changed_property_free (ChangedProperty *data) 843s # { 843s # g_value_unset (&data->orig_value); 843s # g_free (data); 843s # } 843s # 843s # static gboolean 843s # _g_strv_equal0 (gchar **a, gchar **b) 843s # { 843s # gboolean ret = FALSE; 843s # guint n; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # if (g_strv_length (a) != g_strv_length (b)) 843s # goto out; 843s # for (n = 0; a[n] != NULL; n++) 843s # if (g_strcmp0 (a[n], b[n]) != 0) 843s # goto out; 843s # ret = TRUE; 843s # out: 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _g_variant_equal0 (GVariant *a, GVariant *b) 843s # { 843s # gboolean ret = FALSE; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # ret = g_variant_equal (a, b); 843s # out: 843s # return ret; 843s # } 843s # 843s # G_GNUC_UNUSED static gboolean 843s # _g_value_equal (const GValue *a, const GValue *b) 843s # { 843s # gboolean ret = FALSE; 843s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 843s # switch (G_VALUE_TYPE (a)) 843s # { 843s # case G_TYPE_BOOLEAN: 843s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 843s # break; 843s # case G_TYPE_UCHAR: 843s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 843s # break; 843s # case G_TYPE_INT: 843s # ret = (g_value_get_int (a) == g_value_get_int (b)); 843s # break; 843s # case G_TYPE_UINT: 843s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 843s # break; 843s # case G_TYPE_INT64: 843s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 843s # break; 843s # case G_TYPE_UINT64: 843s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 843s # break; 843s # case G_TYPE_DOUBLE: 843s # { 843s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 843s # gdouble da = g_value_get_double (a); 843s # gdouble db = g_value_get_double (b); 843s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 843s # } 843s # break; 843s # case G_TYPE_STRING: 843s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 843s # break; 843s # case G_TYPE_VARIANT: 843s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 843s # break; 843s # default: 843s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 843s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 843s # else 843s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 843s # break; 843s # } 843s # return ret; 843s # } 843s # 843s # static void 843s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 ( 843s # GClosure *closure, 843s # GValue *return_value, 843s # unsigned int n_param_values, 843s # const GValue *param_values, 843s # void *invocation_hint G_GNUC_UNUSED, 843s # void *marshal_data) 843s # { 843s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectInt64Func) 843s # (void *data1, 843s # GDBusMethodInvocation *arg_method_invocation, 843s # gint64 arg_arg_x, 843s # void *data2); 843s # _GDbusCodegenMarshalBoolean_ObjectInt64Func callback; 843s # GCClosure *cc = (GCClosure*) closure; 843s # void *data1, *data2; 843s # gboolean v_return; 843s # 843s # g_return_if_fail (return_value != NULL); 843s # g_return_if_fail (n_param_values == 3); 843s # 843s # if (G_CCLOSURE_SWAP_DATA (closure)) 843s # { 843s # data1 = closure->data; 843s # data2 = g_value_peek_pointer (param_values + 0); 843s # } 843s # else 843s # { 843s # data1 = g_value_peek_pointer (param_values + 0); 843s # data2 = closure->data; 843s # } 843s # 843s # callback = (_GDbusCodegenMarshalBoolean_ObjectInt64Func) 843s # (marshal_data ? marshal_data : cc->callback); 843s # 843s # v_return = 843s # callback (data1, 843s # g_marshal_value_peek_object (param_values + 1), 843s # g_marshal_value_peek_int64 (param_values + 2), 843s # data2); 843s # 843s # g_value_set_boolean (return_value, v_return); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ 843s # * Code for interface org.project.UsefulInterface 843s # * ------------------------------------------------------------------------ 843s # */ 843s # 843s # /** 843s # * SECTION:OrgProjectUsefulInterface 843s # * @title: OrgProjectUsefulInterface 843s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 843s # * 843s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 843s # */ 843s # 843s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 843s # 843s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x = 843s # { 843s # { 843s # -1, 843s # (gchar *) "arg_x", 843s # (gchar *) "x", 843s # NULL 843s # }, 843s # FALSE 843s # }; 843s # 843s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers[] = 843s # { 843s # &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 843s # { 843s # { 843s # -1, 843s # (gchar *) "SingleArgMethodX", 843s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers, 843s # NULL, 843s # NULL 843s # }, 843s # "handle-single-arg-method-x", 843s # FALSE 843s # }; 843s # 843s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 843s # { 843s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 843s # { 843s # { 843s # -1, 843s # (gchar *) "org.project.UsefulInterface", 843s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 843s # NULL, 843s # NULL, 843s # NULL 843s # }, 843s # "org-project-useful-interface", 843s # }; 843s # 843s # 843s # /** 843s # * org_project_useful_interface_interface_info: 843s # * 843s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 843s # * 843s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 843s # */ 843s # GDBusInterfaceInfo * 843s # org_project_useful_interface_interface_info (void) 843s # { 843s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_override_properties: 843s # * @klass: The class structure for a #GObject derived class. 843s # * @property_id_begin: The property id to assign to the first overridden property. 843s # * 843s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 843s # * The properties are overridden in the order they are defined. 843s # * 843s # * Returns: The last property id. 843s # */ 843s # guint 843s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 843s # { 843s # return property_id_begin - 1; 843s # } 843s # 843s # 843s # inline static void 843s # org_project_useful_interface_method_marshal_single_arg_method_x ( 843s # GClosure *closure, 843s # GValue *return_value, 843s # unsigned int n_param_values, 843s # const GValue *param_values, 843s # void *invocation_hint, 843s # void *marshal_data) 843s # { 843s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 (closure, 843s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 843s # } 843s # 843s # 843s # /** 843s # * OrgProjectUsefulInterface: 843s # * 843s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceIface: 843s # * @parent_iface: The parent interface. 843s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 843s # * 843s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 843s # */ 843s # 843s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 843s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 843s # 843s # static void 843s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 843s # { 843s # /* GObject signals for incoming D-Bus method calls: */ 843s # /** 843s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 843s # * @object: A #OrgProjectUsefulInterface. 843s # * @invocation: A #GDBusMethodInvocation. 843s # * @arg_arg_x: Argument passed by remote caller. 843s # * 843s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 843s # * 843s # * 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. 843s # * 843s # * 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. 843s # */ 843s # g_signal_new ("handle-single-arg-method-x", 843s # G_TYPE_FROM_INTERFACE (iface), 843s # G_SIGNAL_RUN_LAST, 843s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 843s # g_signal_accumulator_true_handled, 843s # NULL, 843s # org_project_useful_interface_method_marshal_single_arg_method_x, 843s # G_TYPE_BOOLEAN, 843s # 2, 843s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT64); 843s # 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_x: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @arg_arg_x: Argument to pass with the method invocation. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 843s # */ 843s # void 843s # org_project_useful_interface_call_single_arg_method_x ( 843s # OrgProjectUsefulInterface *proxy, 843s # gint64 arg_arg_x, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 843s # "SingleArgMethodX", 843s # g_variant_new ("(x)", 843s # arg_arg_x), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # cancellable, 843s # callback, 843s # user_data); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_x_finish: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 843s # * @error: Return location for error or %NULL. 843s # * 843s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 843s # * 843s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 843s # */ 843s # gboolean 843s # org_project_useful_interface_call_single_arg_method_x_finish ( 843s # OrgProjectUsefulInterface *proxy, 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GVariant *_ret; 843s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 843s # if (_ret == NULL) 843s # goto _out; 843s # g_variant_get (_ret, 843s # "()"); 843s # g_variant_unref (_ret); 843s # _out: 843s # return _ret != NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_x_sync: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @arg_arg_x: Argument to pass with the method invocation. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL. 843s # * 843s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 843s # * 843s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 843s # */ 843s # gboolean 843s # org_project_useful_interface_call_single_arg_method_x_sync ( 843s # OrgProjectUsefulInterface *proxy, 843s # gint64 arg_arg_x, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GVariant *_ret; 843s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 843s # "SingleArgMethodX", 843s # g_variant_new ("(x)", 843s # arg_arg_x), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # cancellable, 843s # error); 843s # if (_ret == NULL) 843s # goto _out; 843s # g_variant_get (_ret, 843s # "()"); 843s # g_variant_unref (_ret); 843s # _out: 843s # return _ret != NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_complete_single_arg_method_x: 843s # * @object: A #OrgProjectUsefulInterface. 843s # * @invocation: (transfer full): A #GDBusMethodInvocation. 843s # * 843s # * 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. 843s # * 843s # * This method will free @invocation, you cannot use it afterwards. 843s # */ 843s # void 843s # org_project_useful_interface_complete_single_arg_method_x ( 843s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 843s # GDBusMethodInvocation *invocation) 843s # { 843s # g_dbus_method_invocation_return_value (invocation, 843s # g_variant_new ("()")); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceProxy: 843s # * 843s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceProxyClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for #OrgProjectUsefulInterfaceProxy. 843s # */ 843s # 843s # struct _OrgProjectUsefulInterfaceProxyPrivate 843s # { 843s # GData *qdata; 843s # }; 843s # 843s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 843s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 843s # 843s # #endif 843s # static void 843s # org_project_useful_interface_proxy_finalize (GObject *object) 843s # { 843s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 843s # g_datalist_clear (&proxy->priv->qdata); 843s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 843s # guint prop_id G_GNUC_UNUSED, 843s # GValue *value G_GNUC_UNUSED, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 843s # guint prop_id G_GNUC_UNUSED, 843s # const GValue *value G_GNUC_UNUSED, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 843s # const gchar *sender_name G_GNUC_UNUSED, 843s # const gchar *signal_name, 843s # GVariant *parameters) 843s # { 843s # _ExtendedGDBusSignalInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # gsize n; 843s # guint signal_id; 843s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 843s # if (info == NULL) 843s # return; 843s # num_params = g_variant_n_children (parameters); 843s # paramv = g_new0 (GValue, num_params + 1); 843s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_set_object (¶mv[0], proxy); 843s # g_variant_iter_init (&iter, parameters); 843s # n = 1; 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_signal_emitv (paramv, signal_id, 0, NULL); 843s # for (n = 0; n < num_params + 1; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 843s # GVariant *changed_properties, 843s # const gchar *const *invalidated_properties) 843s # { 843s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 843s # guint n; 843s # const gchar *key; 843s # GVariantIter *iter; 843s # _ExtendedGDBusPropertyInfo *info; 843s # g_variant_get (changed_properties, "a{sv}", &iter); 843s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 843s # g_datalist_remove_data (&proxy->priv->qdata, key); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # g_variant_iter_free (iter); 843s # for (n = 0; invalidated_properties[n] != NULL; n++) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 843s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 843s # #else 843s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 843s # #endif 843s # 843s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusProxyClass *proxy_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 843s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 843s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 843s # 843s # proxy_class = G_DBUS_PROXY_CLASS (klass); 843s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 843s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # org_project_useful_interface_proxy_new ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # g_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); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_sync: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_sync ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # org_project_useful_interface_proxy_new_for_bus ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # g_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); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_for_bus_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus_sync: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_for_bus_sync ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceSkeleton: 843s # * 843s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceSkeletonClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 843s # */ 843s # 843s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 843s # { 843s # GValue *properties; 843s # GList *changed_properties; 843s # GSource *changed_properties_idle_source; 843s # GMainContext *context; 843s # GMutex lock; 843s # }; 843s # 843s # static void 843s # _org_project_useful_interface_skeleton_handle_method_call ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name, 843s # const gchar *method_name, 843s # GVariant *parameters, 843s # GDBusMethodInvocation *invocation, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # _ExtendedGDBusMethodInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # guint num_extra; 843s # gsize n; 843s # guint signal_id; 843s # GValue return_value = G_VALUE_INIT; 843s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 843s # g_assert (info != NULL); 843s # num_params = g_variant_n_children (parameters); 843s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 843s # n = 0; 843s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_set_object (¶mv[n++], skeleton); 843s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 843s # g_value_set_object (¶mv[n++], invocation); 843s # if (info->pass_fdlist) 843s # { 843s # #ifdef G_OS_UNIX 843s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 843s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 843s # #else 843s # g_assert_not_reached (); 843s # #endif 843s # } 843s # g_variant_iter_init (&iter, parameters); 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_init (&return_value, G_TYPE_BOOLEAN); 843s # g_signal_emitv (paramv, signal_id, 0, &return_value); 843s # if (!g_value_get_boolean (&return_value)) 843s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 843s # g_value_unset (&return_value); 843s # for (n = 0; n < num_params + num_extra; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static GVariant * 843s # _org_project_useful_interface_skeleton_handle_get_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # GVariant *ret; 843s # ret = NULL; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # g_value_init (&value, pspec->value_type); 843s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 843s # g_value_unset (&value); 843s # } 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _org_project_useful_interface_skeleton_handle_set_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GVariant *variant, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # gboolean ret; 843s # ret = FALSE; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # if (info->use_gvariant) 843s # g_value_set_variant (&value, variant); 843s # else 843s # g_dbus_gvariant_to_gvalue (variant, &value); 843s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # g_value_unset (&value); 843s # ret = TRUE; 843s # } 843s # return ret; 843s # } 843s # 843s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 843s # { 843s # _org_project_useful_interface_skeleton_handle_method_call, 843s # _org_project_useful_interface_skeleton_handle_get_property, 843s # _org_project_useful_interface_skeleton_handle_set_property, 843s # {NULL} 843s # }; 843s # 843s # static GDBusInterfaceInfo * 843s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return org_project_useful_interface_interface_info (); 843s # } 843s # 843s # static GDBusInterfaceVTable * 843s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 843s # } 843s # 843s # static GVariant * 843s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 843s # 843s # GVariantBuilder builder; 843s # guint n; 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 843s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #else 843s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #endif 843s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 843s # goto out; 843s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 843s # { 843s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 843s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 843s # { 843s # GVariant *value; 843s # 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); 843s # if (value != NULL) 843s # { 843s # g_variant_take_ref (value); 843s # g_variant_builder_add (&builder, "{sv}", info->name, value); 843s # g_variant_unref (value); 843s # } 843s # } 843s # } 843s # out: 843s # return g_variant_builder_end (&builder); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 843s # 843s # #endif 843s # static void 843s # org_project_useful_interface_skeleton_finalize (GObject *object) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 843s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 843s # if (skeleton->priv->changed_properties_idle_source != NULL) 843s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 843s # g_main_context_unref (skeleton->priv->context); 843s # g_mutex_clear (&skeleton->priv->lock); 843s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 843s # #else 843s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 843s # #endif 843s # 843s # g_mutex_init (&skeleton->priv->lock); 843s # skeleton->priv->context = g_main_context_ref_thread_default (); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusInterfaceSkeletonClass *skeleton_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 843s # 843s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 843s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 843s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 843s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 843s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_skeleton_new: 843s # * 843s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_skeleton_new (void) 843s # { 843s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 843s # } 843s # Error: 843s # 843s # /tmp/tmpwsrbnec3/tmpnydr83j8.xml: 843s # 843s # 843s # 843s # 843s # 843s # 843s # 843s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwsrbnec3/tmpnydr83j8.xml', '--output', '-', '--body'] 843s # Return code: 0 843s # Output: 843s # /* 843s # * This file is generated by gdbus-codegen, do not modify it. 843s # * 843s # * The license of this code is the same as for the D-Bus interface description 843s # * it was derived from. Note that it links to GLib, so must comply with the 843s # * LGPL linking clauses. 843s # */ 843s # 843s # #ifdef HAVE_CONFIG_H 843s # # include "config.h" 843s # #endif 843s # 843s # #include 843s # #ifdef G_OS_UNIX 843s # # include 843s # #endif 843s # 843s # #ifdef G_ENABLE_DEBUG 843s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 843s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 843s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 843s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 843s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 843s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 843s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 843s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 843s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 843s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 843s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 843s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 843s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 843s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 843s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 843s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 843s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 843s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 843s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 843s # #else /* !G_ENABLE_DEBUG */ 843s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 843s # * Do not access GValues directly in your code. Instead, use the 843s # * g_value_get_*() functions 843s # */ 843s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 843s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 843s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 843s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 843s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 843s # #endif /* !G_ENABLE_DEBUG */ 843s # 843s # typedef struct 843s # { 843s # GDBusArgInfo parent_struct; 843s # gboolean use_gvariant; 843s # } _ExtendedGDBusArgInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusMethodInfo parent_struct; 843s # const gchar *signal_name; 843s # gboolean pass_fdlist; 843s # } _ExtendedGDBusMethodInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusSignalInfo parent_struct; 843s # const gchar *signal_name; 843s # } _ExtendedGDBusSignalInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusPropertyInfo parent_struct; 843s # const gchar *hyphen_name; 843s # guint use_gvariant : 1; 843s # guint emits_changed_signal : 1; 843s # } _ExtendedGDBusPropertyInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusInterfaceInfo parent_struct; 843s # const gchar *hyphen_name; 843s # } _ExtendedGDBusInterfaceInfo; 843s # 843s # typedef struct 843s # { 843s # const _ExtendedGDBusPropertyInfo *info; 843s # guint prop_id; 843s # GValue orig_value; /* the value before the change */ 843s # } ChangedProperty; 843s # 843s # static void 843s # _changed_property_free (ChangedProperty *data) 843s # { 843s # g_value_unset (&data->orig_value); 843s # g_free (data); 843s # } 843s # 843s # static gboolean 843s # _g_strv_equal0 (gchar **a, gchar **b) 843s # { 843s # gboolean ret = FALSE; 843s # guint n; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # if (g_strv_length (a) != g_strv_length (b)) 843s # goto out; 843s # for (n = 0; a[n] != NULL; n++) 843s # if (g_strcmp0 (a[n], b[n]) != 0) 843s # goto out; 843s # ret = TRUE; 843s # out: 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _g_variant_equal0 (GVariant *a, GVariant *b) 843s # { 843s # gboolean ret = FALSE; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # ret = g_variant_equal (a, b); 843s # out: 843s # return ret; 843s # } 843s # 843s # G_GNUC_UNUSED static gboolean 843s # _g_value_equal (const GValue *a, const GValue *b) 843s # { 843s # gboolean ret = FALSE; 843s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 843s # switch (G_VALUE_TYPE (a)) 843s # { 843s # case G_TYPE_BOOLEAN: 843s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 843s # break; 843s # case G_TYPE_UCHAR: 843s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 843s # break; 843s # case G_TYPE_INT: 843s # ret = (g_value_get_int (a) == g_value_get_int (b)); 843s # break; 843s # case G_TYPE_UINT: 843s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 843s # break; 843s # case G_TYPE_INT64: 843s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 843s # break; 843s # case G_TYPE_UINT64: 843s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 843s # break; 843s # case G_TYPE_DOUBLE: 843s # { 843s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 843s # gdouble da = g_value_get_double (a); 843s # gdouble db = g_value_get_double (b); 843s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 843s # } 843s # break; 843s # case G_TYPE_STRING: 843s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 843s # break; 843s # case G_TYPE_VARIANT: 843s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 843s # break; 843s # default: 843s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 843s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 843s # else 843s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 843s # break; 843s # } 843s # return ret; 843s # } 843s # 843s # static void 843s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 ( 843s # GClosure *closure, 843s # GValue *return_value, 843s # unsigned int n_param_values, 843s # const GValue *param_values, 843s # void *invocation_hint G_GNUC_UNUSED, 843s # void *marshal_data) 843s # { 843s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUint64Func) 843s # (void *data1, 843s # GDBusMethodInvocation *arg_method_invocation, 843s # guint64 arg_arg_t, 843s # void *data2); 843s # _GDbusCodegenMarshalBoolean_ObjectUint64Func callback; 843s # GCClosure *cc = (GCClosure*) closure; 843s # void *data1, *data2; 843s # gboolean v_return; 843s # 843s # g_return_if_fail (return_value != NULL); 843s # g_return_if_fail (n_param_values == 3); 843s # 843s # if (G_CCLOSURE_SWAP_DATA (closure)) 843s # { 843s # data1 = closure->data; 843s # data2 = g_value_peek_pointer (param_values + 0); 843s # } 843s # else 843s # { 843s # data1 = g_value_peek_pointer (param_values + 0); 843s # data2 = closure->data; 843s # } 843s # 843s # callback = (_GDbusCodegenMarshalBoolean_ObjectUint64Func) 843s # (marshal_data ? marshal_data : cc->callback); 843s # 843s # v_return = 843s # callback (data1, 843s # g_marshal_value_peek_object (param_values + 1), 843s # g_marshal_value_peek_uint64 (param_values + 2), 843s # data2); 843s # 843s # g_value_set_boolean (return_value, v_return); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ 843s # * Code for interface org.project.UsefulInterface 843s # * ------------------------------------------------------------------------ 843s # */ 843s # 843s # /** 843s # * SECTION:OrgProjectUsefulInterface 843s # * @title: OrgProjectUsefulInterface 843s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 843s # * 843s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 843s # */ 843s # 843s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 843s # 843s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t = 843s # { 843s # { 843s # -1, 843s # (gchar *) "arg_t", 843s # (gchar *) "t", 843s # NULL 843s # }, 843s # FALSE 843s # }; 843s # 843s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers[] = 843s # { 843s # &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 843s # { 843s # { 843s # -1, 843s # (gchar *) "SingleArgMethodT", 843s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers, 843s # NULL, 843s # NULL 843s # }, 843s # "handle-single-arg-method-t", 843s # FALSE 843s # }; 843s # 843s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 843s # { 843s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 843s # { 843s # { 843s # -1, 843s # (gchar *) "org.project.UsefulInterface", 843s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 843s # NULL, 843s # NULL, 843s # NULL 843s # }, 843s # "org-project-useful-interface", 843s # }; 843s # 843s # 843s # /** 843s # * org_project_useful_interface_interface_info: 843s # * 843s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 843s # * 843s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 843s # */ 843s # GDBusInterfaceInfo * 843s # org_project_useful_interface_interface_info (void) 843s # { 843s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_override_properties: 843s # * @klass: The class structure for a #GObject derived class. 843s # * @property_id_begin: The property id to assign to the first overridden property. 843s # * 843s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 843s # * The properties are overridden in the order they are defined. 843s # * 843s # * Returns: The last property id. 843s # */ 843s # guint 843s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 843s # { 843s # return property_id_begin - 1; 843s # } 843s # 843s # 843s # inline static void 843s # org_project_useful_interface_method_marshal_single_arg_method_t ( 843s # GClosure *closure, 843s # GValue *return_value, 843s # unsigned int n_param_values, 843s # const GValue *param_values, 843s # void *invocation_hint, 843s # void *marshal_data) 843s # { 843s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 (closure, 843s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 843s # } 843s # 843s # 843s # /** 843s # * OrgProjectUsefulInterface: 843s # * 843s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceIface: 843s # * @parent_iface: The parent interface. 843s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 843s # * 843s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 843s # */ 843s # 843s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 843s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 843s # 843s # static void 843s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 843s # { 843s # /* GObject signals for incoming D-Bus method calls: */ 843s # /** 843s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 843s # * @object: A #OrgProjectUsefulInterface. 843s # * @invocation: A #GDBusMethodInvocation. 843s # * @arg_arg_t: Argument passed by remote caller. 843s # * 843s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 843s # * 843s # * 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. 843s # * 843s # * 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. 843s # */ 843s # g_signal_new ("handle-single-arg-method-t", 843s # G_TYPE_FROM_INTERFACE (iface), 843s # G_SIGNAL_RUN_LAST, 843s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 843s # g_signal_accumulator_true_handled, 843s # NULL, 843s # org_project_useful_interface_method_marshal_single_arg_method_t, 843s # G_TYPE_BOOLEAN, 843s # 2, 843s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT64); 843s # 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_t: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @arg_arg_t: Argument to pass with the method invocation. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 843s # */ 843s # void 843s # org_project_useful_interface_call_single_arg_method_t ( 843s # OrgProjectUsefulInterface *proxy, 843s # guint64 arg_arg_t, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 843s # "SingleArgMethodT", 843s # g_variant_new ("(t)", 843s # arg_arg_t), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # cancellable, 843s # callback, 843s # user_data); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_t_finish: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 843s # * @error: Return location for error or %NULL. 843s # * 843s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 843s # * 843s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 843s # */ 843s # gboolean 843s # org_project_useful_interface_call_single_arg_method_t_finish ( 843s # OrgProjectUsefulInterface *proxy, 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GVariant *_ret; 843s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 843s # if (_ret == NULL) 843s # goto _out; 843s # g_variant_get (_ret, 843s # "()"); 843s # g_variant_unref (_ret); 843s # _out: 843s # return _ret != NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_t_sync: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @arg_arg_t: Argument to pass with the method invocation. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL. 843s # * 843s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 843s # * 843s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 843s # */ 843s # gboolean 843s # org_project_useful_interface_call_single_arg_method_t_sync ( 843s # OrgProjectUsefulInterface *proxy, 843s # guint64 arg_arg_t, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GVariant *_ret; 843s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 843s # "SingleArgMethodT", 843s # g_variant_new ("(t)", 843s # arg_arg_t), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # cancellable, 843s # error); 843s # if (_ret == NULL) 843s # goto _out; 843s # g_variant_get (_ret, 843s # "()"); 843s # g_variant_unref (_ret); 843s # _out: 843s # return _ret != NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_complete_single_arg_method_t: 843s # * @object: A #OrgProjectUsefulInterface. 843s # * @invocation: (transfer full): A #GDBusMethodInvocation. 843s # * 843s # * 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. 843s # * 843s # * This method will free @invocation, you cannot use it afterwards. 843s # */ 843s # void 843s # org_project_useful_interface_complete_single_arg_method_t ( 843s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 843s # GDBusMethodInvocation *invocation) 843s # { 843s # g_dbus_method_invocation_return_value (invocation, 843s # g_variant_new ("()")); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceProxy: 843s # * 843s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceProxyClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for #OrgProjectUsefulInterfaceProxy. 843s # */ 843s # 843s # struct _OrgProjectUsefulInterfaceProxyPrivate 843s # { 843s # GData *qdata; 843s # }; 843s # 843s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 843s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 843s # 843s # #endif 843s # static void 843s # org_project_useful_interface_proxy_finalize (GObject *object) 843s # { 843s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 843s # g_datalist_clear (&proxy->priv->qdata); 843s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 843s # guint prop_id G_GNUC_UNUSED, 843s # GValue *value G_GNUC_UNUSED, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 843s # guint prop_id G_GNUC_UNUSED, 843s # const GValue *value G_GNUC_UNUSED, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 843s # const gchar *sender_name G_GNUC_UNUSED, 843s # const gchar *signal_name, 843s # GVariant *parameters) 843s # { 843s # _ExtendedGDBusSignalInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # gsize n; 843s # guint signal_id; 843s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 843s # if (info == NULL) 843s # return; 843s # num_params = g_variant_n_children (parameters); 843s # paramv = g_new0 (GValue, num_params + 1); 843s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_set_object (¶mv[0], proxy); 843s # g_variant_iter_init (&iter, parameters); 843s # n = 1; 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_signal_emitv (paramv, signal_id, 0, NULL); 843s # for (n = 0; n < num_params + 1; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 843s # GVariant *changed_properties, 843s # const gchar *const *invalidated_properties) 843s # { 843s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 843s # guint n; 843s # const gchar *key; 843s # GVariantIter *iter; 843s # _ExtendedGDBusPropertyInfo *info; 843s # g_variant_get (changed_properties, "a{sv}", &iter); 843s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 843s # g_datalist_remove_data (&proxy->priv->qdata, key); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # g_variant_iter_free (iter); 843s # for (n = 0; invalidated_properties[n] != NULL; n++) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 843s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 843s # #else 843s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 843s # #endif 843s # 843s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusProxyClass *proxy_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 843s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 843s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 843s # 843s # proxy_class = G_DBUS_PROXY_CLASS (klass); 843s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 843s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # org_project_useful_interface_proxy_new ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # g_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); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_sync: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_sync ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # org_project_useful_interface_proxy_new_for_bus ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # g_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); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_for_bus_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus_sync: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_for_bus_sync ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceSkeleton: 843s # * 843s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceSkeletonClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 843s # */ 843s # 843s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 843s # { 843s # GValue *properties; 843s # GList *changed_properties; 843s # GSource *changed_properties_idle_source; 843s # GMainContext *context; 843s # GMutex lock; 843s # }; 843s # 843s # static void 843s # _org_project_useful_interface_skeleton_handle_method_call ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name, 843s # const gchar *method_name, 843s # GVariant *parameters, 843s # GDBusMethodInvocation *invocation, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # _ExtendedGDBusMethodInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # guint num_extra; 843s # gsize n; 843s # guint signal_id; 843s # GValue return_value = G_VALUE_INIT; 843s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 843s # g_assert (info != NULL); 843s # num_params = g_variant_n_children (parameters); 843s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 843s # n = 0; 843s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_set_object (¶mv[n++], skeleton); 843s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 843s # g_value_set_object (¶mv[n++], invocation); 843s # if (info->pass_fdlist) 843s # { 843s # #ifdef G_OS_UNIX 843s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 843s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 843s # #else 843s # g_assert_not_reached (); 843s # #endif 843s # } 843s # g_variant_iter_init (&iter, parameters); 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_init (&return_value, G_TYPE_BOOLEAN); 843s # g_signal_emitv (paramv, signal_id, 0, &return_value); 843s # if (!g_value_get_boolean (&return_value)) 843s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 843s # g_value_unset (&return_value); 843s # for (n = 0; n < num_params + num_extra; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static GVariant * 843s # _org_project_useful_interface_skeleton_handle_get_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # GVariant *ret; 843s # ret = NULL; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # g_value_init (&value, pspec->value_type); 843s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 843s # g_value_unset (&value); 843s # } 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _org_project_useful_interface_skeleton_handle_set_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GVariant *variant, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # gboolean ret; 843s # ret = FALSE; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # if (info->use_gvariant) 843s # g_value_set_variant (&value, variant); 843s # else 843s # g_dbus_gvariant_to_gvalue (variant, &value); 843s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # g_value_unset (&value); 843s # ret = TRUE; 843s # } 843s # return ret; 843s # } 843s # 843s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 843s # { 843s # _org_project_useful_interface_skeleton_handle_method_call, 843s # _org_project_useful_interface_skeleton_handle_get_property, 843s # _org_project_useful_interface_skeleton_handle_set_property, 843s # {NULL} 843s # }; 843s # 843s # static GDBusInterfaceInfo * 843s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return org_project_useful_interface_interface_info (); 843s # } 843s # 843s # static GDBusInterfaceVTable * 843s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 843s # } 843s # 843s # static GVariant * 843s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 843s # 843s # GVariantBuilder builder; 843s # guint n; 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 843s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #else 843s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #endif 843s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 843s # goto out; 843s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 843s # { 843s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 843s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 843s # { 843s # GVariant *value; 843s # 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); 843s # if (value != NULL) 843s # { 843s # g_variant_take_ref (value); 843s # g_variant_builder_add (&builder, "{sv}", info->name, value); 843s # g_variant_unref (value); 843s # } 843s # } 843s # } 843s # out: 843s # return g_variant_builder_end (&builder); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 843s # 843s # #endif 843s # static void 843s # org_project_useful_interface_skeleton_finalize (GObject *object) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 843s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 843s # if (skeleton->priv->changed_properties_idle_source != NULL) 843s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 843s # g_main_context_unref (skeleton->priv->context); 843s # g_mutex_clear (&skeleton->priv->lock); 843s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 843s # #else 843s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 843s # #endif 843s # 843s # g_mutex_init (&skeleton->priv->lock); 843s # skeleton->priv->context = g_main_context_ref_thread_default (); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusInterfaceSkeletonClass *skeleton_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 843s # 843s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 843s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 843s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 843s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 843s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_skeleton_new: 843s # * 843s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_skeleton_new (void) 843s # { 843s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 843s # } 843s # Error: 843s # 843s # /tmp/tmpwsrbnec3/tmpsqruz61q.xml: 843s # 843s # 843s # 843s # 843s # 843s # 843s # 843s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwsrbnec3/tmpsqruz61q.xml', '--output', '-', '--body'] 843s # Return code: 0 843s # Output: 843s # /* 843s # * This file is generated by gdbus-codegen, do not modify it. 843s # * 843s # * The license of this code is the same as for the D-Bus interface description 843s # * it was derived from. Note that it links to GLib, so must comply with the 843s # * LGPL linking clauses. 843s # */ 843s # 843s # #ifdef HAVE_CONFIG_H 843s # # include "config.h" 843s # #endif 843s # 843s # #include 843s # #ifdef G_OS_UNIX 843s # # include 843s # #endif 843s # 843s # #ifdef G_ENABLE_DEBUG 843s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 843s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 843s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 843s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 843s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 843s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 843s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 843s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 843s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 843s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 843s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 843s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 843s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 843s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 843s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 843s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 843s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 843s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 843s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 843s # #else /* !G_ENABLE_DEBUG */ 843s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 843s # * Do not access GValues directly in your code. Instead, use the 843s # * g_value_get_*() functions 843s # */ 843s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 843s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 843s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 843s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 843s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 843s # #endif /* !G_ENABLE_DEBUG */ 843s # 843s # typedef struct 843s # { 843s # GDBusArgInfo parent_struct; 843s # gboolean use_gvariant; 843s # } _ExtendedGDBusArgInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusMethodInfo parent_struct; 843s # const gchar *signal_name; 843s # gboolean pass_fdlist; 843s # } _ExtendedGDBusMethodInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusSignalInfo parent_struct; 843s # const gchar *signal_name; 843s # } _ExtendedGDBusSignalInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusPropertyInfo parent_struct; 843s # const gchar *hyphen_name; 843s # guint use_gvariant : 1; 843s # guint emits_changed_signal : 1; 843s # } _ExtendedGDBusPropertyInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusInterfaceInfo parent_struct; 843s # const gchar *hyphen_name; 843s # } _ExtendedGDBusInterfaceInfo; 843s # 843s # typedef struct 843s # { 843s # const _ExtendedGDBusPropertyInfo *info; 843s # guint prop_id; 843s # GValue orig_value; /* the value before the change */ 843s # } ChangedProperty; 843s # 843s # static void 843s # _changed_property_free (ChangedProperty *data) 843s # { 843s # g_value_unset (&data->orig_value); 843s # g_free (data); 843s # } 843s # 843s # static gboolean 843s # _g_strv_equal0 (gchar **a, gchar **b) 843s # { 843s # gboolean ret = FALSE; 843s # guint n; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # if (g_strv_length (a) != g_strv_length (b)) 843s # goto out; 843s # for (n = 0; a[n] != NULL; n++) 843s # if (g_strcmp0 (a[n], b[n]) != 0) 843s # goto out; 843s # ret = TRUE; 843s # out: 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _g_variant_equal0 (GVariant *a, GVariant *b) 843s # { 843s # gboolean ret = FALSE; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # ret = g_variant_equal (a, b); 843s # out: 843s # return ret; 843s # } 843s # 843s # G_GNUC_UNUSED static gboolean 843s # _g_value_equal (const GValue *a, const GValue *b) 843s # { 843s # gboolean ret = FALSE; 843s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 843s # switch (G_VALUE_TYPE (a)) 843s # { 843s # case G_TYPE_BOOLEAN: 843s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 843s # break; 843s # case G_TYPE_UCHAR: 843s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 843s # break; 843s # case G_TYPE_INT: 843s # ret = (g_value_get_int (a) == g_value_get_int (b)); 843s # break; 843s # case G_TYPE_UINT: 843s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 843s # break; 843s # case G_TYPE_INT64: 843s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 843s # break; 843s # case G_TYPE_UINT64: 843s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 843s # break; 843s # case G_TYPE_DOUBLE: 843s # { 843s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 843s # gdouble da = g_value_get_double (a); 843s # gdouble db = g_value_get_double (b); 843s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 843s # } 843s # break; 843s # case G_TYPE_STRING: 843s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 843s # break; 843s # case G_TYPE_VARIANT: 843s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 843s # break; 843s # default: 843s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 843s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 843s # else 843s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 843s # break; 843s # } 843s # return ret; 843s # } 843s # 843s # static void 843s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE ( 843s # GClosure *closure, 843s # GValue *return_value, 843s # unsigned int n_param_values, 843s # const GValue *param_values, 843s # void *invocation_hint G_GNUC_UNUSED, 843s # void *marshal_data) 843s # { 843s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 843s # (void *data1, 843s # GDBusMethodInvocation *arg_method_invocation, 843s # gdouble arg_arg_d, 843s # void *data2); 843s # _GDbusCodegenMarshalBoolean_ObjectDoubleFunc callback; 843s # GCClosure *cc = (GCClosure*) closure; 843s # void *data1, *data2; 843s # gboolean v_return; 843s # 843s # g_return_if_fail (return_value != NULL); 843s # g_return_if_fail (n_param_values == 3); 843s # 843s # if (G_CCLOSURE_SWAP_DATA (closure)) 843s # { 843s # data1 = closure->data; 843s # data2 = g_value_peek_pointer (param_values + 0); 843s # } 843s # else 843s # { 843s # data1 = g_value_peek_pointer (param_values + 0); 843s # data2 = closure->data; 843s # } 843s # 843s # callback = (_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 843s # (marshal_data ? marshal_data : cc->callback); 843s # 843s # v_return = 843s # callback (data1, 843s # g_marshal_value_peek_object (param_values + 1), 843s # g_marshal_value_peek_double (param_values + 2), 843s # data2); 843s # 843s # g_value_set_boolean (return_value, v_return); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ 843s # * Code for interface org.project.UsefulInterface 843s # * ------------------------------------------------------------------------ 843s # */ 843s # 843s # /** 843s # * SECTION:OrgProjectUsefulInterface 843s # * @title: OrgProjectUsefulInterface 843s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 843s # * 843s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 843s # */ 843s # 843s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 843s # 843s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d = 843s # { 843s # { 843s # -1, 843s # (gchar *) "arg_d", 843s # (gchar *) "d", 843s # NULL 843s # }, 843s # FALSE 843s # }; 843s # 843s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers[] = 843s # { 843s # &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 843s # { 843s # { 843s # -1, 843s # (gchar *) "SingleArgMethodD", 843s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers, 843s # NULL, 843s # NULL 843s # }, 843s # "handle-single-arg-method-d", 843s # FALSE 843s # }; 843s # 843s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 843s # { 843s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 843s # { 843s # { 843s # -1, 843s # (gchar *) "org.project.UsefulInterface", 843s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 843s # NULL, 843s # NULL, 843s # NULL 843s # }, 843s # "org-project-useful-interface", 843s # }; 843s # 843s # 843s # /** 843s # * org_project_useful_interface_interface_info: 843s # * 843s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 843s # * 843s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 843s # */ 843s # GDBusInterfaceInfo * 843s # org_project_useful_interface_interface_info (void) 843s # { 843s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_override_properties: 843s # * @klass: The class structure for a #GObject derived class. 843s # * @property_id_begin: The property id to assign to the first overridden property. 843s # * 843s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 843s # * The properties are overridden in the order they are defined. 843s # * 843s # * Returns: The last property id. 843s # */ 843s # guint 843s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 843s # { 843s # return property_id_begin - 1; 843s # } 843s # 843s # 843s # inline static void 843s # org_project_useful_interface_method_marshal_single_arg_method_d ( 843s # GClosure *closure, 843s # GValue *return_value, 843s # unsigned int n_param_values, 843s # const GValue *param_values, 843s # void *invocation_hint, 843s # void *marshal_data) 843s # { 843s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE (closure, 843s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 843s # } 843s # 843s # 843s # /** 843s # * OrgProjectUsefulInterface: 843s # * 843s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceIface: 843s # * @parent_iface: The parent interface. 843s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 843s # * 843s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 843s # */ 843s # 843s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 843s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 843s # 843s # static void 843s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 843s # { 843s # /* GObject signals for incoming D-Bus method calls: */ 843s # /** 843s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 843s # * @object: A #OrgProjectUsefulInterface. 843s # * @invocation: A #GDBusMethodInvocation. 843s # * @arg_arg_d: Argument passed by remote caller. 843s # * 843s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 843s # * 843s # * 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. 843s # * 843s # * 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. 843s # */ 843s # g_signal_new ("handle-single-arg-method-d", 843s # G_TYPE_FROM_INTERFACE (iface), 843s # G_SIGNAL_RUN_LAST, 843s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 843s # g_signal_accumulator_true_handled, 843s # NULL, 843s # org_project_useful_interface_method_marshal_single_arg_method_d, 843s # G_TYPE_BOOLEAN, 843s # 2, 843s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_DOUBLE); 843s # 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_d: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @arg_arg_d: Argument to pass with the method invocation. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 843s # */ 843s # void 843s # org_project_useful_interface_call_single_arg_method_d ( 843s # OrgProjectUsefulInterface *proxy, 843s # gdouble arg_arg_d, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 843s # "SingleArgMethodD", 843s # g_variant_new ("(d)", 843s # arg_arg_d), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # cancellable, 843s # callback, 843s # user_data); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_d_finish: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 843s # * @error: Return location for error or %NULL. 843s # * 843s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 843s # * 843s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 843s # */ 843s # gboolean 843s # org_project_useful_interface_call_single_arg_method_d_finish ( 843s # OrgProjectUsefulInterface *proxy, 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GVariant *_ret; 843s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 843s # if (_ret == NULL) 843s # goto _out; 843s # g_variant_get (_ret, 843s # "()"); 843s # g_variant_unref (_ret); 843s # _out: 843s # return _ret != NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_call_single_arg_method_d_sync: 843s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 843s # * @arg_arg_d: Argument to pass with the method invocation. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL. 843s # * 843s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 843s # * 843s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 843s # */ 843s # gboolean 843s # org_project_useful_interface_call_single_arg_method_d_sync ( 843s # OrgProjectUsefulInterface *proxy, 843s # gdouble arg_arg_d, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GVariant *_ret; 843s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 843s # "SingleArgMethodD", 843s # g_variant_new ("(d)", 843s # arg_arg_d), 843s # G_DBUS_CALL_FLAGS_NONE, 843s # -1, 843s # cancellable, 843s # error); 843s # if (_ret == NULL) 843s # goto _out; 843s # g_variant_get (_ret, 843s # "()"); 843s # g_variant_unref (_ret); 843s # _out: 843s # return _ret != NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_complete_single_arg_method_d: 843s # * @object: A #OrgProjectUsefulInterface. 843s # * @invocation: (transfer full): A #GDBusMethodInvocation. 843s # * 843s # * 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. 843s # * 843s # * This method will free @invocation, you cannot use it afterwards. 843s # */ 843s # void 843s # org_project_useful_interface_complete_single_arg_method_d ( 843s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 843s # GDBusMethodInvocation *invocation) 843s # { 843s # g_dbus_method_invocation_return_value (invocation, 843s # g_variant_new ("()")); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceProxy: 843s # * 843s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceProxyClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for #OrgProjectUsefulInterfaceProxy. 843s # */ 843s # 843s # struct _OrgProjectUsefulInterfaceProxyPrivate 843s # { 843s # GData *qdata; 843s # }; 843s # 843s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 843s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 843s # 843s # #endif 843s # static void 843s # org_project_useful_interface_proxy_finalize (GObject *object) 843s # { 843s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 843s # g_datalist_clear (&proxy->priv->qdata); 843s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 843s # guint prop_id G_GNUC_UNUSED, 843s # GValue *value G_GNUC_UNUSED, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 843s # guint prop_id G_GNUC_UNUSED, 843s # const GValue *value G_GNUC_UNUSED, 843s # GParamSpec *pspec G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 843s # const gchar *sender_name G_GNUC_UNUSED, 843s # const gchar *signal_name, 843s # GVariant *parameters) 843s # { 843s # _ExtendedGDBusSignalInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # gsize n; 843s # guint signal_id; 843s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 843s # if (info == NULL) 843s # return; 843s # num_params = g_variant_n_children (parameters); 843s # paramv = g_new0 (GValue, num_params + 1); 843s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_set_object (¶mv[0], proxy); 843s # g_variant_iter_init (&iter, parameters); 843s # n = 1; 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_signal_emitv (paramv, signal_id, 0, NULL); 843s # for (n = 0; n < num_params + 1; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 843s # GVariant *changed_properties, 843s # const gchar *const *invalidated_properties) 843s # { 843s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 843s # guint n; 843s # const gchar *key; 843s # GVariantIter *iter; 843s # _ExtendedGDBusPropertyInfo *info; 843s # g_variant_get (changed_properties, "a{sv}", &iter); 843s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 843s # g_datalist_remove_data (&proxy->priv->qdata, key); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # g_variant_iter_free (iter); 843s # for (n = 0; invalidated_properties[n] != NULL; n++) 843s # { 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 843s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 843s # if (info != NULL) 843s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 843s # } 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 843s # #else 843s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 843s # #endif 843s # 843s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusProxyClass *proxy_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 843s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 843s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 843s # 843s # proxy_class = G_DBUS_PROXY_CLASS (klass); 843s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 843s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # org_project_useful_interface_proxy_new ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # g_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); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_sync: 843s # * @connection: A #GDBusConnection. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_sync ( 843s # GDBusConnection *connection, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 843s # * @user_data: User data to pass to @callback. 843s # * 843s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 843s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 843s # * 843s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 843s # */ 843s # void 843s # org_project_useful_interface_proxy_new_for_bus ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GAsyncReadyCallback callback, 843s # gpointer user_data) 843s # { 843s # g_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); 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus_finish: 843s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 843s # * @error: Return location for error or %NULL 843s # * 843s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_for_bus_finish ( 843s # GAsyncResult *res, 843s # GError **error) 843s # { 843s # GObject *ret; 843s # GObject *source_object; 843s # source_object = g_async_result_get_source_object (res); 843s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 843s # g_object_unref (source_object); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_proxy_new_for_bus_sync: 843s # * @bus_type: A #GBusType. 843s # * @flags: Flags from the #GDBusProxyFlags enumeration. 843s # * @name: A bus name (well-known or unique). 843s # * @object_path: An object path. 843s # * @cancellable: (nullable): A #GCancellable or %NULL. 843s # * @error: Return location for error or %NULL 843s # * 843s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 843s # * 843s # * The calling thread is blocked until a reply is received. 843s # * 843s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_proxy_new_for_bus_sync ( 843s # GBusType bus_type, 843s # GDBusProxyFlags flags, 843s # const gchar *name, 843s # const gchar *object_path, 843s # GCancellable *cancellable, 843s # GError **error) 843s # { 843s # GInitable *ret; 843s # 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); 843s # if (ret != NULL) 843s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 843s # else 843s # return NULL; 843s # } 843s # 843s # 843s # /* ------------------------------------------------------------------------ */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceSkeleton: 843s # * 843s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 843s # */ 843s # 843s # /** 843s # * OrgProjectUsefulInterfaceSkeletonClass: 843s # * @parent_class: The parent class. 843s # * 843s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 843s # */ 843s # 843s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 843s # { 843s # GValue *properties; 843s # GList *changed_properties; 843s # GSource *changed_properties_idle_source; 843s # GMainContext *context; 843s # GMutex lock; 843s # }; 843s # 843s # static void 843s # _org_project_useful_interface_skeleton_handle_method_call ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name, 843s # const gchar *method_name, 843s # GVariant *parameters, 843s # GDBusMethodInvocation *invocation, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # _ExtendedGDBusMethodInfo *info; 843s # GVariantIter iter; 843s # GVariant *child; 843s # GValue *paramv; 843s # gsize num_params; 843s # guint num_extra; 843s # gsize n; 843s # guint signal_id; 843s # GValue return_value = G_VALUE_INIT; 843s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 843s # g_assert (info != NULL); 843s # num_params = g_variant_n_children (parameters); 843s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 843s # n = 0; 843s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_set_object (¶mv[n++], skeleton); 843s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 843s # g_value_set_object (¶mv[n++], invocation); 843s # if (info->pass_fdlist) 843s # { 843s # #ifdef G_OS_UNIX 843s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 843s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 843s # #else 843s # g_assert_not_reached (); 843s # #endif 843s # } 843s # g_variant_iter_init (&iter, parameters); 843s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 843s # { 843s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 843s # if (arg_info->use_gvariant) 843s # { 843s # g_value_init (¶mv[n], G_TYPE_VARIANT); 843s # g_value_set_variant (¶mv[n], child); 843s # n++; 843s # } 843s # else 843s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 843s # g_variant_unref (child); 843s # } 843s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 843s # g_value_init (&return_value, G_TYPE_BOOLEAN); 843s # g_signal_emitv (paramv, signal_id, 0, &return_value); 843s # if (!g_value_get_boolean (&return_value)) 843s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 843s # g_value_unset (&return_value); 843s # for (n = 0; n < num_params + num_extra; n++) 843s # g_value_unset (¶mv[n]); 843s # g_free (paramv); 843s # } 843s # 843s # static GVariant * 843s # _org_project_useful_interface_skeleton_handle_get_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # GVariant *ret; 843s # ret = NULL; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # g_value_init (&value, pspec->value_type); 843s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 843s # g_value_unset (&value); 843s # } 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _org_project_useful_interface_skeleton_handle_set_property ( 843s # GDBusConnection *connection G_GNUC_UNUSED, 843s # const gchar *sender G_GNUC_UNUSED, 843s # const gchar *object_path G_GNUC_UNUSED, 843s # const gchar *interface_name G_GNUC_UNUSED, 843s # const gchar *property_name, 843s # GVariant *variant, 843s # GError **error, 843s # gpointer user_data) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 843s # GValue value = G_VALUE_INIT; 843s # GParamSpec *pspec; 843s # _ExtendedGDBusPropertyInfo *info; 843s # gboolean ret; 843s # ret = FALSE; 843s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 843s # g_assert (info != NULL); 843s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 843s # if (pspec == NULL) 843s # { 843s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 843s # } 843s # else 843s # { 843s # if (info->use_gvariant) 843s # g_value_set_variant (&value, variant); 843s # else 843s # g_dbus_gvariant_to_gvalue (variant, &value); 843s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 843s # g_value_unset (&value); 843s # ret = TRUE; 843s # } 843s # return ret; 843s # } 843s # 843s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 843s # { 843s # _org_project_useful_interface_skeleton_handle_method_call, 843s # _org_project_useful_interface_skeleton_handle_get_property, 843s # _org_project_useful_interface_skeleton_handle_set_property, 843s # {NULL} 843s # }; 843s # 843s # static GDBusInterfaceInfo * 843s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return org_project_useful_interface_interface_info (); 843s # } 843s # 843s # static GDBusInterfaceVTable * 843s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 843s # { 843s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 843s # } 843s # 843s # static GVariant * 843s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 843s # 843s # GVariantBuilder builder; 843s # guint n; 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 843s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #else 843s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 843s # #endif 843s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 843s # goto out; 843s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 843s # { 843s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 843s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 843s # { 843s # GVariant *value; 843s # 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); 843s # if (value != NULL) 843s # { 843s # g_variant_take_ref (value); 843s # g_variant_builder_add (&builder, "{sv}", info->name, value); 843s # g_variant_unref (value); 843s # } 843s # } 843s # } 843s # out: 843s # return g_variant_builder_end (&builder); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 843s # 843s # #else 843s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 843s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 843s # 843s # #endif 843s # static void 843s # org_project_useful_interface_skeleton_finalize (GObject *object) 843s # { 843s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 843s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 843s # if (skeleton->priv->changed_properties_idle_source != NULL) 843s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 843s # g_main_context_unref (skeleton->priv->context); 843s # g_mutex_clear (&skeleton->priv->lock); 843s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 843s # { 843s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 843s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 843s # #else 843s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 843s # #endif 843s # 843s # g_mutex_init (&skeleton->priv->lock); 843s # skeleton->priv->context = g_main_context_ref_thread_default (); 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 843s # { 843s # GObjectClass *gobject_class; 843s # GDBusInterfaceSkeletonClass *skeleton_class; 843s # 843s # gobject_class = G_OBJECT_CLASS (klass); 843s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 843s # 843s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 843s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 843s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 843s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 843s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 843s # 843s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 843s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 843s # #endif 843s # } 843s # 843s # static void 843s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 843s # { 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_skeleton_new: 843s # * 843s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 843s # * 843s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 843s # */ 843s # OrgProjectUsefulInterface * 843s # org_project_useful_interface_skeleton_new (void) 843s # { 843s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 843s # } 843s # Error: 843s # 843s # /tmp/tmpwsrbnec3/tmpic75wp0l.xml: 843s # 843s # 843s # 843s # 843s # 843s # 843s # 843s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwsrbnec3/tmpic75wp0l.xml', '--output', '-', '--body'] 843s # Return code: 0 843s # Output: 843s # /* 843s # * This file is generated by gdbus-codegen, do not modify it. 843s # * 843s # * The license of this code is the same as for the D-Bus interface description 843s # * it was derived from. Note that it links to GLib, so must comply with the 843s # * LGPL linking clauses. 843s # */ 843s # 843s # #ifdef HAVE_CONFIG_H 843s # # include "config.h" 843s # #endif 843s # 843s # #include 843s # #ifdef G_OS_UNIX 843s # # include 843s # #endif 843s # 843s # #ifdef G_ENABLE_DEBUG 843s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 843s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 843s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 843s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 843s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 843s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 843s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 843s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 843s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 843s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 843s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 843s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 843s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 843s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 843s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 843s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 843s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 843s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 843s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 843s # #else /* !G_ENABLE_DEBUG */ 843s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 843s # * Do not access GValues directly in your code. Instead, use the 843s # * g_value_get_*() functions 843s # */ 843s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 843s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 843s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 843s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 843s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 843s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 843s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 843s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 843s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 843s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 843s # #endif /* !G_ENABLE_DEBUG */ 843s # 843s # typedef struct 843s # { 843s # GDBusArgInfo parent_struct; 843s # gboolean use_gvariant; 843s # } _ExtendedGDBusArgInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusMethodInfo parent_struct; 843s # const gchar *signal_name; 843s # gboolean pass_fdlist; 843s # } _ExtendedGDBusMethodInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusSignalInfo parent_struct; 843s # const gchar *signal_name; 843s # } _ExtendedGDBusSignalInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusPropertyInfo parent_struct; 843s # const gchar *hyphen_name; 843s # guint use_gvariant : 1; 843s # guint emits_changed_signal : 1; 843s # } _ExtendedGDBusPropertyInfo; 843s # 843s # typedef struct 843s # { 843s # GDBusInterfaceInfo parent_struct; 843s # const gchar *hyphen_name; 843s # } _ExtendedGDBusInterfaceInfo; 843s # 843s # typedef struct 843s # { 843s # const _ExtendedGDBusPropertyInfo *info; 843s # guint prop_id; 843s # GValue orig_value; /* the value before the change */ 843s # } ChangedProperty; 843s # 843s # static void 843s # _changed_property_free (ChangedProperty *data) 843s # { 843s # g_value_unset (&data->orig_value); 843s # g_free (data); 843s # } 843s # 843s # static gboolean 843s # _g_strv_equal0 (gchar **a, gchar **b) 843s # { 843s # gboolean ret = FALSE; 843s # guint n; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # if (g_strv_length (a) != g_strv_length (b)) 843s # goto out; 843s # for (n = 0; a[n] != NULL; n++) 843s # if (g_strcmp0 (a[n], b[n]) != 0) 843s # goto out; 843s # ret = TRUE; 843s # out: 843s # return ret; 843s # } 843s # 843s # static gboolean 843s # _g_variant_equal0 (GVariant *a, GVariant *b) 843s # { 843s # gboolean ret = FALSE; 843s # if (a == NULL && b == NULL) 843s # { 843s # ret = TRUE; 843s # goto out; 843s # } 843s # if (a == NULL || b == NULL) 843s # goto out; 843s # ret = g_variant_equal (a, b); 843s # out: 843s # return ret; 843s # } 843s # 843s # G_GNUC_UNUSED static gboolean 843s # _g_value_equal (const GValue *a, const GValue *b) 843s # { 843s # gboolean ret = FALSE; 843s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 843s # switch (G_VALUE_TYPE (a)) 843s # { 843s # case G_TYPE_BOOLEAN: 843s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 843s # break; 843s # case G_TYPE_UCHAR: 843s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 843s # break; 843s # case G_TYPE_INT: 843s # ret = (g_value_get_int (a) == g_value_get_int (b)); 843s # break; 843s # case G_TYPE_UINT: 843s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 843s # break; 843s # case G_TYPE_INT64: 843s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 843s # break; 843s # case G_TYPE_UINT64: 843s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 843s # break; 843s # case G_TYPE_DOUBLE: 843s # { 843s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 843s # gdouble da = g_value_get_double (a); 843s # gdouble db = g_value_get_double (b); 843s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 843s # } 843s # break; 843s # case G_TYPE_STRING: 843s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 843s # break; 843s # case G_TYPE_VARIANT: 843s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 843s # break; 843s # default: 843s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 843s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 843s # else 843s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 843s # break; 843s # } 843s # return ret; 843s # } 843s # 843s # static void 843s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 843s # GClosure *closure, 843s # GValue *return_value, 843s # unsigned int n_param_values, 843s # const GValue *param_values, 843s # void *invocation_hint G_GNUC_UNUSED, 843s # void *marshal_data) 843s # { 843s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 843s # (void *data1, 843s # GDBusMethodInvocation *arg_method_invocation, 843s # const gchar *arg_arg_s, 843s # void *data2); 843s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 843s # GCClosure *cc = (GCClosure*) closure; 843s # void *data1, *data2; 843s # gboolean v_return; 843s # 843s # g_return_if_fail (return_value != NULL); 843s # g_return_if_fail (n_param_values == 3); 843s # 843s # if (G_CCLOSURE_SWAP_DATA (closure)) 843s # { 843s # data1 = closure->data; 843s # data2 = g_value_peek_pointer (param_values + 0); 843s # } 843s # else 843s # { 843s # data1 = g_value_peek_pointer (param_values + 0); 843s # data2 = closure->data; 843s # } 843s # 843s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 843s # (marshal_data ? marshal_data : cc->callback); 843s # 843s # v_return = 843s # callback (data1, 843s # g_marshal_value_peek_object (param_values + 1), 843s # g_marshal_value_peek_string (param_values + 2), 843s # data2); 843s # 843s # g_value_set_boolean (return_value, v_return); 843s # } 843s # 843s # /* ------------------------------------------------------------------------ 843s # * Code for interface org.project.UsefulInterface 843s # * ------------------------------------------------------------------------ 843s # */ 843s # 843s # /** 843s # * SECTION:OrgProjectUsefulInterface 843s # * @title: OrgProjectUsefulInterface 843s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 843s # * 843s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 843s # */ 843s # 843s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 843s # 843s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s = 843s # { 843s # { 843s # -1, 843s # (gchar *) "arg_s", 843s # (gchar *) "s", 843s # NULL 843s # }, 843s # FALSE 843s # }; 843s # 843s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers[] = 843s # { 843s # &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 843s # { 843s # { 843s # -1, 843s # (gchar *) "SingleArgMethodS", 843s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers, 843s # NULL, 843s # NULL 843s # }, 843s # "handle-single-arg-method-s", 843s # FALSE 843s # }; 843s # 843s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 843s # { 843s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 843s # NULL 843s # }; 843s # 843s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 843s # { 843s # { 843s # -1, 843s # (gchar *) "org.project.UsefulInterface", 843s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 843s # NULL, 843s # NULL, 843s # NULL 843s # }, 843s # "org-project-useful-interface", 843s # }; 843s # 843s # 843s # /** 843s # * org_project_useful_interface_interface_info: 843s # * 843s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 843s # * 843s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 843s # */ 843s # GDBusInterfaceInfo * 843s # org_project_useful_interface_interface_info (void) 843s # { 843s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 843s # } 843s # 843s # /** 843s # * org_project_useful_interface_override_properties: 843s # * @klass: The class structure for a #GObject derived class. 843s # * @property_id_begin: The property id to assign to the first overridden property. 843s # * 843s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 843s # * The properties are overridden in the order they are defined. 843s # * 843s # * Returns: The last property id. 843s # */ 843s # guint 843s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 843s # { 843s # return property_id_begin - 1; 843s # } 843s # 843s # 843s # inline static void 843s # org_project_useful_interface_method_marshal_single_arg_method_s ( 843s # GClosure *closure, 843s # GValue *return_value, 843s # unsigned int n_param_values, 843s # const GValue *param_values, 843s # void *invocation_hint, 843s # void *marshal_data) 843s # { 844s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 844s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 844s # } 844s # 844s # 844s # /** 844s # * OrgProjectUsefulInterface: 844s # * 844s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 844s # */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceIface: 844s # * @parent_iface: The parent interface. 844s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 844s # * 844s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 844s # */ 844s # 844s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 844s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 844s # 844s # static void 844s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 844s # { 844s # /* GObject signals for incoming D-Bus method calls: */ 844s # /** 844s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 844s # * @object: A #OrgProjectUsefulInterface. 844s # * @invocation: A #GDBusMethodInvocation. 844s # * @arg_arg_s: Argument passed by remote caller. 844s # * 844s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 844s # * 844s # * 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. 844s # * 844s # * 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. 844s # */ 844s # g_signal_new ("handle-single-arg-method-s", 844s # G_TYPE_FROM_INTERFACE (iface), 844s # G_SIGNAL_RUN_LAST, 844s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 844s # g_signal_accumulator_true_handled, 844s # NULL, 844s # org_project_useful_interface_method_marshal_single_arg_method_s, 844s # G_TYPE_BOOLEAN, 844s # 2, 844s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 844s # 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_call_single_arg_method_s: 844s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 844s # * @arg_arg_s: Argument to pass with the method invocation. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 844s # * 844s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 844s # */ 844s # void 844s # org_project_useful_interface_call_single_arg_method_s ( 844s # OrgProjectUsefulInterface *proxy, 844s # const gchar *arg_arg_s, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 844s # "SingleArgMethodS", 844s # g_variant_new ("(s)", 844s # arg_arg_s), 844s # G_DBUS_CALL_FLAGS_NONE, 844s # -1, 844s # cancellable, 844s # callback, 844s # user_data); 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_call_single_arg_method_s_finish: 844s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 844s # * @error: Return location for error or %NULL. 844s # * 844s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 844s # * 844s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 844s # */ 844s # gboolean 844s # org_project_useful_interface_call_single_arg_method_s_finish ( 844s # OrgProjectUsefulInterface *proxy, 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GVariant *_ret; 844s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 844s # if (_ret == NULL) 844s # goto _out; 844s # g_variant_get (_ret, 844s # "()"); 844s # g_variant_unref (_ret); 844s # _out: 844s # return _ret != NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_call_single_arg_method_s_sync: 844s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 844s # * @arg_arg_s: Argument to pass with the method invocation. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL. 844s # * 844s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 844s # * 844s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 844s # */ 844s # gboolean 844s # org_project_useful_interface_call_single_arg_method_s_sync ( 844s # OrgProjectUsefulInterface *proxy, 844s # const gchar *arg_arg_s, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GVariant *_ret; 844s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 844s # "SingleArgMethodS", 844s # g_variant_new ("(s)", 844s # arg_arg_s), 844s # G_DBUS_CALL_FLAGS_NONE, 844s # -1, 844s # cancellable, 844s # error); 844s # if (_ret == NULL) 844s # goto _out; 844s # g_variant_get (_ret, 844s # "()"); 844s # g_variant_unref (_ret); 844s # _out: 844s # return _ret != NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_complete_single_arg_method_s: 844s # * @object: A #OrgProjectUsefulInterface. 844s # * @invocation: (transfer full): A #GDBusMethodInvocation. 844s # * 844s # * 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. 844s # * 844s # * This method will free @invocation, you cannot use it afterwards. 844s # */ 844s # void 844s # org_project_useful_interface_complete_single_arg_method_s ( 844s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 844s # GDBusMethodInvocation *invocation) 844s # { 844s # g_dbus_method_invocation_return_value (invocation, 844s # g_variant_new ("()")); 844s # } 844s # 844s # /* ------------------------------------------------------------------------ */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceProxy: 844s # * 844s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 844s # */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceProxyClass: 844s # * @parent_class: The parent class. 844s # * 844s # * Class structure for #OrgProjectUsefulInterfaceProxy. 844s # */ 844s # 844s # struct _OrgProjectUsefulInterfaceProxyPrivate 844s # { 844s # GData *qdata; 844s # }; 844s # 844s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 844s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 844s # 844s # #else 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 844s # 844s # #endif 844s # static void 844s # org_project_useful_interface_proxy_finalize (GObject *object) 844s # { 844s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 844s # g_datalist_clear (&proxy->priv->qdata); 844s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 844s # guint prop_id G_GNUC_UNUSED, 844s # GValue *value G_GNUC_UNUSED, 844s # GParamSpec *pspec G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 844s # guint prop_id G_GNUC_UNUSED, 844s # const GValue *value G_GNUC_UNUSED, 844s # GParamSpec *pspec G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 844s # const gchar *sender_name G_GNUC_UNUSED, 844s # const gchar *signal_name, 844s # GVariant *parameters) 844s # { 844s # _ExtendedGDBusSignalInfo *info; 844s # GVariantIter iter; 844s # GVariant *child; 844s # GValue *paramv; 844s # gsize num_params; 844s # gsize n; 844s # guint signal_id; 844s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 844s # if (info == NULL) 844s # return; 844s # num_params = g_variant_n_children (parameters); 844s # paramv = g_new0 (GValue, num_params + 1); 844s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_value_set_object (¶mv[0], proxy); 844s # g_variant_iter_init (&iter, parameters); 844s # n = 1; 844s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 844s # { 844s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 844s # if (arg_info->use_gvariant) 844s # { 844s # g_value_init (¶mv[n], G_TYPE_VARIANT); 844s # g_value_set_variant (¶mv[n], child); 844s # n++; 844s # } 844s # else 844s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 844s # g_variant_unref (child); 844s # } 844s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_signal_emitv (paramv, signal_id, 0, NULL); 844s # for (n = 0; n < num_params + 1; n++) 844s # g_value_unset (¶mv[n]); 844s # g_free (paramv); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 844s # GVariant *changed_properties, 844s # const gchar *const *invalidated_properties) 844s # { 844s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 844s # guint n; 844s # const gchar *key; 844s # GVariantIter *iter; 844s # _ExtendedGDBusPropertyInfo *info; 844s # g_variant_get (changed_properties, "a{sv}", &iter); 844s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 844s # { 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 844s # g_datalist_remove_data (&proxy->priv->qdata, key); 844s # if (info != NULL) 844s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 844s # } 844s # g_variant_iter_free (iter); 844s # for (n = 0; invalidated_properties[n] != NULL; n++) 844s # { 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 844s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 844s # if (info != NULL) 844s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 844s # } 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 844s # { 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 844s # #else 844s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 844s # #endif 844s # 844s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 844s # { 844s # GObjectClass *gobject_class; 844s # GDBusProxyClass *proxy_class; 844s # 844s # gobject_class = G_OBJECT_CLASS (klass); 844s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 844s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 844s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 844s # 844s # proxy_class = G_DBUS_PROXY_CLASS (klass); 844s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 844s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 844s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 844s # #endif 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new: 844s # * @connection: A #GDBusConnection. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 844s # * 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 844s # * 844s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 844s # */ 844s # void 844s # org_project_useful_interface_proxy_new ( 844s # GDBusConnection *connection, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # g_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); 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_finish: 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 844s # * @error: Return location for error or %NULL 844s # * 844s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_finish ( 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GObject *ret; 844s # GObject *source_object; 844s # source_object = g_async_result_get_source_object (res); 844s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 844s # g_object_unref (source_object); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_sync: 844s # * @connection: A #GDBusConnection. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL 844s # * 844s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 844s # * 844s # * The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_sync ( 844s # GDBusConnection *connection, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GInitable *ret; 844s # 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); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_for_bus: 844s # * @bus_type: A #GBusType. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: A bus name (well-known or unique). 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 844s # * 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 844s # * 844s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 844s # */ 844s # void 844s # org_project_useful_interface_proxy_new_for_bus ( 844s # GBusType bus_type, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # g_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); 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_for_bus_finish: 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 844s # * @error: Return location for error or %NULL 844s # * 844s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_for_bus_finish ( 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GObject *ret; 844s # GObject *source_object; 844s # source_object = g_async_result_get_source_object (res); 844s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 844s # g_object_unref (source_object); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_for_bus_sync: 844s # * @bus_type: A #GBusType. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: A bus name (well-known or unique). 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL 844s # * 844s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 844s # * 844s # * The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_for_bus_sync ( 844s # GBusType bus_type, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GInitable *ret; 844s # 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); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # 844s # /* ------------------------------------------------------------------------ */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceSkeleton: 844s # * 844s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 844s # */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceSkeletonClass: 844s # * @parent_class: The parent class. 844s # * 844s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 844s # */ 844s # 844s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 844s # { 844s # GValue *properties; 844s # GList *changed_properties; 844s # GSource *changed_properties_idle_source; 844s # GMainContext *context; 844s # GMutex lock; 844s # }; 844s # 844s # static void 844s # _org_project_useful_interface_skeleton_handle_method_call ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name, 844s # const gchar *method_name, 844s # GVariant *parameters, 844s # GDBusMethodInvocation *invocation, 844s # gpointer user_data) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 844s # _ExtendedGDBusMethodInfo *info; 844s # GVariantIter iter; 844s # GVariant *child; 844s # GValue *paramv; 844s # gsize num_params; 844s # guint num_extra; 844s # gsize n; 844s # guint signal_id; 844s # GValue return_value = G_VALUE_INIT; 844s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 844s # g_assert (info != NULL); 844s # num_params = g_variant_n_children (parameters); 844s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 844s # n = 0; 844s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_value_set_object (¶mv[n++], skeleton); 844s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 844s # g_value_set_object (¶mv[n++], invocation); 844s # if (info->pass_fdlist) 844s # { 844s # #ifdef G_OS_UNIX 844s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 844s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 844s # #else 844s # g_assert_not_reached (); 844s # #endif 844s # } 844s # g_variant_iter_init (&iter, parameters); 844s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 844s # { 844s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 844s # if (arg_info->use_gvariant) 844s # { 844s # g_value_init (¶mv[n], G_TYPE_VARIANT); 844s # g_value_set_variant (¶mv[n], child); 844s # n++; 844s # } 844s # else 844s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 844s # g_variant_unref (child); 844s # } 844s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_value_init (&return_value, G_TYPE_BOOLEAN); 844s # g_signal_emitv (paramv, signal_id, 0, &return_value); 844s # if (!g_value_get_boolean (&return_value)) 844s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 844s # g_value_unset (&return_value); 844s # for (n = 0; n < num_params + num_extra; n++) 844s # g_value_unset (¶mv[n]); 844s # g_free (paramv); 844s # } 844s # 844s # static GVariant * 844s # _org_project_useful_interface_skeleton_handle_get_property ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name G_GNUC_UNUSED, 844s # const gchar *property_name, 844s # GError **error, 844s # gpointer user_data) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 844s # GValue value = G_VALUE_INIT; 844s # GParamSpec *pspec; 844s # _ExtendedGDBusPropertyInfo *info; 844s # GVariant *ret; 844s # ret = NULL; 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 844s # g_assert (info != NULL); 844s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 844s # if (pspec == NULL) 844s # { 844s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 844s # } 844s # else 844s # { 844s # g_value_init (&value, pspec->value_type); 844s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 844s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 844s # g_value_unset (&value); 844s # } 844s # return ret; 844s # } 844s # 844s # static gboolean 844s # _org_project_useful_interface_skeleton_handle_set_property ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name G_GNUC_UNUSED, 844s # const gchar *property_name, 844s # GVariant *variant, 844s # GError **error, 844s # gpointer user_data) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 844s # GValue value = G_VALUE_INIT; 844s # GParamSpec *pspec; 844s # _ExtendedGDBusPropertyInfo *info; 844s # gboolean ret; 844s # ret = FALSE; 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 844s # g_assert (info != NULL); 844s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 844s # if (pspec == NULL) 844s # { 844s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 844s # } 844s # else 844s # { 844s # if (info->use_gvariant) 844s # g_value_set_variant (&value, variant); 844s # else 844s # g_dbus_gvariant_to_gvalue (variant, &value); 844s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 844s # g_value_unset (&value); 844s # ret = TRUE; 844s # } 844s # return ret; 844s # } 844s # 844s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 844s # { 844s # _org_project_useful_interface_skeleton_handle_method_call, 844s # _org_project_useful_interface_skeleton_handle_get_property, 844s # _org_project_useful_interface_skeleton_handle_set_property, 844s # {NULL} 844s # }; 844s # 844s # static GDBusInterfaceInfo * 844s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 844s # { 844s # return org_project_useful_interface_interface_info (); 844s # } 844s # 844s # static GDBusInterfaceVTable * 844s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 844s # { 844s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 844s # } 844s # 844s # static GVariant * 844s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 844s # 844s # GVariantBuilder builder; 844s # guint n; 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 844s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 844s # #else 844s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 844s # #endif 844s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 844s # goto out; 844s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 844s # { 844s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 844s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 844s # { 844s # GVariant *value; 844s # 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); 844s # if (value != NULL) 844s # { 844s # g_variant_take_ref (value); 844s # g_variant_builder_add (&builder, "{sv}", info->name, value); 844s # g_variant_unref (value); 844s # } 844s # } 844s # } 844s # out: 844s # return g_variant_builder_end (&builder); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 844s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 844s # 844s # #else 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 844s # 844s # #endif 844s # static void 844s # org_project_useful_interface_skeleton_finalize (GObject *object) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 844s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 844s # if (skeleton->priv->changed_properties_idle_source != NULL) 844s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 844s # g_main_context_unref (skeleton->priv->context); 844s # g_mutex_clear (&skeleton->priv->lock); 844s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 844s # { 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 844s # #else 844s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 844s # #endif 844s # 844s # g_mutex_init (&skeleton->priv->lock); 844s # skeleton->priv->context = g_main_context_ref_thread_default (); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 844s # { 844s # GObjectClass *gobject_class; 844s # GDBusInterfaceSkeletonClass *skeleton_class; 844s # 844s # gobject_class = G_OBJECT_CLASS (klass); 844s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 844s # 844s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 844s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 844s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 844s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 844s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 844s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 844s # #endif 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_skeleton_new: 844s # * 844s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_skeleton_new (void) 844s # { 844s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 844s # } 844s # Error: 844s # 844s # /tmp/tmpwsrbnec3/tmpcs56tee9.xml: 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwsrbnec3/tmpcs56tee9.xml', '--output', '-', '--body'] 844s # Return code: 0 844s # Output: 844s # /* 844s # * This file is generated by gdbus-codegen, do not modify it. 844s # * 844s # * The license of this code is the same as for the D-Bus interface description 844s # * it was derived from. Note that it links to GLib, so must comply with the 844s # * LGPL linking clauses. 844s # */ 844s # 844s # #ifdef HAVE_CONFIG_H 844s # # include "config.h" 844s # #endif 844s # 844s # #include 844s # #ifdef G_OS_UNIX 844s # # include 844s # #endif 844s # 844s # #ifdef G_ENABLE_DEBUG 844s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 844s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 844s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 844s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 844s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 844s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 844s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 844s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 844s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 844s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 844s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 844s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 844s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 844s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 844s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 844s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 844s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 844s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 844s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 844s # #else /* !G_ENABLE_DEBUG */ 844s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 844s # * Do not access GValues directly in your code. Instead, use the 844s # * g_value_get_*() functions 844s # */ 844s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 844s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 844s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 844s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 844s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 844s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 844s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 844s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 844s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 844s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 844s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 844s # #endif /* !G_ENABLE_DEBUG */ 844s # 844s # typedef struct 844s # { 844s # GDBusArgInfo parent_struct; 844s # gboolean use_gvariant; 844s # } _ExtendedGDBusArgInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusMethodInfo parent_struct; 844s # const gchar *signal_name; 844s # gboolean pass_fdlist; 844s # } _ExtendedGDBusMethodInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusSignalInfo parent_struct; 844s # const gchar *signal_name; 844s # } _ExtendedGDBusSignalInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusPropertyInfo parent_struct; 844s # const gchar *hyphen_name; 844s # guint use_gvariant : 1; 844s # guint emits_changed_signal : 1; 844s # } _ExtendedGDBusPropertyInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusInterfaceInfo parent_struct; 844s # const gchar *hyphen_name; 844s # } _ExtendedGDBusInterfaceInfo; 844s # 844s # typedef struct 844s # { 844s # const _ExtendedGDBusPropertyInfo *info; 844s # guint prop_id; 844s # GValue orig_value; /* the value before the change */ 844s # } ChangedProperty; 844s # 844s # static void 844s # _changed_property_free (ChangedProperty *data) 844s # { 844s # g_value_unset (&data->orig_value); 844s # g_free (data); 844s # } 844s # 844s # static gboolean 844s # _g_strv_equal0 (gchar **a, gchar **b) 844s # { 844s # gboolean ret = FALSE; 844s # guint n; 844s # if (a == NULL && b == NULL) 844s # { 844s # ret = TRUE; 844s # goto out; 844s # } 844s # if (a == NULL || b == NULL) 844s # goto out; 844s # if (g_strv_length (a) != g_strv_length (b)) 844s # goto out; 844s # for (n = 0; a[n] != NULL; n++) 844s # if (g_strcmp0 (a[n], b[n]) != 0) 844s # goto out; 844s # ret = TRUE; 844s # out: 844s # return ret; 844s # } 844s # 844s # static gboolean 844s # _g_variant_equal0 (GVariant *a, GVariant *b) 844s # { 844s # gboolean ret = FALSE; 844s # if (a == NULL && b == NULL) 844s # { 844s # ret = TRUE; 844s # goto out; 844s # } 844s # if (a == NULL || b == NULL) 844s # goto out; 844s # ret = g_variant_equal (a, b); 844s # out: 844s # return ret; 844s # } 844s # 844s # G_GNUC_UNUSED static gboolean 844s # _g_value_equal (const GValue *a, const GValue *b) 844s # { 844s # gboolean ret = FALSE; 844s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 844s # switch (G_VALUE_TYPE (a)) 844s # { 844s # case G_TYPE_BOOLEAN: 844s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 844s # break; 844s # case G_TYPE_UCHAR: 844s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 844s # break; 844s # case G_TYPE_INT: 844s # ret = (g_value_get_int (a) == g_value_get_int (b)); 844s # break; 844s # case G_TYPE_UINT: 844s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 844s # break; 844s # case G_TYPE_INT64: 844s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 844s # break; 844s # case G_TYPE_UINT64: 844s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 844s # break; 844s # case G_TYPE_DOUBLE: 844s # { 844s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 844s # gdouble da = g_value_get_double (a); 844s # gdouble db = g_value_get_double (b); 844s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 844s # } 844s # break; 844s # case G_TYPE_STRING: 844s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 844s # break; 844s # case G_TYPE_VARIANT: 844s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 844s # break; 844s # default: 844s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 844s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 844s # else 844s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 844s # break; 844s # } 844s # return ret; 844s # } 844s # 844s # static void 844s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 844s # GClosure *closure, 844s # GValue *return_value, 844s # unsigned int n_param_values, 844s # const GValue *param_values, 844s # void *invocation_hint G_GNUC_UNUSED, 844s # void *marshal_data) 844s # { 844s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 844s # (void *data1, 844s # GDBusMethodInvocation *arg_method_invocation, 844s # const gchar *arg_arg_o, 844s # void *data2); 844s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 844s # GCClosure *cc = (GCClosure*) closure; 844s # void *data1, *data2; 844s # gboolean v_return; 844s # 844s # g_return_if_fail (return_value != NULL); 844s # g_return_if_fail (n_param_values == 3); 844s # 844s # if (G_CCLOSURE_SWAP_DATA (closure)) 844s # { 844s # data1 = closure->data; 844s # data2 = g_value_peek_pointer (param_values + 0); 844s # } 844s # else 844s # { 844s # data1 = g_value_peek_pointer (param_values + 0); 844s # data2 = closure->data; 844s # } 844s # 844s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 844s # (marshal_data ? marshal_data : cc->callback); 844s # 844s # v_return = 844s # callback (data1, 844s # g_marshal_value_peek_object (param_values + 1), 844s # g_marshal_value_peek_string (param_values + 2), 844s # data2); 844s # 844s # g_value_set_boolean (return_value, v_return); 844s # } 844s # 844s # /* ------------------------------------------------------------------------ 844s # * Code for interface org.project.UsefulInterface 844s # * ------------------------------------------------------------------------ 844s # */ 844s # 844s # /** 844s # * SECTION:OrgProjectUsefulInterface 844s # * @title: OrgProjectUsefulInterface 844s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 844s # * 844s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 844s # */ 844s # 844s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o = 844s # { 844s # { 844s # -1, 844s # (gchar *) "arg_o", 844s # (gchar *) "o", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers[] = 844s # { 844s # &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 844s # { 844s # { 844s # -1, 844s # (gchar *) "SingleArgMethodO", 844s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers, 844s # NULL, 844s # NULL 844s # }, 844s # "handle-single-arg-method-o", 844s # FALSE 844s # }; 844s # 844s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 844s # { 844s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 844s # { 844s # { 844s # -1, 844s # (gchar *) "org.project.UsefulInterface", 844s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 844s # NULL, 844s # NULL, 844s # NULL 844s # }, 844s # "org-project-useful-interface", 844s # }; 844s # 844s # 844s # /** 844s # * org_project_useful_interface_interface_info: 844s # * 844s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 844s # * 844s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 844s # */ 844s # GDBusInterfaceInfo * 844s # org_project_useful_interface_interface_info (void) 844s # { 844s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_override_properties: 844s # * @klass: The class structure for a #GObject derived class. 844s # * @property_id_begin: The property id to assign to the first overridden property. 844s # * 844s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 844s # * The properties are overridden in the order they are defined. 844s # * 844s # * Returns: The last property id. 844s # */ 844s # guint 844s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 844s # { 844s # return property_id_begin - 1; 844s # } 844s # 844s # 844s # inline static void 844s # org_project_useful_interface_method_marshal_single_arg_method_o ( 844s # GClosure *closure, 844s # GValue *return_value, 844s # unsigned int n_param_values, 844s # const GValue *param_values, 844s # void *invocation_hint, 844s # void *marshal_data) 844s # { 844s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 844s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 844s # } 844s # 844s # 844s # /** 844s # * OrgProjectUsefulInterface: 844s # * 844s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 844s # */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceIface: 844s # * @parent_iface: The parent interface. 844s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 844s # * 844s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 844s # */ 844s # 844s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 844s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 844s # 844s # static void 844s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 844s # { 844s # /* GObject signals for incoming D-Bus method calls: */ 844s # /** 844s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 844s # * @object: A #OrgProjectUsefulInterface. 844s # * @invocation: A #GDBusMethodInvocation. 844s # * @arg_arg_o: Argument passed by remote caller. 844s # * 844s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 844s # * 844s # * 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. 844s # * 844s # * 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. 844s # */ 844s # g_signal_new ("handle-single-arg-method-o", 844s # G_TYPE_FROM_INTERFACE (iface), 844s # G_SIGNAL_RUN_LAST, 844s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 844s # g_signal_accumulator_true_handled, 844s # NULL, 844s # org_project_useful_interface_method_marshal_single_arg_method_o, 844s # G_TYPE_BOOLEAN, 844s # 2, 844s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 844s # 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_call_single_arg_method_o: 844s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 844s # * @arg_arg_o: Argument to pass with the method invocation. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 844s # * 844s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 844s # */ 844s # void 844s # org_project_useful_interface_call_single_arg_method_o ( 844s # OrgProjectUsefulInterface *proxy, 844s # const gchar *arg_arg_o, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 844s # "SingleArgMethodO", 844s # g_variant_new ("(o)", 844s # arg_arg_o), 844s # G_DBUS_CALL_FLAGS_NONE, 844s # -1, 844s # cancellable, 844s # callback, 844s # user_data); 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_call_single_arg_method_o_finish: 844s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 844s # * @error: Return location for error or %NULL. 844s # * 844s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 844s # * 844s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 844s # */ 844s # gboolean 844s # org_project_useful_interface_call_single_arg_method_o_finish ( 844s # OrgProjectUsefulInterface *proxy, 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GVariant *_ret; 844s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 844s # if (_ret == NULL) 844s # goto _out; 844s # g_variant_get (_ret, 844s # "()"); 844s # g_variant_unref (_ret); 844s # _out: 844s # return _ret != NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_call_single_arg_method_o_sync: 844s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 844s # * @arg_arg_o: Argument to pass with the method invocation. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL. 844s # * 844s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 844s # * 844s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 844s # */ 844s # gboolean 844s # org_project_useful_interface_call_single_arg_method_o_sync ( 844s # OrgProjectUsefulInterface *proxy, 844s # const gchar *arg_arg_o, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GVariant *_ret; 844s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 844s # "SingleArgMethodO", 844s # g_variant_new ("(o)", 844s # arg_arg_o), 844s # G_DBUS_CALL_FLAGS_NONE, 844s # -1, 844s # cancellable, 844s # error); 844s # if (_ret == NULL) 844s # goto _out; 844s # g_variant_get (_ret, 844s # "()"); 844s # g_variant_unref (_ret); 844s # _out: 844s # return _ret != NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_complete_single_arg_method_o: 844s # * @object: A #OrgProjectUsefulInterface. 844s # * @invocation: (transfer full): A #GDBusMethodInvocation. 844s # * 844s # * 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. 844s # * 844s # * This method will free @invocation, you cannot use it afterwards. 844s # */ 844s # void 844s # org_project_useful_interface_complete_single_arg_method_o ( 844s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 844s # GDBusMethodInvocation *invocation) 844s # { 844s # g_dbus_method_invocation_return_value (invocation, 844s # g_variant_new ("()")); 844s # } 844s # 844s # /* ------------------------------------------------------------------------ */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceProxy: 844s # * 844s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 844s # */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceProxyClass: 844s # * @parent_class: The parent class. 844s # * 844s # * Class structure for #OrgProjectUsefulInterfaceProxy. 844s # */ 844s # 844s # struct _OrgProjectUsefulInterfaceProxyPrivate 844s # { 844s # GData *qdata; 844s # }; 844s # 844s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 844s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 844s # 844s # #else 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 844s # 844s # #endif 844s # static void 844s # org_project_useful_interface_proxy_finalize (GObject *object) 844s # { 844s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 844s # g_datalist_clear (&proxy->priv->qdata); 844s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 844s # guint prop_id G_GNUC_UNUSED, 844s # GValue *value G_GNUC_UNUSED, 844s # GParamSpec *pspec G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 844s # guint prop_id G_GNUC_UNUSED, 844s # const GValue *value G_GNUC_UNUSED, 844s # GParamSpec *pspec G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 844s # const gchar *sender_name G_GNUC_UNUSED, 844s # const gchar *signal_name, 844s # GVariant *parameters) 844s # { 844s # _ExtendedGDBusSignalInfo *info; 844s # GVariantIter iter; 844s # GVariant *child; 844s # GValue *paramv; 844s # gsize num_params; 844s # gsize n; 844s # guint signal_id; 844s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 844s # if (info == NULL) 844s # return; 844s # num_params = g_variant_n_children (parameters); 844s # paramv = g_new0 (GValue, num_params + 1); 844s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_value_set_object (¶mv[0], proxy); 844s # g_variant_iter_init (&iter, parameters); 844s # n = 1; 844s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 844s # { 844s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 844s # if (arg_info->use_gvariant) 844s # { 844s # g_value_init (¶mv[n], G_TYPE_VARIANT); 844s # g_value_set_variant (¶mv[n], child); 844s # n++; 844s # } 844s # else 844s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 844s # g_variant_unref (child); 844s # } 844s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_signal_emitv (paramv, signal_id, 0, NULL); 844s # for (n = 0; n < num_params + 1; n++) 844s # g_value_unset (¶mv[n]); 844s # g_free (paramv); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 844s # GVariant *changed_properties, 844s # const gchar *const *invalidated_properties) 844s # { 844s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 844s # guint n; 844s # const gchar *key; 844s # GVariantIter *iter; 844s # _ExtendedGDBusPropertyInfo *info; 844s # g_variant_get (changed_properties, "a{sv}", &iter); 844s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 844s # { 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 844s # g_datalist_remove_data (&proxy->priv->qdata, key); 844s # if (info != NULL) 844s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 844s # } 844s # g_variant_iter_free (iter); 844s # for (n = 0; invalidated_properties[n] != NULL; n++) 844s # { 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 844s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 844s # if (info != NULL) 844s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 844s # } 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 844s # { 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 844s # #else 844s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 844s # #endif 844s # 844s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 844s # { 844s # GObjectClass *gobject_class; 844s # GDBusProxyClass *proxy_class; 844s # 844s # gobject_class = G_OBJECT_CLASS (klass); 844s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 844s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 844s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 844s # 844s # proxy_class = G_DBUS_PROXY_CLASS (klass); 844s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 844s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 844s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 844s # #endif 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new: 844s # * @connection: A #GDBusConnection. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 844s # * 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 844s # * 844s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 844s # */ 844s # void 844s # org_project_useful_interface_proxy_new ( 844s # GDBusConnection *connection, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # g_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); 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_finish: 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 844s # * @error: Return location for error or %NULL 844s # * 844s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_finish ( 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GObject *ret; 844s # GObject *source_object; 844s # source_object = g_async_result_get_source_object (res); 844s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 844s # g_object_unref (source_object); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_sync: 844s # * @connection: A #GDBusConnection. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL 844s # * 844s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 844s # * 844s # * The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_sync ( 844s # GDBusConnection *connection, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GInitable *ret; 844s # 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); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_for_bus: 844s # * @bus_type: A #GBusType. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: A bus name (well-known or unique). 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 844s # * 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 844s # * 844s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 844s # */ 844s # void 844s # org_project_useful_interface_proxy_new_for_bus ( 844s # GBusType bus_type, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # g_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); 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_for_bus_finish: 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 844s # * @error: Return location for error or %NULL 844s # * 844s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_for_bus_finish ( 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GObject *ret; 844s # GObject *source_object; 844s # source_object = g_async_result_get_source_object (res); 844s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 844s # g_object_unref (source_object); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_for_bus_sync: 844s # * @bus_type: A #GBusType. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: A bus name (well-known or unique). 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL 844s # * 844s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 844s # * 844s # * The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_for_bus_sync ( 844s # GBusType bus_type, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GInitable *ret; 844s # 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); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # 844s # /* ------------------------------------------------------------------------ */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceSkeleton: 844s # * 844s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 844s # */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceSkeletonClass: 844s # * @parent_class: The parent class. 844s # * 844s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 844s # */ 844s # 844s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 844s # { 844s # GValue *properties; 844s # GList *changed_properties; 844s # GSource *changed_properties_idle_source; 844s # GMainContext *context; 844s # GMutex lock; 844s # }; 844s # 844s # static void 844s # _org_project_useful_interface_skeleton_handle_method_call ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name, 844s # const gchar *method_name, 844s # GVariant *parameters, 844s # GDBusMethodInvocation *invocation, 844s # gpointer user_data) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 844s # _ExtendedGDBusMethodInfo *info; 844s # GVariantIter iter; 844s # GVariant *child; 844s # GValue *paramv; 844s # gsize num_params; 844s # guint num_extra; 844s # gsize n; 844s # guint signal_id; 844s # GValue return_value = G_VALUE_INIT; 844s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 844s # g_assert (info != NULL); 844s # num_params = g_variant_n_children (parameters); 844s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 844s # n = 0; 844s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_value_set_object (¶mv[n++], skeleton); 844s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 844s # g_value_set_object (¶mv[n++], invocation); 844s # if (info->pass_fdlist) 844s # { 844s # #ifdef G_OS_UNIX 844s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 844s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 844s # #else 844s # g_assert_not_reached (); 844s # #endif 844s # } 844s # g_variant_iter_init (&iter, parameters); 844s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 844s # { 844s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 844s # if (arg_info->use_gvariant) 844s # { 844s # g_value_init (¶mv[n], G_TYPE_VARIANT); 844s # g_value_set_variant (¶mv[n], child); 844s # n++; 844s # } 844s # else 844s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 844s # g_variant_unref (child); 844s # } 844s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_value_init (&return_value, G_TYPE_BOOLEAN); 844s # g_signal_emitv (paramv, signal_id, 0, &return_value); 844s # if (!g_value_get_boolean (&return_value)) 844s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 844s # g_value_unset (&return_value); 844s # for (n = 0; n < num_params + num_extra; n++) 844s # g_value_unset (¶mv[n]); 844s # g_free (paramv); 844s # } 844s # 844s # static GVariant * 844s # _org_project_useful_interface_skeleton_handle_get_property ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name G_GNUC_UNUSED, 844s # const gchar *property_name, 844s # GError **error, 844s # gpointer user_data) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 844s # GValue value = G_VALUE_INIT; 844s # GParamSpec *pspec; 844s # _ExtendedGDBusPropertyInfo *info; 844s # GVariant *ret; 844s # ret = NULL; 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 844s # g_assert (info != NULL); 844s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 844s # if (pspec == NULL) 844s # { 844s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 844s # } 844s # else 844s # { 844s # g_value_init (&value, pspec->value_type); 844s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 844s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 844s # g_value_unset (&value); 844s # } 844s # return ret; 844s # } 844s # 844s # static gboolean 844s # _org_project_useful_interface_skeleton_handle_set_property ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name G_GNUC_UNUSED, 844s # const gchar *property_name, 844s # GVariant *variant, 844s # GError **error, 844s # gpointer user_data) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 844s # GValue value = G_VALUE_INIT; 844s # GParamSpec *pspec; 844s # _ExtendedGDBusPropertyInfo *info; 844s # gboolean ret; 844s # ret = FALSE; 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 844s # g_assert (info != NULL); 844s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 844s # if (pspec == NULL) 844s # { 844s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 844s # } 844s # else 844s # { 844s # if (info->use_gvariant) 844s # g_value_set_variant (&value, variant); 844s # else 844s # g_dbus_gvariant_to_gvalue (variant, &value); 844s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 844s # g_value_unset (&value); 844s # ret = TRUE; 844s # } 844s # return ret; 844s # } 844s # 844s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 844s # { 844s # _org_project_useful_interface_skeleton_handle_method_call, 844s # _org_project_useful_interface_skeleton_handle_get_property, 844s # _org_project_useful_interface_skeleton_handle_set_property, 844s # {NULL} 844s # }; 844s # 844s # static GDBusInterfaceInfo * 844s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 844s # { 844s # return org_project_useful_interface_interface_info (); 844s # } 844s # 844s # static GDBusInterfaceVTable * 844s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 844s # { 844s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 844s # } 844s # 844s # static GVariant * 844s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 844s # 844s # GVariantBuilder builder; 844s # guint n; 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 844s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 844s # #else 844s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 844s # #endif 844s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 844s # goto out; 844s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 844s # { 844s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 844s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 844s # { 844s # GVariant *value; 844s # 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); 844s # if (value != NULL) 844s # { 844s # g_variant_take_ref (value); 844s # g_variant_builder_add (&builder, "{sv}", info->name, value); 844s # g_variant_unref (value); 844s # } 844s # } 844s # } 844s # out: 844s # return g_variant_builder_end (&builder); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 844s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 844s # 844s # #else 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 844s # 844s # #endif 844s # static void 844s # org_project_useful_interface_skeleton_finalize (GObject *object) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 844s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 844s # if (skeleton->priv->changed_properties_idle_source != NULL) 844s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 844s # g_main_context_unref (skeleton->priv->context); 844s # g_mutex_clear (&skeleton->priv->lock); 844s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 844s # { 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 844s # #else 844s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 844s # #endif 844s # 844s # g_mutex_init (&skeleton->priv->lock); 844s # skeleton->priv->context = g_main_context_ref_thread_default (); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 844s # { 844s # GObjectClass *gobject_class; 844s # GDBusInterfaceSkeletonClass *skeleton_class; 844s # 844s # gobject_class = G_OBJECT_CLASS (klass); 844s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 844s # 844s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 844s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 844s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 844s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 844s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 844s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 844s # #endif 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_skeleton_new: 844s # * 844s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_skeleton_new (void) 844s # { 844s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 844s # } 844s # Error: 844s # 844s # /tmp/tmpwsrbnec3/tmpvba3f8xw.xml: 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwsrbnec3/tmpvba3f8xw.xml', '--output', '-', '--body'] 844s # Return code: 0 844s # Output: 844s # /* 844s # * This file is generated by gdbus-codegen, do not modify it. 844s # * 844s # * The license of this code is the same as for the D-Bus interface description 844s # * it was derived from. Note that it links to GLib, so must comply with the 844s # * LGPL linking clauses. 844s # */ 844s # 844s # #ifdef HAVE_CONFIG_H 844s # # include "config.h" 844s # #endif 844s # 844s # #include 844s # #ifdef G_OS_UNIX 844s # # include 844s # #endif 844s # 844s # #ifdef G_ENABLE_DEBUG 844s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 844s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 844s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 844s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 844s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 844s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 844s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 844s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 844s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 844s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 844s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 844s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 844s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 844s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 844s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 844s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 844s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 844s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 844s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 844s # #else /* !G_ENABLE_DEBUG */ 844s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 844s # * Do not access GValues directly in your code. Instead, use the 844s # * g_value_get_*() functions 844s # */ 844s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 844s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 844s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 844s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 844s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 844s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 844s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 844s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 844s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 844s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 844s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 844s # #endif /* !G_ENABLE_DEBUG */ 844s # 844s # typedef struct 844s # { 844s # GDBusArgInfo parent_struct; 844s # gboolean use_gvariant; 844s # } _ExtendedGDBusArgInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusMethodInfo parent_struct; 844s # const gchar *signal_name; 844s # gboolean pass_fdlist; 844s # } _ExtendedGDBusMethodInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusSignalInfo parent_struct; 844s # const gchar *signal_name; 844s # } _ExtendedGDBusSignalInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusPropertyInfo parent_struct; 844s # const gchar *hyphen_name; 844s # guint use_gvariant : 1; 844s # guint emits_changed_signal : 1; 844s # } _ExtendedGDBusPropertyInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusInterfaceInfo parent_struct; 844s # const gchar *hyphen_name; 844s # } _ExtendedGDBusInterfaceInfo; 844s # 844s # typedef struct 844s # { 844s # const _ExtendedGDBusPropertyInfo *info; 844s # guint prop_id; 844s # GValue orig_value; /* the value before the change */ 844s # } ChangedProperty; 844s # 844s # static void 844s # _changed_property_free (ChangedProperty *data) 844s # { 844s # g_value_unset (&data->orig_value); 844s # g_free (data); 844s # } 844s # 844s # static gboolean 844s # _g_strv_equal0 (gchar **a, gchar **b) 844s # { 844s # gboolean ret = FALSE; 844s # guint n; 844s # if (a == NULL && b == NULL) 844s # { 844s # ret = TRUE; 844s # goto out; 844s # } 844s # if (a == NULL || b == NULL) 844s # goto out; 844s # if (g_strv_length (a) != g_strv_length (b)) 844s # goto out; 844s # for (n = 0; a[n] != NULL; n++) 844s # if (g_strcmp0 (a[n], b[n]) != 0) 844s # goto out; 844s # ret = TRUE; 844s # out: 844s # return ret; 844s # } 844s # 844s # static gboolean 844s # _g_variant_equal0 (GVariant *a, GVariant *b) 844s # { 844s # gboolean ret = FALSE; 844s # if (a == NULL && b == NULL) 844s # { 844s # ret = TRUE; 844s # goto out; 844s # } 844s # if (a == NULL || b == NULL) 844s # goto out; 844s # ret = g_variant_equal (a, b); 844s # out: 844s # return ret; 844s # } 844s # 844s # G_GNUC_UNUSED static gboolean 844s # _g_value_equal (const GValue *a, const GValue *b) 844s # { 844s # gboolean ret = FALSE; 844s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 844s # switch (G_VALUE_TYPE (a)) 844s # { 844s # case G_TYPE_BOOLEAN: 844s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 844s # break; 844s # case G_TYPE_UCHAR: 844s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 844s # break; 844s # case G_TYPE_INT: 844s # ret = (g_value_get_int (a) == g_value_get_int (b)); 844s # break; 844s # case G_TYPE_UINT: 844s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 844s # break; 844s # case G_TYPE_INT64: 844s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 844s # break; 844s # case G_TYPE_UINT64: 844s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 844s # break; 844s # case G_TYPE_DOUBLE: 844s # { 844s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 844s # gdouble da = g_value_get_double (a); 844s # gdouble db = g_value_get_double (b); 844s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 844s # } 844s # break; 844s # case G_TYPE_STRING: 844s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 844s # break; 844s # case G_TYPE_VARIANT: 844s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 844s # break; 844s # default: 844s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 844s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 844s # else 844s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 844s # break; 844s # } 844s # return ret; 844s # } 844s # 844s # static void 844s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 844s # GClosure *closure, 844s # GValue *return_value, 844s # unsigned int n_param_values, 844s # const GValue *param_values, 844s # void *invocation_hint G_GNUC_UNUSED, 844s # void *marshal_data) 844s # { 844s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 844s # (void *data1, 844s # GDBusMethodInvocation *arg_method_invocation, 844s # const gchar *arg_arg_g, 844s # void *data2); 844s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 844s # GCClosure *cc = (GCClosure*) closure; 844s # void *data1, *data2; 844s # gboolean v_return; 844s # 844s # g_return_if_fail (return_value != NULL); 844s # g_return_if_fail (n_param_values == 3); 844s # 844s # if (G_CCLOSURE_SWAP_DATA (closure)) 844s # { 844s # data1 = closure->data; 844s # data2 = g_value_peek_pointer (param_values + 0); 844s # } 844s # else 844s # { 844s # data1 = g_value_peek_pointer (param_values + 0); 844s # data2 = closure->data; 844s # } 844s # 844s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 844s # (marshal_data ? marshal_data : cc->callback); 844s # 844s # v_return = 844s # callback (data1, 844s # g_marshal_value_peek_object (param_values + 1), 844s # g_marshal_value_peek_string (param_values + 2), 844s # data2); 844s # 844s # g_value_set_boolean (return_value, v_return); 844s # } 844s # 844s # /* ------------------------------------------------------------------------ 844s # * Code for interface org.project.UsefulInterface 844s # * ------------------------------------------------------------------------ 844s # */ 844s # 844s # /** 844s # * SECTION:OrgProjectUsefulInterface 844s # * @title: OrgProjectUsefulInterface 844s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 844s # * 844s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 844s # */ 844s # 844s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g = 844s # { 844s # { 844s # -1, 844s # (gchar *) "arg_g", 844s # (gchar *) "g", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers[] = 844s # { 844s # &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 844s # { 844s # { 844s # -1, 844s # (gchar *) "SingleArgMethodG", 844s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers, 844s # NULL, 844s # NULL 844s # }, 844s # "handle-single-arg-method-g", 844s # FALSE 844s # }; 844s # 844s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 844s # { 844s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 844s # { 844s # { 844s # -1, 844s # (gchar *) "org.project.UsefulInterface", 844s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 844s # NULL, 844s # NULL, 844s # NULL 844s # }, 844s # "org-project-useful-interface", 844s # }; 844s # 844s # 844s # /** 844s # * org_project_useful_interface_interface_info: 844s # * 844s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 844s # * 844s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 844s # */ 844s # GDBusInterfaceInfo * 844s # org_project_useful_interface_interface_info (void) 844s # { 844s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_override_properties: 844s # * @klass: The class structure for a #GObject derived class. 844s # * @property_id_begin: The property id to assign to the first overridden property. 844s # * 844s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 844s # * The properties are overridden in the order they are defined. 844s # * 844s # * Returns: The last property id. 844s # */ 844s # guint 844s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 844s # { 844s # return property_id_begin - 1; 844s # } 844s # 844s # 844s # inline static void 844s # org_project_useful_interface_method_marshal_single_arg_method_g ( 844s # GClosure *closure, 844s # GValue *return_value, 844s # unsigned int n_param_values, 844s # const GValue *param_values, 844s # void *invocation_hint, 844s # void *marshal_data) 844s # { 844s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 844s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 844s # } 844s # 844s # 844s # /** 844s # * OrgProjectUsefulInterface: 844s # * 844s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 844s # */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceIface: 844s # * @parent_iface: The parent interface. 844s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 844s # * 844s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 844s # */ 844s # 844s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 844s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 844s # 844s # static void 844s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 844s # { 844s # /* GObject signals for incoming D-Bus method calls: */ 844s # /** 844s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 844s # * @object: A #OrgProjectUsefulInterface. 844s # * @invocation: A #GDBusMethodInvocation. 844s # * @arg_arg_g: Argument passed by remote caller. 844s # * 844s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 844s # * 844s # * 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. 844s # * 844s # * 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. 844s # */ 844s # g_signal_new ("handle-single-arg-method-g", 844s # G_TYPE_FROM_INTERFACE (iface), 844s # G_SIGNAL_RUN_LAST, 844s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 844s # g_signal_accumulator_true_handled, 844s # NULL, 844s # org_project_useful_interface_method_marshal_single_arg_method_g, 844s # G_TYPE_BOOLEAN, 844s # 2, 844s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 844s # 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_call_single_arg_method_g: 844s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 844s # * @arg_arg_g: Argument to pass with the method invocation. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 844s # * 844s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 844s # */ 844s # void 844s # org_project_useful_interface_call_single_arg_method_g ( 844s # OrgProjectUsefulInterface *proxy, 844s # const gchar *arg_arg_g, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 844s # "SingleArgMethodG", 844s # g_variant_new ("(g)", 844s # arg_arg_g), 844s # G_DBUS_CALL_FLAGS_NONE, 844s # -1, 844s # cancellable, 844s # callback, 844s # user_data); 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_call_single_arg_method_g_finish: 844s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 844s # * @error: Return location for error or %NULL. 844s # * 844s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 844s # * 844s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 844s # */ 844s # gboolean 844s # org_project_useful_interface_call_single_arg_method_g_finish ( 844s # OrgProjectUsefulInterface *proxy, 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GVariant *_ret; 844s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 844s # if (_ret == NULL) 844s # goto _out; 844s # g_variant_get (_ret, 844s # "()"); 844s # g_variant_unref (_ret); 844s # _out: 844s # return _ret != NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_call_single_arg_method_g_sync: 844s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 844s # * @arg_arg_g: Argument to pass with the method invocation. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL. 844s # * 844s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 844s # * 844s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 844s # */ 844s # gboolean 844s # org_project_useful_interface_call_single_arg_method_g_sync ( 844s # OrgProjectUsefulInterface *proxy, 844s # const gchar *arg_arg_g, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GVariant *_ret; 844s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 844s # "SingleArgMethodG", 844s # g_variant_new ("(g)", 844s # arg_arg_g), 844s # G_DBUS_CALL_FLAGS_NONE, 844s # -1, 844s # cancellable, 844s # error); 844s # if (_ret == NULL) 844s # goto _out; 844s # g_variant_get (_ret, 844s # "()"); 844s # g_variant_unref (_ret); 844s # _out: 844s # return _ret != NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_complete_single_arg_method_g: 844s # * @object: A #OrgProjectUsefulInterface. 844s # * @invocation: (transfer full): A #GDBusMethodInvocation. 844s # * 844s # * 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. 844s # * 844s # * This method will free @invocation, you cannot use it afterwards. 844s # */ 844s # void 844s # org_project_useful_interface_complete_single_arg_method_g ( 844s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 844s # GDBusMethodInvocation *invocation) 844s # { 844s # g_dbus_method_invocation_return_value (invocation, 844s # g_variant_new ("()")); 844s # } 844s # 844s # /* ------------------------------------------------------------------------ */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceProxy: 844s # * 844s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 844s # */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceProxyClass: 844s # * @parent_class: The parent class. 844s # * 844s # * Class structure for #OrgProjectUsefulInterfaceProxy. 844s # */ 844s # 844s # struct _OrgProjectUsefulInterfaceProxyPrivate 844s # { 844s # GData *qdata; 844s # }; 844s # 844s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 844s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 844s # 844s # #else 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 844s # 844s # #endif 844s # static void 844s # org_project_useful_interface_proxy_finalize (GObject *object) 844s # { 844s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 844s # g_datalist_clear (&proxy->priv->qdata); 844s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 844s # guint prop_id G_GNUC_UNUSED, 844s # GValue *value G_GNUC_UNUSED, 844s # GParamSpec *pspec G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 844s # guint prop_id G_GNUC_UNUSED, 844s # const GValue *value G_GNUC_UNUSED, 844s # GParamSpec *pspec G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 844s # const gchar *sender_name G_GNUC_UNUSED, 844s # const gchar *signal_name, 844s # GVariant *parameters) 844s # { 844s # _ExtendedGDBusSignalInfo *info; 844s # GVariantIter iter; 844s # GVariant *child; 844s # GValue *paramv; 844s # gsize num_params; 844s # gsize n; 844s # guint signal_id; 844s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 844s # if (info == NULL) 844s # return; 844s # num_params = g_variant_n_children (parameters); 844s # paramv = g_new0 (GValue, num_params + 1); 844s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_value_set_object (¶mv[0], proxy); 844s # g_variant_iter_init (&iter, parameters); 844s # n = 1; 844s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 844s # { 844s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 844s # if (arg_info->use_gvariant) 844s # { 844s # g_value_init (¶mv[n], G_TYPE_VARIANT); 844s # g_value_set_variant (¶mv[n], child); 844s # n++; 844s # } 844s # else 844s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 844s # g_variant_unref (child); 844s # } 844s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_signal_emitv (paramv, signal_id, 0, NULL); 844s # for (n = 0; n < num_params + 1; n++) 844s # g_value_unset (¶mv[n]); 844s # g_free (paramv); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 844s # GVariant *changed_properties, 844s # const gchar *const *invalidated_properties) 844s # { 844s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 844s # guint n; 844s # const gchar *key; 844s # GVariantIter *iter; 844s # _ExtendedGDBusPropertyInfo *info; 844s # g_variant_get (changed_properties, "a{sv}", &iter); 844s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 844s # { 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 844s # g_datalist_remove_data (&proxy->priv->qdata, key); 844s # if (info != NULL) 844s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 844s # } 844s # g_variant_iter_free (iter); 844s # for (n = 0; invalidated_properties[n] != NULL; n++) 844s # { 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 844s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 844s # if (info != NULL) 844s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 844s # } 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 844s # { 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 844s # #else 844s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 844s # #endif 844s # 844s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 844s # { 844s # GObjectClass *gobject_class; 844s # GDBusProxyClass *proxy_class; 844s # 844s # gobject_class = G_OBJECT_CLASS (klass); 844s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 844s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 844s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 844s # 844s # proxy_class = G_DBUS_PROXY_CLASS (klass); 844s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 844s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 844s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 844s # #endif 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new: 844s # * @connection: A #GDBusConnection. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 844s # * 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 844s # * 844s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 844s # */ 844s # void 844s # org_project_useful_interface_proxy_new ( 844s # GDBusConnection *connection, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # g_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); 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_finish: 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 844s # * @error: Return location for error or %NULL 844s # * 844s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_finish ( 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GObject *ret; 844s # GObject *source_object; 844s # source_object = g_async_result_get_source_object (res); 844s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 844s # g_object_unref (source_object); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_sync: 844s # * @connection: A #GDBusConnection. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL 844s # * 844s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 844s # * 844s # * The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_sync ( 844s # GDBusConnection *connection, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GInitable *ret; 844s # 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); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_for_bus: 844s # * @bus_type: A #GBusType. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: A bus name (well-known or unique). 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 844s # * 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 844s # * 844s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 844s # */ 844s # void 844s # org_project_useful_interface_proxy_new_for_bus ( 844s # GBusType bus_type, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # g_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); 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_for_bus_finish: 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 844s # * @error: Return location for error or %NULL 844s # * 844s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_for_bus_finish ( 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GObject *ret; 844s # GObject *source_object; 844s # source_object = g_async_result_get_source_object (res); 844s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 844s # g_object_unref (source_object); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_for_bus_sync: 844s # * @bus_type: A #GBusType. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: A bus name (well-known or unique). 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL 844s # * 844s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 844s # * 844s # * The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_for_bus_sync ( 844s # GBusType bus_type, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GInitable *ret; 844s # 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); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # 844s # /* ------------------------------------------------------------------------ */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceSkeleton: 844s # * 844s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 844s # */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceSkeletonClass: 844s # * @parent_class: The parent class. 844s # * 844s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 844s # */ 844s # 844s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 844s # { 844s # GValue *properties; 844s # GList *changed_properties; 844s # GSource *changed_properties_idle_source; 844s # GMainContext *context; 844s # GMutex lock; 844s # }; 844s # 844s # static void 844s # _org_project_useful_interface_skeleton_handle_method_call ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name, 844s # const gchar *method_name, 844s # GVariant *parameters, 844s # GDBusMethodInvocation *invocation, 844s # gpointer user_data) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 844s # _ExtendedGDBusMethodInfo *info; 844s # GVariantIter iter; 844s # GVariant *child; 844s # GValue *paramv; 844s # gsize num_params; 844s # guint num_extra; 844s # gsize n; 844s # guint signal_id; 844s # GValue return_value = G_VALUE_INIT; 844s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 844s # g_assert (info != NULL); 844s # num_params = g_variant_n_children (parameters); 844s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 844s # n = 0; 844s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_value_set_object (¶mv[n++], skeleton); 844s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 844s # g_value_set_object (¶mv[n++], invocation); 844s # if (info->pass_fdlist) 844s # { 844s # #ifdef G_OS_UNIX 844s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 844s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 844s # #else 844s # g_assert_not_reached (); 844s # #endif 844s # } 844s # g_variant_iter_init (&iter, parameters); 844s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 844s # { 844s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 844s # if (arg_info->use_gvariant) 844s # { 844s # g_value_init (¶mv[n], G_TYPE_VARIANT); 844s # g_value_set_variant (¶mv[n], child); 844s # n++; 844s # } 844s # else 844s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 844s # g_variant_unref (child); 844s # } 844s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_value_init (&return_value, G_TYPE_BOOLEAN); 844s # g_signal_emitv (paramv, signal_id, 0, &return_value); 844s # if (!g_value_get_boolean (&return_value)) 844s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 844s # g_value_unset (&return_value); 844s # for (n = 0; n < num_params + num_extra; n++) 844s # g_value_unset (¶mv[n]); 844s # g_free (paramv); 844s # } 844s # 844s # static GVariant * 844s # _org_project_useful_interface_skeleton_handle_get_property ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name G_GNUC_UNUSED, 844s # const gchar *property_name, 844s # GError **error, 844s # gpointer user_data) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 844s # GValue value = G_VALUE_INIT; 844s # GParamSpec *pspec; 844s # _ExtendedGDBusPropertyInfo *info; 844s # GVariant *ret; 844s # ret = NULL; 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 844s # g_assert (info != NULL); 844s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 844s # if (pspec == NULL) 844s # { 844s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 844s # } 844s # else 844s # { 844s # g_value_init (&value, pspec->value_type); 844s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 844s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 844s # g_value_unset (&value); 844s # } 844s # return ret; 844s # } 844s # 844s # static gboolean 844s # _org_project_useful_interface_skeleton_handle_set_property ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name G_GNUC_UNUSED, 844s # const gchar *property_name, 844s # GVariant *variant, 844s # GError **error, 844s # gpointer user_data) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 844s # GValue value = G_VALUE_INIT; 844s # GParamSpec *pspec; 844s # _ExtendedGDBusPropertyInfo *info; 844s # gboolean ret; 844s # ret = FALSE; 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 844s # g_assert (info != NULL); 844s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 844s # if (pspec == NULL) 844s # { 844s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 844s # } 844s # else 844s # { 844s # if (info->use_gvariant) 844s # g_value_set_variant (&value, variant); 844s # else 844s # g_dbus_gvariant_to_gvalue (variant, &value); 844s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 844s # g_value_unset (&value); 844s # ret = TRUE; 844s # } 844s # return ret; 844s # } 844s # 844s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 844s # { 844s # _org_project_useful_interface_skeleton_handle_method_call, 844s # _org_project_useful_interface_skeleton_handle_get_property, 844s # _org_project_useful_interface_skeleton_handle_set_property, 844s # {NULL} 844s # }; 844s # 844s # static GDBusInterfaceInfo * 844s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 844s # { 844s # return org_project_useful_interface_interface_info (); 844s # } 844s # 844s # static GDBusInterfaceVTable * 844s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 844s # { 844s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 844s # } 844s # 844s # static GVariant * 844s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 844s # 844s # GVariantBuilder builder; 844s # guint n; 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 844s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 844s # #else 844s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 844s # #endif 844s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 844s # goto out; 844s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 844s # { 844s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 844s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 844s # { 844s # GVariant *value; 844s # 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); 844s # if (value != NULL) 844s # { 844s # g_variant_take_ref (value); 844s # g_variant_builder_add (&builder, "{sv}", info->name, value); 844s # g_variant_unref (value); 844s # } 844s # } 844s # } 844s # out: 844s # return g_variant_builder_end (&builder); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 844s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 844s # 844s # #else 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 844s # 844s # #endif 844s # static void 844s # org_project_useful_interface_skeleton_finalize (GObject *object) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 844s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 844s # if (skeleton->priv->changed_properties_idle_source != NULL) 844s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 844s # g_main_context_unref (skeleton->priv->context); 844s # g_mutex_clear (&skeleton->priv->lock); 844s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 844s # { 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 844s # #else 844s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 844s # #endif 844s # 844s # g_mutex_init (&skeleton->priv->lock); 844s # skeleton->priv->context = g_main_context_ref_thread_default (); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 844s # { 844s # GObjectClass *gobject_class; 844s # GDBusInterfaceSkeletonClass *skeleton_class; 844s # 844s # gobject_class = G_OBJECT_CLASS (klass); 844s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 844s # 844s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 844s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 844s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 844s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 844s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 844s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 844s # #endif 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_skeleton_new: 844s # * 844s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_skeleton_new (void) 844s # { 844s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 844s # } 844s # Error: 844s # 844s # /tmp/tmpwsrbnec3/tmpb9cwh8cb.xml: 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwsrbnec3/tmpb9cwh8cb.xml', '--output', '-', '--body'] 844s # Return code: 0 844s # Output: 844s # /* 844s # * This file is generated by gdbus-codegen, do not modify it. 844s # * 844s # * The license of this code is the same as for the D-Bus interface description 844s # * it was derived from. Note that it links to GLib, so must comply with the 844s # * LGPL linking clauses. 844s # */ 844s # 844s # #ifdef HAVE_CONFIG_H 844s # # include "config.h" 844s # #endif 844s # 844s # #include 844s # #ifdef G_OS_UNIX 844s # # include 844s # #endif 844s # 844s # #ifdef G_ENABLE_DEBUG 844s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 844s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 844s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 844s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 844s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 844s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 844s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 844s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 844s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 844s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 844s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 844s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 844s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 844s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 844s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 844s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 844s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 844s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 844s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 844s # #else /* !G_ENABLE_DEBUG */ 844s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 844s # * Do not access GValues directly in your code. Instead, use the 844s # * g_value_get_*() functions 844s # */ 844s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 844s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 844s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 844s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 844s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 844s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 844s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 844s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 844s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 844s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 844s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 844s # #endif /* !G_ENABLE_DEBUG */ 844s # 844s # typedef struct 844s # { 844s # GDBusArgInfo parent_struct; 844s # gboolean use_gvariant; 844s # } _ExtendedGDBusArgInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusMethodInfo parent_struct; 844s # const gchar *signal_name; 844s # gboolean pass_fdlist; 844s # } _ExtendedGDBusMethodInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusSignalInfo parent_struct; 844s # const gchar *signal_name; 844s # } _ExtendedGDBusSignalInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusPropertyInfo parent_struct; 844s # const gchar *hyphen_name; 844s # guint use_gvariant : 1; 844s # guint emits_changed_signal : 1; 844s # } _ExtendedGDBusPropertyInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusInterfaceInfo parent_struct; 844s # const gchar *hyphen_name; 844s # } _ExtendedGDBusInterfaceInfo; 844s # 844s # typedef struct 844s # { 844s # const _ExtendedGDBusPropertyInfo *info; 844s # guint prop_id; 844s # GValue orig_value; /* the value before the change */ 844s # } ChangedProperty; 844s # 844s # static void 844s # _changed_property_free (ChangedProperty *data) 844s # { 844s # g_value_unset (&data->orig_value); 844s # g_free (data); 844s # } 844s # 844s # static gboolean 844s # _g_strv_equal0 (gchar **a, gchar **b) 844s # { 844s # gboolean ret = FALSE; 844s # guint n; 844s # if (a == NULL && b == NULL) 844s # { 844s # ret = TRUE; 844s # goto out; 844s # } 844s # if (a == NULL || b == NULL) 844s # goto out; 844s # if (g_strv_length (a) != g_strv_length (b)) 844s # goto out; 844s # for (n = 0; a[n] != NULL; n++) 844s # if (g_strcmp0 (a[n], b[n]) != 0) 844s # goto out; 844s # ret = TRUE; 844s # out: 844s # return ret; 844s # } 844s # 844s # static gboolean 844s # _g_variant_equal0 (GVariant *a, GVariant *b) 844s # { 844s # gboolean ret = FALSE; 844s # if (a == NULL && b == NULL) 844s # { 844s # ret = TRUE; 844s # goto out; 844s # } 844s # if (a == NULL || b == NULL) 844s # goto out; 844s # ret = g_variant_equal (a, b); 844s # out: 844s # return ret; 844s # } 844s # 844s # G_GNUC_UNUSED static gboolean 844s # _g_value_equal (const GValue *a, const GValue *b) 844s # { 844s # gboolean ret = FALSE; 844s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 844s # switch (G_VALUE_TYPE (a)) 844s # { 844s # case G_TYPE_BOOLEAN: 844s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 844s # break; 844s # case G_TYPE_UCHAR: 844s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 844s # break; 844s # case G_TYPE_INT: 844s # ret = (g_value_get_int (a) == g_value_get_int (b)); 844s # break; 844s # case G_TYPE_UINT: 844s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 844s # break; 844s # case G_TYPE_INT64: 844s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 844s # break; 844s # case G_TYPE_UINT64: 844s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 844s # break; 844s # case G_TYPE_DOUBLE: 844s # { 844s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 844s # gdouble da = g_value_get_double (a); 844s # gdouble db = g_value_get_double (b); 844s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 844s # } 844s # break; 844s # case G_TYPE_STRING: 844s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 844s # break; 844s # case G_TYPE_VARIANT: 844s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 844s # break; 844s # default: 844s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 844s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 844s # else 844s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 844s # break; 844s # } 844s # return ret; 844s # } 844s # 844s # static void 844s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 844s # GClosure *closure, 844s # GValue *return_value, 844s # unsigned int n_param_values, 844s # const GValue *param_values, 844s # void *invocation_hint G_GNUC_UNUSED, 844s # void *marshal_data) 844s # { 844s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 844s # (void *data1, 844s # GDBusMethodInvocation *arg_method_invocation, 844s # GVariant *arg_arg_h, 844s # void *data2); 844s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 844s # GCClosure *cc = (GCClosure*) closure; 844s # void *data1, *data2; 844s # gboolean v_return; 844s # 844s # g_return_if_fail (return_value != NULL); 844s # g_return_if_fail (n_param_values == 3); 844s # 844s # if (G_CCLOSURE_SWAP_DATA (closure)) 844s # { 844s # data1 = closure->data; 844s # data2 = g_value_peek_pointer (param_values + 0); 844s # } 844s # else 844s # { 844s # data1 = g_value_peek_pointer (param_values + 0); 844s # data2 = closure->data; 844s # } 844s # 844s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 844s # (marshal_data ? marshal_data : cc->callback); 844s # 844s # v_return = 844s # callback (data1, 844s # g_marshal_value_peek_object (param_values + 1), 844s # g_marshal_value_peek_variant (param_values + 2), 844s # data2); 844s # 844s # g_value_set_boolean (return_value, v_return); 844s # } 844s # 844s # /* ------------------------------------------------------------------------ 844s # * Code for interface org.project.UsefulInterface 844s # * ------------------------------------------------------------------------ 844s # */ 844s # 844s # /** 844s # * SECTION:OrgProjectUsefulInterface 844s # * @title: OrgProjectUsefulInterface 844s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 844s # * 844s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 844s # */ 844s # 844s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h = 844s # { 844s # { 844s # -1, 844s # (gchar *) "arg_h", 844s # (gchar *) "h", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers[] = 844s # { 844s # &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 844s # { 844s # { 844s # -1, 844s # (gchar *) "SingleArgMethodH", 844s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers, 844s # NULL, 844s # NULL 844s # }, 844s # "handle-single-arg-method-h", 844s # FALSE 844s # }; 844s # 844s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 844s # { 844s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 844s # { 844s # { 844s # -1, 844s # (gchar *) "org.project.UsefulInterface", 844s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 844s # NULL, 844s # NULL, 844s # NULL 844s # }, 844s # "org-project-useful-interface", 844s # }; 844s # 844s # 844s # /** 844s # * org_project_useful_interface_interface_info: 844s # * 844s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 844s # * 844s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 844s # */ 844s # GDBusInterfaceInfo * 844s # org_project_useful_interface_interface_info (void) 844s # { 844s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_override_properties: 844s # * @klass: The class structure for a #GObject derived class. 844s # * @property_id_begin: The property id to assign to the first overridden property. 844s # * 844s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 844s # * The properties are overridden in the order they are defined. 844s # * 844s # * Returns: The last property id. 844s # */ 844s # guint 844s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 844s # { 844s # return property_id_begin - 1; 844s # } 844s # 844s # 844s # inline static void 844s # org_project_useful_interface_method_marshal_single_arg_method_h ( 844s # GClosure *closure, 844s # GValue *return_value, 844s # unsigned int n_param_values, 844s # const GValue *param_values, 844s # void *invocation_hint, 844s # void *marshal_data) 844s # { 844s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 844s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 844s # } 844s # 844s # 844s # /** 844s # * OrgProjectUsefulInterface: 844s # * 844s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 844s # */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceIface: 844s # * @parent_iface: The parent interface. 844s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 844s # * 844s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 844s # */ 844s # 844s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 844s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 844s # 844s # static void 844s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 844s # { 844s # /* GObject signals for incoming D-Bus method calls: */ 844s # /** 844s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 844s # * @object: A #OrgProjectUsefulInterface. 844s # * @invocation: A #GDBusMethodInvocation. 844s # * @arg_arg_h: Argument passed by remote caller. 844s # * 844s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 844s # * 844s # * 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. 844s # * 844s # * 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. 844s # */ 844s # g_signal_new ("handle-single-arg-method-h", 844s # G_TYPE_FROM_INTERFACE (iface), 844s # G_SIGNAL_RUN_LAST, 844s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 844s # g_signal_accumulator_true_handled, 844s # NULL, 844s # org_project_useful_interface_method_marshal_single_arg_method_h, 844s # G_TYPE_BOOLEAN, 844s # 2, 844s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 844s # 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_call_single_arg_method_h: 844s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 844s # * @arg_arg_h: Argument to pass with the method invocation. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 844s # * 844s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 844s # */ 844s # void 844s # org_project_useful_interface_call_single_arg_method_h ( 844s # OrgProjectUsefulInterface *proxy, 844s # GVariant *arg_arg_h, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 844s # "SingleArgMethodH", 844s # g_variant_new ("(@h)", 844s # arg_arg_h), 844s # G_DBUS_CALL_FLAGS_NONE, 844s # -1, 844s # cancellable, 844s # callback, 844s # user_data); 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_call_single_arg_method_h_finish: 844s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 844s # * @error: Return location for error or %NULL. 844s # * 844s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 844s # * 844s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 844s # */ 844s # gboolean 844s # org_project_useful_interface_call_single_arg_method_h_finish ( 844s # OrgProjectUsefulInterface *proxy, 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GVariant *_ret; 844s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 844s # if (_ret == NULL) 844s # goto _out; 844s # g_variant_get (_ret, 844s # "()"); 844s # g_variant_unref (_ret); 844s # _out: 844s # return _ret != NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_call_single_arg_method_h_sync: 844s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 844s # * @arg_arg_h: Argument to pass with the method invocation. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL. 844s # * 844s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 844s # * 844s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 844s # */ 844s # gboolean 844s # org_project_useful_interface_call_single_arg_method_h_sync ( 844s # OrgProjectUsefulInterface *proxy, 844s # GVariant *arg_arg_h, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GVariant *_ret; 844s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 844s # "SingleArgMethodH", 844s # g_variant_new ("(@h)", 844s # arg_arg_h), 844s # G_DBUS_CALL_FLAGS_NONE, 844s # -1, 844s # cancellable, 844s # error); 844s # if (_ret == NULL) 844s # goto _out; 844s # g_variant_get (_ret, 844s # "()"); 844s # g_variant_unref (_ret); 844s # _out: 844s # return _ret != NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_complete_single_arg_method_h: 844s # * @object: A #OrgProjectUsefulInterface. 844s # * @invocation: (transfer full): A #GDBusMethodInvocation. 844s # * 844s # * 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. 844s # * 844s # * This method will free @invocation, you cannot use it afterwards. 844s # */ 844s # void 844s # org_project_useful_interface_complete_single_arg_method_h ( 844s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 844s # GDBusMethodInvocation *invocation) 844s # { 844s # g_dbus_method_invocation_return_value (invocation, 844s # g_variant_new ("()")); 844s # } 844s # 844s # /* ------------------------------------------------------------------------ */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceProxy: 844s # * 844s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 844s # */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceProxyClass: 844s # * @parent_class: The parent class. 844s # * 844s # * Class structure for #OrgProjectUsefulInterfaceProxy. 844s # */ 844s # 844s # struct _OrgProjectUsefulInterfaceProxyPrivate 844s # { 844s # GData *qdata; 844s # }; 844s # 844s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 844s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 844s # 844s # #else 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 844s # 844s # #endif 844s # static void 844s # org_project_useful_interface_proxy_finalize (GObject *object) 844s # { 844s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 844s # g_datalist_clear (&proxy->priv->qdata); 844s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 844s # guint prop_id G_GNUC_UNUSED, 844s # GValue *value G_GNUC_UNUSED, 844s # GParamSpec *pspec G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 844s # guint prop_id G_GNUC_UNUSED, 844s # const GValue *value G_GNUC_UNUSED, 844s # GParamSpec *pspec G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 844s # const gchar *sender_name G_GNUC_UNUSED, 844s # const gchar *signal_name, 844s # GVariant *parameters) 844s # { 844s # _ExtendedGDBusSignalInfo *info; 844s # GVariantIter iter; 844s # GVariant *child; 844s # GValue *paramv; 844s # gsize num_params; 844s # gsize n; 844s # guint signal_id; 844s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 844s # if (info == NULL) 844s # return; 844s # num_params = g_variant_n_children (parameters); 844s # paramv = g_new0 (GValue, num_params + 1); 844s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_value_set_object (¶mv[0], proxy); 844s # g_variant_iter_init (&iter, parameters); 844s # n = 1; 844s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 844s # { 844s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 844s # if (arg_info->use_gvariant) 844s # { 844s # g_value_init (¶mv[n], G_TYPE_VARIANT); 844s # g_value_set_variant (¶mv[n], child); 844s # n++; 844s # } 844s # else 844s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 844s # g_variant_unref (child); 844s # } 844s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_signal_emitv (paramv, signal_id, 0, NULL); 844s # for (n = 0; n < num_params + 1; n++) 844s # g_value_unset (¶mv[n]); 844s # g_free (paramv); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 844s # GVariant *changed_properties, 844s # const gchar *const *invalidated_properties) 844s # { 844s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 844s # guint n; 844s # const gchar *key; 844s # GVariantIter *iter; 844s # _ExtendedGDBusPropertyInfo *info; 844s # g_variant_get (changed_properties, "a{sv}", &iter); 844s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 844s # { 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 844s # g_datalist_remove_data (&proxy->priv->qdata, key); 844s # if (info != NULL) 844s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 844s # } 844s # g_variant_iter_free (iter); 844s # for (n = 0; invalidated_properties[n] != NULL; n++) 844s # { 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 844s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 844s # if (info != NULL) 844s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 844s # } 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 844s # { 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 844s # #else 844s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 844s # #endif 844s # 844s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 844s # { 844s # GObjectClass *gobject_class; 844s # GDBusProxyClass *proxy_class; 844s # 844s # gobject_class = G_OBJECT_CLASS (klass); 844s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 844s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 844s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 844s # 844s # proxy_class = G_DBUS_PROXY_CLASS (klass); 844s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 844s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 844s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 844s # #endif 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new: 844s # * @connection: A #GDBusConnection. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 844s # * 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 844s # * 844s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 844s # */ 844s # void 844s # org_project_useful_interface_proxy_new ( 844s # GDBusConnection *connection, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # g_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); 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_finish: 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 844s # * @error: Return location for error or %NULL 844s # * 844s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_finish ( 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GObject *ret; 844s # GObject *source_object; 844s # source_object = g_async_result_get_source_object (res); 844s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 844s # g_object_unref (source_object); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_sync: 844s # * @connection: A #GDBusConnection. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL 844s # * 844s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 844s # * 844s # * The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_sync ( 844s # GDBusConnection *connection, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GInitable *ret; 844s # 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); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_for_bus: 844s # * @bus_type: A #GBusType. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: A bus name (well-known or unique). 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 844s # * 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 844s # * 844s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 844s # */ 844s # void 844s # org_project_useful_interface_proxy_new_for_bus ( 844s # GBusType bus_type, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # g_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); 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_for_bus_finish: 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 844s # * @error: Return location for error or %NULL 844s # * 844s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_for_bus_finish ( 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GObject *ret; 844s # GObject *source_object; 844s # source_object = g_async_result_get_source_object (res); 844s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 844s # g_object_unref (source_object); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_for_bus_sync: 844s # * @bus_type: A #GBusType. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: A bus name (well-known or unique). 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL 844s # * 844s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 844s # * 844s # * The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_for_bus_sync ( 844s # GBusType bus_type, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GInitable *ret; 844s # 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); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # 844s # /* ------------------------------------------------------------------------ */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceSkeleton: 844s # * 844s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 844s # */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceSkeletonClass: 844s # * @parent_class: The parent class. 844s # * 844s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 844s # */ 844s # 844s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 844s # { 844s # GValue *properties; 844s # GList *changed_properties; 844s # GSource *changed_properties_idle_source; 844s # GMainContext *context; 844s # GMutex lock; 844s # }; 844s # 844s # static void 844s # _org_project_useful_interface_skeleton_handle_method_call ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name, 844s # const gchar *method_name, 844s # GVariant *parameters, 844s # GDBusMethodInvocation *invocation, 844s # gpointer user_data) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 844s # _ExtendedGDBusMethodInfo *info; 844s # GVariantIter iter; 844s # GVariant *child; 844s # GValue *paramv; 844s # gsize num_params; 844s # guint num_extra; 844s # gsize n; 844s # guint signal_id; 844s # GValue return_value = G_VALUE_INIT; 844s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 844s # g_assert (info != NULL); 844s # num_params = g_variant_n_children (parameters); 844s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 844s # n = 0; 844s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_value_set_object (¶mv[n++], skeleton); 844s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 844s # g_value_set_object (¶mv[n++], invocation); 844s # if (info->pass_fdlist) 844s # { 844s # #ifdef G_OS_UNIX 844s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 844s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 844s # #else 844s # g_assert_not_reached (); 844s # #endif 844s # } 844s # g_variant_iter_init (&iter, parameters); 844s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 844s # { 844s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 844s # if (arg_info->use_gvariant) 844s # { 844s # g_value_init (¶mv[n], G_TYPE_VARIANT); 844s # g_value_set_variant (¶mv[n], child); 844s # n++; 844s # } 844s # else 844s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 844s # g_variant_unref (child); 844s # } 844s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_value_init (&return_value, G_TYPE_BOOLEAN); 844s # g_signal_emitv (paramv, signal_id, 0, &return_value); 844s # if (!g_value_get_boolean (&return_value)) 844s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 844s # g_value_unset (&return_value); 844s # for (n = 0; n < num_params + num_extra; n++) 844s # g_value_unset (¶mv[n]); 844s # g_free (paramv); 844s # } 844s # 844s # static GVariant * 844s # _org_project_useful_interface_skeleton_handle_get_property ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name G_GNUC_UNUSED, 844s # const gchar *property_name, 844s # GError **error, 844s # gpointer user_data) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 844s # GValue value = G_VALUE_INIT; 844s # GParamSpec *pspec; 844s # _ExtendedGDBusPropertyInfo *info; 844s # GVariant *ret; 844s # ret = NULL; 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 844s # g_assert (info != NULL); 844s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 844s # if (pspec == NULL) 844s # { 844s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 844s # } 844s # else 844s # { 844s # g_value_init (&value, pspec->value_type); 844s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 844s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 844s # g_value_unset (&value); 844s # } 844s # return ret; 844s # } 844s # 844s # static gboolean 844s # _org_project_useful_interface_skeleton_handle_set_property ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name G_GNUC_UNUSED, 844s # const gchar *property_name, 844s # GVariant *variant, 844s # GError **error, 844s # gpointer user_data) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 844s # GValue value = G_VALUE_INIT; 844s # GParamSpec *pspec; 844s # _ExtendedGDBusPropertyInfo *info; 844s # gboolean ret; 844s # ret = FALSE; 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 844s # g_assert (info != NULL); 844s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 844s # if (pspec == NULL) 844s # { 844s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 844s # } 844s # else 844s # { 844s # if (info->use_gvariant) 844s # g_value_set_variant (&value, variant); 844s # else 844s # g_dbus_gvariant_to_gvalue (variant, &value); 844s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 844s # g_value_unset (&value); 844s # ret = TRUE; 844s # } 844s # return ret; 844s # } 844s # 844s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 844s # { 844s # _org_project_useful_interface_skeleton_handle_method_call, 844s # _org_project_useful_interface_skeleton_handle_get_property, 844s # _org_project_useful_interface_skeleton_handle_set_property, 844s # {NULL} 844s # }; 844s # 844s # static GDBusInterfaceInfo * 844s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 844s # { 844s # return org_project_useful_interface_interface_info (); 844s # } 844s # 844s # static GDBusInterfaceVTable * 844s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 844s # { 844s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 844s # } 844s # 844s # static GVariant * 844s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 844s # 844s # GVariantBuilder builder; 844s # guint n; 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 844s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 844s # #else 844s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 844s # #endif 844s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 844s # goto out; 844s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 844s # { 844s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 844s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 844s # { 844s # GVariant *value; 844s # 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); 844s # if (value != NULL) 844s # { 844s # g_variant_take_ref (value); 844s # g_variant_builder_add (&builder, "{sv}", info->name, value); 844s # g_variant_unref (value); 844s # } 844s # } 844s # } 844s # out: 844s # return g_variant_builder_end (&builder); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 844s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 844s # 844s # #else 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 844s # 844s # #endif 844s # static void 844s # org_project_useful_interface_skeleton_finalize (GObject *object) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 844s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 844s # if (skeleton->priv->changed_properties_idle_source != NULL) 844s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 844s # g_main_context_unref (skeleton->priv->context); 844s # g_mutex_clear (&skeleton->priv->lock); 844s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 844s # { 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 844s # #else 844s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 844s # #endif 844s # 844s # g_mutex_init (&skeleton->priv->lock); 844s # skeleton->priv->context = g_main_context_ref_thread_default (); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 844s # { 844s # GObjectClass *gobject_class; 844s # GDBusInterfaceSkeletonClass *skeleton_class; 844s # 844s # gobject_class = G_OBJECT_CLASS (klass); 844s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 844s # 844s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 844s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 844s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 844s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 844s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 844s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 844s # #endif 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_skeleton_new: 844s # * 844s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_skeleton_new (void) 844s # { 844s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 844s # } 844s # Error: 844s # 844s # /tmp/tmpwsrbnec3/tmp86dh3_ub.xml: 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwsrbnec3/tmp86dh3_ub.xml', '--output', '-', '--body'] 844s # Return code: 0 844s # Output: 844s # /* 844s # * This file is generated by gdbus-codegen, do not modify it. 844s # * 844s # * The license of this code is the same as for the D-Bus interface description 844s # * it was derived from. Note that it links to GLib, so must comply with the 844s # * LGPL linking clauses. 844s # */ 844s # 844s # #ifdef HAVE_CONFIG_H 844s # # include "config.h" 844s # #endif 844s # 844s # #include 844s # #ifdef G_OS_UNIX 844s # # include 844s # #endif 844s # 844s # #ifdef G_ENABLE_DEBUG 844s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 844s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 844s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 844s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 844s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 844s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 844s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 844s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 844s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 844s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 844s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 844s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 844s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 844s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 844s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 844s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 844s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 844s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 844s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 844s # #else /* !G_ENABLE_DEBUG */ 844s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 844s # * Do not access GValues directly in your code. Instead, use the 844s # * g_value_get_*() functions 844s # */ 844s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 844s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 844s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 844s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 844s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 844s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 844s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 844s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 844s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 844s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 844s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 844s # #endif /* !G_ENABLE_DEBUG */ 844s # 844s # typedef struct 844s # { 844s # GDBusArgInfo parent_struct; 844s # gboolean use_gvariant; 844s # } _ExtendedGDBusArgInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusMethodInfo parent_struct; 844s # const gchar *signal_name; 844s # gboolean pass_fdlist; 844s # } _ExtendedGDBusMethodInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusSignalInfo parent_struct; 844s # const gchar *signal_name; 844s # } _ExtendedGDBusSignalInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusPropertyInfo parent_struct; 844s # const gchar *hyphen_name; 844s # guint use_gvariant : 1; 844s # guint emits_changed_signal : 1; 844s # } _ExtendedGDBusPropertyInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusInterfaceInfo parent_struct; 844s # const gchar *hyphen_name; 844s # } _ExtendedGDBusInterfaceInfo; 844s # 844s # typedef struct 844s # { 844s # const _ExtendedGDBusPropertyInfo *info; 844s # guint prop_id; 844s # GValue orig_value; /* the value before the change */ 844s # } ChangedProperty; 844s # 844s # static void 844s # _changed_property_free (ChangedProperty *data) 844s # { 844s # g_value_unset (&data->orig_value); 844s # g_free (data); 844s # } 844s # 844s # static gboolean 844s # _g_strv_equal0 (gchar **a, gchar **b) 844s # { 844s # gboolean ret = FALSE; 844s # guint n; 844s # if (a == NULL && b == NULL) 844s # { 844s # ret = TRUE; 844s # goto out; 844s # } 844s # if (a == NULL || b == NULL) 844s # goto out; 844s # if (g_strv_length (a) != g_strv_length (b)) 844s # goto out; 844s # for (n = 0; a[n] != NULL; n++) 844s # if (g_strcmp0 (a[n], b[n]) != 0) 844s # goto out; 844s # ret = TRUE; 844s # out: 844s # return ret; 844s # } 844s # 844s # static gboolean 844s # _g_variant_equal0 (GVariant *a, GVariant *b) 844s # { 844s # gboolean ret = FALSE; 844s # if (a == NULL && b == NULL) 844s # { 844s # ret = TRUE; 844s # goto out; 844s # } 844s # if (a == NULL || b == NULL) 844s # goto out; 844s # ret = g_variant_equal (a, b); 844s # out: 844s # return ret; 844s # } 844s # 844s # G_GNUC_UNUSED static gboolean 844s # _g_value_equal (const GValue *a, const GValue *b) 844s # { 844s # gboolean ret = FALSE; 844s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 844s # switch (G_VALUE_TYPE (a)) 844s # { 844s # case G_TYPE_BOOLEAN: 844s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 844s # break; 844s # case G_TYPE_UCHAR: 844s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 844s # break; 844s # case G_TYPE_INT: 844s # ret = (g_value_get_int (a) == g_value_get_int (b)); 844s # break; 844s # case G_TYPE_UINT: 844s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 844s # break; 844s # case G_TYPE_INT64: 844s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 844s # break; 844s # case G_TYPE_UINT64: 844s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 844s # break; 844s # case G_TYPE_DOUBLE: 844s # { 844s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 844s # gdouble da = g_value_get_double (a); 844s # gdouble db = g_value_get_double (b); 844s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 844s # } 844s # break; 844s # case G_TYPE_STRING: 844s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 844s # break; 844s # case G_TYPE_VARIANT: 844s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 844s # break; 844s # default: 844s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 844s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 844s # else 844s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 844s # break; 844s # } 844s # return ret; 844s # } 844s # 844s # static void 844s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 844s # GClosure *closure, 844s # GValue *return_value, 844s # unsigned int n_param_values, 844s # const GValue *param_values, 844s # void *invocation_hint G_GNUC_UNUSED, 844s # void *marshal_data) 844s # { 844s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 844s # (void *data1, 844s # GDBusMethodInvocation *arg_method_invocation, 844s # const gchar *arg_arg_ay, 844s # void *data2); 844s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 844s # GCClosure *cc = (GCClosure*) closure; 844s # void *data1, *data2; 844s # gboolean v_return; 844s # 844s # g_return_if_fail (return_value != NULL); 844s # g_return_if_fail (n_param_values == 3); 844s # 844s # if (G_CCLOSURE_SWAP_DATA (closure)) 844s # { 844s # data1 = closure->data; 844s # data2 = g_value_peek_pointer (param_values + 0); 844s # } 844s # else 844s # { 844s # data1 = g_value_peek_pointer (param_values + 0); 844s # data2 = closure->data; 844s # } 844s # 844s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 844s # (marshal_data ? marshal_data : cc->callback); 844s # 844s # v_return = 844s # callback (data1, 844s # g_marshal_value_peek_object (param_values + 1), 844s # g_marshal_value_peek_string (param_values + 2), 844s # data2); 844s # 844s # g_value_set_boolean (return_value, v_return); 844s # } 844s # 844s # /* ------------------------------------------------------------------------ 844s # * Code for interface org.project.UsefulInterface 844s # * ------------------------------------------------------------------------ 844s # */ 844s # 844s # /** 844s # * SECTION:OrgProjectUsefulInterface 844s # * @title: OrgProjectUsefulInterface 844s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 844s # * 844s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 844s # */ 844s # 844s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay = 844s # { 844s # { 844s # -1, 844s # (gchar *) "arg_ay", 844s # (gchar *) "ay", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers[] = 844s # { 844s # &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 844s # { 844s # { 844s # -1, 844s # (gchar *) "SingleArgMethodAy", 844s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers, 844s # NULL, 844s # NULL 844s # }, 844s # "handle-single-arg-method-ay", 844s # FALSE 844s # }; 844s # 844s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 844s # { 844s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 844s # { 844s # { 844s # -1, 844s # (gchar *) "org.project.UsefulInterface", 844s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 844s # NULL, 844s # NULL, 844s # NULL 844s # }, 844s # "org-project-useful-interface", 844s # }; 844s # 844s # 844s # /** 844s # * org_project_useful_interface_interface_info: 844s # * 844s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 844s # * 844s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 844s # */ 844s # GDBusInterfaceInfo * 844s # org_project_useful_interface_interface_info (void) 844s # { 844s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_override_properties: 844s # * @klass: The class structure for a #GObject derived class. 844s # * @property_id_begin: The property id to assign to the first overridden property. 844s # * 844s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 844s # * The properties are overridden in the order they are defined. 844s # * 844s # * Returns: The last property id. 844s # */ 844s # guint 844s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 844s # { 844s # return property_id_begin - 1; 844s # } 844s # 844s # 844s # inline static void 844s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 844s # GClosure *closure, 844s # GValue *return_value, 844s # unsigned int n_param_values, 844s # const GValue *param_values, 844s # void *invocation_hint, 844s # void *marshal_data) 844s # { 844s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 844s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 844s # } 844s # 844s # 844s # /** 844s # * OrgProjectUsefulInterface: 844s # * 844s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 844s # */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceIface: 844s # * @parent_iface: The parent interface. 844s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 844s # * 844s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 844s # */ 844s # 844s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 844s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 844s # 844s # static void 844s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 844s # { 844s # /* GObject signals for incoming D-Bus method calls: */ 844s # /** 844s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 844s # * @object: A #OrgProjectUsefulInterface. 844s # * @invocation: A #GDBusMethodInvocation. 844s # * @arg_arg_ay: Argument passed by remote caller. 844s # * 844s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 844s # * 844s # * 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. 844s # * 844s # * 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. 844s # */ 844s # g_signal_new ("handle-single-arg-method-ay", 844s # G_TYPE_FROM_INTERFACE (iface), 844s # G_SIGNAL_RUN_LAST, 844s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 844s # g_signal_accumulator_true_handled, 844s # NULL, 844s # org_project_useful_interface_method_marshal_single_arg_method_ay, 844s # G_TYPE_BOOLEAN, 844s # 2, 844s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 844s # 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_call_single_arg_method_ay: 844s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 844s # * @arg_arg_ay: Argument to pass with the method invocation. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 844s # * 844s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 844s # */ 844s # void 844s # org_project_useful_interface_call_single_arg_method_ay ( 844s # OrgProjectUsefulInterface *proxy, 844s # const gchar *arg_arg_ay, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 844s # "SingleArgMethodAy", 844s # g_variant_new ("(^ay)", 844s # arg_arg_ay), 844s # G_DBUS_CALL_FLAGS_NONE, 844s # -1, 844s # cancellable, 844s # callback, 844s # user_data); 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_call_single_arg_method_ay_finish: 844s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 844s # * @error: Return location for error or %NULL. 844s # * 844s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 844s # * 844s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 844s # */ 844s # gboolean 844s # org_project_useful_interface_call_single_arg_method_ay_finish ( 844s # OrgProjectUsefulInterface *proxy, 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GVariant *_ret; 844s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 844s # if (_ret == NULL) 844s # goto _out; 844s # g_variant_get (_ret, 844s # "()"); 844s # g_variant_unref (_ret); 844s # _out: 844s # return _ret != NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_call_single_arg_method_ay_sync: 844s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 844s # * @arg_arg_ay: Argument to pass with the method invocation. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL. 844s # * 844s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 844s # * 844s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 844s # */ 844s # gboolean 844s # org_project_useful_interface_call_single_arg_method_ay_sync ( 844s # OrgProjectUsefulInterface *proxy, 844s # const gchar *arg_arg_ay, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GVariant *_ret; 844s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 844s # "SingleArgMethodAy", 844s # g_variant_new ("(^ay)", 844s # arg_arg_ay), 844s # G_DBUS_CALL_FLAGS_NONE, 844s # -1, 844s # cancellable, 844s # error); 844s # if (_ret == NULL) 844s # goto _out; 844s # g_variant_get (_ret, 844s # "()"); 844s # g_variant_unref (_ret); 844s # _out: 844s # return _ret != NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_complete_single_arg_method_ay: 844s # * @object: A #OrgProjectUsefulInterface. 844s # * @invocation: (transfer full): A #GDBusMethodInvocation. 844s # * 844s # * 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. 844s # * 844s # * This method will free @invocation, you cannot use it afterwards. 844s # */ 844s # void 844s # org_project_useful_interface_complete_single_arg_method_ay ( 844s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 844s # GDBusMethodInvocation *invocation) 844s # { 844s # g_dbus_method_invocation_return_value (invocation, 844s # g_variant_new ("()")); 844s # } 844s # 844s # /* ------------------------------------------------------------------------ */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceProxy: 844s # * 844s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 844s # */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceProxyClass: 844s # * @parent_class: The parent class. 844s # * 844s # * Class structure for #OrgProjectUsefulInterfaceProxy. 844s # */ 844s # 844s # struct _OrgProjectUsefulInterfaceProxyPrivate 844s # { 844s # GData *qdata; 844s # }; 844s # 844s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 844s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 844s # 844s # #else 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 844s # 844s # #endif 844s # static void 844s # org_project_useful_interface_proxy_finalize (GObject *object) 844s # { 844s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 844s # g_datalist_clear (&proxy->priv->qdata); 844s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 844s # guint prop_id G_GNUC_UNUSED, 844s # GValue *value G_GNUC_UNUSED, 844s # GParamSpec *pspec G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 844s # guint prop_id G_GNUC_UNUSED, 844s # const GValue *value G_GNUC_UNUSED, 844s # GParamSpec *pspec G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 844s # const gchar *sender_name G_GNUC_UNUSED, 844s # const gchar *signal_name, 844s # GVariant *parameters) 844s # { 844s # _ExtendedGDBusSignalInfo *info; 844s # GVariantIter iter; 844s # GVariant *child; 844s # GValue *paramv; 844s # gsize num_params; 844s # gsize n; 844s # guint signal_id; 844s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 844s # if (info == NULL) 844s # return; 844s # num_params = g_variant_n_children (parameters); 844s # paramv = g_new0 (GValue, num_params + 1); 844s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_value_set_object (¶mv[0], proxy); 844s # g_variant_iter_init (&iter, parameters); 844s # n = 1; 844s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 844s # { 844s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 844s # if (arg_info->use_gvariant) 844s # { 844s # g_value_init (¶mv[n], G_TYPE_VARIANT); 844s # g_value_set_variant (¶mv[n], child); 844s # n++; 844s # } 844s # else 844s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 844s # g_variant_unref (child); 844s # } 844s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_signal_emitv (paramv, signal_id, 0, NULL); 844s # for (n = 0; n < num_params + 1; n++) 844s # g_value_unset (¶mv[n]); 844s # g_free (paramv); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 844s # GVariant *changed_properties, 844s # const gchar *const *invalidated_properties) 844s # { 844s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 844s # guint n; 844s # const gchar *key; 844s # GVariantIter *iter; 844s # _ExtendedGDBusPropertyInfo *info; 844s # g_variant_get (changed_properties, "a{sv}", &iter); 844s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 844s # { 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 844s # g_datalist_remove_data (&proxy->priv->qdata, key); 844s # if (info != NULL) 844s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 844s # } 844s # g_variant_iter_free (iter); 844s # for (n = 0; invalidated_properties[n] != NULL; n++) 844s # { 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 844s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 844s # if (info != NULL) 844s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 844s # } 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 844s # { 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 844s # #else 844s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 844s # #endif 844s # 844s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 844s # { 844s # GObjectClass *gobject_class; 844s # GDBusProxyClass *proxy_class; 844s # 844s # gobject_class = G_OBJECT_CLASS (klass); 844s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 844s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 844s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 844s # 844s # proxy_class = G_DBUS_PROXY_CLASS (klass); 844s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 844s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 844s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 844s # #endif 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new: 844s # * @connection: A #GDBusConnection. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 844s # * 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 844s # * 844s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 844s # */ 844s # void 844s # org_project_useful_interface_proxy_new ( 844s # GDBusConnection *connection, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # g_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); 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_finish: 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 844s # * @error: Return location for error or %NULL 844s # * 844s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_finish ( 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GObject *ret; 844s # GObject *source_object; 844s # source_object = g_async_result_get_source_object (res); 844s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 844s # g_object_unref (source_object); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_sync: 844s # * @connection: A #GDBusConnection. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL 844s # * 844s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 844s # * 844s # * The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_sync ( 844s # GDBusConnection *connection, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GInitable *ret; 844s # 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); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_for_bus: 844s # * @bus_type: A #GBusType. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: A bus name (well-known or unique). 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 844s # * 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 844s # * 844s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 844s # */ 844s # void 844s # org_project_useful_interface_proxy_new_for_bus ( 844s # GBusType bus_type, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # g_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); 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_for_bus_finish: 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 844s # * @error: Return location for error or %NULL 844s # * 844s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_for_bus_finish ( 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GObject *ret; 844s # GObject *source_object; 844s # source_object = g_async_result_get_source_object (res); 844s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 844s # g_object_unref (source_object); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_for_bus_sync: 844s # * @bus_type: A #GBusType. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: A bus name (well-known or unique). 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL 844s # * 844s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 844s # * 844s # * The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_for_bus_sync ( 844s # GBusType bus_type, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GInitable *ret; 844s # 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); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # 844s # /* ------------------------------------------------------------------------ */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceSkeleton: 844s # * 844s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 844s # */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceSkeletonClass: 844s # * @parent_class: The parent class. 844s # * 844s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 844s # */ 844s # 844s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 844s # { 844s # GValue *properties; 844s # GList *changed_properties; 844s # GSource *changed_properties_idle_source; 844s # GMainContext *context; 844s # GMutex lock; 844s # }; 844s # 844s # static void 844s # _org_project_useful_interface_skeleton_handle_method_call ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name, 844s # const gchar *method_name, 844s # GVariant *parameters, 844s # GDBusMethodInvocation *invocation, 844s # gpointer user_data) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 844s # _ExtendedGDBusMethodInfo *info; 844s # GVariantIter iter; 844s # GVariant *child; 844s # GValue *paramv; 844s # gsize num_params; 844s # guint num_extra; 844s # gsize n; 844s # guint signal_id; 844s # GValue return_value = G_VALUE_INIT; 844s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 844s # g_assert (info != NULL); 844s # num_params = g_variant_n_children (parameters); 844s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 844s # n = 0; 844s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_value_set_object (¶mv[n++], skeleton); 844s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 844s # g_value_set_object (¶mv[n++], invocation); 844s # if (info->pass_fdlist) 844s # { 844s # #ifdef G_OS_UNIX 844s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 844s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 844s # #else 844s # g_assert_not_reached (); 844s # #endif 844s # } 844s # g_variant_iter_init (&iter, parameters); 844s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 844s # { 844s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 844s # if (arg_info->use_gvariant) 844s # { 844s # g_value_init (¶mv[n], G_TYPE_VARIANT); 844s # g_value_set_variant (¶mv[n], child); 844s # n++; 844s # } 844s # else 844s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 844s # g_variant_unref (child); 844s # } 844s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_value_init (&return_value, G_TYPE_BOOLEAN); 844s # g_signal_emitv (paramv, signal_id, 0, &return_value); 844s # if (!g_value_get_boolean (&return_value)) 844s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 844s # g_value_unset (&return_value); 844s # for (n = 0; n < num_params + num_extra; n++) 844s # g_value_unset (¶mv[n]); 844s # g_free (paramv); 844s # } 844s # 844s # static GVariant * 844s # _org_project_useful_interface_skeleton_handle_get_property ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name G_GNUC_UNUSED, 844s # const gchar *property_name, 844s # GError **error, 844s # gpointer user_data) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 844s # GValue value = G_VALUE_INIT; 844s # GParamSpec *pspec; 844s # _ExtendedGDBusPropertyInfo *info; 844s # GVariant *ret; 844s # ret = NULL; 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 844s # g_assert (info != NULL); 844s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 844s # if (pspec == NULL) 844s # { 844s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 844s # } 844s # else 844s # { 844s # g_value_init (&value, pspec->value_type); 844s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 844s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 844s # g_value_unset (&value); 844s # } 844s # return ret; 844s # } 844s # 844s # static gboolean 844s # _org_project_useful_interface_skeleton_handle_set_property ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name G_GNUC_UNUSED, 844s # const gchar *property_name, 844s # GVariant *variant, 844s # GError **error, 844s # gpointer user_data) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 844s # GValue value = G_VALUE_INIT; 844s # GParamSpec *pspec; 844s # _ExtendedGDBusPropertyInfo *info; 844s # gboolean ret; 844s # ret = FALSE; 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 844s # g_assert (info != NULL); 844s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 844s # if (pspec == NULL) 844s # { 844s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 844s # } 844s # else 844s # { 844s # if (info->use_gvariant) 844s # g_value_set_variant (&value, variant); 844s # else 844s # g_dbus_gvariant_to_gvalue (variant, &value); 844s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 844s # g_value_unset (&value); 844s # ret = TRUE; 844s # } 844s # return ret; 844s # } 844s # 844s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 844s # { 844s # _org_project_useful_interface_skeleton_handle_method_call, 844s # _org_project_useful_interface_skeleton_handle_get_property, 844s # _org_project_useful_interface_skeleton_handle_set_property, 844s # {NULL} 844s # }; 844s # 844s # static GDBusInterfaceInfo * 844s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 844s # { 844s # return org_project_useful_interface_interface_info (); 844s # } 844s # 844s # static GDBusInterfaceVTable * 844s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 844s # { 844s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 844s # } 844s # 844s # static GVariant * 844s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 844s # 844s # GVariantBuilder builder; 844s # guint n; 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 844s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 844s # #else 844s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 844s # #endif 844s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 844s # goto out; 844s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 844s # { 844s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 844s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 844s # { 844s # GVariant *value; 844s # 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); 844s # if (value != NULL) 844s # { 844s # g_variant_take_ref (value); 844s # g_variant_builder_add (&builder, "{sv}", info->name, value); 844s # g_variant_unref (value); 844s # } 844s # } 844s # } 844s # out: 844s # return g_variant_builder_end (&builder); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 844s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 844s # 844s # #else 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 844s # 844s # #endif 844s # static void 844s # org_project_useful_interface_skeleton_finalize (GObject *object) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 844s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 844s # if (skeleton->priv->changed_properties_idle_source != NULL) 844s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 844s # g_main_context_unref (skeleton->priv->context); 844s # g_mutex_clear (&skeleton->priv->lock); 844s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 844s # { 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 844s # #else 844s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 844s # #endif 844s # 844s # g_mutex_init (&skeleton->priv->lock); 844s # skeleton->priv->context = g_main_context_ref_thread_default (); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 844s # { 844s # GObjectClass *gobject_class; 844s # GDBusInterfaceSkeletonClass *skeleton_class; 844s # 844s # gobject_class = G_OBJECT_CLASS (klass); 844s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 844s # 844s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 844s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 844s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 844s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 844s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 844s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 844s # #endif 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_skeleton_new: 844s # * 844s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_skeleton_new (void) 844s # { 844s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 844s # } 844s # Error: 844s # 844s # /tmp/tmpwsrbnec3/tmprktfkmpg.xml: 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwsrbnec3/tmprktfkmpg.xml', '--output', '-', '--body'] 844s # Return code: 0 844s # Output: 844s # /* 844s # * This file is generated by gdbus-codegen, do not modify it. 844s # * 844s # * The license of this code is the same as for the D-Bus interface description 844s # * it was derived from. Note that it links to GLib, so must comply with the 844s # * LGPL linking clauses. 844s # */ 844s # 844s # #ifdef HAVE_CONFIG_H 844s # # include "config.h" 844s # #endif 844s # 844s # #include 844s # #ifdef G_OS_UNIX 844s # # include 844s # #endif 844s # 844s # #ifdef G_ENABLE_DEBUG 844s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 844s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 844s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 844s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 844s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 844s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 844s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 844s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 844s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 844s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 844s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 844s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 844s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 844s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 844s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 844s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 844s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 844s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 844s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 844s # #else /* !G_ENABLE_DEBUG */ 844s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 844s # * Do not access GValues directly in your code. Instead, use the 844s # * g_value_get_*() functions 844s # */ 844s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 844s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 844s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 844s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 844s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 844s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 844s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 844s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 844s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 844s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 844s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 844s # #endif /* !G_ENABLE_DEBUG */ 844s # 844s # typedef struct 844s # { 844s # GDBusArgInfo parent_struct; 844s # gboolean use_gvariant; 844s # } _ExtendedGDBusArgInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusMethodInfo parent_struct; 844s # const gchar *signal_name; 844s # gboolean pass_fdlist; 844s # } _ExtendedGDBusMethodInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusSignalInfo parent_struct; 844s # const gchar *signal_name; 844s # } _ExtendedGDBusSignalInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusPropertyInfo parent_struct; 844s # const gchar *hyphen_name; 844s # guint use_gvariant : 1; 844s # guint emits_changed_signal : 1; 844s # } _ExtendedGDBusPropertyInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusInterfaceInfo parent_struct; 844s # const gchar *hyphen_name; 844s # } _ExtendedGDBusInterfaceInfo; 844s # 844s # typedef struct 844s # { 844s # const _ExtendedGDBusPropertyInfo *info; 844s # guint prop_id; 844s # GValue orig_value; /* the value before the change */ 844s # } ChangedProperty; 844s # 844s # static void 844s # _changed_property_free (ChangedProperty *data) 844s # { 844s # g_value_unset (&data->orig_value); 844s # g_free (data); 844s # } 844s # 844s # static gboolean 844s # _g_strv_equal0 (gchar **a, gchar **b) 844s # { 844s # gboolean ret = FALSE; 844s # guint n; 844s # if (a == NULL && b == NULL) 844s # { 844s # ret = TRUE; 844s # goto out; 844s # } 844s # if (a == NULL || b == NULL) 844s # goto out; 844s # if (g_strv_length (a) != g_strv_length (b)) 844s # goto out; 844s # for (n = 0; a[n] != NULL; n++) 844s # if (g_strcmp0 (a[n], b[n]) != 0) 844s # goto out; 844s # ret = TRUE; 844s # out: 844s # return ret; 844s # } 844s # 844s # static gboolean 844s # _g_variant_equal0 (GVariant *a, GVariant *b) 844s # { 844s # gboolean ret = FALSE; 844s # if (a == NULL && b == NULL) 844s # { 844s # ret = TRUE; 844s # goto out; 844s # } 844s # if (a == NULL || b == NULL) 844s # goto out; 844s # ret = g_variant_equal (a, b); 844s # out: 844s # return ret; 844s # } 844s # 844s # G_GNUC_UNUSED static gboolean 844s # _g_value_equal (const GValue *a, const GValue *b) 844s # { 844s # gboolean ret = FALSE; 844s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 844s # switch (G_VALUE_TYPE (a)) 844s # { 844s # case G_TYPE_BOOLEAN: 844s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 844s # break; 844s # case G_TYPE_UCHAR: 844s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 844s # break; 844s # case G_TYPE_INT: 844s # ret = (g_value_get_int (a) == g_value_get_int (b)); 844s # break; 844s # case G_TYPE_UINT: 844s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 844s # break; 844s # case G_TYPE_INT64: 844s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 844s # break; 844s # case G_TYPE_UINT64: 844s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 844s # break; 844s # case G_TYPE_DOUBLE: 844s # { 844s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 844s # gdouble da = g_value_get_double (a); 844s # gdouble db = g_value_get_double (b); 844s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 844s # } 844s # break; 844s # case G_TYPE_STRING: 844s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 844s # break; 844s # case G_TYPE_VARIANT: 844s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 844s # break; 844s # default: 844s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 844s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 844s # else 844s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 844s # break; 844s # } 844s # return ret; 844s # } 844s # 844s # static void 844s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 844s # GClosure *closure, 844s # GValue *return_value, 844s # unsigned int n_param_values, 844s # const GValue *param_values, 844s # void *invocation_hint G_GNUC_UNUSED, 844s # void *marshal_data) 844s # { 844s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 844s # (void *data1, 844s # GDBusMethodInvocation *arg_method_invocation, 844s # const gchar *const *arg_arg_as, 844s # void *data2); 844s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 844s # GCClosure *cc = (GCClosure*) closure; 844s # void *data1, *data2; 844s # gboolean v_return; 844s # 844s # g_return_if_fail (return_value != NULL); 844s # g_return_if_fail (n_param_values == 3); 844s # 844s # if (G_CCLOSURE_SWAP_DATA (closure)) 844s # { 844s # data1 = closure->data; 844s # data2 = g_value_peek_pointer (param_values + 0); 844s # } 844s # else 844s # { 844s # data1 = g_value_peek_pointer (param_values + 0); 844s # data2 = closure->data; 844s # } 844s # 844s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 844s # (marshal_data ? marshal_data : cc->callback); 844s # 844s # v_return = 844s # callback (data1, 844s # g_marshal_value_peek_object (param_values + 1), 844s # g_marshal_value_peek_boxed (param_values + 2), 844s # data2); 844s # 844s # g_value_set_boolean (return_value, v_return); 844s # } 844s # 844s # /* ------------------------------------------------------------------------ 844s # * Code for interface org.project.UsefulInterface 844s # * ------------------------------------------------------------------------ 844s # */ 844s # 844s # /** 844s # * SECTION:OrgProjectUsefulInterface 844s # * @title: OrgProjectUsefulInterface 844s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 844s # * 844s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 844s # */ 844s # 844s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as = 844s # { 844s # { 844s # -1, 844s # (gchar *) "arg_as", 844s # (gchar *) "as", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers[] = 844s # { 844s # &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 844s # { 844s # { 844s # -1, 844s # (gchar *) "SingleArgMethodAs", 844s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers, 844s # NULL, 844s # NULL 844s # }, 844s # "handle-single-arg-method-as", 844s # FALSE 844s # }; 844s # 844s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 844s # { 844s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 844s # { 844s # { 844s # -1, 844s # (gchar *) "org.project.UsefulInterface", 844s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 844s # NULL, 844s # NULL, 844s # NULL 844s # }, 844s # "org-project-useful-interface", 844s # }; 844s # 844s # 844s # /** 844s # * org_project_useful_interface_interface_info: 844s # * 844s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 844s # * 844s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 844s # */ 844s # GDBusInterfaceInfo * 844s # org_project_useful_interface_interface_info (void) 844s # { 844s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_override_properties: 844s # * @klass: The class structure for a #GObject derived class. 844s # * @property_id_begin: The property id to assign to the first overridden property. 844s # * 844s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 844s # * The properties are overridden in the order they are defined. 844s # * 844s # * Returns: The last property id. 844s # */ 844s # guint 844s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 844s # { 844s # return property_id_begin - 1; 844s # } 844s # 844s # 844s # inline static void 844s # org_project_useful_interface_method_marshal_single_arg_method_as ( 844s # GClosure *closure, 844s # GValue *return_value, 844s # unsigned int n_param_values, 844s # const GValue *param_values, 844s # void *invocation_hint, 844s # void *marshal_data) 844s # { 844s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 844s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 844s # } 844s # 844s # 844s # /** 844s # * OrgProjectUsefulInterface: 844s # * 844s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 844s # */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceIface: 844s # * @parent_iface: The parent interface. 844s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 844s # * 844s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 844s # */ 844s # 844s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 844s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 844s # 844s # static void 844s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 844s # { 844s # /* GObject signals for incoming D-Bus method calls: */ 844s # /** 844s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 844s # * @object: A #OrgProjectUsefulInterface. 844s # * @invocation: A #GDBusMethodInvocation. 844s # * @arg_arg_as: Argument passed by remote caller. 844s # * 844s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 844s # * 844s # * 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. 844s # * 844s # * 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. 844s # */ 844s # g_signal_new ("handle-single-arg-method-as", 844s # G_TYPE_FROM_INTERFACE (iface), 844s # G_SIGNAL_RUN_LAST, 844s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 844s # g_signal_accumulator_true_handled, 844s # NULL, 844s # org_project_useful_interface_method_marshal_single_arg_method_as, 844s # G_TYPE_BOOLEAN, 844s # 2, 844s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 844s # 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_call_single_arg_method_as: 844s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 844s # * @arg_arg_as: Argument to pass with the method invocation. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 844s # * 844s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 844s # */ 844s # void 844s # org_project_useful_interface_call_single_arg_method_as ( 844s # OrgProjectUsefulInterface *proxy, 844s # const gchar *const *arg_arg_as, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 844s # "SingleArgMethodAs", 844s # g_variant_new ("(^as)", 844s # arg_arg_as), 844s # G_DBUS_CALL_FLAGS_NONE, 844s # -1, 844s # cancellable, 844s # callback, 844s # user_data); 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_call_single_arg_method_as_finish: 844s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 844s # * @error: Return location for error or %NULL. 844s # * 844s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 844s # * 844s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 844s # */ 844s # gboolean 844s # org_project_useful_interface_call_single_arg_method_as_finish ( 844s # OrgProjectUsefulInterface *proxy, 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GVariant *_ret; 844s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 844s # if (_ret == NULL) 844s # goto _out; 844s # g_variant_get (_ret, 844s # "()"); 844s # g_variant_unref (_ret); 844s # _out: 844s # return _ret != NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_call_single_arg_method_as_sync: 844s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 844s # * @arg_arg_as: Argument to pass with the method invocation. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL. 844s # * 844s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 844s # * 844s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 844s # */ 844s # gboolean 844s # org_project_useful_interface_call_single_arg_method_as_sync ( 844s # OrgProjectUsefulInterface *proxy, 844s # const gchar *const *arg_arg_as, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GVariant *_ret; 844s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 844s # "SingleArgMethodAs", 844s # g_variant_new ("(^as)", 844s # arg_arg_as), 844s # G_DBUS_CALL_FLAGS_NONE, 844s # -1, 844s # cancellable, 844s # error); 844s # if (_ret == NULL) 844s # goto _out; 844s # g_variant_get (_ret, 844s # "()"); 844s # g_variant_unref (_ret); 844s # _out: 844s # return _ret != NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_complete_single_arg_method_as: 844s # * @object: A #OrgProjectUsefulInterface. 844s # * @invocation: (transfer full): A #GDBusMethodInvocation. 844s # * 844s # * 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. 844s # * 844s # * This method will free @invocation, you cannot use it afterwards. 844s # */ 844s # void 844s # org_project_useful_interface_complete_single_arg_method_as ( 844s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 844s # GDBusMethodInvocation *invocation) 844s # { 844s # g_dbus_method_invocation_return_value (invocation, 844s # g_variant_new ("()")); 844s # } 844s # 844s # /* ------------------------------------------------------------------------ */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceProxy: 844s # * 844s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 844s # */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceProxyClass: 844s # * @parent_class: The parent class. 844s # * 844s # * Class structure for #OrgProjectUsefulInterfaceProxy. 844s # */ 844s # 844s # struct _OrgProjectUsefulInterfaceProxyPrivate 844s # { 844s # GData *qdata; 844s # }; 844s # 844s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 844s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 844s # 844s # #else 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 844s # 844s # #endif 844s # static void 844s # org_project_useful_interface_proxy_finalize (GObject *object) 844s # { 844s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 844s # g_datalist_clear (&proxy->priv->qdata); 844s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 844s # guint prop_id G_GNUC_UNUSED, 844s # GValue *value G_GNUC_UNUSED, 844s # GParamSpec *pspec G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 844s # guint prop_id G_GNUC_UNUSED, 844s # const GValue *value G_GNUC_UNUSED, 844s # GParamSpec *pspec G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 844s # const gchar *sender_name G_GNUC_UNUSED, 844s # const gchar *signal_name, 844s # GVariant *parameters) 844s # { 844s # _ExtendedGDBusSignalInfo *info; 844s # GVariantIter iter; 844s # GVariant *child; 844s # GValue *paramv; 844s # gsize num_params; 844s # gsize n; 844s # guint signal_id; 844s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 844s # if (info == NULL) 844s # return; 844s # num_params = g_variant_n_children (parameters); 844s # paramv = g_new0 (GValue, num_params + 1); 844s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_value_set_object (¶mv[0], proxy); 844s # g_variant_iter_init (&iter, parameters); 844s # n = 1; 844s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 844s # { 844s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 844s # if (arg_info->use_gvariant) 844s # { 844s # g_value_init (¶mv[n], G_TYPE_VARIANT); 844s # g_value_set_variant (¶mv[n], child); 844s # n++; 844s # } 844s # else 844s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 844s # g_variant_unref (child); 844s # } 844s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_signal_emitv (paramv, signal_id, 0, NULL); 844s # for (n = 0; n < num_params + 1; n++) 844s # g_value_unset (¶mv[n]); 844s # g_free (paramv); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 844s # GVariant *changed_properties, 844s # const gchar *const *invalidated_properties) 844s # { 844s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 844s # guint n; 844s # const gchar *key; 844s # GVariantIter *iter; 844s # _ExtendedGDBusPropertyInfo *info; 844s # g_variant_get (changed_properties, "a{sv}", &iter); 844s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 844s # { 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 844s # g_datalist_remove_data (&proxy->priv->qdata, key); 844s # if (info != NULL) 844s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 844s # } 844s # g_variant_iter_free (iter); 844s # for (n = 0; invalidated_properties[n] != NULL; n++) 844s # { 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 844s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 844s # if (info != NULL) 844s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 844s # } 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 844s # { 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 844s # #else 844s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 844s # #endif 844s # 844s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 844s # { 844s # GObjectClass *gobject_class; 844s # GDBusProxyClass *proxy_class; 844s # 844s # gobject_class = G_OBJECT_CLASS (klass); 844s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 844s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 844s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 844s # 844s # proxy_class = G_DBUS_PROXY_CLASS (klass); 844s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 844s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 844s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 844s # #endif 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new: 844s # * @connection: A #GDBusConnection. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 844s # * 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 844s # * 844s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 844s # */ 844s # void 844s # org_project_useful_interface_proxy_new ( 844s # GDBusConnection *connection, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # g_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); 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_finish: 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 844s # * @error: Return location for error or %NULL 844s # * 844s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_finish ( 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GObject *ret; 844s # GObject *source_object; 844s # source_object = g_async_result_get_source_object (res); 844s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 844s # g_object_unref (source_object); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_sync: 844s # * @connection: A #GDBusConnection. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL 844s # * 844s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 844s # * 844s # * The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_sync ( 844s # GDBusConnection *connection, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GInitable *ret; 844s # 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); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_for_bus: 844s # * @bus_type: A #GBusType. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: A bus name (well-known or unique). 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 844s # * 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 844s # * 844s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 844s # */ 844s # void 844s # org_project_useful_interface_proxy_new_for_bus ( 844s # GBusType bus_type, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # g_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); 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_for_bus_finish: 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 844s # * @error: Return location for error or %NULL 844s # * 844s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_for_bus_finish ( 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GObject *ret; 844s # GObject *source_object; 844s # source_object = g_async_result_get_source_object (res); 844s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 844s # g_object_unref (source_object); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_for_bus_sync: 844s # * @bus_type: A #GBusType. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: A bus name (well-known or unique). 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL 844s # * 844s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 844s # * 844s # * The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_for_bus_sync ( 844s # GBusType bus_type, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GInitable *ret; 844s # 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); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # 844s # /* ------------------------------------------------------------------------ */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceSkeleton: 844s # * 844s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 844s # */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceSkeletonClass: 844s # * @parent_class: The parent class. 844s # * 844s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 844s # */ 844s # 844s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 844s # { 844s # GValue *properties; 844s # GList *changed_properties; 844s # GSource *changed_properties_idle_source; 844s # GMainContext *context; 844s # GMutex lock; 844s # }; 844s # 844s # static void 844s # _org_project_useful_interface_skeleton_handle_method_call ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name, 844s # const gchar *method_name, 844s # GVariant *parameters, 844s # GDBusMethodInvocation *invocation, 844s # gpointer user_data) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 844s # _ExtendedGDBusMethodInfo *info; 844s # GVariantIter iter; 844s # GVariant *child; 844s # GValue *paramv; 844s # gsize num_params; 844s # guint num_extra; 844s # gsize n; 844s # guint signal_id; 844s # GValue return_value = G_VALUE_INIT; 844s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 844s # g_assert (info != NULL); 844s # num_params = g_variant_n_children (parameters); 844s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 844s # n = 0; 844s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_value_set_object (¶mv[n++], skeleton); 844s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 844s # g_value_set_object (¶mv[n++], invocation); 844s # if (info->pass_fdlist) 844s # { 844s # #ifdef G_OS_UNIX 844s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 844s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 844s # #else 844s # g_assert_not_reached (); 844s # #endif 844s # } 844s # g_variant_iter_init (&iter, parameters); 844s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 844s # { 844s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 844s # if (arg_info->use_gvariant) 844s # { 844s # g_value_init (¶mv[n], G_TYPE_VARIANT); 844s # g_value_set_variant (¶mv[n], child); 844s # n++; 844s # } 844s # else 844s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 844s # g_variant_unref (child); 844s # } 844s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_value_init (&return_value, G_TYPE_BOOLEAN); 844s # g_signal_emitv (paramv, signal_id, 0, &return_value); 844s # if (!g_value_get_boolean (&return_value)) 844s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 844s # g_value_unset (&return_value); 844s # for (n = 0; n < num_params + num_extra; n++) 844s # g_value_unset (¶mv[n]); 844s # g_free (paramv); 844s # } 844s # 844s # static GVariant * 844s # _org_project_useful_interface_skeleton_handle_get_property ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name G_GNUC_UNUSED, 844s # const gchar *property_name, 844s # GError **error, 844s # gpointer user_data) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 844s # GValue value = G_VALUE_INIT; 844s # GParamSpec *pspec; 844s # _ExtendedGDBusPropertyInfo *info; 844s # GVariant *ret; 844s # ret = NULL; 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 844s # g_assert (info != NULL); 844s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 844s # if (pspec == NULL) 844s # { 844s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 844s # } 844s # else 844s # { 844s # g_value_init (&value, pspec->value_type); 844s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 844s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 844s # g_value_unset (&value); 844s # } 844s # return ret; 844s # } 844s # 844s # static gboolean 844s # _org_project_useful_interface_skeleton_handle_set_property ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name G_GNUC_UNUSED, 844s # const gchar *property_name, 844s # GVariant *variant, 844s # GError **error, 844s # gpointer user_data) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 844s # GValue value = G_VALUE_INIT; 844s # GParamSpec *pspec; 844s # _ExtendedGDBusPropertyInfo *info; 844s # gboolean ret; 844s # ret = FALSE; 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 844s # g_assert (info != NULL); 844s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 844s # if (pspec == NULL) 844s # { 844s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 844s # } 844s # else 844s # { 844s # if (info->use_gvariant) 844s # g_value_set_variant (&value, variant); 844s # else 844s # g_dbus_gvariant_to_gvalue (variant, &value); 844s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 844s # g_value_unset (&value); 844s # ret = TRUE; 844s # } 844s # return ret; 844s # } 844s # 844s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 844s # { 844s # _org_project_useful_interface_skeleton_handle_method_call, 844s # _org_project_useful_interface_skeleton_handle_get_property, 844s # _org_project_useful_interface_skeleton_handle_set_property, 844s # {NULL} 844s # }; 844s # 844s # static GDBusInterfaceInfo * 844s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 844s # { 844s # return org_project_useful_interface_interface_info (); 844s # } 844s # 844s # static GDBusInterfaceVTable * 844s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 844s # { 844s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 844s # } 844s # 844s # static GVariant * 844s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 844s # 844s # GVariantBuilder builder; 844s # guint n; 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 844s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 844s # #else 844s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 844s # #endif 844s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 844s # goto out; 844s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 844s # { 844s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 844s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 844s # { 844s # GVariant *value; 844s # 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); 844s # if (value != NULL) 844s # { 844s # g_variant_take_ref (value); 844s # g_variant_builder_add (&builder, "{sv}", info->name, value); 844s # g_variant_unref (value); 844s # } 844s # } 844s # } 844s # out: 844s # return g_variant_builder_end (&builder); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 844s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 844s # 844s # #else 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 844s # 844s # #endif 844s # static void 844s # org_project_useful_interface_skeleton_finalize (GObject *object) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 844s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 844s # if (skeleton->priv->changed_properties_idle_source != NULL) 844s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 844s # g_main_context_unref (skeleton->priv->context); 844s # g_mutex_clear (&skeleton->priv->lock); 844s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 844s # { 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 844s # #else 844s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 844s # #endif 844s # 844s # g_mutex_init (&skeleton->priv->lock); 844s # skeleton->priv->context = g_main_context_ref_thread_default (); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 844s # { 844s # GObjectClass *gobject_class; 844s # GDBusInterfaceSkeletonClass *skeleton_class; 844s # 844s # gobject_class = G_OBJECT_CLASS (klass); 844s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 844s # 844s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 844s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 844s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 844s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 844s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 844s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 844s # #endif 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_skeleton_new: 844s # * 844s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_skeleton_new (void) 844s # { 844s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 844s # } 844s # Error: 844s # 844s # /tmp/tmpwsrbnec3/tmpxtb7v00a.xml: 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwsrbnec3/tmpxtb7v00a.xml', '--output', '-', '--body'] 844s # Return code: 0 844s # Output: 844s # /* 844s # * This file is generated by gdbus-codegen, do not modify it. 844s # * 844s # * The license of this code is the same as for the D-Bus interface description 844s # * it was derived from. Note that it links to GLib, so must comply with the 844s # * LGPL linking clauses. 844s # */ 844s # 844s # #ifdef HAVE_CONFIG_H 844s # # include "config.h" 844s # #endif 844s # 844s # #include 844s # #ifdef G_OS_UNIX 844s # # include 844s # #endif 844s # 844s # #ifdef G_ENABLE_DEBUG 844s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 844s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 844s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 844s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 844s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 844s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 844s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 844s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 844s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 844s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 844s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 844s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 844s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 844s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 844s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 844s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 844s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 844s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 844s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 844s # #else /* !G_ENABLE_DEBUG */ 844s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 844s # * Do not access GValues directly in your code. Instead, use the 844s # * g_value_get_*() functions 844s # */ 844s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 844s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 844s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 844s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 844s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 844s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 844s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 844s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 844s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 844s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 844s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 844s # #endif /* !G_ENABLE_DEBUG */ 844s # 844s # typedef struct 844s # { 844s # GDBusArgInfo parent_struct; 844s # gboolean use_gvariant; 844s # } _ExtendedGDBusArgInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusMethodInfo parent_struct; 844s # const gchar *signal_name; 844s # gboolean pass_fdlist; 844s # } _ExtendedGDBusMethodInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusSignalInfo parent_struct; 844s # const gchar *signal_name; 844s # } _ExtendedGDBusSignalInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusPropertyInfo parent_struct; 844s # const gchar *hyphen_name; 844s # guint use_gvariant : 1; 844s # guint emits_changed_signal : 1; 844s # } _ExtendedGDBusPropertyInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusInterfaceInfo parent_struct; 844s # const gchar *hyphen_name; 844s # } _ExtendedGDBusInterfaceInfo; 844s # 844s # typedef struct 844s # { 844s # const _ExtendedGDBusPropertyInfo *info; 844s # guint prop_id; 844s # GValue orig_value; /* the value before the change */ 844s # } ChangedProperty; 844s # 844s # static void 844s # _changed_property_free (ChangedProperty *data) 844s # { 844s # g_value_unset (&data->orig_value); 844s # g_free (data); 844s # } 844s # 844s # static gboolean 844s # _g_strv_equal0 (gchar **a, gchar **b) 844s # { 844s # gboolean ret = FALSE; 844s # guint n; 844s # if (a == NULL && b == NULL) 844s # { 844s # ret = TRUE; 844s # goto out; 844s # } 844s # if (a == NULL || b == NULL) 844s # goto out; 844s # if (g_strv_length (a) != g_strv_length (b)) 844s # goto out; 844s # for (n = 0; a[n] != NULL; n++) 844s # if (g_strcmp0 (a[n], b[n]) != 0) 844s # goto out; 844s # ret = TRUE; 844s # out: 844s # return ret; 844s # } 844s # 844s # static gboolean 844s # _g_variant_equal0 (GVariant *a, GVariant *b) 844s # { 844s # gboolean ret = FALSE; 844s # if (a == NULL && b == NULL) 844s # { 844s # ret = TRUE; 844s # goto out; 844s # } 844s # if (a == NULL || b == NULL) 844s # goto out; 844s # ret = g_variant_equal (a, b); 844s # out: 844s # return ret; 844s # } 844s # 844s # G_GNUC_UNUSED static gboolean 844s # _g_value_equal (const GValue *a, const GValue *b) 844s # { 844s # gboolean ret = FALSE; 844s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 844s # switch (G_VALUE_TYPE (a)) 844s # { 844s # case G_TYPE_BOOLEAN: 844s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 844s # break; 844s # case G_TYPE_UCHAR: 844s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 844s # break; 844s # case G_TYPE_INT: 844s # ret = (g_value_get_int (a) == g_value_get_int (b)); 844s # break; 844s # case G_TYPE_UINT: 844s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 844s # break; 844s # case G_TYPE_INT64: 844s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 844s # break; 844s # case G_TYPE_UINT64: 844s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 844s # break; 844s # case G_TYPE_DOUBLE: 844s # { 844s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 844s # gdouble da = g_value_get_double (a); 844s # gdouble db = g_value_get_double (b); 844s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 844s # } 844s # break; 844s # case G_TYPE_STRING: 844s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 844s # break; 844s # case G_TYPE_VARIANT: 844s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 844s # break; 844s # default: 844s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 844s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 844s # else 844s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 844s # break; 844s # } 844s # return ret; 844s # } 844s # 844s # static void 844s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 844s # GClosure *closure, 844s # GValue *return_value, 844s # unsigned int n_param_values, 844s # const GValue *param_values, 844s # void *invocation_hint G_GNUC_UNUSED, 844s # void *marshal_data) 844s # { 844s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 844s # (void *data1, 844s # GDBusMethodInvocation *arg_method_invocation, 844s # const gchar *const *arg_arg_ao, 844s # void *data2); 844s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 844s # GCClosure *cc = (GCClosure*) closure; 844s # void *data1, *data2; 844s # gboolean v_return; 844s # 844s # g_return_if_fail (return_value != NULL); 844s # g_return_if_fail (n_param_values == 3); 844s # 844s # if (G_CCLOSURE_SWAP_DATA (closure)) 844s # { 844s # data1 = closure->data; 844s # data2 = g_value_peek_pointer (param_values + 0); 844s # } 844s # else 844s # { 844s # data1 = g_value_peek_pointer (param_values + 0); 844s # data2 = closure->data; 844s # } 844s # 844s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 844s # (marshal_data ? marshal_data : cc->callback); 844s # 844s # v_return = 844s # callback (data1, 844s # g_marshal_value_peek_object (param_values + 1), 844s # g_marshal_value_peek_boxed (param_values + 2), 844s # data2); 844s # 844s # g_value_set_boolean (return_value, v_return); 844s # } 844s # 844s # /* ------------------------------------------------------------------------ 844s # * Code for interface org.project.UsefulInterface 844s # * ------------------------------------------------------------------------ 844s # */ 844s # 844s # /** 844s # * SECTION:OrgProjectUsefulInterface 844s # * @title: OrgProjectUsefulInterface 844s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 844s # * 844s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 844s # */ 844s # 844s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao = 844s # { 844s # { 844s # -1, 844s # (gchar *) "arg_ao", 844s # (gchar *) "ao", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers[] = 844s # { 844s # &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 844s # { 844s # { 844s # -1, 844s # (gchar *) "SingleArgMethodAo", 844s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers, 844s # NULL, 844s # NULL 844s # }, 844s # "handle-single-arg-method-ao", 844s # FALSE 844s # }; 844s # 844s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 844s # { 844s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 844s # { 844s # { 844s # -1, 844s # (gchar *) "org.project.UsefulInterface", 844s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 844s # NULL, 844s # NULL, 844s # NULL 844s # }, 844s # "org-project-useful-interface", 844s # }; 844s # 844s # 844s # /** 844s # * org_project_useful_interface_interface_info: 844s # * 844s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 844s # * 844s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 844s # */ 844s # GDBusInterfaceInfo * 844s # org_project_useful_interface_interface_info (void) 844s # { 844s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_override_properties: 844s # * @klass: The class structure for a #GObject derived class. 844s # * @property_id_begin: The property id to assign to the first overridden property. 844s # * 844s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 844s # * The properties are overridden in the order they are defined. 844s # * 844s # * Returns: The last property id. 844s # */ 844s # guint 844s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 844s # { 844s # return property_id_begin - 1; 844s # } 844s # 844s # 844s # inline static void 844s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 844s # GClosure *closure, 844s # GValue *return_value, 844s # unsigned int n_param_values, 844s # const GValue *param_values, 844s # void *invocation_hint, 844s # void *marshal_data) 844s # { 844s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 844s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 844s # } 844s # 844s # 844s # /** 844s # * OrgProjectUsefulInterface: 844s # * 844s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 844s # */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceIface: 844s # * @parent_iface: The parent interface. 844s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 844s # * 844s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 844s # */ 844s # 844s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 844s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 844s # 844s # static void 844s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 844s # { 844s # /* GObject signals for incoming D-Bus method calls: */ 844s # /** 844s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 844s # * @object: A #OrgProjectUsefulInterface. 844s # * @invocation: A #GDBusMethodInvocation. 844s # * @arg_arg_ao: Argument passed by remote caller. 844s # * 844s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 844s # * 844s # * 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. 844s # * 844s # * 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. 844s # */ 844s # g_signal_new ("handle-single-arg-method-ao", 844s # G_TYPE_FROM_INTERFACE (iface), 844s # G_SIGNAL_RUN_LAST, 844s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 844s # g_signal_accumulator_true_handled, 844s # NULL, 844s # org_project_useful_interface_method_marshal_single_arg_method_ao, 844s # G_TYPE_BOOLEAN, 844s # 2, 844s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 844s # 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_call_single_arg_method_ao: 844s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 844s # * @arg_arg_ao: Argument to pass with the method invocation. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 844s # * 844s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 844s # */ 844s # void 844s # org_project_useful_interface_call_single_arg_method_ao ( 844s # OrgProjectUsefulInterface *proxy, 844s # const gchar *const *arg_arg_ao, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 844s # "SingleArgMethodAo", 844s # g_variant_new ("(^ao)", 844s # arg_arg_ao), 844s # G_DBUS_CALL_FLAGS_NONE, 844s # -1, 844s # cancellable, 844s # callback, 844s # user_data); 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_call_single_arg_method_ao_finish: 844s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 844s # * @error: Return location for error or %NULL. 844s # * 844s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 844s # * 844s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 844s # */ 844s # gboolean 844s # org_project_useful_interface_call_single_arg_method_ao_finish ( 844s # OrgProjectUsefulInterface *proxy, 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GVariant *_ret; 844s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 844s # if (_ret == NULL) 844s # goto _out; 844s # g_variant_get (_ret, 844s # "()"); 844s # g_variant_unref (_ret); 844s # _out: 844s # return _ret != NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_call_single_arg_method_ao_sync: 844s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 844s # * @arg_arg_ao: Argument to pass with the method invocation. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL. 844s # * 844s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 844s # * 844s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 844s # */ 844s # gboolean 844s # org_project_useful_interface_call_single_arg_method_ao_sync ( 844s # OrgProjectUsefulInterface *proxy, 844s # const gchar *const *arg_arg_ao, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GVariant *_ret; 844s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 844s # "SingleArgMethodAo", 844s # g_variant_new ("(^ao)", 844s # arg_arg_ao), 844s # G_DBUS_CALL_FLAGS_NONE, 844s # -1, 844s # cancellable, 844s # error); 844s # if (_ret == NULL) 844s # goto _out; 844s # g_variant_get (_ret, 844s # "()"); 844s # g_variant_unref (_ret); 844s # _out: 844s # return _ret != NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_complete_single_arg_method_ao: 844s # * @object: A #OrgProjectUsefulInterface. 844s # * @invocation: (transfer full): A #GDBusMethodInvocation. 844s # * 844s # * 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. 844s # * 844s # * This method will free @invocation, you cannot use it afterwards. 844s # */ 844s # void 844s # org_project_useful_interface_complete_single_arg_method_ao ( 844s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 844s # GDBusMethodInvocation *invocation) 844s # { 844s # g_dbus_method_invocation_return_value (invocation, 844s # g_variant_new ("()")); 844s # } 844s # 844s # /* ------------------------------------------------------------------------ */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceProxy: 844s # * 844s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 844s # */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceProxyClass: 844s # * @parent_class: The parent class. 844s # * 844s # * Class structure for #OrgProjectUsefulInterfaceProxy. 844s # */ 844s # 844s # struct _OrgProjectUsefulInterfaceProxyPrivate 844s # { 844s # GData *qdata; 844s # }; 844s # 844s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 844s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 844s # 844s # #else 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 844s # 844s # #endif 844s # static void 844s # org_project_useful_interface_proxy_finalize (GObject *object) 844s # { 844s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 844s # g_datalist_clear (&proxy->priv->qdata); 844s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 844s # guint prop_id G_GNUC_UNUSED, 844s # GValue *value G_GNUC_UNUSED, 844s # GParamSpec *pspec G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 844s # guint prop_id G_GNUC_UNUSED, 844s # const GValue *value G_GNUC_UNUSED, 844s # GParamSpec *pspec G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 844s # const gchar *sender_name G_GNUC_UNUSED, 844s # const gchar *signal_name, 844s # GVariant *parameters) 844s # { 844s # _ExtendedGDBusSignalInfo *info; 844s # GVariantIter iter; 844s # GVariant *child; 844s # GValue *paramv; 844s # gsize num_params; 844s # gsize n; 844s # guint signal_id; 844s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 844s # if (info == NULL) 844s # return; 844s # num_params = g_variant_n_children (parameters); 844s # paramv = g_new0 (GValue, num_params + 1); 844s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_value_set_object (¶mv[0], proxy); 844s # g_variant_iter_init (&iter, parameters); 844s # n = 1; 844s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 844s # { 844s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 844s # if (arg_info->use_gvariant) 844s # { 844s # g_value_init (¶mv[n], G_TYPE_VARIANT); 844s # g_value_set_variant (¶mv[n], child); 844s # n++; 844s # } 844s # else 844s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 844s # g_variant_unref (child); 844s # } 844s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_signal_emitv (paramv, signal_id, 0, NULL); 844s # for (n = 0; n < num_params + 1; n++) 844s # g_value_unset (¶mv[n]); 844s # g_free (paramv); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 844s # GVariant *changed_properties, 844s # const gchar *const *invalidated_properties) 844s # { 844s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 844s # guint n; 844s # const gchar *key; 844s # GVariantIter *iter; 844s # _ExtendedGDBusPropertyInfo *info; 844s # g_variant_get (changed_properties, "a{sv}", &iter); 844s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 844s # { 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 844s # g_datalist_remove_data (&proxy->priv->qdata, key); 844s # if (info != NULL) 844s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 844s # } 844s # g_variant_iter_free (iter); 844s # for (n = 0; invalidated_properties[n] != NULL; n++) 844s # { 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 844s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 844s # if (info != NULL) 844s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 844s # } 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 844s # { 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 844s # #else 844s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 844s # #endif 844s # 844s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 844s # { 844s # GObjectClass *gobject_class; 844s # GDBusProxyClass *proxy_class; 844s # 844s # gobject_class = G_OBJECT_CLASS (klass); 844s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 844s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 844s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 844s # 844s # proxy_class = G_DBUS_PROXY_CLASS (klass); 844s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 844s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 844s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 844s # #endif 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new: 844s # * @connection: A #GDBusConnection. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 844s # * 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 844s # * 844s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 844s # */ 844s # void 844s # org_project_useful_interface_proxy_new ( 844s # GDBusConnection *connection, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # g_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); 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_finish: 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 844s # * @error: Return location for error or %NULL 844s # * 844s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_finish ( 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GObject *ret; 844s # GObject *source_object; 844s # source_object = g_async_result_get_source_object (res); 844s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 844s # g_object_unref (source_object); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_sync: 844s # * @connection: A #GDBusConnection. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL 844s # * 844s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 844s # * 844s # * The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_sync ( 844s # GDBusConnection *connection, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GInitable *ret; 844s # 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); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_for_bus: 844s # * @bus_type: A #GBusType. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: A bus name (well-known or unique). 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 844s # * 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 844s # * 844s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 844s # */ 844s # void 844s # org_project_useful_interface_proxy_new_for_bus ( 844s # GBusType bus_type, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # g_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); 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_for_bus_finish: 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 844s # * @error: Return location for error or %NULL 844s # * 844s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_for_bus_finish ( 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GObject *ret; 844s # GObject *source_object; 844s # source_object = g_async_result_get_source_object (res); 844s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 844s # g_object_unref (source_object); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_for_bus_sync: 844s # * @bus_type: A #GBusType. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: A bus name (well-known or unique). 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL 844s # * 844s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 844s # * 844s # * The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_for_bus_sync ( 844s # GBusType bus_type, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GInitable *ret; 844s # 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); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # 844s # /* ------------------------------------------------------------------------ */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceSkeleton: 844s # * 844s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 844s # */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceSkeletonClass: 844s # * @parent_class: The parent class. 844s # * 844s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 844s # */ 844s # 844s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 844s # { 844s # GValue *properties; 844s # GList *changed_properties; 844s # GSource *changed_properties_idle_source; 844s # GMainContext *context; 844s # GMutex lock; 844s # }; 844s # 844s # static void 844s # _org_project_useful_interface_skeleton_handle_method_call ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name, 844s # const gchar *method_name, 844s # GVariant *parameters, 844s # GDBusMethodInvocation *invocation, 844s # gpointer user_data) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 844s # _ExtendedGDBusMethodInfo *info; 844s # GVariantIter iter; 844s # GVariant *child; 844s # GValue *paramv; 844s # gsize num_params; 844s # guint num_extra; 844s # gsize n; 844s # guint signal_id; 844s # GValue return_value = G_VALUE_INIT; 844s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 844s # g_assert (info != NULL); 844s # num_params = g_variant_n_children (parameters); 844s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 844s # n = 0; 844s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_value_set_object (¶mv[n++], skeleton); 844s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 844s # g_value_set_object (¶mv[n++], invocation); 844s # if (info->pass_fdlist) 844s # { 844s # #ifdef G_OS_UNIX 844s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 844s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 844s # #else 844s # g_assert_not_reached (); 844s # #endif 844s # } 844s # g_variant_iter_init (&iter, parameters); 844s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 844s # { 844s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 844s # if (arg_info->use_gvariant) 844s # { 844s # g_value_init (¶mv[n], G_TYPE_VARIANT); 844s # g_value_set_variant (¶mv[n], child); 844s # n++; 844s # } 844s # else 844s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 844s # g_variant_unref (child); 844s # } 844s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_value_init (&return_value, G_TYPE_BOOLEAN); 844s # g_signal_emitv (paramv, signal_id, 0, &return_value); 844s # if (!g_value_get_boolean (&return_value)) 844s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 844s # g_value_unset (&return_value); 844s # for (n = 0; n < num_params + num_extra; n++) 844s # g_value_unset (¶mv[n]); 844s # g_free (paramv); 844s # } 844s # 844s # static GVariant * 844s # _org_project_useful_interface_skeleton_handle_get_property ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name G_GNUC_UNUSED, 844s # const gchar *property_name, 844s # GError **error, 844s # gpointer user_data) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 844s # GValue value = G_VALUE_INIT; 844s # GParamSpec *pspec; 844s # _ExtendedGDBusPropertyInfo *info; 844s # GVariant *ret; 844s # ret = NULL; 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 844s # g_assert (info != NULL); 844s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 844s # if (pspec == NULL) 844s # { 844s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 844s # } 844s # else 844s # { 844s # g_value_init (&value, pspec->value_type); 844s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 844s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 844s # g_value_unset (&value); 844s # } 844s # return ret; 844s # } 844s # 844s # static gboolean 844s # _org_project_useful_interface_skeleton_handle_set_property ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name G_GNUC_UNUSED, 844s # const gchar *property_name, 844s # GVariant *variant, 844s # GError **error, 844s # gpointer user_data) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 844s # GValue value = G_VALUE_INIT; 844s # GParamSpec *pspec; 844s # _ExtendedGDBusPropertyInfo *info; 844s # gboolean ret; 844s # ret = FALSE; 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 844s # g_assert (info != NULL); 844s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 844s # if (pspec == NULL) 844s # { 844s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 844s # } 844s # else 844s # { 844s # if (info->use_gvariant) 844s # g_value_set_variant (&value, variant); 844s # else 844s # g_dbus_gvariant_to_gvalue (variant, &value); 844s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 844s # g_value_unset (&value); 844s # ret = TRUE; 844s # } 844s # return ret; 844s # } 844s # 844s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 844s # { 844s # _org_project_useful_interface_skeleton_handle_method_call, 844s # _org_project_useful_interface_skeleton_handle_get_property, 844s # _org_project_useful_interface_skeleton_handle_set_property, 844s # {NULL} 844s # }; 844s # 844s # static GDBusInterfaceInfo * 844s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 844s # { 844s # return org_project_useful_interface_interface_info (); 844s # } 844s # 844s # static GDBusInterfaceVTable * 844s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 844s # { 844s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 844s # } 844s # 844s # static GVariant * 844s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 844s # 844s # GVariantBuilder builder; 844s # guint n; 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 844s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 844s # #else 844s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 844s # #endif 844s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 844s # goto out; 844s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 844s # { 844s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 844s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 844s # { 844s # GVariant *value; 844s # 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); 844s # if (value != NULL) 844s # { 844s # g_variant_take_ref (value); 844s # g_variant_builder_add (&builder, "{sv}", info->name, value); 844s # g_variant_unref (value); 844s # } 844s # } 844s # } 844s # out: 844s # return g_variant_builder_end (&builder); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 844s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 844s # 844s # #else 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 844s # 844s # #endif 844s # static void 844s # org_project_useful_interface_skeleton_finalize (GObject *object) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 844s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 844s # if (skeleton->priv->changed_properties_idle_source != NULL) 844s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 844s # g_main_context_unref (skeleton->priv->context); 844s # g_mutex_clear (&skeleton->priv->lock); 844s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 844s # { 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 844s # #else 844s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 844s # #endif 844s # 844s # g_mutex_init (&skeleton->priv->lock); 844s # skeleton->priv->context = g_main_context_ref_thread_default (); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 844s # { 844s # GObjectClass *gobject_class; 844s # GDBusInterfaceSkeletonClass *skeleton_class; 844s # 844s # gobject_class = G_OBJECT_CLASS (klass); 844s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 844s # 844s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 844s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 844s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 844s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 844s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 844s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 844s # #endif 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_skeleton_new: 844s # * 844s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_skeleton_new (void) 844s # { 844s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 844s # } 844s # Error: 844s # 844s # /tmp/tmpwsrbnec3/tmpen4lying.xml: 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwsrbnec3/tmpen4lying.xml', '--output', '-', '--body'] 844s # Return code: 0 844s # Output: 844s # /* 844s # * This file is generated by gdbus-codegen, do not modify it. 844s # * 844s # * The license of this code is the same as for the D-Bus interface description 844s # * it was derived from. Note that it links to GLib, so must comply with the 844s # * LGPL linking clauses. 844s # */ 844s # 844s # #ifdef HAVE_CONFIG_H 844s # # include "config.h" 844s # #endif 844s # 844s # #include 844s # #ifdef G_OS_UNIX 844s # # include 844s # #endif 844s # 844s # #ifdef G_ENABLE_DEBUG 844s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 844s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 844s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 844s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 844s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 844s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 844s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 844s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 844s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 844s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 844s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 844s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 844s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 844s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 844s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 844s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 844s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 844s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 844s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 844s # #else /* !G_ENABLE_DEBUG */ 844s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 844s # * Do not access GValues directly in your code. Instead, use the 844s # * g_value_get_*() functions 844s # */ 844s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 844s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 844s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 844s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 844s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 844s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 844s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 844s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 844s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 844s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 844s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 844s # #endif /* !G_ENABLE_DEBUG */ 844s # 844s # typedef struct 844s # { 844s # GDBusArgInfo parent_struct; 844s # gboolean use_gvariant; 844s # } _ExtendedGDBusArgInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusMethodInfo parent_struct; 844s # const gchar *signal_name; 844s # gboolean pass_fdlist; 844s # } _ExtendedGDBusMethodInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusSignalInfo parent_struct; 844s # const gchar *signal_name; 844s # } _ExtendedGDBusSignalInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusPropertyInfo parent_struct; 844s # const gchar *hyphen_name; 844s # guint use_gvariant : 1; 844s # guint emits_changed_signal : 1; 844s # } _ExtendedGDBusPropertyInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusInterfaceInfo parent_struct; 844s # const gchar *hyphen_name; 844s # } _ExtendedGDBusInterfaceInfo; 844s # 844s # typedef struct 844s # { 844s # const _ExtendedGDBusPropertyInfo *info; 844s # guint prop_id; 844s # GValue orig_value; /* the value before the change */ 844s # } ChangedProperty; 844s # 844s # static void 844s # _changed_property_free (ChangedProperty *data) 844s # { 844s # g_value_unset (&data->orig_value); 844s # g_free (data); 844s # } 844s # 844s # static gboolean 844s # _g_strv_equal0 (gchar **a, gchar **b) 844s # { 844s # gboolean ret = FALSE; 844s # guint n; 844s # if (a == NULL && b == NULL) 844s # { 844s # ret = TRUE; 844s # goto out; 844s # } 844s # if (a == NULL || b == NULL) 844s # goto out; 844s # if (g_strv_length (a) != g_strv_length (b)) 844s # goto out; 844s # for (n = 0; a[n] != NULL; n++) 844s # if (g_strcmp0 (a[n], b[n]) != 0) 844s # goto out; 844s # ret = TRUE; 844s # out: 844s # return ret; 844s # } 844s # 844s # static gboolean 844s # _g_variant_equal0 (GVariant *a, GVariant *b) 844s # { 844s # gboolean ret = FALSE; 844s # if (a == NULL && b == NULL) 844s # { 844s # ret = TRUE; 844s # goto out; 844s # } 844s # if (a == NULL || b == NULL) 844s # goto out; 844s # ret = g_variant_equal (a, b); 844s # out: 844s # return ret; 844s # } 844s # 844s # G_GNUC_UNUSED static gboolean 844s # _g_value_equal (const GValue *a, const GValue *b) 844s # { 844s # gboolean ret = FALSE; 844s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 844s # switch (G_VALUE_TYPE (a)) 844s # { 844s # case G_TYPE_BOOLEAN: 844s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 844s # break; 844s # case G_TYPE_UCHAR: 844s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 844s # break; 844s # case G_TYPE_INT: 844s # ret = (g_value_get_int (a) == g_value_get_int (b)); 844s # break; 844s # case G_TYPE_UINT: 844s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 844s # break; 844s # case G_TYPE_INT64: 844s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 844s # break; 844s # case G_TYPE_UINT64: 844s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 844s # break; 844s # case G_TYPE_DOUBLE: 844s # { 844s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 844s # gdouble da = g_value_get_double (a); 844s # gdouble db = g_value_get_double (b); 844s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 844s # } 844s # break; 844s # case G_TYPE_STRING: 844s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 844s # break; 844s # case G_TYPE_VARIANT: 844s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 844s # break; 844s # default: 844s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 844s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 844s # else 844s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 844s # break; 844s # } 844s # return ret; 844s # } 844s # 844s # static void 844s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 844s # GClosure *closure, 844s # GValue *return_value, 844s # unsigned int n_param_values, 844s # const GValue *param_values, 844s # void *invocation_hint G_GNUC_UNUSED, 844s # void *marshal_data) 844s # { 844s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 844s # (void *data1, 844s # GDBusMethodInvocation *arg_method_invocation, 844s # const gchar *const *arg_arg_aay, 844s # void *data2); 844s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 844s # GCClosure *cc = (GCClosure*) closure; 844s # void *data1, *data2; 844s # gboolean v_return; 844s # 844s # g_return_if_fail (return_value != NULL); 844s # g_return_if_fail (n_param_values == 3); 844s # 844s # if (G_CCLOSURE_SWAP_DATA (closure)) 844s # { 844s # data1 = closure->data; 844s # data2 = g_value_peek_pointer (param_values + 0); 844s # } 844s # else 844s # { 844s # data1 = g_value_peek_pointer (param_values + 0); 844s # data2 = closure->data; 844s # } 844s # 844s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 844s # (marshal_data ? marshal_data : cc->callback); 844s # 844s # v_return = 844s # callback (data1, 844s # g_marshal_value_peek_object (param_values + 1), 844s # g_marshal_value_peek_boxed (param_values + 2), 844s # data2); 844s # 844s # g_value_set_boolean (return_value, v_return); 844s # } 844s # 844s # /* ------------------------------------------------------------------------ 844s # * Code for interface org.project.UsefulInterface 844s # * ------------------------------------------------------------------------ 844s # */ 844s # 844s # /** 844s # * SECTION:OrgProjectUsefulInterface 844s # * @title: OrgProjectUsefulInterface 844s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 844s # * 844s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 844s # */ 844s # 844s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay = 844s # { 844s # { 844s # -1, 844s # (gchar *) "arg_aay", 844s # (gchar *) "aay", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers[] = 844s # { 844s # &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 844s # { 844s # { 844s # -1, 844s # (gchar *) "SingleArgMethodAay", 844s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers, 844s # NULL, 844s # NULL 844s # }, 844s # "handle-single-arg-method-aay", 844s # FALSE 844s # }; 844s # 844s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 844s # { 844s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 844s # { 844s # { 844s # -1, 844s # (gchar *) "org.project.UsefulInterface", 844s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 844s # NULL, 844s # NULL, 844s # NULL 844s # }, 844s # "org-project-useful-interface", 844s # }; 844s # 844s # 844s # /** 844s # * org_project_useful_interface_interface_info: 844s # * 844s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 844s # * 844s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 844s # */ 844s # GDBusInterfaceInfo * 844s # org_project_useful_interface_interface_info (void) 844s # { 844s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_override_properties: 844s # * @klass: The class structure for a #GObject derived class. 844s # * @property_id_begin: The property id to assign to the first overridden property. 844s # * 844s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 844s # * The properties are overridden in the order they are defined. 844s # * 844s # * Returns: The last property id. 844s # */ 844s # guint 844s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 844s # { 844s # return property_id_begin - 1; 844s # } 844s # 844s # 844s # inline static void 844s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 844s # GClosure *closure, 844s # GValue *return_value, 844s # unsigned int n_param_values, 844s # const GValue *param_values, 844s # void *invocation_hint, 844s # void *marshal_data) 844s # { 844s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 844s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 844s # } 844s # 844s # 844s # /** 844s # * OrgProjectUsefulInterface: 844s # * 844s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 844s # */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceIface: 844s # * @parent_iface: The parent interface. 844s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 844s # * 844s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 844s # */ 844s # 844s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 844s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 844s # 844s # static void 844s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 844s # { 844s # /* GObject signals for incoming D-Bus method calls: */ 844s # /** 844s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 844s # * @object: A #OrgProjectUsefulInterface. 844s # * @invocation: A #GDBusMethodInvocation. 844s # * @arg_arg_aay: Argument passed by remote caller. 844s # * 844s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 844s # * 844s # * 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. 844s # * 844s # * 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. 844s # */ 844s # g_signal_new ("handle-single-arg-method-aay", 844s # G_TYPE_FROM_INTERFACE (iface), 844s # G_SIGNAL_RUN_LAST, 844s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 844s # g_signal_accumulator_true_handled, 844s # NULL, 844s # org_project_useful_interface_method_marshal_single_arg_method_aay, 844s # G_TYPE_BOOLEAN, 844s # 2, 844s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 844s # 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_call_single_arg_method_aay: 844s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 844s # * @arg_arg_aay: Argument to pass with the method invocation. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 844s # * 844s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 844s # */ 844s # void 844s # org_project_useful_interface_call_single_arg_method_aay ( 844s # OrgProjectUsefulInterface *proxy, 844s # const gchar *const *arg_arg_aay, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 844s # "SingleArgMethodAay", 844s # g_variant_new ("(^aay)", 844s # arg_arg_aay), 844s # G_DBUS_CALL_FLAGS_NONE, 844s # -1, 844s # cancellable, 844s # callback, 844s # user_data); 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_call_single_arg_method_aay_finish: 844s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 844s # * @error: Return location for error or %NULL. 844s # * 844s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 844s # * 844s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 844s # */ 844s # gboolean 844s # org_project_useful_interface_call_single_arg_method_aay_finish ( 844s # OrgProjectUsefulInterface *proxy, 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GVariant *_ret; 844s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 844s # if (_ret == NULL) 844s # goto _out; 844s # g_variant_get (_ret, 844s # "()"); 844s # g_variant_unref (_ret); 844s # _out: 844s # return _ret != NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_call_single_arg_method_aay_sync: 844s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 844s # * @arg_arg_aay: Argument to pass with the method invocation. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL. 844s # * 844s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 844s # * 844s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 844s # */ 844s # gboolean 844s # org_project_useful_interface_call_single_arg_method_aay_sync ( 844s # OrgProjectUsefulInterface *proxy, 844s # const gchar *const *arg_arg_aay, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GVariant *_ret; 844s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 844s # "SingleArgMethodAay", 844s # g_variant_new ("(^aay)", 844s # arg_arg_aay), 844s # G_DBUS_CALL_FLAGS_NONE, 844s # -1, 844s # cancellable, 844s # error); 844s # if (_ret == NULL) 844s # goto _out; 844s # g_variant_get (_ret, 844s # "()"); 844s # g_variant_unref (_ret); 844s # _out: 844s # return _ret != NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_complete_single_arg_method_aay: 844s # * @object: A #OrgProjectUsefulInterface. 844s # * @invocation: (transfer full): A #GDBusMethodInvocation. 844s # * 844s # * 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. 844s # * 844s # * This method will free @invocation, you cannot use it afterwards. 844s # */ 844s # void 844s # org_project_useful_interface_complete_single_arg_method_aay ( 844s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 844s # GDBusMethodInvocation *invocation) 844s # { 844s # g_dbus_method_invocation_return_value (invocation, 844s # g_variant_new ("()")); 844s # } 844s # 844s # /* ------------------------------------------------------------------------ */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceProxy: 844s # * 844s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 844s # */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceProxyClass: 844s # * @parent_class: The parent class. 844s # * 844s # * Class structure for #OrgProjectUsefulInterfaceProxy. 844s # */ 844s # 844s # struct _OrgProjectUsefulInterfaceProxyPrivate 844s # { 844s # GData *qdata; 844s # }; 844s # 844s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 844s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 844s # 844s # #else 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 844s # 844s # #endif 844s # static void 844s # org_project_useful_interface_proxy_finalize (GObject *object) 844s # { 844s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 844s # g_datalist_clear (&proxy->priv->qdata); 844s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 844s # guint prop_id G_GNUC_UNUSED, 844s # GValue *value G_GNUC_UNUSED, 844s # GParamSpec *pspec G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 844s # guint prop_id G_GNUC_UNUSED, 844s # const GValue *value G_GNUC_UNUSED, 844s # GParamSpec *pspec G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 844s # const gchar *sender_name G_GNUC_UNUSED, 844s # const gchar *signal_name, 844s # GVariant *parameters) 844s # { 844s # _ExtendedGDBusSignalInfo *info; 844s # GVariantIter iter; 844s # GVariant *child; 844s # GValue *paramv; 844s # gsize num_params; 844s # gsize n; 844s # guint signal_id; 844s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 844s # if (info == NULL) 844s # return; 844s # num_params = g_variant_n_children (parameters); 844s # paramv = g_new0 (GValue, num_params + 1); 844s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_value_set_object (¶mv[0], proxy); 844s # g_variant_iter_init (&iter, parameters); 844s # n = 1; 844s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 844s # { 844s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 844s # if (arg_info->use_gvariant) 844s # { 844s # g_value_init (¶mv[n], G_TYPE_VARIANT); 844s # g_value_set_variant (¶mv[n], child); 844s # n++; 844s # } 844s # else 844s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 844s # g_variant_unref (child); 844s # } 844s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_signal_emitv (paramv, signal_id, 0, NULL); 844s # for (n = 0; n < num_params + 1; n++) 844s # g_value_unset (¶mv[n]); 844s # g_free (paramv); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 844s # GVariant *changed_properties, 844s # const gchar *const *invalidated_properties) 844s # { 844s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 844s # guint n; 844s # const gchar *key; 844s # GVariantIter *iter; 844s # _ExtendedGDBusPropertyInfo *info; 844s # g_variant_get (changed_properties, "a{sv}", &iter); 844s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 844s # { 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 844s # g_datalist_remove_data (&proxy->priv->qdata, key); 844s # if (info != NULL) 844s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 844s # } 844s # g_variant_iter_free (iter); 844s # for (n = 0; invalidated_properties[n] != NULL; n++) 844s # { 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 844s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 844s # if (info != NULL) 844s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 844s # } 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 844s # { 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 844s # #else 844s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 844s # #endif 844s # 844s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 844s # { 844s # GObjectClass *gobject_class; 844s # GDBusProxyClass *proxy_class; 844s # 844s # gobject_class = G_OBJECT_CLASS (klass); 844s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 844s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 844s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 844s # 844s # proxy_class = G_DBUS_PROXY_CLASS (klass); 844s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 844s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 844s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 844s # #endif 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new: 844s # * @connection: A #GDBusConnection. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 844s # * 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 844s # * 844s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 844s # */ 844s # void 844s # org_project_useful_interface_proxy_new ( 844s # GDBusConnection *connection, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # g_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); 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_finish: 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 844s # * @error: Return location for error or %NULL 844s # * 844s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_finish ( 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GObject *ret; 844s # GObject *source_object; 844s # source_object = g_async_result_get_source_object (res); 844s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 844s # g_object_unref (source_object); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_sync: 844s # * @connection: A #GDBusConnection. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL 844s # * 844s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 844s # * 844s # * The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_sync ( 844s # GDBusConnection *connection, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GInitable *ret; 844s # 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); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_for_bus: 844s # * @bus_type: A #GBusType. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: A bus name (well-known or unique). 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 844s # * 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 844s # * 844s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 844s # */ 844s # void 844s # org_project_useful_interface_proxy_new_for_bus ( 844s # GBusType bus_type, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # g_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); 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_for_bus_finish: 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 844s # * @error: Return location for error or %NULL 844s # * 844s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_for_bus_finish ( 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GObject *ret; 844s # GObject *source_object; 844s # source_object = g_async_result_get_source_object (res); 844s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 844s # g_object_unref (source_object); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_for_bus_sync: 844s # * @bus_type: A #GBusType. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: A bus name (well-known or unique). 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL 844s # * 844s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 844s # * 844s # * The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_for_bus_sync ( 844s # GBusType bus_type, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GInitable *ret; 844s # 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); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # 844s # /* ------------------------------------------------------------------------ */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceSkeleton: 844s # * 844s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 844s # */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceSkeletonClass: 844s # * @parent_class: The parent class. 844s # * 844s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 844s # */ 844s # 844s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 844s # { 844s # GValue *properties; 844s # GList *changed_properties; 844s # GSource *changed_properties_idle_source; 844s # GMainContext *context; 844s # GMutex lock; 844s # }; 844s # 844s # static void 844s # _org_project_useful_interface_skeleton_handle_method_call ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name, 844s # const gchar *method_name, 844s # GVariant *parameters, 844s # GDBusMethodInvocation *invocation, 844s # gpointer user_data) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 844s # _ExtendedGDBusMethodInfo *info; 844s # GVariantIter iter; 844s # GVariant *child; 844s # GValue *paramv; 844s # gsize num_params; 844s # guint num_extra; 844s # gsize n; 844s # guint signal_id; 844s # GValue return_value = G_VALUE_INIT; 844s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 844s # g_assert (info != NULL); 844s # num_params = g_variant_n_children (parameters); 844s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 844s # n = 0; 844s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_value_set_object (¶mv[n++], skeleton); 844s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 844s # g_value_set_object (¶mv[n++], invocation); 844s # if (info->pass_fdlist) 844s # { 844s # #ifdef G_OS_UNIX 844s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 844s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 844s # #else 844s # g_assert_not_reached (); 844s # #endif 844s # } 844s # g_variant_iter_init (&iter, parameters); 844s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 844s # { 844s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 844s # if (arg_info->use_gvariant) 844s # { 844s # g_value_init (¶mv[n], G_TYPE_VARIANT); 844s # g_value_set_variant (¶mv[n], child); 844s # n++; 844s # } 844s # else 844s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 844s # g_variant_unref (child); 844s # } 844s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_value_init (&return_value, G_TYPE_BOOLEAN); 844s # g_signal_emitv (paramv, signal_id, 0, &return_value); 844s # if (!g_value_get_boolean (&return_value)) 844s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 844s # g_value_unset (&return_value); 844s # for (n = 0; n < num_params + num_extra; n++) 844s # g_value_unset (¶mv[n]); 844s # g_free (paramv); 844s # } 844s # 844s # static GVariant * 844s # _org_project_useful_interface_skeleton_handle_get_property ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name G_GNUC_UNUSED, 844s # const gchar *property_name, 844s # GError **error, 844s # gpointer user_data) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 844s # GValue value = G_VALUE_INIT; 844s # GParamSpec *pspec; 844s # _ExtendedGDBusPropertyInfo *info; 844s # GVariant *ret; 844s # ret = NULL; 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 844s # g_assert (info != NULL); 844s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 844s # if (pspec == NULL) 844s # { 844s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 844s # } 844s # else 844s # { 844s # g_value_init (&value, pspec->value_type); 844s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 844s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 844s # g_value_unset (&value); 844s # } 844s # return ret; 844s # } 844s # 844s # static gboolean 844s # _org_project_useful_interface_skeleton_handle_set_property ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name G_GNUC_UNUSED, 844s # const gchar *property_name, 844s # GVariant *variant, 844s # GError **error, 844s # gpointer user_data) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 844s # GValue value = G_VALUE_INIT; 844s # GParamSpec *pspec; 844s # _ExtendedGDBusPropertyInfo *info; 844s # gboolean ret; 844s # ret = FALSE; 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 844s # g_assert (info != NULL); 844s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 844s # if (pspec == NULL) 844s # { 844s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 844s # } 844s # else 844s # { 844s # if (info->use_gvariant) 844s # g_value_set_variant (&value, variant); 844s # else 844s # g_dbus_gvariant_to_gvalue (variant, &value); 844s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 844s # g_value_unset (&value); 844s # ret = TRUE; 844s # } 844s # return ret; 844s # } 844s # 844s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 844s # { 844s # _org_project_useful_interface_skeleton_handle_method_call, 844s # _org_project_useful_interface_skeleton_handle_get_property, 844s # _org_project_useful_interface_skeleton_handle_set_property, 844s # {NULL} 844s # }; 844s # 844s # static GDBusInterfaceInfo * 844s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 844s # { 844s # return org_project_useful_interface_interface_info (); 844s # } 844s # 844s # static GDBusInterfaceVTable * 844s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 844s # { 844s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 844s # } 844s # 844s # static GVariant * 844s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 844s # 844s # GVariantBuilder builder; 844s # guint n; 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 844s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 844s # #else 844s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 844s # #endif 844s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 844s # goto out; 844s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 844s # { 844s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 844s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 844s # { 844s # GVariant *value; 844s # 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); 844s # if (value != NULL) 844s # { 844s # g_variant_take_ref (value); 844s # g_variant_builder_add (&builder, "{sv}", info->name, value); 844s # g_variant_unref (value); 844s # } 844s # } 844s # } 844s # out: 844s # return g_variant_builder_end (&builder); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 844s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 844s # 844s # #else 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 844s # 844s # #endif 844s # static void 844s # org_project_useful_interface_skeleton_finalize (GObject *object) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 844s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 844s # if (skeleton->priv->changed_properties_idle_source != NULL) 844s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 844s # g_main_context_unref (skeleton->priv->context); 844s # g_mutex_clear (&skeleton->priv->lock); 844s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 844s # { 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 844s # #else 844s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 844s # #endif 844s # 844s # g_mutex_init (&skeleton->priv->lock); 844s # skeleton->priv->context = g_main_context_ref_thread_default (); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 844s # { 844s # GObjectClass *gobject_class; 844s # GDBusInterfaceSkeletonClass *skeleton_class; 844s # 844s # gobject_class = G_OBJECT_CLASS (klass); 844s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 844s # 844s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 844s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 844s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 844s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 844s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 844s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 844s # #endif 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_skeleton_new: 844s # * 844s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_skeleton_new (void) 844s # { 844s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 844s # } 844s # Error: 844s # 844s # /tmp/tmpwsrbnec3/tmprc0nkq55.xml: 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwsrbnec3/tmprc0nkq55.xml', '--output', '-', '--body'] 844s # Return code: 0 844s # Output: 844s # /* 844s # * This file is generated by gdbus-codegen, do not modify it. 844s # * 844s # * The license of this code is the same as for the D-Bus interface description 844s # * it was derived from. Note that it links to GLib, so must comply with the 844s # * LGPL linking clauses. 844s # */ 844s # 844s # #ifdef HAVE_CONFIG_H 844s # # include "config.h" 844s # #endif 844s # 844s # #include 844s # #ifdef G_OS_UNIX 844s # # include 844s # #endif 844s # 844s # #ifdef G_ENABLE_DEBUG 844s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 844s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 844s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 844s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 844s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 844s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 844s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 844s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 844s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 844s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 844s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 844s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 844s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 844s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 844s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 844s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 844s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 844s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 844s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 844s # #else /* !G_ENABLE_DEBUG */ 844s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 844s # * Do not access GValues directly in your code. Instead, use the 844s # * g_value_get_*() functions 844s # */ 844s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 844s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 844s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 844s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 844s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 844s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 844s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 844s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 844s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 844s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 844s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 844s # #endif /* !G_ENABLE_DEBUG */ 844s # 844s # typedef struct 844s # { 844s # GDBusArgInfo parent_struct; 844s # gboolean use_gvariant; 844s # } _ExtendedGDBusArgInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusMethodInfo parent_struct; 844s # const gchar *signal_name; 844s # gboolean pass_fdlist; 844s # } _ExtendedGDBusMethodInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusSignalInfo parent_struct; 844s # const gchar *signal_name; 844s # } _ExtendedGDBusSignalInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusPropertyInfo parent_struct; 844s # const gchar *hyphen_name; 844s # guint use_gvariant : 1; 844s # guint emits_changed_signal : 1; 844s # } _ExtendedGDBusPropertyInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusInterfaceInfo parent_struct; 844s # const gchar *hyphen_name; 844s # } _ExtendedGDBusInterfaceInfo; 844s # 844s # typedef struct 844s # { 844s # const _ExtendedGDBusPropertyInfo *info; 844s # guint prop_id; 844s # GValue orig_value; /* the value before the change */ 844s # } ChangedProperty; 844s # 844s # static void 844s # _changed_property_free (ChangedProperty *data) 844s # { 844s # g_value_unset (&data->orig_value); 844s # g_free (data); 844s # } 844s # 844s # static gboolean 844s # _g_strv_equal0 (gchar **a, gchar **b) 844s # { 844s # gboolean ret = FALSE; 844s # guint n; 844s # if (a == NULL && b == NULL) 844s # { 844s # ret = TRUE; 844s # goto out; 844s # } 844s # if (a == NULL || b == NULL) 844s # goto out; 844s # if (g_strv_length (a) != g_strv_length (b)) 844s # goto out; 844s # for (n = 0; a[n] != NULL; n++) 844s # if (g_strcmp0 (a[n], b[n]) != 0) 844s # goto out; 844s # ret = TRUE; 844s # out: 844s # return ret; 844s # } 844s # 844s # static gboolean 844s # _g_variant_equal0 (GVariant *a, GVariant *b) 844s # { 844s # gboolean ret = FALSE; 844s # if (a == NULL && b == NULL) 844s # { 844s # ret = TRUE; 844s # goto out; 844s # } 844s # if (a == NULL || b == NULL) 844s # goto out; 844s # ret = g_variant_equal (a, b); 844s # out: 844s # return ret; 844s # } 844s # 844s # G_GNUC_UNUSED static gboolean 844s # _g_value_equal (const GValue *a, const GValue *b) 844s # { 844s # gboolean ret = FALSE; 844s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 844s # switch (G_VALUE_TYPE (a)) 844s # { 844s # case G_TYPE_BOOLEAN: 844s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 844s # break; 844s # case G_TYPE_UCHAR: 844s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 844s # break; 844s # case G_TYPE_INT: 844s # ret = (g_value_get_int (a) == g_value_get_int (b)); 844s # break; 844s # case G_TYPE_UINT: 844s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 844s # break; 844s # case G_TYPE_INT64: 844s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 844s # break; 844s # case G_TYPE_UINT64: 844s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 844s # break; 844s # case G_TYPE_DOUBLE: 844s # { 844s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 844s # gdouble da = g_value_get_double (a); 844s # gdouble db = g_value_get_double (b); 844s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 844s # } 844s # break; 844s # case G_TYPE_STRING: 844s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 844s # break; 844s # case G_TYPE_VARIANT: 844s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 844s # break; 844s # default: 844s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 844s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 844s # else 844s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 844s # break; 844s # } 844s # return ret; 844s # } 844s # 844s # static void 844s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 844s # GClosure *closure, 844s # GValue *return_value, 844s # unsigned int n_param_values, 844s # const GValue *param_values, 844s # void *invocation_hint G_GNUC_UNUSED, 844s # void *marshal_data) 844s # { 844s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 844s # (void *data1, 844s # GDBusMethodInvocation *arg_method_invocation, 844s # GVariant *arg_arg_asv, 844s # void *data2); 844s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 844s # GCClosure *cc = (GCClosure*) closure; 844s # void *data1, *data2; 844s # gboolean v_return; 844s # 844s # g_return_if_fail (return_value != NULL); 844s # g_return_if_fail (n_param_values == 3); 844s # 844s # if (G_CCLOSURE_SWAP_DATA (closure)) 844s # { 844s # data1 = closure->data; 844s # data2 = g_value_peek_pointer (param_values + 0); 844s # } 844s # else 844s # { 844s # data1 = g_value_peek_pointer (param_values + 0); 844s # data2 = closure->data; 844s # } 844s # 844s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 844s # (marshal_data ? marshal_data : cc->callback); 844s # 844s # v_return = 844s # callback (data1, 844s # g_marshal_value_peek_object (param_values + 1), 844s # g_marshal_value_peek_variant (param_values + 2), 844s # data2); 844s # 844s # g_value_set_boolean (return_value, v_return); 844s # } 844s # 844s # /* ------------------------------------------------------------------------ 844s # * Code for interface org.project.UsefulInterface 844s # * ------------------------------------------------------------------------ 844s # */ 844s # 844s # /** 844s # * SECTION:OrgProjectUsefulInterface 844s # * @title: OrgProjectUsefulInterface 844s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 844s # * 844s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 844s # */ 844s # 844s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv = 844s # { 844s # { 844s # -1, 844s # (gchar *) "arg_asv", 844s # (gchar *) "a{sv}", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers[] = 844s # { 844s # &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 844s # { 844s # { 844s # -1, 844s # (gchar *) "SingleArgMethodAsv", 844s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers, 844s # NULL, 844s # NULL 844s # }, 844s # "handle-single-arg-method-asv", 844s # FALSE 844s # }; 844s # 844s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 844s # { 844s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 844s # { 844s # { 844s # -1, 844s # (gchar *) "org.project.UsefulInterface", 844s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 844s # NULL, 844s # NULL, 844s # NULL 844s # }, 844s # "org-project-useful-interface", 844s # }; 844s # 844s # 844s # /** 844s # * org_project_useful_interface_interface_info: 844s # * 844s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 844s # * 844s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 844s # */ 844s # GDBusInterfaceInfo * 844s # org_project_useful_interface_interface_info (void) 844s # { 844s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_override_properties: 844s # * @klass: The class structure for a #GObject derived class. 844s # * @property_id_begin: The property id to assign to the first overridden property. 844s # * 844s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 844s # * The properties are overridden in the order they are defined. 844s # * 844s # * Returns: The last property id. 844s # */ 844s # guint 844s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 844s # { 844s # return property_id_begin - 1; 844s # } 844s # 844s # 844s # inline static void 844s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 844s # GClosure *closure, 844s # GValue *return_value, 844s # unsigned int n_param_values, 844s # const GValue *param_values, 844s # void *invocation_hint, 844s # void *marshal_data) 844s # { 844s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 844s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 844s # } 844s # 844s # 844s # /** 844s # * OrgProjectUsefulInterface: 844s # * 844s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 844s # */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceIface: 844s # * @parent_iface: The parent interface. 844s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 844s # * 844s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 844s # */ 844s # 844s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 844s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 844s # 844s # static void 844s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 844s # { 844s # /* GObject signals for incoming D-Bus method calls: */ 844s # /** 844s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 844s # * @object: A #OrgProjectUsefulInterface. 844s # * @invocation: A #GDBusMethodInvocation. 844s # * @arg_arg_asv: Argument passed by remote caller. 844s # * 844s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 844s # * 844s # * 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. 844s # * 844s # * 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. 844s # */ 844s # g_signal_new ("handle-single-arg-method-asv", 844s # G_TYPE_FROM_INTERFACE (iface), 844s # G_SIGNAL_RUN_LAST, 844s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 844s # g_signal_accumulator_true_handled, 844s # NULL, 844s # org_project_useful_interface_method_marshal_single_arg_method_asv, 844s # G_TYPE_BOOLEAN, 844s # 2, 844s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 844s # 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_call_single_arg_method_asv: 844s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 844s # * @arg_arg_asv: Argument to pass with the method invocation. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 844s # * 844s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 844s # */ 844s # void 844s # org_project_useful_interface_call_single_arg_method_asv ( 844s # OrgProjectUsefulInterface *proxy, 844s # GVariant *arg_arg_asv, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 844s # "SingleArgMethodAsv", 844s # g_variant_new ("(@a{sv})", 844s # arg_arg_asv), 844s # G_DBUS_CALL_FLAGS_NONE, 844s # -1, 844s # cancellable, 844s # callback, 844s # user_data); 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_call_single_arg_method_asv_finish: 844s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 844s # * @error: Return location for error or %NULL. 844s # * 844s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 844s # * 844s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 844s # */ 844s # gboolean 844s # org_project_useful_interface_call_single_arg_method_asv_finish ( 844s # OrgProjectUsefulInterface *proxy, 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GVariant *_ret; 844s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 844s # if (_ret == NULL) 844s # goto _out; 844s # g_variant_get (_ret, 844s # "()"); 844s # g_variant_unref (_ret); 844s # _out: 844s # return _ret != NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_call_single_arg_method_asv_sync: 844s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 844s # * @arg_arg_asv: Argument to pass with the method invocation. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL. 844s # * 844s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 844s # * 844s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 844s # */ 844s # gboolean 844s # org_project_useful_interface_call_single_arg_method_asv_sync ( 844s # OrgProjectUsefulInterface *proxy, 844s # GVariant *arg_arg_asv, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GVariant *_ret; 844s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 844s # "SingleArgMethodAsv", 844s # g_variant_new ("(@a{sv})", 844s # arg_arg_asv), 844s # G_DBUS_CALL_FLAGS_NONE, 844s # -1, 844s # cancellable, 844s # error); 844s # if (_ret == NULL) 844s # goto _out; 844s # g_variant_get (_ret, 844s # "()"); 844s # g_variant_unref (_ret); 844s # _out: 844s # return _ret != NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_complete_single_arg_method_asv: 844s # * @object: A #OrgProjectUsefulInterface. 844s # * @invocation: (transfer full): A #GDBusMethodInvocation. 844s # * 844s # * 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. 844s # * 844s # * This method will free @invocation, you cannot use it afterwards. 844s # */ 844s # void 844s # org_project_useful_interface_complete_single_arg_method_asv ( 844s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 844s # GDBusMethodInvocation *invocation) 844s # { 844s # g_dbus_method_invocation_return_value (invocation, 844s # g_variant_new ("()")); 844s # } 844s # 844s # /* ------------------------------------------------------------------------ */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceProxy: 844s # * 844s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 844s # */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceProxyClass: 844s # * @parent_class: The parent class. 844s # * 844s # * Class structure for #OrgProjectUsefulInterfaceProxy. 844s # */ 844s # 844s # struct _OrgProjectUsefulInterfaceProxyPrivate 844s # { 844s # GData *qdata; 844s # }; 844s # 844s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 844s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 844s # 844s # #else 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 844s # 844s # #endif 844s # static void 844s # org_project_useful_interface_proxy_finalize (GObject *object) 844s # { 844s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 844s # g_datalist_clear (&proxy->priv->qdata); 844s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 844s # guint prop_id G_GNUC_UNUSED, 844s # GValue *value G_GNUC_UNUSED, 844s # GParamSpec *pspec G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 844s # guint prop_id G_GNUC_UNUSED, 844s # const GValue *value G_GNUC_UNUSED, 844s # GParamSpec *pspec G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 844s # const gchar *sender_name G_GNUC_UNUSED, 844s # const gchar *signal_name, 844s # GVariant *parameters) 844s # { 844s # _ExtendedGDBusSignalInfo *info; 844s # GVariantIter iter; 844s # GVariant *child; 844s # GValue *paramv; 844s # gsize num_params; 844s # gsize n; 844s # guint signal_id; 844s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 844s # if (info == NULL) 844s # return; 844s # num_params = g_variant_n_children (parameters); 844s # paramv = g_new0 (GValue, num_params + 1); 844s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_value_set_object (¶mv[0], proxy); 844s # g_variant_iter_init (&iter, parameters); 844s # n = 1; 844s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 844s # { 844s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 844s # if (arg_info->use_gvariant) 844s # { 844s # g_value_init (¶mv[n], G_TYPE_VARIANT); 844s # g_value_set_variant (¶mv[n], child); 844s # n++; 844s # } 844s # else 844s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 844s # g_variant_unref (child); 844s # } 844s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_signal_emitv (paramv, signal_id, 0, NULL); 844s # for (n = 0; n < num_params + 1; n++) 844s # g_value_unset (¶mv[n]); 844s # g_free (paramv); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 844s # GVariant *changed_properties, 844s # const gchar *const *invalidated_properties) 844s # { 844s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 844s # guint n; 844s # const gchar *key; 844s # GVariantIter *iter; 844s # _ExtendedGDBusPropertyInfo *info; 844s # g_variant_get (changed_properties, "a{sv}", &iter); 844s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 844s # { 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 844s # g_datalist_remove_data (&proxy->priv->qdata, key); 844s # if (info != NULL) 844s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 844s # } 844s # g_variant_iter_free (iter); 844s # for (n = 0; invalidated_properties[n] != NULL; n++) 844s # { 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 844s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 844s # if (info != NULL) 844s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 844s # } 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 844s # { 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 844s # #else 844s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 844s # #endif 844s # 844s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 844s # { 844s # GObjectClass *gobject_class; 844s # GDBusProxyClass *proxy_class; 844s # 844s # gobject_class = G_OBJECT_CLASS (klass); 844s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 844s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 844s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 844s # 844s # proxy_class = G_DBUS_PROXY_CLASS (klass); 844s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 844s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 844s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 844s # #endif 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new: 844s # * @connection: A #GDBusConnection. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 844s # * 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 844s # * 844s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 844s # */ 844s # void 844s # org_project_useful_interface_proxy_new ( 844s # GDBusConnection *connection, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # g_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); 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_finish: 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 844s # * @error: Return location for error or %NULL 844s # * 844s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_finish ( 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GObject *ret; 844s # GObject *source_object; 844s # source_object = g_async_result_get_source_object (res); 844s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 844s # g_object_unref (source_object); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_sync: 844s # * @connection: A #GDBusConnection. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL 844s # * 844s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 844s # * 844s # * The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_sync ( 844s # GDBusConnection *connection, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GInitable *ret; 844s # 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); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_for_bus: 844s # * @bus_type: A #GBusType. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: A bus name (well-known or unique). 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 844s # * 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 844s # * 844s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 844s # */ 844s # void 844s # org_project_useful_interface_proxy_new_for_bus ( 844s # GBusType bus_type, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # g_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); 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_for_bus_finish: 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 844s # * @error: Return location for error or %NULL 844s # * 844s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_for_bus_finish ( 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GObject *ret; 844s # GObject *source_object; 844s # source_object = g_async_result_get_source_object (res); 844s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 844s # g_object_unref (source_object); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_for_bus_sync: 844s # * @bus_type: A #GBusType. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: A bus name (well-known or unique). 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL 844s # * 844s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 844s # * 844s # * The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_for_bus_sync ( 844s # GBusType bus_type, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GInitable *ret; 844s # 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); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # 844s # /* ------------------------------------------------------------------------ */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceSkeleton: 844s # * 844s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 844s # */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceSkeletonClass: 844s # * @parent_class: The parent class. 844s # * 844s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 844s # */ 844s # 844s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 844s # { 844s # GValue *properties; 844s # GList *changed_properties; 844s # GSource *changed_properties_idle_source; 844s # GMainContext *context; 844s # GMutex lock; 844s # }; 844s # 844s # static void 844s # _org_project_useful_interface_skeleton_handle_method_call ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name, 844s # const gchar *method_name, 844s # GVariant *parameters, 844s # GDBusMethodInvocation *invocation, 844s # gpointer user_data) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 844s # _ExtendedGDBusMethodInfo *info; 844s # GVariantIter iter; 844s # GVariant *child; 844s # GValue *paramv; 844s # gsize num_params; 844s # guint num_extra; 844s # gsize n; 844s # guint signal_id; 844s # GValue return_value = G_VALUE_INIT; 844s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 844s # g_assert (info != NULL); 844s # num_params = g_variant_n_children (parameters); 844s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 844s # n = 0; 844s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_value_set_object (¶mv[n++], skeleton); 844s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 844s # g_value_set_object (¶mv[n++], invocation); 844s # if (info->pass_fdlist) 844s # { 844s # #ifdef G_OS_UNIX 844s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 844s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 844s # #else 844s # g_assert_not_reached (); 844s # #endif 844s # } 844s # g_variant_iter_init (&iter, parameters); 844s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 844s # { 844s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 844s # if (arg_info->use_gvariant) 844s # { 844s # g_value_init (¶mv[n], G_TYPE_VARIANT); 844s # g_value_set_variant (¶mv[n], child); 844s # n++; 844s # } 844s # else 844s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 844s # g_variant_unref (child); 844s # } 844s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_value_init (&return_value, G_TYPE_BOOLEAN); 844s # g_signal_emitv (paramv, signal_id, 0, &return_value); 844s # if (!g_value_get_boolean (&return_value)) 844s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 844s # g_value_unset (&return_value); 844s # for (n = 0; n < num_params + num_extra; n++) 844s # g_value_unset (¶mv[n]); 844s # g_free (paramv); 844s # } 844s # 844s # static GVariant * 844s # _org_project_useful_interface_skeleton_handle_get_property ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name G_GNUC_UNUSED, 844s # const gchar *property_name, 844s # GError **error, 844s # gpointer user_data) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 844s # GValue value = G_VALUE_INIT; 844s # GParamSpec *pspec; 844s # _ExtendedGDBusPropertyInfo *info; 844s # GVariant *ret; 844s # ret = NULL; 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 844s # g_assert (info != NULL); 844s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 844s # if (pspec == NULL) 844s # { 844s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 844s # } 844s # else 844s # { 844s # g_value_init (&value, pspec->value_type); 844s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 844s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 844s # g_value_unset (&value); 844s # } 844s # return ret; 844s # } 844s # 844s # static gboolean 844s # _org_project_useful_interface_skeleton_handle_set_property ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name G_GNUC_UNUSED, 844s # const gchar *property_name, 844s # GVariant *variant, 844s # GError **error, 844s # gpointer user_data) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 844s # GValue value = G_VALUE_INIT; 844s # GParamSpec *pspec; 844s # _ExtendedGDBusPropertyInfo *info; 844s # gboolean ret; 844s # ret = FALSE; 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 844s # g_assert (info != NULL); 844s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 844s # if (pspec == NULL) 844s # { 844s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 844s # } 844s # else 844s # { 844s # if (info->use_gvariant) 844s # g_value_set_variant (&value, variant); 844s # else 844s # g_dbus_gvariant_to_gvalue (variant, &value); 844s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 844s # g_value_unset (&value); 844s # ret = TRUE; 844s # } 844s # return ret; 844s # } 844s # 844s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 844s # { 844s # _org_project_useful_interface_skeleton_handle_method_call, 844s # _org_project_useful_interface_skeleton_handle_get_property, 844s # _org_project_useful_interface_skeleton_handle_set_property, 844s # {NULL} 844s # }; 844s # 844s # static GDBusInterfaceInfo * 844s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 844s # { 844s # return org_project_useful_interface_interface_info (); 844s # } 844s # 844s # static GDBusInterfaceVTable * 844s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 844s # { 844s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 844s # } 844s # 844s # static GVariant * 844s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 844s # 844s # GVariantBuilder builder; 844s # guint n; 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 844s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 844s # #else 844s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 844s # #endif 844s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 844s # goto out; 844s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 844s # { 844s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 844s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 844s # { 844s # GVariant *value; 844s # 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); 844s # if (value != NULL) 844s # { 844s # g_variant_take_ref (value); 844s # g_variant_builder_add (&builder, "{sv}", info->name, value); 844s # g_variant_unref (value); 844s # } 844s # } 844s # } 844s # out: 844s # return g_variant_builder_end (&builder); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 844s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 844s # 844s # #else 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 844s # 844s # #endif 844s # static void 844s # org_project_useful_interface_skeleton_finalize (GObject *object) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 844s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 844s # if (skeleton->priv->changed_properties_idle_source != NULL) 844s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 844s # g_main_context_unref (skeleton->priv->context); 844s # g_mutex_clear (&skeleton->priv->lock); 844s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 844s # { 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 844s # #else 844s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 844s # #endif 844s # 844s # g_mutex_init (&skeleton->priv->lock); 844s # skeleton->priv->context = g_main_context_ref_thread_default (); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 844s # { 844s # GObjectClass *gobject_class; 844s # GDBusInterfaceSkeletonClass *skeleton_class; 844s # 844s # gobject_class = G_OBJECT_CLASS (klass); 844s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 844s # 844s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 844s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 844s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 844s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 844s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 844s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 844s # #endif 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_skeleton_new: 844s # * 844s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_skeleton_new (void) 844s # { 844s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 844s # } 844s # Error: 844s ok 11 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_out_args 844s # gdbus-codegen: /usr/bin/gdbus-codegen 844s # tmpdir: /tmp/tmpd_v7eoq3 844s # /tmp/tmpd_v7eoq3/tmpu8jpx4oc.xml: 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpd_v7eoq3/tmpu8jpx4oc.xml', '--output', '-', '--body'] 844s # Return code: 0 844s # Output: 844s # /* 844s # * This file is generated by gdbus-codegen, do not modify it. 844s # * 844s # * The license of this code is the same as for the D-Bus interface description 844s # * it was derived from. Note that it links to GLib, so must comply with the 844s # * LGPL linking clauses. 844s # */ 844s # 844s # #ifdef HAVE_CONFIG_H 844s # # include "config.h" 844s # #endif 844s # 844s # #include 844s # #ifdef G_OS_UNIX 844s # # include 844s # #endif 844s # 844s # #ifdef G_ENABLE_DEBUG 844s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 844s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 844s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 844s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 844s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 844s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 844s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 844s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 844s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 844s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 844s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 844s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 844s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 844s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 844s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 844s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 844s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 844s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 844s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 844s # #else /* !G_ENABLE_DEBUG */ 844s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 844s # * Do not access GValues directly in your code. Instead, use the 844s # * g_value_get_*() functions 844s # */ 844s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 844s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 844s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 844s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 844s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 844s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 844s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 844s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 844s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 844s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 844s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 844s # #endif /* !G_ENABLE_DEBUG */ 844s # 844s # typedef struct 844s # { 844s # GDBusArgInfo parent_struct; 844s # gboolean use_gvariant; 844s # } _ExtendedGDBusArgInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusMethodInfo parent_struct; 844s # const gchar *signal_name; 844s # gboolean pass_fdlist; 844s # } _ExtendedGDBusMethodInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusSignalInfo parent_struct; 844s # const gchar *signal_name; 844s # } _ExtendedGDBusSignalInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusPropertyInfo parent_struct; 844s # const gchar *hyphen_name; 844s # guint use_gvariant : 1; 844s # guint emits_changed_signal : 1; 844s # } _ExtendedGDBusPropertyInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusInterfaceInfo parent_struct; 844s # const gchar *hyphen_name; 844s # } _ExtendedGDBusInterfaceInfo; 844s # 844s # typedef struct 844s # { 844s # const _ExtendedGDBusPropertyInfo *info; 844s # guint prop_id; 844s # GValue orig_value; /* the value before the change */ 844s # } ChangedProperty; 844s # 844s # static void 844s # _changed_property_free (ChangedProperty *data) 844s # { 844s # g_value_unset (&data->orig_value); 844s # g_free (data); 844s # } 844s # 844s # static gboolean 844s # _g_strv_equal0 (gchar **a, gchar **b) 844s # { 844s # gboolean ret = FALSE; 844s # guint n; 844s # if (a == NULL && b == NULL) 844s # { 844s # ret = TRUE; 844s # goto out; 844s # } 844s # if (a == NULL || b == NULL) 844s # goto out; 844s # if (g_strv_length (a) != g_strv_length (b)) 844s # goto out; 844s # for (n = 0; a[n] != NULL; n++) 844s # if (g_strcmp0 (a[n], b[n]) != 0) 844s # goto out; 844s # ret = TRUE; 844s # out: 844s # return ret; 844s # } 844s # 844s # static gboolean 844s # _g_variant_equal0 (GVariant *a, GVariant *b) 844s # { 844s # gboolean ret = FALSE; 844s # if (a == NULL && b == NULL) 844s # { 844s # ret = TRUE; 844s # goto out; 844s # } 844s # if (a == NULL || b == NULL) 844s # goto out; 844s # ret = g_variant_equal (a, b); 844s # out: 844s # return ret; 844s # } 844s # 844s # G_GNUC_UNUSED static gboolean 844s # _g_value_equal (const GValue *a, const GValue *b) 844s # { 844s # gboolean ret = FALSE; 844s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 844s # switch (G_VALUE_TYPE (a)) 844s # { 844s # case G_TYPE_BOOLEAN: 844s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 844s # break; 844s # case G_TYPE_UCHAR: 844s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 844s # break; 844s # case G_TYPE_INT: 844s # ret = (g_value_get_int (a) == g_value_get_int (b)); 844s # break; 844s # case G_TYPE_UINT: 844s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 844s # break; 844s # case G_TYPE_INT64: 844s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 844s # break; 844s # case G_TYPE_UINT64: 844s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 844s # break; 844s # case G_TYPE_DOUBLE: 844s # { 844s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 844s # gdouble da = g_value_get_double (a); 844s # gdouble db = g_value_get_double (b); 844s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 844s # } 844s # break; 844s # case G_TYPE_STRING: 844s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 844s # break; 844s # case G_TYPE_VARIANT: 844s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 844s # break; 844s # default: 844s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 844s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 844s # else 844s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 844s # break; 844s # } 844s # return ret; 844s # } 844s # 844s # static void 844s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 844s # GClosure *closure, 844s # GValue *return_value, 844s # unsigned int n_param_values, 844s # const GValue *param_values, 844s # void *invocation_hint G_GNUC_UNUSED, 844s # void *marshal_data) 844s # { 844s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 844s # (void *data1, 844s # GDBusMethodInvocation *arg_method_invocation, 844s # void *data2); 844s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 844s # GCClosure *cc = (GCClosure*) closure; 844s # void *data1, *data2; 844s # gboolean v_return; 844s # 844s # g_return_if_fail (return_value != NULL); 844s # g_return_if_fail (n_param_values == 2); 844s # 844s # if (G_CCLOSURE_SWAP_DATA (closure)) 844s # { 844s # data1 = closure->data; 844s # data2 = g_value_peek_pointer (param_values + 0); 844s # } 844s # else 844s # { 844s # data1 = g_value_peek_pointer (param_values + 0); 844s # data2 = closure->data; 844s # } 844s # 844s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 844s # (marshal_data ? marshal_data : cc->callback); 844s # 844s # v_return = 844s # callback (data1, 844s # g_marshal_value_peek_object (param_values + 1), 844s # data2); 844s # 844s # g_value_set_boolean (return_value, v_return); 844s # } 844s # 844s # /* ------------------------------------------------------------------------ 844s # * Code for interface org.project.UsefulInterface 844s # * ------------------------------------------------------------------------ 844s # */ 844s # 844s # /** 844s # * SECTION:OrgProjectUsefulInterface 844s # * @title: OrgProjectUsefulInterface 844s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 844s # * 844s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 844s # */ 844s # 844s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b = 844s # { 844s # { 844s # -1, 844s # (gchar *) "arg_b", 844s # (gchar *) "b", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers[] = 844s # { 844s # &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 844s # { 844s # { 844s # -1, 844s # (gchar *) "SingleArgMethodB", 844s # NULL, 844s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers, 844s # NULL 844s # }, 844s # "handle-single-arg-method-b", 844s # FALSE 844s # }; 844s # 844s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 844s # { 844s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 844s # { 844s # { 844s # -1, 844s # (gchar *) "org.project.UsefulInterface", 844s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 844s # NULL, 844s # NULL, 844s # NULL 844s # }, 844s # "org-project-useful-interface", 844s # }; 844s # 844s # 844s # /** 844s # * org_project_useful_interface_interface_info: 844s # * 844s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 844s # * 844s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 844s # */ 844s # GDBusInterfaceInfo * 844s # org_project_useful_interface_interface_info (void) 844s # { 844s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_override_properties: 844s # * @klass: The class structure for a #GObject derived class. 844s # * @property_id_begin: The property id to assign to the first overridden property. 844s # * 844s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 844s # * The properties are overridden in the order they are defined. 844s # * 844s # * Returns: The last property id. 844s # */ 844s # guint 844s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 844s # { 844s # return property_id_begin - 1; 844s # } 844s # 844s # 844s # inline static void 844s # org_project_useful_interface_method_marshal_single_arg_method_b ( 844s # GClosure *closure, 844s # GValue *return_value, 844s # unsigned int n_param_values, 844s # const GValue *param_values, 844s # void *invocation_hint, 844s # void *marshal_data) 844s # { 844s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 844s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 844s # } 844s # 844s # 844s # /** 844s # * OrgProjectUsefulInterface: 844s # * 844s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 844s # */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceIface: 844s # * @parent_iface: The parent interface. 844s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 844s # * 844s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 844s # */ 844s # 844s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 844s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 844s # 844s # static void 844s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 844s # { 844s # /* GObject signals for incoming D-Bus method calls: */ 844s # /** 844s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 844s # * @object: A #OrgProjectUsefulInterface. 844s # * @invocation: A #GDBusMethodInvocation. 844s # * 844s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 844s # * 844s # * 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. 844s # * 844s # * 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. 844s # */ 844s # g_signal_new ("handle-single-arg-method-b", 844s # G_TYPE_FROM_INTERFACE (iface), 844s # G_SIGNAL_RUN_LAST, 844s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 844s # g_signal_accumulator_true_handled, 844s # NULL, 844s # org_project_useful_interface_method_marshal_single_arg_method_b, 844s # G_TYPE_BOOLEAN, 844s # 1, 844s # G_TYPE_DBUS_METHOD_INVOCATION); 844s # 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_call_single_arg_method_b: 844s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 844s # * 844s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 844s # */ 844s # void 844s # org_project_useful_interface_call_single_arg_method_b ( 844s # OrgProjectUsefulInterface *proxy, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 844s # "SingleArgMethodB", 844s # g_variant_new ("()"), 844s # G_DBUS_CALL_FLAGS_NONE, 844s # -1, 844s # cancellable, 844s # callback, 844s # user_data); 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_call_single_arg_method_b_finish: 844s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 844s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 844s # * @error: Return location for error or %NULL. 844s # * 844s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 844s # * 844s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 844s # */ 844s # gboolean 844s # org_project_useful_interface_call_single_arg_method_b_finish ( 844s # OrgProjectUsefulInterface *proxy, 844s # gboolean *out_arg_b, 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GVariant *_ret; 844s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 844s # if (_ret == NULL) 844s # goto _out; 844s # g_variant_get (_ret, 844s # "(b)", 844s # out_arg_b); 844s # g_variant_unref (_ret); 844s # _out: 844s # return _ret != NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_call_single_arg_method_b_sync: 844s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 844s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL. 844s # * 844s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 844s # * 844s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 844s # */ 844s # gboolean 844s # org_project_useful_interface_call_single_arg_method_b_sync ( 844s # OrgProjectUsefulInterface *proxy, 844s # gboolean *out_arg_b, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GVariant *_ret; 844s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 844s # "SingleArgMethodB", 844s # g_variant_new ("()"), 844s # G_DBUS_CALL_FLAGS_NONE, 844s # -1, 844s # cancellable, 844s # error); 844s # if (_ret == NULL) 844s # goto _out; 844s # g_variant_get (_ret, 844s # "(b)", 844s # out_arg_b); 844s # g_variant_unref (_ret); 844s # _out: 844s # return _ret != NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_complete_single_arg_method_b: 844s # * @object: A #OrgProjectUsefulInterface. 844s # * @invocation: (transfer full): A #GDBusMethodInvocation. 844s # * @arg_b: Parameter to return. 844s # * 844s # * 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. 844s # * 844s # * This method will free @invocation, you cannot use it afterwards. 844s # */ 844s # void 844s # org_project_useful_interface_complete_single_arg_method_b ( 844s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 844s # GDBusMethodInvocation *invocation, 844s # gboolean arg_b) 844s # { 844s # g_dbus_method_invocation_return_value (invocation, 844s # g_variant_new ("(b)", 844s # arg_b)); 844s # } 844s # 844s # /* ------------------------------------------------------------------------ */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceProxy: 844s # * 844s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 844s # */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceProxyClass: 844s # * @parent_class: The parent class. 844s # * 844s # * Class structure for #OrgProjectUsefulInterfaceProxy. 844s # */ 844s # 844s # struct _OrgProjectUsefulInterfaceProxyPrivate 844s # { 844s # GData *qdata; 844s # }; 844s # 844s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 844s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 844s # 844s # #else 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 844s # 844s # #endif 844s # static void 844s # org_project_useful_interface_proxy_finalize (GObject *object) 844s # { 844s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 844s # g_datalist_clear (&proxy->priv->qdata); 844s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 844s # guint prop_id G_GNUC_UNUSED, 844s # GValue *value G_GNUC_UNUSED, 844s # GParamSpec *pspec G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 844s # guint prop_id G_GNUC_UNUSED, 844s # const GValue *value G_GNUC_UNUSED, 844s # GParamSpec *pspec G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 844s # const gchar *sender_name G_GNUC_UNUSED, 844s # const gchar *signal_name, 844s # GVariant *parameters) 844s # { 844s # _ExtendedGDBusSignalInfo *info; 844s # GVariantIter iter; 844s # GVariant *child; 844s # GValue *paramv; 844s # gsize num_params; 844s # gsize n; 844s # guint signal_id; 844s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 844s # if (info == NULL) 844s # return; 844s # num_params = g_variant_n_children (parameters); 844s # paramv = g_new0 (GValue, num_params + 1); 844s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_value_set_object (¶mv[0], proxy); 844s # g_variant_iter_init (&iter, parameters); 844s # n = 1; 844s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 844s # { 844s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 844s # if (arg_info->use_gvariant) 844s # { 844s # g_value_init (¶mv[n], G_TYPE_VARIANT); 844s # g_value_set_variant (¶mv[n], child); 844s # n++; 844s # } 844s # else 844s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 844s # g_variant_unref (child); 844s # } 844s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_signal_emitv (paramv, signal_id, 0, NULL); 844s # for (n = 0; n < num_params + 1; n++) 844s # g_value_unset (¶mv[n]); 844s # g_free (paramv); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 844s # GVariant *changed_properties, 844s # const gchar *const *invalidated_properties) 844s # { 844s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 844s # guint n; 844s # const gchar *key; 844s # GVariantIter *iter; 844s # _ExtendedGDBusPropertyInfo *info; 844s # g_variant_get (changed_properties, "a{sv}", &iter); 844s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 844s # { 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 844s # g_datalist_remove_data (&proxy->priv->qdata, key); 844s # if (info != NULL) 844s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 844s # } 844s # g_variant_iter_free (iter); 844s # for (n = 0; invalidated_properties[n] != NULL; n++) 844s # { 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 844s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 844s # if (info != NULL) 844s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 844s # } 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 844s # { 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 844s # #else 844s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 844s # #endif 844s # 844s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 844s # { 844s # GObjectClass *gobject_class; 844s # GDBusProxyClass *proxy_class; 844s # 844s # gobject_class = G_OBJECT_CLASS (klass); 844s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 844s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 844s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 844s # 844s # proxy_class = G_DBUS_PROXY_CLASS (klass); 844s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 844s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 844s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 844s # #endif 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new: 844s # * @connection: A #GDBusConnection. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 844s # * 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 844s # * 844s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 844s # */ 844s # void 844s # org_project_useful_interface_proxy_new ( 844s # GDBusConnection *connection, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # g_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); 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_finish: 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 844s # * @error: Return location for error or %NULL 844s # * 844s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_finish ( 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GObject *ret; 844s # GObject *source_object; 844s # source_object = g_async_result_get_source_object (res); 844s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 844s # g_object_unref (source_object); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_sync: 844s # * @connection: A #GDBusConnection. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL 844s # * 844s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 844s # * 844s # * The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_sync ( 844s # GDBusConnection *connection, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GInitable *ret; 844s # 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); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_for_bus: 844s # * @bus_type: A #GBusType. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: A bus name (well-known or unique). 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 844s # * 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 844s # * 844s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 844s # */ 844s # void 844s # org_project_useful_interface_proxy_new_for_bus ( 844s # GBusType bus_type, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # g_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); 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_for_bus_finish: 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 844s # * @error: Return location for error or %NULL 844s # * 844s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_for_bus_finish ( 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GObject *ret; 844s # GObject *source_object; 844s # source_object = g_async_result_get_source_object (res); 844s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 844s # g_object_unref (source_object); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_for_bus_sync: 844s # * @bus_type: A #GBusType. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: A bus name (well-known or unique). 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL 844s # * 844s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 844s # * 844s # * The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_for_bus_sync ( 844s # GBusType bus_type, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GInitable *ret; 844s # 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); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # 844s # /* ------------------------------------------------------------------------ */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceSkeleton: 844s # * 844s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 844s # */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceSkeletonClass: 844s # * @parent_class: The parent class. 844s # * 844s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 844s # */ 844s # 844s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 844s # { 844s # GValue *properties; 844s # GList *changed_properties; 844s # GSource *changed_properties_idle_source; 844s # GMainContext *context; 844s # GMutex lock; 844s # }; 844s # 844s # static void 844s # _org_project_useful_interface_skeleton_handle_method_call ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name, 844s # const gchar *method_name, 844s # GVariant *parameters, 844s # GDBusMethodInvocation *invocation, 844s # gpointer user_data) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 844s # _ExtendedGDBusMethodInfo *info; 844s # GVariantIter iter; 844s # GVariant *child; 844s # GValue *paramv; 844s # gsize num_params; 844s # guint num_extra; 844s # gsize n; 844s # guint signal_id; 844s # GValue return_value = G_VALUE_INIT; 844s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 844s # g_assert (info != NULL); 844s # num_params = g_variant_n_children (parameters); 844s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 844s # n = 0; 844s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_value_set_object (¶mv[n++], skeleton); 844s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 844s # g_value_set_object (¶mv[n++], invocation); 844s # if (info->pass_fdlist) 844s # { 844s # #ifdef G_OS_UNIX 844s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 844s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 844s # #else 844s # g_assert_not_reached (); 844s # #endif 844s # } 844s # g_variant_iter_init (&iter, parameters); 844s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 844s # { 844s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 844s # if (arg_info->use_gvariant) 844s # { 844s # g_value_init (¶mv[n], G_TYPE_VARIANT); 844s # g_value_set_variant (¶mv[n], child); 844s # n++; 844s # } 844s # else 844s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 844s # g_variant_unref (child); 844s # } 844s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_value_init (&return_value, G_TYPE_BOOLEAN); 844s # g_signal_emitv (paramv, signal_id, 0, &return_value); 844s # if (!g_value_get_boolean (&return_value)) 844s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 844s # g_value_unset (&return_value); 844s # for (n = 0; n < num_params + num_extra; n++) 844s # g_value_unset (¶mv[n]); 844s # g_free (paramv); 844s # } 844s # 844s # static GVariant * 844s # _org_project_useful_interface_skeleton_handle_get_property ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name G_GNUC_UNUSED, 844s # const gchar *property_name, 844s # GError **error, 844s # gpointer user_data) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 844s # GValue value = G_VALUE_INIT; 844s # GParamSpec *pspec; 844s # _ExtendedGDBusPropertyInfo *info; 844s # GVariant *ret; 844s # ret = NULL; 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 844s # g_assert (info != NULL); 844s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 844s # if (pspec == NULL) 844s # { 844s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 844s # } 844s # else 844s # { 844s # g_value_init (&value, pspec->value_type); 844s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 844s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 844s # g_value_unset (&value); 844s # } 844s # return ret; 844s # } 844s # 844s # static gboolean 844s # _org_project_useful_interface_skeleton_handle_set_property ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name G_GNUC_UNUSED, 844s # const gchar *property_name, 844s # GVariant *variant, 844s # GError **error, 844s # gpointer user_data) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 844s # GValue value = G_VALUE_INIT; 844s # GParamSpec *pspec; 844s # _ExtendedGDBusPropertyInfo *info; 844s # gboolean ret; 844s # ret = FALSE; 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 844s # g_assert (info != NULL); 844s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 844s # if (pspec == NULL) 844s # { 844s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 844s # } 844s # else 844s # { 844s # if (info->use_gvariant) 844s # g_value_set_variant (&value, variant); 844s # else 844s # g_dbus_gvariant_to_gvalue (variant, &value); 844s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 844s # g_value_unset (&value); 844s # ret = TRUE; 844s # } 844s # return ret; 844s # } 844s # 844s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 844s # { 844s # _org_project_useful_interface_skeleton_handle_method_call, 844s # _org_project_useful_interface_skeleton_handle_get_property, 844s # _org_project_useful_interface_skeleton_handle_set_property, 844s # {NULL} 844s # }; 844s # 844s # static GDBusInterfaceInfo * 844s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 844s # { 844s # return org_project_useful_interface_interface_info (); 844s # } 844s # 844s # static GDBusInterfaceVTable * 844s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 844s # { 844s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 844s # } 844s # 844s # static GVariant * 844s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 844s # 844s # GVariantBuilder builder; 844s # guint n; 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 844s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 844s # #else 844s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 844s # #endif 844s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 844s # goto out; 844s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 844s # { 844s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 844s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 844s # { 844s # GVariant *value; 844s # 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); 844s # if (value != NULL) 844s # { 844s # g_variant_take_ref (value); 844s # g_variant_builder_add (&builder, "{sv}", info->name, value); 844s # g_variant_unref (value); 844s # } 844s # } 844s # } 844s # out: 844s # return g_variant_builder_end (&builder); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 844s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 844s # 844s # #else 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 844s # 844s # #endif 844s # static void 844s # org_project_useful_interface_skeleton_finalize (GObject *object) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 844s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 844s # if (skeleton->priv->changed_properties_idle_source != NULL) 844s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 844s # g_main_context_unref (skeleton->priv->context); 844s # g_mutex_clear (&skeleton->priv->lock); 844s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 844s # { 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 844s # #else 844s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 844s # #endif 844s # 844s # g_mutex_init (&skeleton->priv->lock); 844s # skeleton->priv->context = g_main_context_ref_thread_default (); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 844s # { 844s # GObjectClass *gobject_class; 844s # GDBusInterfaceSkeletonClass *skeleton_class; 844s # 844s # gobject_class = G_OBJECT_CLASS (klass); 844s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 844s # 844s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 844s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 844s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 844s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 844s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 844s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 844s # #endif 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_skeleton_new: 844s # * 844s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_skeleton_new (void) 844s # { 844s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 844s # } 844s # Error: 844s # 844s # /tmp/tmpd_v7eoq3/tmpz0yolm2u.xml: 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpd_v7eoq3/tmpz0yolm2u.xml', '--output', '-', '--body'] 844s # Return code: 0 844s # Output: 844s # /* 844s # * This file is generated by gdbus-codegen, do not modify it. 844s # * 844s # * The license of this code is the same as for the D-Bus interface description 844s # * it was derived from. Note that it links to GLib, so must comply with the 844s # * LGPL linking clauses. 844s # */ 844s # 844s # #ifdef HAVE_CONFIG_H 844s # # include "config.h" 844s # #endif 844s # 844s # #include 844s # #ifdef G_OS_UNIX 844s # # include 844s # #endif 844s # 844s # #ifdef G_ENABLE_DEBUG 844s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 844s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 844s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 844s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 844s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 844s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 844s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 844s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 844s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 844s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 844s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 844s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 844s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 844s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 844s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 844s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 844s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 844s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 844s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 844s # #else /* !G_ENABLE_DEBUG */ 844s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 844s # * Do not access GValues directly in your code. Instead, use the 844s # * g_value_get_*() functions 844s # */ 844s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 844s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 844s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 844s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 844s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 844s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 844s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 844s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 844s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 844s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 844s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 844s # #endif /* !G_ENABLE_DEBUG */ 844s # 844s # typedef struct 844s # { 844s # GDBusArgInfo parent_struct; 844s # gboolean use_gvariant; 844s # } _ExtendedGDBusArgInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusMethodInfo parent_struct; 844s # const gchar *signal_name; 844s # gboolean pass_fdlist; 844s # } _ExtendedGDBusMethodInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusSignalInfo parent_struct; 844s # const gchar *signal_name; 844s # } _ExtendedGDBusSignalInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusPropertyInfo parent_struct; 844s # const gchar *hyphen_name; 844s # guint use_gvariant : 1; 844s # guint emits_changed_signal : 1; 844s # } _ExtendedGDBusPropertyInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusInterfaceInfo parent_struct; 844s # const gchar *hyphen_name; 844s # } _ExtendedGDBusInterfaceInfo; 844s # 844s # typedef struct 844s # { 844s # const _ExtendedGDBusPropertyInfo *info; 844s # guint prop_id; 844s # GValue orig_value; /* the value before the change */ 844s # } ChangedProperty; 844s # 844s # static void 844s # _changed_property_free (ChangedProperty *data) 844s # { 844s # g_value_unset (&data->orig_value); 844s # g_free (data); 844s # } 844s # 844s # static gboolean 844s # _g_strv_equal0 (gchar **a, gchar **b) 844s # { 844s # gboolean ret = FALSE; 844s # guint n; 844s # if (a == NULL && b == NULL) 844s # { 844s # ret = TRUE; 844s # goto out; 844s # } 844s # if (a == NULL || b == NULL) 844s # goto out; 844s # if (g_strv_length (a) != g_strv_length (b)) 844s # goto out; 844s # for (n = 0; a[n] != NULL; n++) 844s # if (g_strcmp0 (a[n], b[n]) != 0) 844s # goto out; 844s # ret = TRUE; 844s # out: 844s # return ret; 844s # } 844s # 844s # static gboolean 844s # _g_variant_equal0 (GVariant *a, GVariant *b) 844s # { 844s # gboolean ret = FALSE; 844s # if (a == NULL && b == NULL) 844s # { 844s # ret = TRUE; 844s # goto out; 844s # } 844s # if (a == NULL || b == NULL) 844s # goto out; 844s # ret = g_variant_equal (a, b); 844s # out: 844s # return ret; 844s # } 844s # 844s # G_GNUC_UNUSED static gboolean 844s # _g_value_equal (const GValue *a, const GValue *b) 844s # { 844s # gboolean ret = FALSE; 844s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 844s # switch (G_VALUE_TYPE (a)) 844s # { 844s # case G_TYPE_BOOLEAN: 844s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 844s # break; 844s # case G_TYPE_UCHAR: 844s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 844s # break; 844s # case G_TYPE_INT: 844s # ret = (g_value_get_int (a) == g_value_get_int (b)); 844s # break; 844s # case G_TYPE_UINT: 844s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 844s # break; 844s # case G_TYPE_INT64: 844s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 844s # break; 844s # case G_TYPE_UINT64: 844s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 844s # break; 844s # case G_TYPE_DOUBLE: 844s # { 844s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 844s # gdouble da = g_value_get_double (a); 844s # gdouble db = g_value_get_double (b); 844s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 844s # } 844s # break; 844s # case G_TYPE_STRING: 844s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 844s # break; 844s # case G_TYPE_VARIANT: 844s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 844s # break; 844s # default: 844s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 844s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 844s # else 844s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 844s # break; 844s # } 844s # return ret; 844s # } 844s # 844s # static void 844s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 844s # GClosure *closure, 844s # GValue *return_value, 844s # unsigned int n_param_values, 844s # const GValue *param_values, 844s # void *invocation_hint G_GNUC_UNUSED, 844s # void *marshal_data) 844s # { 844s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 844s # (void *data1, 844s # GDBusMethodInvocation *arg_method_invocation, 844s # void *data2); 844s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 844s # GCClosure *cc = (GCClosure*) closure; 844s # void *data1, *data2; 844s # gboolean v_return; 844s # 844s # g_return_if_fail (return_value != NULL); 844s # g_return_if_fail (n_param_values == 2); 844s # 844s # if (G_CCLOSURE_SWAP_DATA (closure)) 844s # { 844s # data1 = closure->data; 844s # data2 = g_value_peek_pointer (param_values + 0); 844s # } 844s # else 844s # { 844s # data1 = g_value_peek_pointer (param_values + 0); 844s # data2 = closure->data; 844s # } 844s # 844s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 844s # (marshal_data ? marshal_data : cc->callback); 844s # 844s # v_return = 844s # callback (data1, 844s # g_marshal_value_peek_object (param_values + 1), 844s # data2); 844s # 844s # g_value_set_boolean (return_value, v_return); 844s # } 844s # 844s # /* ------------------------------------------------------------------------ 844s # * Code for interface org.project.UsefulInterface 844s # * ------------------------------------------------------------------------ 844s # */ 844s # 844s # /** 844s # * SECTION:OrgProjectUsefulInterface 844s # * @title: OrgProjectUsefulInterface 844s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 844s # * 844s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 844s # */ 844s # 844s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y = 844s # { 844s # { 844s # -1, 844s # (gchar *) "arg_y", 844s # (gchar *) "y", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers[] = 844s # { 844s # &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 844s # { 844s # { 844s # -1, 844s # (gchar *) "SingleArgMethodY", 844s # NULL, 844s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers, 844s # NULL 844s # }, 844s # "handle-single-arg-method-y", 844s # FALSE 844s # }; 844s # 844s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 844s # { 844s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 844s # { 844s # { 844s # -1, 844s # (gchar *) "org.project.UsefulInterface", 844s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 844s # NULL, 844s # NULL, 844s # NULL 844s # }, 844s # "org-project-useful-interface", 844s # }; 844s # 844s # 844s # /** 844s # * org_project_useful_interface_interface_info: 844s # * 844s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 844s # * 844s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 844s # */ 844s # GDBusInterfaceInfo * 844s # org_project_useful_interface_interface_info (void) 844s # { 844s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_override_properties: 844s # * @klass: The class structure for a #GObject derived class. 844s # * @property_id_begin: The property id to assign to the first overridden property. 844s # * 844s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 844s # * The properties are overridden in the order they are defined. 844s # * 844s # * Returns: The last property id. 844s # */ 844s # guint 844s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 844s # { 844s # return property_id_begin - 1; 844s # } 844s # 844s # 844s # inline static void 844s # org_project_useful_interface_method_marshal_single_arg_method_y ( 844s # GClosure *closure, 844s # GValue *return_value, 844s # unsigned int n_param_values, 844s # const GValue *param_values, 844s # void *invocation_hint, 844s # void *marshal_data) 844s # { 844s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 844s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 844s # } 844s # 844s # 844s # /** 844s # * OrgProjectUsefulInterface: 844s # * 844s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 844s # */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceIface: 844s # * @parent_iface: The parent interface. 844s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 844s # * 844s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 844s # */ 844s # 844s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 844s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 844s # 844s # static void 844s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 844s # { 844s # /* GObject signals for incoming D-Bus method calls: */ 844s # /** 844s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 844s # * @object: A #OrgProjectUsefulInterface. 844s # * @invocation: A #GDBusMethodInvocation. 844s # * 844s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 844s # * 844s # * 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. 844s # * 844s # * 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. 844s # */ 844s # g_signal_new ("handle-single-arg-method-y", 844s # G_TYPE_FROM_INTERFACE (iface), 844s # G_SIGNAL_RUN_LAST, 844s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 844s # g_signal_accumulator_true_handled, 844s # NULL, 844s # org_project_useful_interface_method_marshal_single_arg_method_y, 844s # G_TYPE_BOOLEAN, 844s # 1, 844s # G_TYPE_DBUS_METHOD_INVOCATION); 844s # 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_call_single_arg_method_y: 844s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 844s # * 844s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 844s # */ 844s # void 844s # org_project_useful_interface_call_single_arg_method_y ( 844s # OrgProjectUsefulInterface *proxy, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 844s # "SingleArgMethodY", 844s # g_variant_new ("()"), 844s # G_DBUS_CALL_FLAGS_NONE, 844s # -1, 844s # cancellable, 844s # callback, 844s # user_data); 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_call_single_arg_method_y_finish: 844s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 844s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 844s # * @error: Return location for error or %NULL. 844s # * 844s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 844s # * 844s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 844s # */ 844s # gboolean 844s # org_project_useful_interface_call_single_arg_method_y_finish ( 844s # OrgProjectUsefulInterface *proxy, 844s # guchar *out_arg_y, 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GVariant *_ret; 844s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 844s # if (_ret == NULL) 844s # goto _out; 844s # g_variant_get (_ret, 844s # "(y)", 844s # out_arg_y); 844s # g_variant_unref (_ret); 844s # _out: 844s # return _ret != NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_call_single_arg_method_y_sync: 844s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 844s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL. 844s # * 844s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 844s # * 844s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 844s # */ 844s # gboolean 844s # org_project_useful_interface_call_single_arg_method_y_sync ( 844s # OrgProjectUsefulInterface *proxy, 844s # guchar *out_arg_y, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GVariant *_ret; 844s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 844s # "SingleArgMethodY", 844s # g_variant_new ("()"), 844s # G_DBUS_CALL_FLAGS_NONE, 844s # -1, 844s # cancellable, 844s # error); 844s # if (_ret == NULL) 844s # goto _out; 844s # g_variant_get (_ret, 844s # "(y)", 844s # out_arg_y); 844s # g_variant_unref (_ret); 844s # _out: 844s # return _ret != NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_complete_single_arg_method_y: 844s # * @object: A #OrgProjectUsefulInterface. 844s # * @invocation: (transfer full): A #GDBusMethodInvocation. 844s # * @arg_y: Parameter to return. 844s # * 844s # * 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. 844s # * 844s # * This method will free @invocation, you cannot use it afterwards. 844s # */ 844s # void 844s # org_project_useful_interface_complete_single_arg_method_y ( 844s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 844s # GDBusMethodInvocation *invocation, 844s # guchar arg_y) 844s # { 844s # g_dbus_method_invocation_return_value (invocation, 844s # g_variant_new ("(y)", 844s # arg_y)); 844s # } 844s # 844s # /* ------------------------------------------------------------------------ */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceProxy: 844s # * 844s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 844s # */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceProxyClass: 844s # * @parent_class: The parent class. 844s # * 844s # * Class structure for #OrgProjectUsefulInterfaceProxy. 844s # */ 844s # 844s # struct _OrgProjectUsefulInterfaceProxyPrivate 844s # { 844s # GData *qdata; 844s # }; 844s # 844s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 844s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 844s # 844s # #else 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 844s # 844s # #endif 844s # static void 844s # org_project_useful_interface_proxy_finalize (GObject *object) 844s # { 844s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 844s # g_datalist_clear (&proxy->priv->qdata); 844s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 844s # guint prop_id G_GNUC_UNUSED, 844s # GValue *value G_GNUC_UNUSED, 844s # GParamSpec *pspec G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 844s # guint prop_id G_GNUC_UNUSED, 844s # const GValue *value G_GNUC_UNUSED, 844s # GParamSpec *pspec G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 844s # const gchar *sender_name G_GNUC_UNUSED, 844s # const gchar *signal_name, 844s # GVariant *parameters) 844s # { 844s # _ExtendedGDBusSignalInfo *info; 844s # GVariantIter iter; 844s # GVariant *child; 844s # GValue *paramv; 844s # gsize num_params; 844s # gsize n; 844s # guint signal_id; 844s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 844s # if (info == NULL) 844s # return; 844s # num_params = g_variant_n_children (parameters); 844s # paramv = g_new0 (GValue, num_params + 1); 844s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_value_set_object (¶mv[0], proxy); 844s # g_variant_iter_init (&iter, parameters); 844s # n = 1; 844s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 844s # { 844s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 844s # if (arg_info->use_gvariant) 844s # { 844s # g_value_init (¶mv[n], G_TYPE_VARIANT); 844s # g_value_set_variant (¶mv[n], child); 844s # n++; 844s # } 844s # else 844s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 844s # g_variant_unref (child); 844s # } 844s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_signal_emitv (paramv, signal_id, 0, NULL); 844s # for (n = 0; n < num_params + 1; n++) 844s # g_value_unset (¶mv[n]); 844s # g_free (paramv); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 844s # GVariant *changed_properties, 844s # const gchar *const *invalidated_properties) 844s # { 844s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 844s # guint n; 844s # const gchar *key; 844s # GVariantIter *iter; 844s # _ExtendedGDBusPropertyInfo *info; 844s # g_variant_get (changed_properties, "a{sv}", &iter); 844s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 844s # { 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 844s # g_datalist_remove_data (&proxy->priv->qdata, key); 844s # if (info != NULL) 844s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 844s # } 844s # g_variant_iter_free (iter); 844s # for (n = 0; invalidated_properties[n] != NULL; n++) 844s # { 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 844s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 844s # if (info != NULL) 844s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 844s # } 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 844s # { 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 844s # #else 844s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 844s # #endif 844s # 844s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 844s # { 844s # GObjectClass *gobject_class; 844s # GDBusProxyClass *proxy_class; 844s # 844s # gobject_class = G_OBJECT_CLASS (klass); 844s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 844s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 844s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 844s # 844s # proxy_class = G_DBUS_PROXY_CLASS (klass); 844s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 844s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 844s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 844s # #endif 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new: 844s # * @connection: A #GDBusConnection. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 844s # * 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 844s # * 844s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 844s # */ 844s # void 844s # org_project_useful_interface_proxy_new ( 844s # GDBusConnection *connection, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # g_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); 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_finish: 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 844s # * @error: Return location for error or %NULL 844s # * 844s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_finish ( 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GObject *ret; 844s # GObject *source_object; 844s # source_object = g_async_result_get_source_object (res); 844s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 844s # g_object_unref (source_object); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_sync: 844s # * @connection: A #GDBusConnection. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL 844s # * 844s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 844s # * 844s # * The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_sync ( 844s # GDBusConnection *connection, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GInitable *ret; 844s # 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); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_for_bus: 844s # * @bus_type: A #GBusType. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: A bus name (well-known or unique). 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 844s # * 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 844s # * 844s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 844s # */ 844s # void 844s # org_project_useful_interface_proxy_new_for_bus ( 844s # GBusType bus_type, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # g_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); 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_for_bus_finish: 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 844s # * @error: Return location for error or %NULL 844s # * 844s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_for_bus_finish ( 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GObject *ret; 844s # GObject *source_object; 844s # source_object = g_async_result_get_source_object (res); 844s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 844s # g_object_unref (source_object); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_for_bus_sync: 844s # * @bus_type: A #GBusType. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: A bus name (well-known or unique). 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL 844s # * 844s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 844s # * 844s # * The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_for_bus_sync ( 844s # GBusType bus_type, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GInitable *ret; 844s # 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); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # 844s # /* ------------------------------------------------------------------------ */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceSkeleton: 844s # * 844s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 844s # */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceSkeletonClass: 844s # * @parent_class: The parent class. 844s # * 844s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 844s # */ 844s # 844s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 844s # { 844s # GValue *properties; 844s # GList *changed_properties; 844s # GSource *changed_properties_idle_source; 844s # GMainContext *context; 844s # GMutex lock; 844s # }; 844s # 844s # static void 844s # _org_project_useful_interface_skeleton_handle_method_call ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name, 844s # const gchar *method_name, 844s # GVariant *parameters, 844s # GDBusMethodInvocation *invocation, 844s # gpointer user_data) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 844s # _ExtendedGDBusMethodInfo *info; 844s # GVariantIter iter; 844s # GVariant *child; 844s # GValue *paramv; 844s # gsize num_params; 844s # guint num_extra; 844s # gsize n; 844s # guint signal_id; 844s # GValue return_value = G_VALUE_INIT; 844s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 844s # g_assert (info != NULL); 844s # num_params = g_variant_n_children (parameters); 844s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 844s # n = 0; 844s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_value_set_object (¶mv[n++], skeleton); 844s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 844s # g_value_set_object (¶mv[n++], invocation); 844s # if (info->pass_fdlist) 844s # { 844s # #ifdef G_OS_UNIX 844s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 844s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 844s # #else 844s # g_assert_not_reached (); 844s # #endif 844s # } 844s # g_variant_iter_init (&iter, parameters); 844s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 844s # { 844s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 844s # if (arg_info->use_gvariant) 844s # { 844s # g_value_init (¶mv[n], G_TYPE_VARIANT); 844s # g_value_set_variant (¶mv[n], child); 844s # n++; 844s # } 844s # else 844s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 844s # g_variant_unref (child); 844s # } 844s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_value_init (&return_value, G_TYPE_BOOLEAN); 844s # g_signal_emitv (paramv, signal_id, 0, &return_value); 844s # if (!g_value_get_boolean (&return_value)) 844s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 844s # g_value_unset (&return_value); 844s # for (n = 0; n < num_params + num_extra; n++) 844s # g_value_unset (¶mv[n]); 844s # g_free (paramv); 844s # } 844s # 844s # static GVariant * 844s # _org_project_useful_interface_skeleton_handle_get_property ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name G_GNUC_UNUSED, 844s # const gchar *property_name, 844s # GError **error, 844s # gpointer user_data) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 844s # GValue value = G_VALUE_INIT; 844s # GParamSpec *pspec; 844s # _ExtendedGDBusPropertyInfo *info; 844s # GVariant *ret; 844s # ret = NULL; 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 844s # g_assert (info != NULL); 844s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 844s # if (pspec == NULL) 844s # { 844s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 844s # } 844s # else 844s # { 844s # g_value_init (&value, pspec->value_type); 844s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 844s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 844s # g_value_unset (&value); 844s # } 844s # return ret; 844s # } 844s # 844s # static gboolean 844s # _org_project_useful_interface_skeleton_handle_set_property ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name G_GNUC_UNUSED, 844s # const gchar *property_name, 844s # GVariant *variant, 844s # GError **error, 844s # gpointer user_data) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 844s # GValue value = G_VALUE_INIT; 844s # GParamSpec *pspec; 844s # _ExtendedGDBusPropertyInfo *info; 844s # gboolean ret; 844s # ret = FALSE; 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 844s # g_assert (info != NULL); 844s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 844s # if (pspec == NULL) 844s # { 844s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 844s # } 844s # else 844s # { 844s # if (info->use_gvariant) 844s # g_value_set_variant (&value, variant); 844s # else 844s # g_dbus_gvariant_to_gvalue (variant, &value); 844s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 844s # g_value_unset (&value); 844s # ret = TRUE; 844s # } 844s # return ret; 844s # } 844s # 844s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 844s # { 844s # _org_project_useful_interface_skeleton_handle_method_call, 844s # _org_project_useful_interface_skeleton_handle_get_property, 844s # _org_project_useful_interface_skeleton_handle_set_property, 844s # {NULL} 844s # }; 844s # 844s # static GDBusInterfaceInfo * 844s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 844s # { 844s # return org_project_useful_interface_interface_info (); 844s # } 844s # 844s # static GDBusInterfaceVTable * 844s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 844s # { 844s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 844s # } 844s # 844s # static GVariant * 844s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 844s # 844s # GVariantBuilder builder; 844s # guint n; 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 844s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 844s # #else 844s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 844s # #endif 844s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 844s # goto out; 844s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 844s # { 844s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 844s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 844s # { 844s # GVariant *value; 844s # 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); 844s # if (value != NULL) 844s # { 844s # g_variant_take_ref (value); 844s # g_variant_builder_add (&builder, "{sv}", info->name, value); 844s # g_variant_unref (value); 844s # } 844s # } 844s # } 844s # out: 844s # return g_variant_builder_end (&builder); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 844s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 844s # 844s # #else 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 844s # 844s # #endif 844s # static void 844s # org_project_useful_interface_skeleton_finalize (GObject *object) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 844s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 844s # if (skeleton->priv->changed_properties_idle_source != NULL) 844s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 844s # g_main_context_unref (skeleton->priv->context); 844s # g_mutex_clear (&skeleton->priv->lock); 844s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 844s # { 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 844s # #else 844s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 844s # #endif 844s # 844s # g_mutex_init (&skeleton->priv->lock); 844s # skeleton->priv->context = g_main_context_ref_thread_default (); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 844s # { 844s # GObjectClass *gobject_class; 844s # GDBusInterfaceSkeletonClass *skeleton_class; 844s # 844s # gobject_class = G_OBJECT_CLASS (klass); 844s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 844s # 844s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 844s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 844s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 844s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 844s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 844s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 844s # #endif 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_skeleton_new: 844s # * 844s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_skeleton_new (void) 844s # { 844s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 844s # } 844s # Error: 844s # 844s # /tmp/tmpd_v7eoq3/tmpj1kcoc05.xml: 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpd_v7eoq3/tmpj1kcoc05.xml', '--output', '-', '--body'] 844s # Return code: 0 844s # Output: 844s # /* 844s # * This file is generated by gdbus-codegen, do not modify it. 844s # * 844s # * The license of this code is the same as for the D-Bus interface description 844s # * it was derived from. Note that it links to GLib, so must comply with the 844s # * LGPL linking clauses. 844s # */ 844s # 844s # #ifdef HAVE_CONFIG_H 844s # # include "config.h" 844s # #endif 844s # 844s # #include 844s # #ifdef G_OS_UNIX 844s # # include 844s # #endif 844s # 844s # #ifdef G_ENABLE_DEBUG 844s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 844s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 844s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 844s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 844s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 844s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 844s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 844s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 844s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 844s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 844s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 844s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 844s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 844s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 844s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 844s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 844s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 844s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 844s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 844s # #else /* !G_ENABLE_DEBUG */ 844s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 844s # * Do not access GValues directly in your code. Instead, use the 844s # * g_value_get_*() functions 844s # */ 844s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 844s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 844s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 844s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 844s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 844s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 844s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 844s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 844s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 844s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 844s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 844s # #endif /* !G_ENABLE_DEBUG */ 844s # 844s # typedef struct 844s # { 844s # GDBusArgInfo parent_struct; 844s # gboolean use_gvariant; 844s # } _ExtendedGDBusArgInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusMethodInfo parent_struct; 844s # const gchar *signal_name; 844s # gboolean pass_fdlist; 844s # } _ExtendedGDBusMethodInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusSignalInfo parent_struct; 844s # const gchar *signal_name; 844s # } _ExtendedGDBusSignalInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusPropertyInfo parent_struct; 844s # const gchar *hyphen_name; 844s # guint use_gvariant : 1; 844s # guint emits_changed_signal : 1; 844s # } _ExtendedGDBusPropertyInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusInterfaceInfo parent_struct; 844s # const gchar *hyphen_name; 844s # } _ExtendedGDBusInterfaceInfo; 844s # 844s # typedef struct 844s # { 844s # const _ExtendedGDBusPropertyInfo *info; 844s # guint prop_id; 844s # GValue orig_value; /* the value before the change */ 844s # } ChangedProperty; 844s # 844s # static void 844s # _changed_property_free (ChangedProperty *data) 844s # { 844s # g_value_unset (&data->orig_value); 844s # g_free (data); 844s # } 844s # 844s # static gboolean 844s # _g_strv_equal0 (gchar **a, gchar **b) 844s # { 844s # gboolean ret = FALSE; 844s # guint n; 844s # if (a == NULL && b == NULL) 844s # { 844s # ret = TRUE; 844s # goto out; 844s # } 844s # if (a == NULL || b == NULL) 844s # goto out; 844s # if (g_strv_length (a) != g_strv_length (b)) 844s # goto out; 844s # for (n = 0; a[n] != NULL; n++) 844s # if (g_strcmp0 (a[n], b[n]) != 0) 844s # goto out; 844s # ret = TRUE; 844s # out: 844s # return ret; 844s # } 844s # 844s # static gboolean 844s # _g_variant_equal0 (GVariant *a, GVariant *b) 844s # { 844s # gboolean ret = FALSE; 844s # if (a == NULL && b == NULL) 844s # { 844s # ret = TRUE; 844s # goto out; 844s # } 844s # if (a == NULL || b == NULL) 844s # goto out; 844s # ret = g_variant_equal (a, b); 844s # out: 844s # return ret; 844s # } 844s # 844s # G_GNUC_UNUSED static gboolean 844s # _g_value_equal (const GValue *a, const GValue *b) 844s # { 844s # gboolean ret = FALSE; 844s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 844s # switch (G_VALUE_TYPE (a)) 844s # { 844s # case G_TYPE_BOOLEAN: 844s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 844s # break; 844s # case G_TYPE_UCHAR: 844s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 844s # break; 844s # case G_TYPE_INT: 844s # ret = (g_value_get_int (a) == g_value_get_int (b)); 844s # break; 844s # case G_TYPE_UINT: 844s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 844s # break; 844s # case G_TYPE_INT64: 844s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 844s # break; 844s # case G_TYPE_UINT64: 844s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 844s # break; 844s # case G_TYPE_DOUBLE: 844s # { 844s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 844s # gdouble da = g_value_get_double (a); 844s # gdouble db = g_value_get_double (b); 844s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 844s # } 844s # break; 844s # case G_TYPE_STRING: 844s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 844s # break; 844s # case G_TYPE_VARIANT: 844s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 844s # break; 844s # default: 844s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 844s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 844s # else 844s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 844s # break; 844s # } 844s # return ret; 844s # } 844s # 844s # static void 844s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 844s # GClosure *closure, 844s # GValue *return_value, 844s # unsigned int n_param_values, 844s # const GValue *param_values, 844s # void *invocation_hint G_GNUC_UNUSED, 844s # void *marshal_data) 844s # { 844s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 844s # (void *data1, 844s # GDBusMethodInvocation *arg_method_invocation, 844s # void *data2); 844s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 844s # GCClosure *cc = (GCClosure*) closure; 844s # void *data1, *data2; 844s # gboolean v_return; 844s # 844s # g_return_if_fail (return_value != NULL); 844s # g_return_if_fail (n_param_values == 2); 844s # 844s # if (G_CCLOSURE_SWAP_DATA (closure)) 844s # { 844s # data1 = closure->data; 844s # data2 = g_value_peek_pointer (param_values + 0); 844s # } 844s # else 844s # { 844s # data1 = g_value_peek_pointer (param_values + 0); 844s # data2 = closure->data; 844s # } 844s # 844s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 844s # (marshal_data ? marshal_data : cc->callback); 844s # 844s # v_return = 844s # callback (data1, 844s # g_marshal_value_peek_object (param_values + 1), 844s # data2); 844s # 844s # g_value_set_boolean (return_value, v_return); 844s # } 844s # 844s # /* ------------------------------------------------------------------------ 844s # * Code for interface org.project.UsefulInterface 844s # * ------------------------------------------------------------------------ 844s # */ 844s # 844s # /** 844s # * SECTION:OrgProjectUsefulInterface 844s # * @title: OrgProjectUsefulInterface 844s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 844s # * 844s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 844s # */ 844s # 844s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n = 844s # { 844s # { 844s # -1, 844s # (gchar *) "arg_n", 844s # (gchar *) "n", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers[] = 844s # { 844s # &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 844s # { 844s # { 844s # -1, 844s # (gchar *) "SingleArgMethodN", 844s # NULL, 844s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers, 844s # NULL 844s # }, 844s # "handle-single-arg-method-n", 844s # FALSE 844s # }; 844s # 844s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 844s # { 844s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 844s # { 844s # { 844s # -1, 844s # (gchar *) "org.project.UsefulInterface", 844s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 844s # NULL, 844s # NULL, 844s # NULL 844s # }, 844s # "org-project-useful-interface", 844s # }; 844s # 844s # 844s # /** 844s # * org_project_useful_interface_interface_info: 844s # * 844s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 844s # * 844s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 844s # */ 844s # GDBusInterfaceInfo * 844s # org_project_useful_interface_interface_info (void) 844s # { 844s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_override_properties: 844s # * @klass: The class structure for a #GObject derived class. 844s # * @property_id_begin: The property id to assign to the first overridden property. 844s # * 844s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 844s # * The properties are overridden in the order they are defined. 844s # * 844s # * Returns: The last property id. 844s # */ 844s # guint 844s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 844s # { 844s # return property_id_begin - 1; 844s # } 844s # 844s # 844s # inline static void 844s # org_project_useful_interface_method_marshal_single_arg_method_n ( 844s # GClosure *closure, 844s # GValue *return_value, 844s # unsigned int n_param_values, 844s # const GValue *param_values, 844s # void *invocation_hint, 844s # void *marshal_data) 844s # { 844s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 844s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 844s # } 844s # 844s # 844s # /** 844s # * OrgProjectUsefulInterface: 844s # * 844s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 844s # */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceIface: 844s # * @parent_iface: The parent interface. 844s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 844s # * 844s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 844s # */ 844s # 844s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 844s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 844s # 844s # static void 844s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 844s # { 844s # /* GObject signals for incoming D-Bus method calls: */ 844s # /** 844s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 844s # * @object: A #OrgProjectUsefulInterface. 844s # * @invocation: A #GDBusMethodInvocation. 844s # * 844s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 844s # * 844s # * 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. 844s # * 844s # * 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. 844s # */ 844s # g_signal_new ("handle-single-arg-method-n", 844s # G_TYPE_FROM_INTERFACE (iface), 844s # G_SIGNAL_RUN_LAST, 844s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 844s # g_signal_accumulator_true_handled, 844s # NULL, 844s # org_project_useful_interface_method_marshal_single_arg_method_n, 844s # G_TYPE_BOOLEAN, 844s # 1, 844s # G_TYPE_DBUS_METHOD_INVOCATION); 844s # 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_call_single_arg_method_n: 844s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 844s # * 844s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 844s # */ 844s # void 844s # org_project_useful_interface_call_single_arg_method_n ( 844s # OrgProjectUsefulInterface *proxy, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 844s # "SingleArgMethodN", 844s # g_variant_new ("()"), 844s # G_DBUS_CALL_FLAGS_NONE, 844s # -1, 844s # cancellable, 844s # callback, 844s # user_data); 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_call_single_arg_method_n_finish: 844s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 844s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 844s # * @error: Return location for error or %NULL. 844s # * 844s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 844s # * 844s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 844s # */ 844s # gboolean 844s # org_project_useful_interface_call_single_arg_method_n_finish ( 844s # OrgProjectUsefulInterface *proxy, 844s # gint16 *out_arg_n, 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GVariant *_ret; 844s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 844s # if (_ret == NULL) 844s # goto _out; 844s # g_variant_get (_ret, 844s # "(n)", 844s # out_arg_n); 844s # g_variant_unref (_ret); 844s # _out: 844s # return _ret != NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_call_single_arg_method_n_sync: 844s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 844s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL. 844s # * 844s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 844s # * 844s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 844s # */ 844s # gboolean 844s # org_project_useful_interface_call_single_arg_method_n_sync ( 844s # OrgProjectUsefulInterface *proxy, 844s # gint16 *out_arg_n, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GVariant *_ret; 844s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 844s # "SingleArgMethodN", 844s # g_variant_new ("()"), 844s # G_DBUS_CALL_FLAGS_NONE, 844s # -1, 844s # cancellable, 844s # error); 844s # if (_ret == NULL) 844s # goto _out; 844s # g_variant_get (_ret, 844s # "(n)", 844s # out_arg_n); 844s # g_variant_unref (_ret); 844s # _out: 844s # return _ret != NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_complete_single_arg_method_n: 844s # * @object: A #OrgProjectUsefulInterface. 844s # * @invocation: (transfer full): A #GDBusMethodInvocation. 844s # * @arg_n: Parameter to return. 844s # * 844s # * 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. 844s # * 844s # * This method will free @invocation, you cannot use it afterwards. 844s # */ 844s # void 844s # org_project_useful_interface_complete_single_arg_method_n ( 844s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 844s # GDBusMethodInvocation *invocation, 844s # gint16 arg_n) 844s # { 844s # g_dbus_method_invocation_return_value (invocation, 844s # g_variant_new ("(n)", 844s # arg_n)); 844s # } 844s # 844s # /* ------------------------------------------------------------------------ */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceProxy: 844s # * 844s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 844s # */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceProxyClass: 844s # * @parent_class: The parent class. 844s # * 844s # * Class structure for #OrgProjectUsefulInterfaceProxy. 844s # */ 844s # 844s # struct _OrgProjectUsefulInterfaceProxyPrivate 844s # { 844s # GData *qdata; 844s # }; 844s # 844s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 844s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 844s # 844s # #else 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 844s # 844s # #endif 844s # static void 844s # org_project_useful_interface_proxy_finalize (GObject *object) 844s # { 844s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 844s # g_datalist_clear (&proxy->priv->qdata); 844s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 844s # guint prop_id G_GNUC_UNUSED, 844s # GValue *value G_GNUC_UNUSED, 844s # GParamSpec *pspec G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 844s # guint prop_id G_GNUC_UNUSED, 844s # const GValue *value G_GNUC_UNUSED, 844s # GParamSpec *pspec G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 844s # const gchar *sender_name G_GNUC_UNUSED, 844s # const gchar *signal_name, 844s # GVariant *parameters) 844s # { 844s # _ExtendedGDBusSignalInfo *info; 844s # GVariantIter iter; 844s # GVariant *child; 844s # GValue *paramv; 844s # gsize num_params; 844s # gsize n; 844s # guint signal_id; 844s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 844s # if (info == NULL) 844s # return; 844s # num_params = g_variant_n_children (parameters); 844s # paramv = g_new0 (GValue, num_params + 1); 844s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_value_set_object (¶mv[0], proxy); 844s # g_variant_iter_init (&iter, parameters); 844s # n = 1; 844s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 844s # { 844s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 844s # if (arg_info->use_gvariant) 844s # { 844s # g_value_init (¶mv[n], G_TYPE_VARIANT); 844s # g_value_set_variant (¶mv[n], child); 844s # n++; 844s # } 844s # else 844s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 844s # g_variant_unref (child); 844s # } 844s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_signal_emitv (paramv, signal_id, 0, NULL); 844s # for (n = 0; n < num_params + 1; n++) 844s # g_value_unset (¶mv[n]); 844s # g_free (paramv); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 844s # GVariant *changed_properties, 844s # const gchar *const *invalidated_properties) 844s # { 844s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 844s # guint n; 844s # const gchar *key; 844s # GVariantIter *iter; 844s # _ExtendedGDBusPropertyInfo *info; 844s # g_variant_get (changed_properties, "a{sv}", &iter); 844s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 844s # { 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 844s # g_datalist_remove_data (&proxy->priv->qdata, key); 844s # if (info != NULL) 844s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 844s # } 844s # g_variant_iter_free (iter); 844s # for (n = 0; invalidated_properties[n] != NULL; n++) 844s # { 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 844s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 844s # if (info != NULL) 844s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 844s # } 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 844s # { 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 844s # #else 844s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 844s # #endif 844s # 844s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 844s # { 844s # GObjectClass *gobject_class; 844s # GDBusProxyClass *proxy_class; 844s # 844s # gobject_class = G_OBJECT_CLASS (klass); 844s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 844s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 844s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 844s # 844s # proxy_class = G_DBUS_PROXY_CLASS (klass); 844s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 844s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 844s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 844s # #endif 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new: 844s # * @connection: A #GDBusConnection. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 844s # * 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 844s # * 844s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 844s # */ 844s # void 844s # org_project_useful_interface_proxy_new ( 844s # GDBusConnection *connection, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # g_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); 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_finish: 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 844s # * @error: Return location for error or %NULL 844s # * 844s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_finish ( 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GObject *ret; 844s # GObject *source_object; 844s # source_object = g_async_result_get_source_object (res); 844s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 844s # g_object_unref (source_object); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_sync: 844s # * @connection: A #GDBusConnection. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL 844s # * 844s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 844s # * 844s # * The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_sync ( 844s # GDBusConnection *connection, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GInitable *ret; 844s # 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); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_for_bus: 844s # * @bus_type: A #GBusType. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: A bus name (well-known or unique). 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 844s # * 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 844s # * 844s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 844s # */ 844s # void 844s # org_project_useful_interface_proxy_new_for_bus ( 844s # GBusType bus_type, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # g_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); 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_for_bus_finish: 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 844s # * @error: Return location for error or %NULL 844s # * 844s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_for_bus_finish ( 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GObject *ret; 844s # GObject *source_object; 844s # source_object = g_async_result_get_source_object (res); 844s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 844s # g_object_unref (source_object); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_for_bus_sync: 844s # * @bus_type: A #GBusType. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: A bus name (well-known or unique). 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL 844s # * 844s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 844s # * 844s # * The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_for_bus_sync ( 844s # GBusType bus_type, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GInitable *ret; 844s # 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); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # 844s # /* ------------------------------------------------------------------------ */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceSkeleton: 844s # * 844s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 844s # */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceSkeletonClass: 844s # * @parent_class: The parent class. 844s # * 844s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 844s # */ 844s # 844s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 844s # { 844s # GValue *properties; 844s # GList *changed_properties; 844s # GSource *changed_properties_idle_source; 844s # GMainContext *context; 844s # GMutex lock; 844s # }; 844s # 844s # static void 844s # _org_project_useful_interface_skeleton_handle_method_call ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name, 844s # const gchar *method_name, 844s # GVariant *parameters, 844s # GDBusMethodInvocation *invocation, 844s # gpointer user_data) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 844s # _ExtendedGDBusMethodInfo *info; 844s # GVariantIter iter; 844s # GVariant *child; 844s # GValue *paramv; 844s # gsize num_params; 844s # guint num_extra; 844s # gsize n; 844s # guint signal_id; 844s # GValue return_value = G_VALUE_INIT; 844s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 844s # g_assert (info != NULL); 844s # num_params = g_variant_n_children (parameters); 844s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 844s # n = 0; 844s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_value_set_object (¶mv[n++], skeleton); 844s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 844s # g_value_set_object (¶mv[n++], invocation); 844s # if (info->pass_fdlist) 844s # { 844s # #ifdef G_OS_UNIX 844s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 844s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 844s # #else 844s # g_assert_not_reached (); 844s # #endif 844s # } 844s # g_variant_iter_init (&iter, parameters); 844s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 844s # { 844s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 844s # if (arg_info->use_gvariant) 844s # { 844s # g_value_init (¶mv[n], G_TYPE_VARIANT); 844s # g_value_set_variant (¶mv[n], child); 844s # n++; 844s # } 844s # else 844s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 844s # g_variant_unref (child); 844s # } 844s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_value_init (&return_value, G_TYPE_BOOLEAN); 844s # g_signal_emitv (paramv, signal_id, 0, &return_value); 844s # if (!g_value_get_boolean (&return_value)) 844s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 844s # g_value_unset (&return_value); 844s # for (n = 0; n < num_params + num_extra; n++) 844s # g_value_unset (¶mv[n]); 844s # g_free (paramv); 844s # } 844s # 844s # static GVariant * 844s # _org_project_useful_interface_skeleton_handle_get_property ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name G_GNUC_UNUSED, 844s # const gchar *property_name, 844s # GError **error, 844s # gpointer user_data) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 844s # GValue value = G_VALUE_INIT; 844s # GParamSpec *pspec; 844s # _ExtendedGDBusPropertyInfo *info; 844s # GVariant *ret; 844s # ret = NULL; 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 844s # g_assert (info != NULL); 844s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 844s # if (pspec == NULL) 844s # { 844s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 844s # } 844s # else 844s # { 844s # g_value_init (&value, pspec->value_type); 844s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 844s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 844s # g_value_unset (&value); 844s # } 844s # return ret; 844s # } 844s # 844s # static gboolean 844s # _org_project_useful_interface_skeleton_handle_set_property ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name G_GNUC_UNUSED, 844s # const gchar *property_name, 844s # GVariant *variant, 844s # GError **error, 844s # gpointer user_data) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 844s # GValue value = G_VALUE_INIT; 844s # GParamSpec *pspec; 844s # _ExtendedGDBusPropertyInfo *info; 844s # gboolean ret; 844s # ret = FALSE; 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 844s # g_assert (info != NULL); 844s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 844s # if (pspec == NULL) 844s # { 844s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 844s # } 844s # else 844s # { 844s # if (info->use_gvariant) 844s # g_value_set_variant (&value, variant); 844s # else 844s # g_dbus_gvariant_to_gvalue (variant, &value); 844s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 844s # g_value_unset (&value); 844s # ret = TRUE; 844s # } 844s # return ret; 844s # } 844s # 844s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 844s # { 844s # _org_project_useful_interface_skeleton_handle_method_call, 844s # _org_project_useful_interface_skeleton_handle_get_property, 844s # _org_project_useful_interface_skeleton_handle_set_property, 844s # {NULL} 844s # }; 844s # 844s # static GDBusInterfaceInfo * 844s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 844s # { 844s # return org_project_useful_interface_interface_info (); 844s # } 844s # 844s # static GDBusInterfaceVTable * 844s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 844s # { 844s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 844s # } 844s # 844s # static GVariant * 844s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 844s # 844s # GVariantBuilder builder; 844s # guint n; 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 844s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 844s # #else 844s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 844s # #endif 844s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 844s # goto out; 844s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 844s # { 844s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 844s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 844s # { 844s # GVariant *value; 844s # 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); 844s # if (value != NULL) 844s # { 844s # g_variant_take_ref (value); 844s # g_variant_builder_add (&builder, "{sv}", info->name, value); 844s # g_variant_unref (value); 844s # } 844s # } 844s # } 844s # out: 844s # return g_variant_builder_end (&builder); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 844s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 844s # 844s # #else 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 844s # 844s # #endif 844s # static void 844s # org_project_useful_interface_skeleton_finalize (GObject *object) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 844s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 844s # if (skeleton->priv->changed_properties_idle_source != NULL) 844s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 844s # g_main_context_unref (skeleton->priv->context); 844s # g_mutex_clear (&skeleton->priv->lock); 844s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 844s # { 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 844s # #else 844s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 844s # #endif 844s # 844s # g_mutex_init (&skeleton->priv->lock); 844s # skeleton->priv->context = g_main_context_ref_thread_default (); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 844s # { 844s # GObjectClass *gobject_class; 844s # GDBusInterfaceSkeletonClass *skeleton_class; 844s # 844s # gobject_class = G_OBJECT_CLASS (klass); 844s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 844s # 844s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 844s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 844s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 844s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 844s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 844s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 844s # #endif 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_skeleton_new: 844s # * 844s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_skeleton_new (void) 844s # { 844s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 844s # } 844s # Error: 844s # 844s # /tmp/tmpd_v7eoq3/tmptc3sdmo0.xml: 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpd_v7eoq3/tmptc3sdmo0.xml', '--output', '-', '--body'] 844s # Return code: 0 844s # Output: 844s # /* 844s # * This file is generated by gdbus-codegen, do not modify it. 844s # * 844s # * The license of this code is the same as for the D-Bus interface description 844s # * it was derived from. Note that it links to GLib, so must comply with the 844s # * LGPL linking clauses. 844s # */ 844s # 844s # #ifdef HAVE_CONFIG_H 844s # # include "config.h" 844s # #endif 844s # 844s # #include 844s # #ifdef G_OS_UNIX 844s # # include 844s # #endif 844s # 844s # #ifdef G_ENABLE_DEBUG 844s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 844s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 844s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 844s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 844s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 844s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 844s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 844s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 844s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 844s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 844s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 844s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 844s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 844s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 844s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 844s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 844s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 844s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 844s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 844s # #else /* !G_ENABLE_DEBUG */ 844s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 844s # * Do not access GValues directly in your code. Instead, use the 844s # * g_value_get_*() functions 844s # */ 844s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 844s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 844s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 844s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 844s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 844s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 844s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 844s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 844s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 844s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 844s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 844s # #endif /* !G_ENABLE_DEBUG */ 844s # 844s # typedef struct 844s # { 844s # GDBusArgInfo parent_struct; 844s # gboolean use_gvariant; 844s # } _ExtendedGDBusArgInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusMethodInfo parent_struct; 844s # const gchar *signal_name; 844s # gboolean pass_fdlist; 844s # } _ExtendedGDBusMethodInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusSignalInfo parent_struct; 844s # const gchar *signal_name; 844s # } _ExtendedGDBusSignalInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusPropertyInfo parent_struct; 844s # const gchar *hyphen_name; 844s # guint use_gvariant : 1; 844s # guint emits_changed_signal : 1; 844s # } _ExtendedGDBusPropertyInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusInterfaceInfo parent_struct; 844s # const gchar *hyphen_name; 844s # } _ExtendedGDBusInterfaceInfo; 844s # 844s # typedef struct 844s # { 844s # const _ExtendedGDBusPropertyInfo *info; 844s # guint prop_id; 844s # GValue orig_value; /* the value before the change */ 844s # } ChangedProperty; 844s # 844s # static void 844s # _changed_property_free (ChangedProperty *data) 844s # { 844s # g_value_unset (&data->orig_value); 844s # g_free (data); 844s # } 844s # 844s # static gboolean 844s # _g_strv_equal0 (gchar **a, gchar **b) 844s # { 844s # gboolean ret = FALSE; 844s # guint n; 844s # if (a == NULL && b == NULL) 844s # { 844s # ret = TRUE; 844s # goto out; 844s # } 844s # if (a == NULL || b == NULL) 844s # goto out; 844s # if (g_strv_length (a) != g_strv_length (b)) 844s # goto out; 844s # for (n = 0; a[n] != NULL; n++) 844s # if (g_strcmp0 (a[n], b[n]) != 0) 844s # goto out; 844s # ret = TRUE; 844s # out: 844s # return ret; 844s # } 844s # 844s # static gboolean 844s # _g_variant_equal0 (GVariant *a, GVariant *b) 844s # { 844s # gboolean ret = FALSE; 844s # if (a == NULL && b == NULL) 844s # { 844s # ret = TRUE; 844s # goto out; 844s # } 844s # if (a == NULL || b == NULL) 844s # goto out; 844s # ret = g_variant_equal (a, b); 844s # out: 844s # return ret; 844s # } 844s # 844s # G_GNUC_UNUSED static gboolean 844s # _g_value_equal (const GValue *a, const GValue *b) 844s # { 844s # gboolean ret = FALSE; 844s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 844s # switch (G_VALUE_TYPE (a)) 844s # { 844s # case G_TYPE_BOOLEAN: 844s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 844s # break; 844s # case G_TYPE_UCHAR: 844s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 844s # break; 844s # case G_TYPE_INT: 844s # ret = (g_value_get_int (a) == g_value_get_int (b)); 844s # break; 844s # case G_TYPE_UINT: 844s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 844s # break; 844s # case G_TYPE_INT64: 844s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 844s # break; 844s # case G_TYPE_UINT64: 844s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 844s # break; 844s # case G_TYPE_DOUBLE: 844s # { 844s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 844s # gdouble da = g_value_get_double (a); 844s # gdouble db = g_value_get_double (b); 844s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 844s # } 844s # break; 844s # case G_TYPE_STRING: 844s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 844s # break; 844s # case G_TYPE_VARIANT: 844s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 844s # break; 844s # default: 844s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 844s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 844s # else 844s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 844s # break; 844s # } 844s # return ret; 844s # } 844s # 844s # static void 844s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 844s # GClosure *closure, 844s # GValue *return_value, 844s # unsigned int n_param_values, 844s # const GValue *param_values, 844s # void *invocation_hint G_GNUC_UNUSED, 844s # void *marshal_data) 844s # { 844s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 844s # (void *data1, 844s # GDBusMethodInvocation *arg_method_invocation, 844s # void *data2); 844s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 844s # GCClosure *cc = (GCClosure*) closure; 844s # void *data1, *data2; 844s # gboolean v_return; 844s # 844s # g_return_if_fail (return_value != NULL); 844s # g_return_if_fail (n_param_values == 2); 844s # 844s # if (G_CCLOSURE_SWAP_DATA (closure)) 844s # { 844s # data1 = closure->data; 844s # data2 = g_value_peek_pointer (param_values + 0); 844s # } 844s # else 844s # { 844s # data1 = g_value_peek_pointer (param_values + 0); 844s # data2 = closure->data; 844s # } 844s # 844s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 844s # (marshal_data ? marshal_data : cc->callback); 844s # 844s # v_return = 844s # callback (data1, 844s # g_marshal_value_peek_object (param_values + 1), 844s # data2); 844s # 844s # g_value_set_boolean (return_value, v_return); 844s # } 844s # 844s # /* ------------------------------------------------------------------------ 844s # * Code for interface org.project.UsefulInterface 844s # * ------------------------------------------------------------------------ 844s # */ 844s # 844s # /** 844s # * SECTION:OrgProjectUsefulInterface 844s # * @title: OrgProjectUsefulInterface 844s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 844s # * 844s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 844s # */ 844s # 844s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q = 844s # { 844s # { 844s # -1, 844s # (gchar *) "arg_q", 844s # (gchar *) "q", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers[] = 844s # { 844s # &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 844s # { 844s # { 844s # -1, 844s # (gchar *) "SingleArgMethodQ", 844s # NULL, 844s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers, 844s # NULL 844s # }, 844s # "handle-single-arg-method-q", 844s # FALSE 844s # }; 844s # 844s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 844s # { 844s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 844s # { 844s # { 844s # -1, 844s # (gchar *) "org.project.UsefulInterface", 844s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 844s # NULL, 844s # NULL, 844s # NULL 844s # }, 844s # "org-project-useful-interface", 844s # }; 844s # 844s # 844s # /** 844s # * org_project_useful_interface_interface_info: 844s # * 844s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 844s # * 844s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 844s # */ 844s # GDBusInterfaceInfo * 844s # org_project_useful_interface_interface_info (void) 844s # { 844s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_override_properties: 844s # * @klass: The class structure for a #GObject derived class. 844s # * @property_id_begin: The property id to assign to the first overridden property. 844s # * 844s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 844s # * The properties are overridden in the order they are defined. 844s # * 844s # * Returns: The last property id. 844s # */ 844s # guint 844s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 844s # { 844s # return property_id_begin - 1; 844s # } 844s # 844s # 844s # inline static void 844s # org_project_useful_interface_method_marshal_single_arg_method_q ( 844s # GClosure *closure, 844s # GValue *return_value, 844s # unsigned int n_param_values, 844s # const GValue *param_values, 844s # void *invocation_hint, 844s # void *marshal_data) 844s # { 844s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 844s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 844s # } 844s # 844s # 844s # /** 844s # * OrgProjectUsefulInterface: 844s # * 844s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 844s # */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceIface: 844s # * @parent_iface: The parent interface. 844s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 844s # * 844s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 844s # */ 844s # 844s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 844s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 844s # 844s # static void 844s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 844s # { 844s # /* GObject signals for incoming D-Bus method calls: */ 844s # /** 844s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 844s # * @object: A #OrgProjectUsefulInterface. 844s # * @invocation: A #GDBusMethodInvocation. 844s # * 844s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 844s # * 844s # * 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. 844s # * 844s # * 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. 844s # */ 844s # g_signal_new ("handle-single-arg-method-q", 844s # G_TYPE_FROM_INTERFACE (iface), 844s # G_SIGNAL_RUN_LAST, 844s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 844s # g_signal_accumulator_true_handled, 844s # NULL, 844s # org_project_useful_interface_method_marshal_single_arg_method_q, 844s # G_TYPE_BOOLEAN, 844s # 1, 844s # G_TYPE_DBUS_METHOD_INVOCATION); 844s # 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_call_single_arg_method_q: 844s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 844s # * 844s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 844s # */ 844s # void 844s # org_project_useful_interface_call_single_arg_method_q ( 844s # OrgProjectUsefulInterface *proxy, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 844s # "SingleArgMethodQ", 844s # g_variant_new ("()"), 844s # G_DBUS_CALL_FLAGS_NONE, 844s # -1, 844s # cancellable, 844s # callback, 844s # user_data); 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_call_single_arg_method_q_finish: 844s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 844s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 844s # * @error: Return location for error or %NULL. 844s # * 844s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 844s # * 844s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 844s # */ 844s # gboolean 844s # org_project_useful_interface_call_single_arg_method_q_finish ( 844s # OrgProjectUsefulInterface *proxy, 844s # guint16 *out_arg_q, 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GVariant *_ret; 844s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 844s # if (_ret == NULL) 844s # goto _out; 844s # g_variant_get (_ret, 844s # "(q)", 844s # out_arg_q); 844s # g_variant_unref (_ret); 844s # _out: 844s # return _ret != NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_call_single_arg_method_q_sync: 844s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 844s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL. 844s # * 844s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 844s # * 844s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 844s # */ 844s # gboolean 844s # org_project_useful_interface_call_single_arg_method_q_sync ( 844s # OrgProjectUsefulInterface *proxy, 844s # guint16 *out_arg_q, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GVariant *_ret; 844s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 844s # "SingleArgMethodQ", 844s # g_variant_new ("()"), 844s # G_DBUS_CALL_FLAGS_NONE, 844s # -1, 844s # cancellable, 844s # error); 844s # if (_ret == NULL) 844s # goto _out; 844s # g_variant_get (_ret, 844s # "(q)", 844s # out_arg_q); 844s # g_variant_unref (_ret); 844s # _out: 844s # return _ret != NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_complete_single_arg_method_q: 844s # * @object: A #OrgProjectUsefulInterface. 844s # * @invocation: (transfer full): A #GDBusMethodInvocation. 844s # * @arg_q: Parameter to return. 844s # * 844s # * 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. 844s # * 844s # * This method will free @invocation, you cannot use it afterwards. 844s # */ 844s # void 844s # org_project_useful_interface_complete_single_arg_method_q ( 844s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 844s # GDBusMethodInvocation *invocation, 844s # guint16 arg_q) 844s # { 844s # g_dbus_method_invocation_return_value (invocation, 844s # g_variant_new ("(q)", 844s # arg_q)); 844s # } 844s # 844s # /* ------------------------------------------------------------------------ */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceProxy: 844s # * 844s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 844s # */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceProxyClass: 844s # * @parent_class: The parent class. 844s # * 844s # * Class structure for #OrgProjectUsefulInterfaceProxy. 844s # */ 844s # 844s # struct _OrgProjectUsefulInterfaceProxyPrivate 844s # { 844s # GData *qdata; 844s # }; 844s # 844s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 844s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 844s # 844s # #else 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 844s # 844s # #endif 844s # static void 844s # org_project_useful_interface_proxy_finalize (GObject *object) 844s # { 844s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 844s # g_datalist_clear (&proxy->priv->qdata); 844s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 844s # guint prop_id G_GNUC_UNUSED, 844s # GValue *value G_GNUC_UNUSED, 844s # GParamSpec *pspec G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 844s # guint prop_id G_GNUC_UNUSED, 844s # const GValue *value G_GNUC_UNUSED, 844s # GParamSpec *pspec G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 844s # const gchar *sender_name G_GNUC_UNUSED, 844s # const gchar *signal_name, 844s # GVariant *parameters) 844s # { 844s # _ExtendedGDBusSignalInfo *info; 844s # GVariantIter iter; 844s # GVariant *child; 844s # GValue *paramv; 844s # gsize num_params; 844s # gsize n; 844s # guint signal_id; 844s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 844s # if (info == NULL) 844s # return; 844s # num_params = g_variant_n_children (parameters); 844s # paramv = g_new0 (GValue, num_params + 1); 844s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_value_set_object (¶mv[0], proxy); 844s # g_variant_iter_init (&iter, parameters); 844s # n = 1; 844s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 844s # { 844s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 844s # if (arg_info->use_gvariant) 844s # { 844s # g_value_init (¶mv[n], G_TYPE_VARIANT); 844s # g_value_set_variant (¶mv[n], child); 844s # n++; 844s # } 844s # else 844s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 844s # g_variant_unref (child); 844s # } 844s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_signal_emitv (paramv, signal_id, 0, NULL); 844s # for (n = 0; n < num_params + 1; n++) 844s # g_value_unset (¶mv[n]); 844s # g_free (paramv); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 844s # GVariant *changed_properties, 844s # const gchar *const *invalidated_properties) 844s # { 844s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 844s # guint n; 844s # const gchar *key; 844s # GVariantIter *iter; 844s # _ExtendedGDBusPropertyInfo *info; 844s # g_variant_get (changed_properties, "a{sv}", &iter); 844s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 844s # { 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 844s # g_datalist_remove_data (&proxy->priv->qdata, key); 844s # if (info != NULL) 844s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 844s # } 844s # g_variant_iter_free (iter); 844s # for (n = 0; invalidated_properties[n] != NULL; n++) 844s # { 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 844s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 844s # if (info != NULL) 844s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 844s # } 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 844s # { 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 844s # #else 844s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 844s # #endif 844s # 844s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 844s # { 844s # GObjectClass *gobject_class; 844s # GDBusProxyClass *proxy_class; 844s # 844s # gobject_class = G_OBJECT_CLASS (klass); 844s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 844s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 844s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 844s # 844s # proxy_class = G_DBUS_PROXY_CLASS (klass); 844s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 844s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 844s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 844s # #endif 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new: 844s # * @connection: A #GDBusConnection. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 844s # * 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 844s # * 844s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 844s # */ 844s # void 844s # org_project_useful_interface_proxy_new ( 844s # GDBusConnection *connection, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # g_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); 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_finish: 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 844s # * @error: Return location for error or %NULL 844s # * 844s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_finish ( 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GObject *ret; 844s # GObject *source_object; 844s # source_object = g_async_result_get_source_object (res); 844s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 844s # g_object_unref (source_object); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_sync: 844s # * @connection: A #GDBusConnection. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL 844s # * 844s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 844s # * 844s # * The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_sync ( 844s # GDBusConnection *connection, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GInitable *ret; 844s # 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); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_for_bus: 844s # * @bus_type: A #GBusType. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: A bus name (well-known or unique). 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 844s # * 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 844s # * 844s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 844s # */ 844s # void 844s # org_project_useful_interface_proxy_new_for_bus ( 844s # GBusType bus_type, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # g_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); 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_for_bus_finish: 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 844s # * @error: Return location for error or %NULL 844s # * 844s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_for_bus_finish ( 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GObject *ret; 844s # GObject *source_object; 844s # source_object = g_async_result_get_source_object (res); 844s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 844s # g_object_unref (source_object); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_for_bus_sync: 844s # * @bus_type: A #GBusType. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: A bus name (well-known or unique). 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL 844s # * 844s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 844s # * 844s # * The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_for_bus_sync ( 844s # GBusType bus_type, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GInitable *ret; 844s # 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); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # 844s # /* ------------------------------------------------------------------------ */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceSkeleton: 844s # * 844s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 844s # */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceSkeletonClass: 844s # * @parent_class: The parent class. 844s # * 844s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 844s # */ 844s # 844s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 844s # { 844s # GValue *properties; 844s # GList *changed_properties; 844s # GSource *changed_properties_idle_source; 844s # GMainContext *context; 844s # GMutex lock; 844s # }; 844s # 844s # static void 844s # _org_project_useful_interface_skeleton_handle_method_call ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name, 844s # const gchar *method_name, 844s # GVariant *parameters, 844s # GDBusMethodInvocation *invocation, 844s # gpointer user_data) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 844s # _ExtendedGDBusMethodInfo *info; 844s # GVariantIter iter; 844s # GVariant *child; 844s # GValue *paramv; 844s # gsize num_params; 844s # guint num_extra; 844s # gsize n; 844s # guint signal_id; 844s # GValue return_value = G_VALUE_INIT; 844s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 844s # g_assert (info != NULL); 844s # num_params = g_variant_n_children (parameters); 844s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 844s # n = 0; 844s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_value_set_object (¶mv[n++], skeleton); 844s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 844s # g_value_set_object (¶mv[n++], invocation); 844s # if (info->pass_fdlist) 844s # { 844s # #ifdef G_OS_UNIX 844s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 844s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 844s # #else 844s # g_assert_not_reached (); 844s # #endif 844s # } 844s # g_variant_iter_init (&iter, parameters); 844s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 844s # { 844s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 844s # if (arg_info->use_gvariant) 844s # { 844s # g_value_init (¶mv[n], G_TYPE_VARIANT); 844s # g_value_set_variant (¶mv[n], child); 844s # n++; 844s # } 844s # else 844s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 844s # g_variant_unref (child); 844s # } 844s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_value_init (&return_value, G_TYPE_BOOLEAN); 844s # g_signal_emitv (paramv, signal_id, 0, &return_value); 844s # if (!g_value_get_boolean (&return_value)) 844s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 844s # g_value_unset (&return_value); 844s # for (n = 0; n < num_params + num_extra; n++) 844s # g_value_unset (¶mv[n]); 844s # g_free (paramv); 844s # } 844s # 844s # static GVariant * 844s # _org_project_useful_interface_skeleton_handle_get_property ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name G_GNUC_UNUSED, 844s # const gchar *property_name, 844s # GError **error, 844s # gpointer user_data) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 844s # GValue value = G_VALUE_INIT; 844s # GParamSpec *pspec; 844s # _ExtendedGDBusPropertyInfo *info; 844s # GVariant *ret; 844s # ret = NULL; 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 844s # g_assert (info != NULL); 844s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 844s # if (pspec == NULL) 844s # { 844s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 844s # } 844s # else 844s # { 844s # g_value_init (&value, pspec->value_type); 844s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 844s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 844s # g_value_unset (&value); 844s # } 844s # return ret; 844s # } 844s # 844s # static gboolean 844s # _org_project_useful_interface_skeleton_handle_set_property ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name G_GNUC_UNUSED, 844s # const gchar *property_name, 844s # GVariant *variant, 844s # GError **error, 844s # gpointer user_data) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 844s # GValue value = G_VALUE_INIT; 844s # GParamSpec *pspec; 844s # _ExtendedGDBusPropertyInfo *info; 844s # gboolean ret; 844s # ret = FALSE; 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 844s # g_assert (info != NULL); 844s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 844s # if (pspec == NULL) 844s # { 844s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 844s # } 844s # else 844s # { 844s # if (info->use_gvariant) 844s # g_value_set_variant (&value, variant); 844s # else 844s # g_dbus_gvariant_to_gvalue (variant, &value); 844s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 844s # g_value_unset (&value); 844s # ret = TRUE; 844s # } 844s # return ret; 844s # } 844s # 844s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 844s # { 844s # _org_project_useful_interface_skeleton_handle_method_call, 844s # _org_project_useful_interface_skeleton_handle_get_property, 844s # _org_project_useful_interface_skeleton_handle_set_property, 844s # {NULL} 844s # }; 844s # 844s # static GDBusInterfaceInfo * 844s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 844s # { 844s # return org_project_useful_interface_interface_info (); 844s # } 844s # 844s # static GDBusInterfaceVTable * 844s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 844s # { 844s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 844s # } 844s # 844s # static GVariant * 844s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 844s # 844s # GVariantBuilder builder; 844s # guint n; 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 844s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 844s # #else 844s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 844s # #endif 844s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 844s # goto out; 844s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 844s # { 844s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 844s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 844s # { 844s # GVariant *value; 844s # 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); 844s # if (value != NULL) 844s # { 844s # g_variant_take_ref (value); 844s # g_variant_builder_add (&builder, "{sv}", info->name, value); 844s # g_variant_unref (value); 844s # } 844s # } 844s # } 844s # out: 844s # return g_variant_builder_end (&builder); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 844s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 844s # 844s # #else 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 844s # 844s # #endif 844s # static void 844s # org_project_useful_interface_skeleton_finalize (GObject *object) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 844s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 844s # if (skeleton->priv->changed_properties_idle_source != NULL) 844s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 844s # g_main_context_unref (skeleton->priv->context); 844s # g_mutex_clear (&skeleton->priv->lock); 844s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 844s # { 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 844s # #else 844s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 844s # #endif 844s # 844s # g_mutex_init (&skeleton->priv->lock); 844s # skeleton->priv->context = g_main_context_ref_thread_default (); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 844s # { 844s # GObjectClass *gobject_class; 844s # GDBusInterfaceSkeletonClass *skeleton_class; 844s # 844s # gobject_class = G_OBJECT_CLASS (klass); 844s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 844s # 844s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 844s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 844s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 844s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 844s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 844s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 844s # #endif 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_skeleton_new: 844s # * 844s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_skeleton_new (void) 844s # { 844s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 844s # } 844s # Error: 844s # 844s # /tmp/tmpd_v7eoq3/tmpx3xr14g2.xml: 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpd_v7eoq3/tmpx3xr14g2.xml', '--output', '-', '--body'] 844s # Return code: 0 844s # Output: 844s # /* 844s # * This file is generated by gdbus-codegen, do not modify it. 844s # * 844s # * The license of this code is the same as for the D-Bus interface description 844s # * it was derived from. Note that it links to GLib, so must comply with the 844s # * LGPL linking clauses. 844s # */ 844s # 844s # #ifdef HAVE_CONFIG_H 844s # # include "config.h" 844s # #endif 844s # 844s # #include 844s # #ifdef G_OS_UNIX 844s # # include 844s # #endif 844s # 844s # #ifdef G_ENABLE_DEBUG 844s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 844s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 844s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 844s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 844s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 844s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 844s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 844s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 844s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 844s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 844s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 844s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 844s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 844s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 844s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 844s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 844s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 844s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 844s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 844s # #else /* !G_ENABLE_DEBUG */ 844s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 844s # * Do not access GValues directly in your code. Instead, use the 844s # * g_value_get_*() functions 844s # */ 844s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 844s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 844s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 844s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 844s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 844s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 844s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 844s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 844s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 844s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 844s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 844s # #endif /* !G_ENABLE_DEBUG */ 844s # 844s # typedef struct 844s # { 844s # GDBusArgInfo parent_struct; 844s # gboolean use_gvariant; 844s # } _ExtendedGDBusArgInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusMethodInfo parent_struct; 844s # const gchar *signal_name; 844s # gboolean pass_fdlist; 844s # } _ExtendedGDBusMethodInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusSignalInfo parent_struct; 844s # const gchar *signal_name; 844s # } _ExtendedGDBusSignalInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusPropertyInfo parent_struct; 844s # const gchar *hyphen_name; 844s # guint use_gvariant : 1; 844s # guint emits_changed_signal : 1; 844s # } _ExtendedGDBusPropertyInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusInterfaceInfo parent_struct; 844s # const gchar *hyphen_name; 844s # } _ExtendedGDBusInterfaceInfo; 844s # 844s # typedef struct 844s # { 844s # const _ExtendedGDBusPropertyInfo *info; 844s # guint prop_id; 844s # GValue orig_value; /* the value before the change */ 844s # } ChangedProperty; 844s # 844s # static void 844s # _changed_property_free (ChangedProperty *data) 844s # { 844s # g_value_unset (&data->orig_value); 844s # g_free (data); 844s # } 844s # 844s # static gboolean 844s # _g_strv_equal0 (gchar **a, gchar **b) 844s # { 844s # gboolean ret = FALSE; 844s # guint n; 844s # if (a == NULL && b == NULL) 844s # { 844s # ret = TRUE; 844s # goto out; 844s # } 844s # if (a == NULL || b == NULL) 844s # goto out; 844s # if (g_strv_length (a) != g_strv_length (b)) 844s # goto out; 844s # for (n = 0; a[n] != NULL; n++) 844s # if (g_strcmp0 (a[n], b[n]) != 0) 844s # goto out; 844s # ret = TRUE; 844s # out: 844s # return ret; 844s # } 844s # 844s # static gboolean 844s # _g_variant_equal0 (GVariant *a, GVariant *b) 844s # { 844s # gboolean ret = FALSE; 844s # if (a == NULL && b == NULL) 844s # { 844s # ret = TRUE; 844s # goto out; 844s # } 844s # if (a == NULL || b == NULL) 844s # goto out; 844s # ret = g_variant_equal (a, b); 844s # out: 844s # return ret; 844s # } 844s # 844s # G_GNUC_UNUSED static gboolean 844s # _g_value_equal (const GValue *a, const GValue *b) 844s # { 844s # gboolean ret = FALSE; 844s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 844s # switch (G_VALUE_TYPE (a)) 844s # { 844s # case G_TYPE_BOOLEAN: 844s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 844s # break; 844s # case G_TYPE_UCHAR: 844s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 844s # break; 844s # case G_TYPE_INT: 844s # ret = (g_value_get_int (a) == g_value_get_int (b)); 844s # break; 844s # case G_TYPE_UINT: 844s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 844s # break; 844s # case G_TYPE_INT64: 844s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 844s # break; 844s # case G_TYPE_UINT64: 844s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 844s # break; 844s # case G_TYPE_DOUBLE: 844s # { 844s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 844s # gdouble da = g_value_get_double (a); 844s # gdouble db = g_value_get_double (b); 844s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 844s # } 844s # break; 844s # case G_TYPE_STRING: 844s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 844s # break; 844s # case G_TYPE_VARIANT: 844s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 844s # break; 844s # default: 844s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 844s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 844s # else 844s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 844s # break; 844s # } 844s # return ret; 844s # } 844s # 844s # static void 844s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 844s # GClosure *closure, 844s # GValue *return_value, 844s # unsigned int n_param_values, 844s # const GValue *param_values, 844s # void *invocation_hint G_GNUC_UNUSED, 844s # void *marshal_data) 844s # { 844s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 844s # (void *data1, 844s # GDBusMethodInvocation *arg_method_invocation, 844s # void *data2); 844s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 844s # GCClosure *cc = (GCClosure*) closure; 844s # void *data1, *data2; 844s # gboolean v_return; 844s # 844s # g_return_if_fail (return_value != NULL); 844s # g_return_if_fail (n_param_values == 2); 844s # 844s # if (G_CCLOSURE_SWAP_DATA (closure)) 844s # { 844s # data1 = closure->data; 844s # data2 = g_value_peek_pointer (param_values + 0); 844s # } 844s # else 844s # { 844s # data1 = g_value_peek_pointer (param_values + 0); 844s # data2 = closure->data; 844s # } 844s # 844s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 844s # (marshal_data ? marshal_data : cc->callback); 844s # 844s # v_return = 844s # callback (data1, 844s # g_marshal_value_peek_object (param_values + 1), 844s # data2); 844s # 844s # g_value_set_boolean (return_value, v_return); 844s # } 844s # 844s # /* ------------------------------------------------------------------------ 844s # * Code for interface org.project.UsefulInterface 844s # * ------------------------------------------------------------------------ 844s # */ 844s # 844s # /** 844s # * SECTION:OrgProjectUsefulInterface 844s # * @title: OrgProjectUsefulInterface 844s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 844s # * 844s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 844s # */ 844s # 844s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i = 844s # { 844s # { 844s # -1, 844s # (gchar *) "arg_i", 844s # (gchar *) "i", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers[] = 844s # { 844s # &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 844s # { 844s # { 844s # -1, 844s # (gchar *) "SingleArgMethodI", 844s # NULL, 844s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers, 844s # NULL 844s # }, 844s # "handle-single-arg-method-i", 844s # FALSE 844s # }; 844s # 844s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 844s # { 844s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 844s # { 844s # { 844s # -1, 844s # (gchar *) "org.project.UsefulInterface", 844s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 844s # NULL, 844s # NULL, 844s # NULL 844s # }, 844s # "org-project-useful-interface", 844s # }; 844s # 844s # 844s # /** 844s # * org_project_useful_interface_interface_info: 844s # * 844s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 844s # * 844s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 844s # */ 844s # GDBusInterfaceInfo * 844s # org_project_useful_interface_interface_info (void) 844s # { 844s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_override_properties: 844s # * @klass: The class structure for a #GObject derived class. 844s # * @property_id_begin: The property id to assign to the first overridden property. 844s # * 844s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 844s # * The properties are overridden in the order they are defined. 844s # * 844s # * Returns: The last property id. 844s # */ 844s # guint 844s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 844s # { 844s # return property_id_begin - 1; 844s # } 844s # 844s # 844s # inline static void 844s # org_project_useful_interface_method_marshal_single_arg_method_i ( 844s # GClosure *closure, 844s # GValue *return_value, 844s # unsigned int n_param_values, 844s # const GValue *param_values, 844s # void *invocation_hint, 844s # void *marshal_data) 844s # { 844s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 844s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 844s # } 844s # 844s # 844s # /** 844s # * OrgProjectUsefulInterface: 844s # * 844s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 844s # */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceIface: 844s # * @parent_iface: The parent interface. 844s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 844s # * 844s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 844s # */ 844s # 844s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 844s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 844s # 844s # static void 844s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 844s # { 844s # /* GObject signals for incoming D-Bus method calls: */ 844s # /** 844s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 844s # * @object: A #OrgProjectUsefulInterface. 844s # * @invocation: A #GDBusMethodInvocation. 844s # * 844s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 844s # * 844s # * 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. 844s # * 844s # * 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. 844s # */ 844s # g_signal_new ("handle-single-arg-method-i", 844s # G_TYPE_FROM_INTERFACE (iface), 844s # G_SIGNAL_RUN_LAST, 844s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 844s # g_signal_accumulator_true_handled, 844s # NULL, 844s # org_project_useful_interface_method_marshal_single_arg_method_i, 844s # G_TYPE_BOOLEAN, 844s # 1, 844s # G_TYPE_DBUS_METHOD_INVOCATION); 844s # 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_call_single_arg_method_i: 844s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 844s # * 844s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 844s # */ 844s # void 844s # org_project_useful_interface_call_single_arg_method_i ( 844s # OrgProjectUsefulInterface *proxy, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 844s # "SingleArgMethodI", 844s # g_variant_new ("()"), 844s # G_DBUS_CALL_FLAGS_NONE, 844s # -1, 844s # cancellable, 844s # callback, 844s # user_data); 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_call_single_arg_method_i_finish: 844s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 844s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 844s # * @error: Return location for error or %NULL. 844s # * 844s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 844s # * 844s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 844s # */ 844s # gboolean 844s # org_project_useful_interface_call_single_arg_method_i_finish ( 844s # OrgProjectUsefulInterface *proxy, 844s # gint *out_arg_i, 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GVariant *_ret; 844s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 844s # if (_ret == NULL) 844s # goto _out; 844s # g_variant_get (_ret, 844s # "(i)", 844s # out_arg_i); 844s # g_variant_unref (_ret); 844s # _out: 844s # return _ret != NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_call_single_arg_method_i_sync: 844s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 844s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL. 844s # * 844s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 844s # * 844s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 844s # */ 844s # gboolean 844s # org_project_useful_interface_call_single_arg_method_i_sync ( 844s # OrgProjectUsefulInterface *proxy, 844s # gint *out_arg_i, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GVariant *_ret; 844s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 844s # "SingleArgMethodI", 844s # g_variant_new ("()"), 844s # G_DBUS_CALL_FLAGS_NONE, 844s # -1, 844s # cancellable, 844s # error); 844s # if (_ret == NULL) 844s # goto _out; 844s # g_variant_get (_ret, 844s # "(i)", 844s # out_arg_i); 844s # g_variant_unref (_ret); 844s # _out: 844s # return _ret != NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_complete_single_arg_method_i: 844s # * @object: A #OrgProjectUsefulInterface. 844s # * @invocation: (transfer full): A #GDBusMethodInvocation. 844s # * @arg_i: Parameter to return. 844s # * 844s # * 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. 844s # * 844s # * This method will free @invocation, you cannot use it afterwards. 844s # */ 844s # void 844s # org_project_useful_interface_complete_single_arg_method_i ( 844s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 844s # GDBusMethodInvocation *invocation, 844s # gint arg_i) 844s # { 844s # g_dbus_method_invocation_return_value (invocation, 844s # g_variant_new ("(i)", 844s # arg_i)); 844s # } 844s # 844s # /* ------------------------------------------------------------------------ */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceProxy: 844s # * 844s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 844s # */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceProxyClass: 844s # * @parent_class: The parent class. 844s # * 844s # * Class structure for #OrgProjectUsefulInterfaceProxy. 844s # */ 844s # 844s # struct _OrgProjectUsefulInterfaceProxyPrivate 844s # { 844s # GData *qdata; 844s # }; 844s # 844s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 844s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 844s # 844s # #else 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 844s # 844s # #endif 844s # static void 844s # org_project_useful_interface_proxy_finalize (GObject *object) 844s # { 844s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 844s # g_datalist_clear (&proxy->priv->qdata); 844s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 844s # guint prop_id G_GNUC_UNUSED, 844s # GValue *value G_GNUC_UNUSED, 844s # GParamSpec *pspec G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 844s # guint prop_id G_GNUC_UNUSED, 844s # const GValue *value G_GNUC_UNUSED, 844s # GParamSpec *pspec G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 844s # const gchar *sender_name G_GNUC_UNUSED, 844s # const gchar *signal_name, 844s # GVariant *parameters) 844s # { 844s # _ExtendedGDBusSignalInfo *info; 844s # GVariantIter iter; 844s # GVariant *child; 844s # GValue *paramv; 844s # gsize num_params; 844s # gsize n; 844s # guint signal_id; 844s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 844s # if (info == NULL) 844s # return; 844s # num_params = g_variant_n_children (parameters); 844s # paramv = g_new0 (GValue, num_params + 1); 844s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_value_set_object (¶mv[0], proxy); 844s # g_variant_iter_init (&iter, parameters); 844s # n = 1; 844s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 844s # { 844s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 844s # if (arg_info->use_gvariant) 844s # { 844s # g_value_init (¶mv[n], G_TYPE_VARIANT); 844s # g_value_set_variant (¶mv[n], child); 844s # n++; 844s # } 844s # else 844s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 844s # g_variant_unref (child); 844s # } 844s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_signal_emitv (paramv, signal_id, 0, NULL); 844s # for (n = 0; n < num_params + 1; n++) 844s # g_value_unset (¶mv[n]); 844s # g_free (paramv); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 844s # GVariant *changed_properties, 844s # const gchar *const *invalidated_properties) 844s # { 844s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 844s # guint n; 844s # const gchar *key; 844s # GVariantIter *iter; 844s # _ExtendedGDBusPropertyInfo *info; 844s # g_variant_get (changed_properties, "a{sv}", &iter); 844s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 844s # { 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 844s # g_datalist_remove_data (&proxy->priv->qdata, key); 844s # if (info != NULL) 844s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 844s # } 844s # g_variant_iter_free (iter); 844s # for (n = 0; invalidated_properties[n] != NULL; n++) 844s # { 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 844s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 844s # if (info != NULL) 844s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 844s # } 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 844s # { 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 844s # #else 844s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 844s # #endif 844s # 844s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 844s # { 844s # GObjectClass *gobject_class; 844s # GDBusProxyClass *proxy_class; 844s # 844s # gobject_class = G_OBJECT_CLASS (klass); 844s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 844s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 844s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 844s # 844s # proxy_class = G_DBUS_PROXY_CLASS (klass); 844s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 844s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 844s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 844s # #endif 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new: 844s # * @connection: A #GDBusConnection. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 844s # * 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 844s # * 844s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 844s # */ 844s # void 844s # org_project_useful_interface_proxy_new ( 844s # GDBusConnection *connection, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # g_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); 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_finish: 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 844s # * @error: Return location for error or %NULL 844s # * 844s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_finish ( 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GObject *ret; 844s # GObject *source_object; 844s # source_object = g_async_result_get_source_object (res); 844s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 844s # g_object_unref (source_object); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_sync: 844s # * @connection: A #GDBusConnection. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL 844s # * 844s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 844s # * 844s # * The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_sync ( 844s # GDBusConnection *connection, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GInitable *ret; 844s # 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); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_for_bus: 844s # * @bus_type: A #GBusType. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: A bus name (well-known or unique). 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 844s # * 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 844s # * 844s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 844s # */ 844s # void 844s # org_project_useful_interface_proxy_new_for_bus ( 844s # GBusType bus_type, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # g_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); 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_for_bus_finish: 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 844s # * @error: Return location for error or %NULL 844s # * 844s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_for_bus_finish ( 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GObject *ret; 844s # GObject *source_object; 844s # source_object = g_async_result_get_source_object (res); 844s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 844s # g_object_unref (source_object); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_for_bus_sync: 844s # * @bus_type: A #GBusType. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: A bus name (well-known or unique). 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL 844s # * 844s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 844s # * 844s # * The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_for_bus_sync ( 844s # GBusType bus_type, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GInitable *ret; 844s # 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); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # 844s # /* ------------------------------------------------------------------------ */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceSkeleton: 844s # * 844s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 844s # */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceSkeletonClass: 844s # * @parent_class: The parent class. 844s # * 844s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 844s # */ 844s # 844s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 844s # { 844s # GValue *properties; 844s # GList *changed_properties; 844s # GSource *changed_properties_idle_source; 844s # GMainContext *context; 844s # GMutex lock; 844s # }; 844s # 844s # static void 844s # _org_project_useful_interface_skeleton_handle_method_call ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name, 844s # const gchar *method_name, 844s # GVariant *parameters, 844s # GDBusMethodInvocation *invocation, 844s # gpointer user_data) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 844s # _ExtendedGDBusMethodInfo *info; 844s # GVariantIter iter; 844s # GVariant *child; 844s # GValue *paramv; 844s # gsize num_params; 844s # guint num_extra; 844s # gsize n; 844s # guint signal_id; 844s # GValue return_value = G_VALUE_INIT; 844s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 844s # g_assert (info != NULL); 844s # num_params = g_variant_n_children (parameters); 844s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 844s # n = 0; 844s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_value_set_object (¶mv[n++], skeleton); 844s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 844s # g_value_set_object (¶mv[n++], invocation); 844s # if (info->pass_fdlist) 844s # { 844s # #ifdef G_OS_UNIX 844s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 844s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 844s # #else 844s # g_assert_not_reached (); 844s # #endif 844s # } 844s # g_variant_iter_init (&iter, parameters); 844s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 844s # { 844s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 844s # if (arg_info->use_gvariant) 844s # { 844s # g_value_init (¶mv[n], G_TYPE_VARIANT); 844s # g_value_set_variant (¶mv[n], child); 844s # n++; 844s # } 844s # else 844s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 844s # g_variant_unref (child); 844s # } 844s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_value_init (&return_value, G_TYPE_BOOLEAN); 844s # g_signal_emitv (paramv, signal_id, 0, &return_value); 844s # if (!g_value_get_boolean (&return_value)) 844s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 844s # g_value_unset (&return_value); 844s # for (n = 0; n < num_params + num_extra; n++) 844s # g_value_unset (¶mv[n]); 844s # g_free (paramv); 844s # } 844s # 844s # static GVariant * 844s # _org_project_useful_interface_skeleton_handle_get_property ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name G_GNUC_UNUSED, 844s # const gchar *property_name, 844s # GError **error, 844s # gpointer user_data) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 844s # GValue value = G_VALUE_INIT; 844s # GParamSpec *pspec; 844s # _ExtendedGDBusPropertyInfo *info; 844s # GVariant *ret; 844s # ret = NULL; 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 844s # g_assert (info != NULL); 844s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 844s # if (pspec == NULL) 844s # { 844s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 844s # } 844s # else 844s # { 844s # g_value_init (&value, pspec->value_type); 844s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 844s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 844s # g_value_unset (&value); 844s # } 844s # return ret; 844s # } 844s # 844s # static gboolean 844s # _org_project_useful_interface_skeleton_handle_set_property ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name G_GNUC_UNUSED, 844s # const gchar *property_name, 844s # GVariant *variant, 844s # GError **error, 844s # gpointer user_data) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 844s # GValue value = G_VALUE_INIT; 844s # GParamSpec *pspec; 844s # _ExtendedGDBusPropertyInfo *info; 844s # gboolean ret; 844s # ret = FALSE; 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 844s # g_assert (info != NULL); 844s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 844s # if (pspec == NULL) 844s # { 844s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 844s # } 844s # else 844s # { 844s # if (info->use_gvariant) 844s # g_value_set_variant (&value, variant); 844s # else 844s # g_dbus_gvariant_to_gvalue (variant, &value); 844s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 844s # g_value_unset (&value); 844s # ret = TRUE; 844s # } 844s # return ret; 844s # } 844s # 844s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 844s # { 844s # _org_project_useful_interface_skeleton_handle_method_call, 844s # _org_project_useful_interface_skeleton_handle_get_property, 844s # _org_project_useful_interface_skeleton_handle_set_property, 844s # {NULL} 844s # }; 844s # 844s # static GDBusInterfaceInfo * 844s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 844s # { 844s # return org_project_useful_interface_interface_info (); 844s # } 844s # 844s # static GDBusInterfaceVTable * 844s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 844s # { 844s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 844s # } 844s # 844s # static GVariant * 844s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 844s # 844s # GVariantBuilder builder; 844s # guint n; 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 844s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 844s # #else 844s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 844s # #endif 844s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 844s # goto out; 844s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 844s # { 844s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 844s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 844s # { 844s # GVariant *value; 844s # 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); 844s # if (value != NULL) 844s # { 844s # g_variant_take_ref (value); 844s # g_variant_builder_add (&builder, "{sv}", info->name, value); 844s # g_variant_unref (value); 844s # } 844s # } 844s # } 844s # out: 844s # return g_variant_builder_end (&builder); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 844s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 844s # 844s # #else 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 844s # 844s # #endif 844s # static void 844s # org_project_useful_interface_skeleton_finalize (GObject *object) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 844s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 844s # if (skeleton->priv->changed_properties_idle_source != NULL) 844s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 844s # g_main_context_unref (skeleton->priv->context); 844s # g_mutex_clear (&skeleton->priv->lock); 844s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 844s # { 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 844s # #else 844s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 844s # #endif 844s # 844s # g_mutex_init (&skeleton->priv->lock); 844s # skeleton->priv->context = g_main_context_ref_thread_default (); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 844s # { 844s # GObjectClass *gobject_class; 844s # GDBusInterfaceSkeletonClass *skeleton_class; 844s # 844s # gobject_class = G_OBJECT_CLASS (klass); 844s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 844s # 844s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 844s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 844s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 844s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 844s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 844s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 844s # #endif 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_skeleton_new: 844s # * 844s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_skeleton_new (void) 844s # { 844s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 844s # } 844s # Error: 844s # 844s # /tmp/tmpd_v7eoq3/tmpr3s7pz8_.xml: 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpd_v7eoq3/tmpr3s7pz8_.xml', '--output', '-', '--body'] 844s # Return code: 0 844s # Output: 844s # /* 844s # * This file is generated by gdbus-codegen, do not modify it. 844s # * 844s # * The license of this code is the same as for the D-Bus interface description 844s # * it was derived from. Note that it links to GLib, so must comply with the 844s # * LGPL linking clauses. 844s # */ 844s # 844s # #ifdef HAVE_CONFIG_H 844s # # include "config.h" 844s # #endif 844s # 844s # #include 844s # #ifdef G_OS_UNIX 844s # # include 844s # #endif 844s # 844s # #ifdef G_ENABLE_DEBUG 844s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 844s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 844s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 844s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 844s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 844s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 844s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 844s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 844s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 844s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 844s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 844s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 844s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 844s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 844s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 844s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 844s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 844s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 844s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 844s # #else /* !G_ENABLE_DEBUG */ 844s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 844s # * Do not access GValues directly in your code. Instead, use the 844s # * g_value_get_*() functions 844s # */ 844s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 844s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 844s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 844s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 844s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 844s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 844s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 844s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 844s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 844s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 844s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 844s # #endif /* !G_ENABLE_DEBUG */ 844s # 844s # typedef struct 844s # { 844s # GDBusArgInfo parent_struct; 844s # gboolean use_gvariant; 844s # } _ExtendedGDBusArgInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusMethodInfo parent_struct; 844s # const gchar *signal_name; 844s # gboolean pass_fdlist; 844s # } _ExtendedGDBusMethodInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusSignalInfo parent_struct; 844s # const gchar *signal_name; 844s # } _ExtendedGDBusSignalInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusPropertyInfo parent_struct; 844s # const gchar *hyphen_name; 844s # guint use_gvariant : 1; 844s # guint emits_changed_signal : 1; 844s # } _ExtendedGDBusPropertyInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusInterfaceInfo parent_struct; 844s # const gchar *hyphen_name; 844s # } _ExtendedGDBusInterfaceInfo; 844s # 844s # typedef struct 844s # { 844s # const _ExtendedGDBusPropertyInfo *info; 844s # guint prop_id; 844s # GValue orig_value; /* the value before the change */ 844s # } ChangedProperty; 844s # 844s # static void 844s # _changed_property_free (ChangedProperty *data) 844s # { 844s # g_value_unset (&data->orig_value); 844s # g_free (data); 844s # } 844s # 844s # static gboolean 844s # _g_strv_equal0 (gchar **a, gchar **b) 844s # { 844s # gboolean ret = FALSE; 844s # guint n; 844s # if (a == NULL && b == NULL) 844s # { 844s # ret = TRUE; 844s # goto out; 844s # } 844s # if (a == NULL || b == NULL) 844s # goto out; 844s # if (g_strv_length (a) != g_strv_length (b)) 844s # goto out; 844s # for (n = 0; a[n] != NULL; n++) 844s # if (g_strcmp0 (a[n], b[n]) != 0) 844s # goto out; 844s # ret = TRUE; 844s # out: 844s # return ret; 844s # } 844s # 844s # static gboolean 844s # _g_variant_equal0 (GVariant *a, GVariant *b) 844s # { 844s # gboolean ret = FALSE; 844s # if (a == NULL && b == NULL) 844s # { 844s # ret = TRUE; 844s # goto out; 844s # } 844s # if (a == NULL || b == NULL) 844s # goto out; 844s # ret = g_variant_equal (a, b); 844s # out: 844s # return ret; 844s # } 844s # 844s # G_GNUC_UNUSED static gboolean 844s # _g_value_equal (const GValue *a, const GValue *b) 844s # { 844s # gboolean ret = FALSE; 844s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 844s # switch (G_VALUE_TYPE (a)) 844s # { 844s # case G_TYPE_BOOLEAN: 844s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 844s # break; 844s # case G_TYPE_UCHAR: 844s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 844s # break; 844s # case G_TYPE_INT: 844s # ret = (g_value_get_int (a) == g_value_get_int (b)); 844s # break; 844s # case G_TYPE_UINT: 844s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 844s # break; 844s # case G_TYPE_INT64: 844s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 844s # break; 844s # case G_TYPE_UINT64: 844s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 844s # break; 844s # case G_TYPE_DOUBLE: 844s # { 844s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 844s # gdouble da = g_value_get_double (a); 844s # gdouble db = g_value_get_double (b); 844s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 844s # } 844s # break; 844s # case G_TYPE_STRING: 844s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 844s # break; 844s # case G_TYPE_VARIANT: 844s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 844s # break; 844s # default: 844s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 844s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 844s # else 844s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 844s # break; 844s # } 844s # return ret; 844s # } 844s # 844s # static void 844s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 844s # GClosure *closure, 844s # GValue *return_value, 844s # unsigned int n_param_values, 844s # const GValue *param_values, 844s # void *invocation_hint G_GNUC_UNUSED, 844s # void *marshal_data) 844s # { 844s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 844s # (void *data1, 844s # GDBusMethodInvocation *arg_method_invocation, 844s # void *data2); 844s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 844s # GCClosure *cc = (GCClosure*) closure; 844s # void *data1, *data2; 844s # gboolean v_return; 844s # 844s # g_return_if_fail (return_value != NULL); 844s # g_return_if_fail (n_param_values == 2); 844s # 844s # if (G_CCLOSURE_SWAP_DATA (closure)) 844s # { 844s # data1 = closure->data; 844s # data2 = g_value_peek_pointer (param_values + 0); 844s # } 844s # else 844s # { 844s # data1 = g_value_peek_pointer (param_values + 0); 844s # data2 = closure->data; 844s # } 844s # 844s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 844s # (marshal_data ? marshal_data : cc->callback); 844s # 844s # v_return = 844s # callback (data1, 844s # g_marshal_value_peek_object (param_values + 1), 844s # data2); 844s # 844s # g_value_set_boolean (return_value, v_return); 844s # } 844s # 844s # /* ------------------------------------------------------------------------ 844s # * Code for interface org.project.UsefulInterface 844s # * ------------------------------------------------------------------------ 844s # */ 844s # 844s # /** 844s # * SECTION:OrgProjectUsefulInterface 844s # * @title: OrgProjectUsefulInterface 844s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 844s # * 844s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 844s # */ 844s # 844s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u = 844s # { 844s # { 844s # -1, 844s # (gchar *) "arg_u", 844s # (gchar *) "u", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers[] = 844s # { 844s # &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 844s # { 844s # { 844s # -1, 844s # (gchar *) "SingleArgMethodU", 844s # NULL, 844s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers, 844s # NULL 844s # }, 844s # "handle-single-arg-method-u", 844s # FALSE 844s # }; 844s # 844s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 844s # { 844s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 844s # { 844s # { 844s # -1, 844s # (gchar *) "org.project.UsefulInterface", 844s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 844s # NULL, 844s # NULL, 844s # NULL 844s # }, 844s # "org-project-useful-interface", 844s # }; 844s # 844s # 844s # /** 844s # * org_project_useful_interface_interface_info: 844s # * 844s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 844s # * 844s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 844s # */ 844s # GDBusInterfaceInfo * 844s # org_project_useful_interface_interface_info (void) 844s # { 844s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_override_properties: 844s # * @klass: The class structure for a #GObject derived class. 844s # * @property_id_begin: The property id to assign to the first overridden property. 844s # * 844s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 844s # * The properties are overridden in the order they are defined. 844s # * 844s # * Returns: The last property id. 844s # */ 844s # guint 844s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 844s # { 844s # return property_id_begin - 1; 844s # } 844s # 844s # 844s # inline static void 844s # org_project_useful_interface_method_marshal_single_arg_method_u ( 844s # GClosure *closure, 844s # GValue *return_value, 844s # unsigned int n_param_values, 844s # const GValue *param_values, 844s # void *invocation_hint, 844s # void *marshal_data) 844s # { 844s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 844s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 844s # } 844s # 844s # 844s # /** 844s # * OrgProjectUsefulInterface: 844s # * 844s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 844s # */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceIface: 844s # * @parent_iface: The parent interface. 844s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 844s # * 844s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 844s # */ 844s # 844s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 844s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 844s # 844s # static void 844s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 844s # { 844s # /* GObject signals for incoming D-Bus method calls: */ 844s # /** 844s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 844s # * @object: A #OrgProjectUsefulInterface. 844s # * @invocation: A #GDBusMethodInvocation. 844s # * 844s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 844s # * 844s # * 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. 844s # * 844s # * 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. 844s # */ 844s # g_signal_new ("handle-single-arg-method-u", 844s # G_TYPE_FROM_INTERFACE (iface), 844s # G_SIGNAL_RUN_LAST, 844s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 844s # g_signal_accumulator_true_handled, 844s # NULL, 844s # org_project_useful_interface_method_marshal_single_arg_method_u, 844s # G_TYPE_BOOLEAN, 844s # 1, 844s # G_TYPE_DBUS_METHOD_INVOCATION); 844s # 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_call_single_arg_method_u: 844s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 844s # * 844s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 844s # */ 844s # void 844s # org_project_useful_interface_call_single_arg_method_u ( 844s # OrgProjectUsefulInterface *proxy, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 844s # "SingleArgMethodU", 844s # g_variant_new ("()"), 844s # G_DBUS_CALL_FLAGS_NONE, 844s # -1, 844s # cancellable, 844s # callback, 844s # user_data); 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_call_single_arg_method_u_finish: 844s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 844s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 844s # * @error: Return location for error or %NULL. 844s # * 844s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 844s # * 844s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 844s # */ 844s # gboolean 844s # org_project_useful_interface_call_single_arg_method_u_finish ( 844s # OrgProjectUsefulInterface *proxy, 844s # guint *out_arg_u, 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GVariant *_ret; 844s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 844s # if (_ret == NULL) 844s # goto _out; 844s # g_variant_get (_ret, 844s # "(u)", 844s # out_arg_u); 844s # g_variant_unref (_ret); 844s # _out: 844s # return _ret != NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_call_single_arg_method_u_sync: 844s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 844s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL. 844s # * 844s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 844s # * 844s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 844s # */ 844s # gboolean 844s # org_project_useful_interface_call_single_arg_method_u_sync ( 844s # OrgProjectUsefulInterface *proxy, 844s # guint *out_arg_u, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GVariant *_ret; 844s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 844s # "SingleArgMethodU", 844s # g_variant_new ("()"), 844s # G_DBUS_CALL_FLAGS_NONE, 844s # -1, 844s # cancellable, 844s # error); 844s # if (_ret == NULL) 844s # goto _out; 844s # g_variant_get (_ret, 844s # "(u)", 844s # out_arg_u); 844s # g_variant_unref (_ret); 844s # _out: 844s # return _ret != NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_complete_single_arg_method_u: 844s # * @object: A #OrgProjectUsefulInterface. 844s # * @invocation: (transfer full): A #GDBusMethodInvocation. 844s # * @arg_u: Parameter to return. 844s # * 844s # * 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. 844s # * 844s # * This method will free @invocation, you cannot use it afterwards. 844s # */ 844s # void 844s # org_project_useful_interface_complete_single_arg_method_u ( 844s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 844s # GDBusMethodInvocation *invocation, 844s # guint arg_u) 844s # { 844s # g_dbus_method_invocation_return_value (invocation, 844s # g_variant_new ("(u)", 844s # arg_u)); 844s # } 844s # 844s # /* ------------------------------------------------------------------------ */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceProxy: 844s # * 844s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 844s # */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceProxyClass: 844s # * @parent_class: The parent class. 844s # * 844s # * Class structure for #OrgProjectUsefulInterfaceProxy. 844s # */ 844s # 844s # struct _OrgProjectUsefulInterfaceProxyPrivate 844s # { 844s # GData *qdata; 844s # }; 844s # 844s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 844s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 844s # 844s # #else 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 844s # 844s # #endif 844s # static void 844s # org_project_useful_interface_proxy_finalize (GObject *object) 844s # { 844s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 844s # g_datalist_clear (&proxy->priv->qdata); 844s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 844s # guint prop_id G_GNUC_UNUSED, 844s # GValue *value G_GNUC_UNUSED, 844s # GParamSpec *pspec G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 844s # guint prop_id G_GNUC_UNUSED, 844s # const GValue *value G_GNUC_UNUSED, 844s # GParamSpec *pspec G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 844s # const gchar *sender_name G_GNUC_UNUSED, 844s # const gchar *signal_name, 844s # GVariant *parameters) 844s # { 844s # _ExtendedGDBusSignalInfo *info; 844s # GVariantIter iter; 844s # GVariant *child; 844s # GValue *paramv; 844s # gsize num_params; 844s # gsize n; 844s # guint signal_id; 844s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 844s # if (info == NULL) 844s # return; 844s # num_params = g_variant_n_children (parameters); 844s # paramv = g_new0 (GValue, num_params + 1); 844s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_value_set_object (¶mv[0], proxy); 844s # g_variant_iter_init (&iter, parameters); 844s # n = 1; 844s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 844s # { 844s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 844s # if (arg_info->use_gvariant) 844s # { 844s # g_value_init (¶mv[n], G_TYPE_VARIANT); 844s # g_value_set_variant (¶mv[n], child); 844s # n++; 844s # } 844s # else 844s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 844s # g_variant_unref (child); 844s # } 844s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_signal_emitv (paramv, signal_id, 0, NULL); 844s # for (n = 0; n < num_params + 1; n++) 844s # g_value_unset (¶mv[n]); 844s # g_free (paramv); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 844s # GVariant *changed_properties, 844s # const gchar *const *invalidated_properties) 844s # { 844s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 844s # guint n; 844s # const gchar *key; 844s # GVariantIter *iter; 844s # _ExtendedGDBusPropertyInfo *info; 844s # g_variant_get (changed_properties, "a{sv}", &iter); 844s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 844s # { 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 844s # g_datalist_remove_data (&proxy->priv->qdata, key); 844s # if (info != NULL) 844s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 844s # } 844s # g_variant_iter_free (iter); 844s # for (n = 0; invalidated_properties[n] != NULL; n++) 844s # { 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 844s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 844s # if (info != NULL) 844s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 844s # } 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 844s # { 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 844s # #else 844s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 844s # #endif 844s # 844s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 844s # { 844s # GObjectClass *gobject_class; 844s # GDBusProxyClass *proxy_class; 844s # 844s # gobject_class = G_OBJECT_CLASS (klass); 844s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 844s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 844s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 844s # 844s # proxy_class = G_DBUS_PROXY_CLASS (klass); 844s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 844s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 844s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 844s # #endif 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new: 844s # * @connection: A #GDBusConnection. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 844s # * 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 844s # * 844s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 844s # */ 844s # void 844s # org_project_useful_interface_proxy_new ( 844s # GDBusConnection *connection, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # g_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); 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_finish: 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 844s # * @error: Return location for error or %NULL 844s # * 844s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_finish ( 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GObject *ret; 844s # GObject *source_object; 844s # source_object = g_async_result_get_source_object (res); 844s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 844s # g_object_unref (source_object); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_sync: 844s # * @connection: A #GDBusConnection. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL 844s # * 844s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 844s # * 844s # * The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_sync ( 844s # GDBusConnection *connection, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GInitable *ret; 844s # 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); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_for_bus: 844s # * @bus_type: A #GBusType. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: A bus name (well-known or unique). 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 844s # * 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 844s # * 844s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 844s # */ 844s # void 844s # org_project_useful_interface_proxy_new_for_bus ( 844s # GBusType bus_type, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # g_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); 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_for_bus_finish: 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 844s # * @error: Return location for error or %NULL 844s # * 844s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_for_bus_finish ( 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GObject *ret; 844s # GObject *source_object; 844s # source_object = g_async_result_get_source_object (res); 844s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 844s # g_object_unref (source_object); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_for_bus_sync: 844s # * @bus_type: A #GBusType. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: A bus name (well-known or unique). 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL 844s # * 844s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 844s # * 844s # * The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_for_bus_sync ( 844s # GBusType bus_type, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GInitable *ret; 844s # 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); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # 844s # /* ------------------------------------------------------------------------ */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceSkeleton: 844s # * 844s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 844s # */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceSkeletonClass: 844s # * @parent_class: The parent class. 844s # * 844s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 844s # */ 844s # 844s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 844s # { 844s # GValue *properties; 844s # GList *changed_properties; 844s # GSource *changed_properties_idle_source; 844s # GMainContext *context; 844s # GMutex lock; 844s # }; 844s # 844s # static void 844s # _org_project_useful_interface_skeleton_handle_method_call ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name, 844s # const gchar *method_name, 844s # GVariant *parameters, 844s # GDBusMethodInvocation *invocation, 844s # gpointer user_data) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 844s # _ExtendedGDBusMethodInfo *info; 844s # GVariantIter iter; 844s # GVariant *child; 844s # GValue *paramv; 844s # gsize num_params; 844s # guint num_extra; 844s # gsize n; 844s # guint signal_id; 844s # GValue return_value = G_VALUE_INIT; 844s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 844s # g_assert (info != NULL); 844s # num_params = g_variant_n_children (parameters); 844s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 844s # n = 0; 844s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_value_set_object (¶mv[n++], skeleton); 844s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 844s # g_value_set_object (¶mv[n++], invocation); 844s # if (info->pass_fdlist) 844s # { 844s # #ifdef G_OS_UNIX 844s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 844s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 844s # #else 844s # g_assert_not_reached (); 844s # #endif 844s # } 844s # g_variant_iter_init (&iter, parameters); 844s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 844s # { 844s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 844s # if (arg_info->use_gvariant) 844s # { 844s # g_value_init (¶mv[n], G_TYPE_VARIANT); 844s # g_value_set_variant (¶mv[n], child); 844s # n++; 844s # } 844s # else 844s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 844s # g_variant_unref (child); 844s # } 844s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_value_init (&return_value, G_TYPE_BOOLEAN); 844s # g_signal_emitv (paramv, signal_id, 0, &return_value); 844s # if (!g_value_get_boolean (&return_value)) 844s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 844s # g_value_unset (&return_value); 844s # for (n = 0; n < num_params + num_extra; n++) 844s # g_value_unset (¶mv[n]); 844s # g_free (paramv); 844s # } 844s # 844s # static GVariant * 844s # _org_project_useful_interface_skeleton_handle_get_property ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name G_GNUC_UNUSED, 844s # const gchar *property_name, 844s # GError **error, 844s # gpointer user_data) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 844s # GValue value = G_VALUE_INIT; 844s # GParamSpec *pspec; 844s # _ExtendedGDBusPropertyInfo *info; 844s # GVariant *ret; 844s # ret = NULL; 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 844s # g_assert (info != NULL); 844s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 844s # if (pspec == NULL) 844s # { 844s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 844s # } 844s # else 844s # { 844s # g_value_init (&value, pspec->value_type); 844s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 844s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 844s # g_value_unset (&value); 844s # } 844s # return ret; 844s # } 844s # 844s # static gboolean 844s # _org_project_useful_interface_skeleton_handle_set_property ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name G_GNUC_UNUSED, 844s # const gchar *property_name, 844s # GVariant *variant, 844s # GError **error, 844s # gpointer user_data) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 844s # GValue value = G_VALUE_INIT; 844s # GParamSpec *pspec; 844s # _ExtendedGDBusPropertyInfo *info; 844s # gboolean ret; 844s # ret = FALSE; 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 844s # g_assert (info != NULL); 844s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 844s # if (pspec == NULL) 844s # { 844s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 844s # } 844s # else 844s # { 844s # if (info->use_gvariant) 844s # g_value_set_variant (&value, variant); 844s # else 844s # g_dbus_gvariant_to_gvalue (variant, &value); 844s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 844s # g_value_unset (&value); 844s # ret = TRUE; 844s # } 844s # return ret; 844s # } 844s # 844s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 844s # { 844s # _org_project_useful_interface_skeleton_handle_method_call, 844s # _org_project_useful_interface_skeleton_handle_get_property, 844s # _org_project_useful_interface_skeleton_handle_set_property, 844s # {NULL} 844s # }; 844s # 844s # static GDBusInterfaceInfo * 844s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 844s # { 844s # return org_project_useful_interface_interface_info (); 844s # } 844s # 844s # static GDBusInterfaceVTable * 844s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 844s # { 844s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 844s # } 844s # 844s # static GVariant * 844s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 844s # 844s # GVariantBuilder builder; 844s # guint n; 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 844s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 844s # #else 844s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 844s # #endif 844s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 844s # goto out; 844s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 844s # { 844s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 844s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 844s # { 844s # GVariant *value; 844s # 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); 844s # if (value != NULL) 844s # { 844s # g_variant_take_ref (value); 844s # g_variant_builder_add (&builder, "{sv}", info->name, value); 844s # g_variant_unref (value); 844s # } 844s # } 844s # } 844s # out: 844s # return g_variant_builder_end (&builder); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 844s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 844s # 844s # #else 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 844s # 844s # #endif 844s # static void 844s # org_project_useful_interface_skeleton_finalize (GObject *object) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 844s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 844s # if (skeleton->priv->changed_properties_idle_source != NULL) 844s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 844s # g_main_context_unref (skeleton->priv->context); 844s # g_mutex_clear (&skeleton->priv->lock); 844s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 844s # { 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 844s # #else 844s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 844s # #endif 844s # 844s # g_mutex_init (&skeleton->priv->lock); 844s # skeleton->priv->context = g_main_context_ref_thread_default (); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 844s # { 844s # GObjectClass *gobject_class; 844s # GDBusInterfaceSkeletonClass *skeleton_class; 844s # 844s # gobject_class = G_OBJECT_CLASS (klass); 844s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 844s # 844s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 844s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 844s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 844s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 844s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 844s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 844s # #endif 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_skeleton_new: 844s # * 844s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_skeleton_new (void) 844s # { 844s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 844s # } 844s # Error: 844s # 844s # /tmp/tmpd_v7eoq3/tmpwr7mnjsh.xml: 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpd_v7eoq3/tmpwr7mnjsh.xml', '--output', '-', '--body'] 844s # Return code: 0 844s # Output: 844s # /* 844s # * This file is generated by gdbus-codegen, do not modify it. 844s # * 844s # * The license of this code is the same as for the D-Bus interface description 844s # * it was derived from. Note that it links to GLib, so must comply with the 844s # * LGPL linking clauses. 844s # */ 844s # 844s # #ifdef HAVE_CONFIG_H 844s # # include "config.h" 844s # #endif 844s # 844s # #include 844s # #ifdef G_OS_UNIX 844s # # include 844s # #endif 844s # 844s # #ifdef G_ENABLE_DEBUG 844s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 844s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 844s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 844s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 844s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 844s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 844s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 844s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 844s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 844s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 844s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 844s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 844s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 844s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 844s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 844s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 844s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 844s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 844s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 844s # #else /* !G_ENABLE_DEBUG */ 844s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 844s # * Do not access GValues directly in your code. Instead, use the 844s # * g_value_get_*() functions 844s # */ 844s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 844s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 844s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 844s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 844s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 844s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 844s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 844s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 844s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 844s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 844s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 844s # #endif /* !G_ENABLE_DEBUG */ 844s # 844s # typedef struct 844s # { 844s # GDBusArgInfo parent_struct; 844s # gboolean use_gvariant; 844s # } _ExtendedGDBusArgInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusMethodInfo parent_struct; 844s # const gchar *signal_name; 844s # gboolean pass_fdlist; 844s # } _ExtendedGDBusMethodInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusSignalInfo parent_struct; 844s # const gchar *signal_name; 844s # } _ExtendedGDBusSignalInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusPropertyInfo parent_struct; 844s # const gchar *hyphen_name; 844s # guint use_gvariant : 1; 844s # guint emits_changed_signal : 1; 844s # } _ExtendedGDBusPropertyInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusInterfaceInfo parent_struct; 844s # const gchar *hyphen_name; 844s # } _ExtendedGDBusInterfaceInfo; 844s # 844s # typedef struct 844s # { 844s # const _ExtendedGDBusPropertyInfo *info; 844s # guint prop_id; 844s # GValue orig_value; /* the value before the change */ 844s # } ChangedProperty; 844s # 844s # static void 844s # _changed_property_free (ChangedProperty *data) 844s # { 844s # g_value_unset (&data->orig_value); 844s # g_free (data); 844s # } 844s # 844s # static gboolean 844s # _g_strv_equal0 (gchar **a, gchar **b) 844s # { 844s # gboolean ret = FALSE; 844s # guint n; 844s # if (a == NULL && b == NULL) 844s # { 844s # ret = TRUE; 844s # goto out; 844s # } 844s # if (a == NULL || b == NULL) 844s # goto out; 844s # if (g_strv_length (a) != g_strv_length (b)) 844s # goto out; 844s # for (n = 0; a[n] != NULL; n++) 844s # if (g_strcmp0 (a[n], b[n]) != 0) 844s # goto out; 844s # ret = TRUE; 844s # out: 844s # return ret; 844s # } 844s # 844s # static gboolean 844s # _g_variant_equal0 (GVariant *a, GVariant *b) 844s # { 844s # gboolean ret = FALSE; 844s # if (a == NULL && b == NULL) 844s # { 844s # ret = TRUE; 844s # goto out; 844s # } 844s # if (a == NULL || b == NULL) 844s # goto out; 844s # ret = g_variant_equal (a, b); 844s # out: 844s # return ret; 844s # } 844s # 844s # G_GNUC_UNUSED static gboolean 844s # _g_value_equal (const GValue *a, const GValue *b) 844s # { 844s # gboolean ret = FALSE; 844s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 844s # switch (G_VALUE_TYPE (a)) 844s # { 844s # case G_TYPE_BOOLEAN: 844s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 844s # break; 844s # case G_TYPE_UCHAR: 844s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 844s # break; 844s # case G_TYPE_INT: 844s # ret = (g_value_get_int (a) == g_value_get_int (b)); 844s # break; 844s # case G_TYPE_UINT: 844s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 844s # break; 844s # case G_TYPE_INT64: 844s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 844s # break; 844s # case G_TYPE_UINT64: 844s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 844s # break; 844s # case G_TYPE_DOUBLE: 844s # { 844s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 844s # gdouble da = g_value_get_double (a); 844s # gdouble db = g_value_get_double (b); 844s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 844s # } 844s # break; 844s # case G_TYPE_STRING: 844s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 844s # break; 844s # case G_TYPE_VARIANT: 844s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 844s # break; 844s # default: 844s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 844s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 844s # else 844s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 844s # break; 844s # } 844s # return ret; 844s # } 844s # 844s # static void 844s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 844s # GClosure *closure, 844s # GValue *return_value, 844s # unsigned int n_param_values, 844s # const GValue *param_values, 844s # void *invocation_hint G_GNUC_UNUSED, 844s # void *marshal_data) 844s # { 844s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 844s # (void *data1, 844s # GDBusMethodInvocation *arg_method_invocation, 844s # void *data2); 844s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 844s # GCClosure *cc = (GCClosure*) closure; 844s # void *data1, *data2; 844s # gboolean v_return; 844s # 844s # g_return_if_fail (return_value != NULL); 844s # g_return_if_fail (n_param_values == 2); 844s # 844s # if (G_CCLOSURE_SWAP_DATA (closure)) 844s # { 844s # data1 = closure->data; 844s # data2 = g_value_peek_pointer (param_values + 0); 844s # } 844s # else 844s # { 844s # data1 = g_value_peek_pointer (param_values + 0); 844s # data2 = closure->data; 844s # } 844s # 844s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 844s # (marshal_data ? marshal_data : cc->callback); 844s # 844s # v_return = 844s # callback (data1, 844s # g_marshal_value_peek_object (param_values + 1), 844s # data2); 844s # 844s # g_value_set_boolean (return_value, v_return); 844s # } 844s # 844s # /* ------------------------------------------------------------------------ 844s # * Code for interface org.project.UsefulInterface 844s # * ------------------------------------------------------------------------ 844s # */ 844s # 844s # /** 844s # * SECTION:OrgProjectUsefulInterface 844s # * @title: OrgProjectUsefulInterface 844s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 844s # * 844s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 844s # */ 844s # 844s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x = 844s # { 844s # { 844s # -1, 844s # (gchar *) "arg_x", 844s # (gchar *) "x", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers[] = 844s # { 844s # &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 844s # { 844s # { 844s # -1, 844s # (gchar *) "SingleArgMethodX", 844s # NULL, 844s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers, 844s # NULL 844s # }, 844s # "handle-single-arg-method-x", 844s # FALSE 844s # }; 844s # 844s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 844s # { 844s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 844s # { 844s # { 844s # -1, 844s # (gchar *) "org.project.UsefulInterface", 844s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 844s # NULL, 844s # NULL, 844s # NULL 844s # }, 844s # "org-project-useful-interface", 844s # }; 844s # 844s # 844s # /** 844s # * org_project_useful_interface_interface_info: 844s # * 844s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 844s # * 844s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 844s # */ 844s # GDBusInterfaceInfo * 844s # org_project_useful_interface_interface_info (void) 844s # { 844s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_override_properties: 844s # * @klass: The class structure for a #GObject derived class. 844s # * @property_id_begin: The property id to assign to the first overridden property. 844s # * 844s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 844s # * The properties are overridden in the order they are defined. 844s # * 844s # * Returns: The last property id. 844s # */ 844s # guint 844s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 844s # { 844s # return property_id_begin - 1; 844s # } 844s # 844s # 844s # inline static void 844s # org_project_useful_interface_method_marshal_single_arg_method_x ( 844s # GClosure *closure, 844s # GValue *return_value, 844s # unsigned int n_param_values, 844s # const GValue *param_values, 844s # void *invocation_hint, 844s # void *marshal_data) 844s # { 844s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 844s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 844s # } 844s # 844s # 844s # /** 844s # * OrgProjectUsefulInterface: 844s # * 844s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 844s # */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceIface: 844s # * @parent_iface: The parent interface. 844s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 844s # * 844s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 844s # */ 844s # 844s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 844s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 844s # 844s # static void 844s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 844s # { 844s # /* GObject signals for incoming D-Bus method calls: */ 844s # /** 844s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 844s # * @object: A #OrgProjectUsefulInterface. 844s # * @invocation: A #GDBusMethodInvocation. 844s # * 844s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 844s # * 844s # * 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. 844s # * 844s # * 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. 844s # */ 844s # g_signal_new ("handle-single-arg-method-x", 844s # G_TYPE_FROM_INTERFACE (iface), 844s # G_SIGNAL_RUN_LAST, 844s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 844s # g_signal_accumulator_true_handled, 844s # NULL, 844s # org_project_useful_interface_method_marshal_single_arg_method_x, 844s # G_TYPE_BOOLEAN, 844s # 1, 844s # G_TYPE_DBUS_METHOD_INVOCATION); 844s # 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_call_single_arg_method_x: 844s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 844s # * 844s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 844s # */ 844s # void 844s # org_project_useful_interface_call_single_arg_method_x ( 844s # OrgProjectUsefulInterface *proxy, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 844s # "SingleArgMethodX", 844s # g_variant_new ("()"), 844s # G_DBUS_CALL_FLAGS_NONE, 844s # -1, 844s # cancellable, 844s # callback, 844s # user_data); 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_call_single_arg_method_x_finish: 844s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 844s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 844s # * @error: Return location for error or %NULL. 844s # * 844s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 844s # * 844s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 844s # */ 844s # gboolean 844s # org_project_useful_interface_call_single_arg_method_x_finish ( 844s # OrgProjectUsefulInterface *proxy, 844s # gint64 *out_arg_x, 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GVariant *_ret; 844s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 844s # if (_ret == NULL) 844s # goto _out; 844s # g_variant_get (_ret, 844s # "(x)", 844s # out_arg_x); 844s # g_variant_unref (_ret); 844s # _out: 844s # return _ret != NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_call_single_arg_method_x_sync: 844s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 844s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL. 844s # * 844s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 844s # * 844s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 844s # */ 844s # gboolean 844s # org_project_useful_interface_call_single_arg_method_x_sync ( 844s # OrgProjectUsefulInterface *proxy, 844s # gint64 *out_arg_x, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GVariant *_ret; 844s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 844s # "SingleArgMethodX", 844s # g_variant_new ("()"), 844s # G_DBUS_CALL_FLAGS_NONE, 844s # -1, 844s # cancellable, 844s # error); 844s # if (_ret == NULL) 844s # goto _out; 844s # g_variant_get (_ret, 844s # "(x)", 844s # out_arg_x); 844s # g_variant_unref (_ret); 844s # _out: 844s # return _ret != NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_complete_single_arg_method_x: 844s # * @object: A #OrgProjectUsefulInterface. 844s # * @invocation: (transfer full): A #GDBusMethodInvocation. 844s # * @arg_x: Parameter to return. 844s # * 844s # * 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. 844s # * 844s # * This method will free @invocation, you cannot use it afterwards. 844s # */ 844s # void 844s # org_project_useful_interface_complete_single_arg_method_x ( 844s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 844s # GDBusMethodInvocation *invocation, 844s # gint64 arg_x) 844s # { 844s # g_dbus_method_invocation_return_value (invocation, 844s # g_variant_new ("(x)", 844s # arg_x)); 844s # } 844s # 844s # /* ------------------------------------------------------------------------ */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceProxy: 844s # * 844s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 844s # */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceProxyClass: 844s # * @parent_class: The parent class. 844s # * 844s # * Class structure for #OrgProjectUsefulInterfaceProxy. 844s # */ 844s # 844s # struct _OrgProjectUsefulInterfaceProxyPrivate 844s # { 844s # GData *qdata; 844s # }; 844s # 844s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 844s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 844s # 844s # #else 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 844s # 844s # #endif 844s # static void 844s # org_project_useful_interface_proxy_finalize (GObject *object) 844s # { 844s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 844s # g_datalist_clear (&proxy->priv->qdata); 844s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 844s # guint prop_id G_GNUC_UNUSED, 844s # GValue *value G_GNUC_UNUSED, 844s # GParamSpec *pspec G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 844s # guint prop_id G_GNUC_UNUSED, 844s # const GValue *value G_GNUC_UNUSED, 844s # GParamSpec *pspec G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 844s # const gchar *sender_name G_GNUC_UNUSED, 844s # const gchar *signal_name, 844s # GVariant *parameters) 844s # { 844s # _ExtendedGDBusSignalInfo *info; 844s # GVariantIter iter; 844s # GVariant *child; 844s # GValue *paramv; 844s # gsize num_params; 844s # gsize n; 844s # guint signal_id; 844s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 844s # if (info == NULL) 844s # return; 844s # num_params = g_variant_n_children (parameters); 844s # paramv = g_new0 (GValue, num_params + 1); 844s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_value_set_object (¶mv[0], proxy); 844s # g_variant_iter_init (&iter, parameters); 844s # n = 1; 844s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 844s # { 844s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 844s # if (arg_info->use_gvariant) 844s # { 844s # g_value_init (¶mv[n], G_TYPE_VARIANT); 844s # g_value_set_variant (¶mv[n], child); 844s # n++; 844s # } 844s # else 844s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 844s # g_variant_unref (child); 844s # } 844s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_signal_emitv (paramv, signal_id, 0, NULL); 844s # for (n = 0; n < num_params + 1; n++) 844s # g_value_unset (¶mv[n]); 844s # g_free (paramv); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 844s # GVariant *changed_properties, 844s # const gchar *const *invalidated_properties) 844s # { 844s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 844s # guint n; 844s # const gchar *key; 844s # GVariantIter *iter; 844s # _ExtendedGDBusPropertyInfo *info; 844s # g_variant_get (changed_properties, "a{sv}", &iter); 844s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 844s # { 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 844s # g_datalist_remove_data (&proxy->priv->qdata, key); 844s # if (info != NULL) 844s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 844s # } 844s # g_variant_iter_free (iter); 844s # for (n = 0; invalidated_properties[n] != NULL; n++) 844s # { 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 844s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 844s # if (info != NULL) 844s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 844s # } 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 844s # { 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 844s # #else 844s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 844s # #endif 844s # 844s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 844s # { 844s # GObjectClass *gobject_class; 844s # GDBusProxyClass *proxy_class; 844s # 844s # gobject_class = G_OBJECT_CLASS (klass); 844s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 844s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 844s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 844s # 844s # proxy_class = G_DBUS_PROXY_CLASS (klass); 844s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 844s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 844s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 844s # #endif 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new: 844s # * @connection: A #GDBusConnection. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 844s # * 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 844s # * 844s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 844s # */ 844s # void 844s # org_project_useful_interface_proxy_new ( 844s # GDBusConnection *connection, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # g_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); 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_finish: 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 844s # * @error: Return location for error or %NULL 844s # * 844s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_finish ( 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GObject *ret; 844s # GObject *source_object; 844s # source_object = g_async_result_get_source_object (res); 844s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 844s # g_object_unref (source_object); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_sync: 844s # * @connection: A #GDBusConnection. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL 844s # * 844s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 844s # * 844s # * The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_sync ( 844s # GDBusConnection *connection, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GInitable *ret; 844s # 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); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_for_bus: 844s # * @bus_type: A #GBusType. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: A bus name (well-known or unique). 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 844s # * 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 844s # * 844s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 844s # */ 844s # void 844s # org_project_useful_interface_proxy_new_for_bus ( 844s # GBusType bus_type, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # g_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); 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_for_bus_finish: 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 844s # * @error: Return location for error or %NULL 844s # * 844s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_for_bus_finish ( 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GObject *ret; 844s # GObject *source_object; 844s # source_object = g_async_result_get_source_object (res); 844s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 844s # g_object_unref (source_object); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_for_bus_sync: 844s # * @bus_type: A #GBusType. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: A bus name (well-known or unique). 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL 844s # * 844s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 844s # * 844s # * The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_for_bus_sync ( 844s # GBusType bus_type, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GInitable *ret; 844s # 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); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # 844s # /* ------------------------------------------------------------------------ */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceSkeleton: 844s # * 844s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 844s # */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceSkeletonClass: 844s # * @parent_class: The parent class. 844s # * 844s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 844s # */ 844s # 844s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 844s # { 844s # GValue *properties; 844s # GList *changed_properties; 844s # GSource *changed_properties_idle_source; 844s # GMainContext *context; 844s # GMutex lock; 844s # }; 844s # 844s # static void 844s # _org_project_useful_interface_skeleton_handle_method_call ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name, 844s # const gchar *method_name, 844s # GVariant *parameters, 844s # GDBusMethodInvocation *invocation, 844s # gpointer user_data) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 844s # _ExtendedGDBusMethodInfo *info; 844s # GVariantIter iter; 844s # GVariant *child; 844s # GValue *paramv; 844s # gsize num_params; 844s # guint num_extra; 844s # gsize n; 844s # guint signal_id; 844s # GValue return_value = G_VALUE_INIT; 844s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 844s # g_assert (info != NULL); 844s # num_params = g_variant_n_children (parameters); 844s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 844s # n = 0; 844s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_value_set_object (¶mv[n++], skeleton); 844s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 844s # g_value_set_object (¶mv[n++], invocation); 844s # if (info->pass_fdlist) 844s # { 844s # #ifdef G_OS_UNIX 844s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 844s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 844s # #else 844s # g_assert_not_reached (); 844s # #endif 844s # } 844s # g_variant_iter_init (&iter, parameters); 844s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 844s # { 844s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 844s # if (arg_info->use_gvariant) 844s # { 844s # g_value_init (¶mv[n], G_TYPE_VARIANT); 844s # g_value_set_variant (¶mv[n], child); 844s # n++; 844s # } 844s # else 844s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 844s # g_variant_unref (child); 844s # } 844s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_value_init (&return_value, G_TYPE_BOOLEAN); 844s # g_signal_emitv (paramv, signal_id, 0, &return_value); 844s # if (!g_value_get_boolean (&return_value)) 844s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 844s # g_value_unset (&return_value); 844s # for (n = 0; n < num_params + num_extra; n++) 844s # g_value_unset (¶mv[n]); 844s # g_free (paramv); 844s # } 844s # 844s # static GVariant * 844s # _org_project_useful_interface_skeleton_handle_get_property ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name G_GNUC_UNUSED, 844s # const gchar *property_name, 844s # GError **error, 844s # gpointer user_data) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 844s # GValue value = G_VALUE_INIT; 844s # GParamSpec *pspec; 844s # _ExtendedGDBusPropertyInfo *info; 844s # GVariant *ret; 844s # ret = NULL; 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 844s # g_assert (info != NULL); 844s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 844s # if (pspec == NULL) 844s # { 844s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 844s # } 844s # else 844s # { 844s # g_value_init (&value, pspec->value_type); 844s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 844s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 844s # g_value_unset (&value); 844s # } 844s # return ret; 844s # } 844s # 844s # static gboolean 844s # _org_project_useful_interface_skeleton_handle_set_property ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name G_GNUC_UNUSED, 844s # const gchar *property_name, 844s # GVariant *variant, 844s # GError **error, 844s # gpointer user_data) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 844s # GValue value = G_VALUE_INIT; 844s # GParamSpec *pspec; 844s # _ExtendedGDBusPropertyInfo *info; 844s # gboolean ret; 844s # ret = FALSE; 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 844s # g_assert (info != NULL); 844s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 844s # if (pspec == NULL) 844s # { 844s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 844s # } 844s # else 844s # { 844s # if (info->use_gvariant) 844s # g_value_set_variant (&value, variant); 844s # else 844s # g_dbus_gvariant_to_gvalue (variant, &value); 844s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 844s # g_value_unset (&value); 844s # ret = TRUE; 844s # } 844s # return ret; 844s # } 844s # 844s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 844s # { 844s # _org_project_useful_interface_skeleton_handle_method_call, 844s # _org_project_useful_interface_skeleton_handle_get_property, 844s # _org_project_useful_interface_skeleton_handle_set_property, 844s # {NULL} 844s # }; 844s # 844s # static GDBusInterfaceInfo * 844s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 844s # { 844s # return org_project_useful_interface_interface_info (); 844s # } 844s # 844s # static GDBusInterfaceVTable * 844s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 844s # { 844s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 844s # } 844s # 844s # static GVariant * 844s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 844s # 844s # GVariantBuilder builder; 844s # guint n; 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 844s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 844s # #else 844s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 844s # #endif 844s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 844s # goto out; 844s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 844s # { 844s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 844s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 844s # { 844s # GVariant *value; 844s # 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); 844s # if (value != NULL) 844s # { 844s # g_variant_take_ref (value); 844s # g_variant_builder_add (&builder, "{sv}", info->name, value); 844s # g_variant_unref (value); 844s # } 844s # } 844s # } 844s # out: 844s # return g_variant_builder_end (&builder); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 844s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 844s # 844s # #else 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 844s # 844s # #endif 844s # static void 844s # org_project_useful_interface_skeleton_finalize (GObject *object) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 844s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 844s # if (skeleton->priv->changed_properties_idle_source != NULL) 844s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 844s # g_main_context_unref (skeleton->priv->context); 844s # g_mutex_clear (&skeleton->priv->lock); 844s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 844s # { 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 844s # #else 844s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 844s # #endif 844s # 844s # g_mutex_init (&skeleton->priv->lock); 844s # skeleton->priv->context = g_main_context_ref_thread_default (); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 844s # { 844s # GObjectClass *gobject_class; 844s # GDBusInterfaceSkeletonClass *skeleton_class; 844s # 844s # gobject_class = G_OBJECT_CLASS (klass); 844s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 844s # 844s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 844s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 844s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 844s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 844s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 844s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 844s # #endif 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_skeleton_new: 844s # * 844s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_skeleton_new (void) 844s # { 844s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 844s # } 844s # Error: 844s # 844s # /tmp/tmpd_v7eoq3/tmpy_8xz99i.xml: 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpd_v7eoq3/tmpy_8xz99i.xml', '--output', '-', '--body'] 844s # Return code: 0 844s # Output: 844s # /* 844s # * This file is generated by gdbus-codegen, do not modify it. 844s # * 844s # * The license of this code is the same as for the D-Bus interface description 844s # * it was derived from. Note that it links to GLib, so must comply with the 844s # * LGPL linking clauses. 844s # */ 844s # 844s # #ifdef HAVE_CONFIG_H 844s # # include "config.h" 844s # #endif 844s # 844s # #include 844s # #ifdef G_OS_UNIX 844s # # include 844s # #endif 844s # 844s # #ifdef G_ENABLE_DEBUG 844s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 844s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 844s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 844s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 844s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 844s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 844s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 844s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 844s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 844s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 844s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 844s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 844s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 844s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 844s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 844s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 844s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 844s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 844s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 844s # #else /* !G_ENABLE_DEBUG */ 844s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 844s # * Do not access GValues directly in your code. Instead, use the 844s # * g_value_get_*() functions 844s # */ 844s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 844s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 844s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 844s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 844s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 844s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 844s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 844s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 844s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 844s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 844s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 844s # #endif /* !G_ENABLE_DEBUG */ 844s # 844s # typedef struct 844s # { 844s # GDBusArgInfo parent_struct; 844s # gboolean use_gvariant; 844s # } _ExtendedGDBusArgInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusMethodInfo parent_struct; 844s # const gchar *signal_name; 844s # gboolean pass_fdlist; 844s # } _ExtendedGDBusMethodInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusSignalInfo parent_struct; 844s # const gchar *signal_name; 844s # } _ExtendedGDBusSignalInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusPropertyInfo parent_struct; 844s # const gchar *hyphen_name; 844s # guint use_gvariant : 1; 844s # guint emits_changed_signal : 1; 844s # } _ExtendedGDBusPropertyInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusInterfaceInfo parent_struct; 844s # const gchar *hyphen_name; 844s # } _ExtendedGDBusInterfaceInfo; 844s # 844s # typedef struct 844s # { 844s # const _ExtendedGDBusPropertyInfo *info; 844s # guint prop_id; 844s # GValue orig_value; /* the value before the change */ 844s # } ChangedProperty; 844s # 844s # static void 844s # _changed_property_free (ChangedProperty *data) 844s # { 844s # g_value_unset (&data->orig_value); 844s # g_free (data); 844s # } 844s # 844s # static gboolean 844s # _g_strv_equal0 (gchar **a, gchar **b) 844s # { 844s # gboolean ret = FALSE; 844s # guint n; 844s # if (a == NULL && b == NULL) 844s # { 844s # ret = TRUE; 844s # goto out; 844s # } 844s # if (a == NULL || b == NULL) 844s # goto out; 844s # if (g_strv_length (a) != g_strv_length (b)) 844s # goto out; 844s # for (n = 0; a[n] != NULL; n++) 844s # if (g_strcmp0 (a[n], b[n]) != 0) 844s # goto out; 844s # ret = TRUE; 844s # out: 844s # return ret; 844s # } 844s # 844s # static gboolean 844s # _g_variant_equal0 (GVariant *a, GVariant *b) 844s # { 844s # gboolean ret = FALSE; 844s # if (a == NULL && b == NULL) 844s # { 844s # ret = TRUE; 844s # goto out; 844s # } 844s # if (a == NULL || b == NULL) 844s # goto out; 844s # ret = g_variant_equal (a, b); 844s # out: 844s # return ret; 844s # } 844s # 844s # G_GNUC_UNUSED static gboolean 844s # _g_value_equal (const GValue *a, const GValue *b) 844s # { 844s # gboolean ret = FALSE; 844s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 844s # switch (G_VALUE_TYPE (a)) 844s # { 844s # case G_TYPE_BOOLEAN: 844s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 844s # break; 844s # case G_TYPE_UCHAR: 844s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 844s # break; 844s # case G_TYPE_INT: 844s # ret = (g_value_get_int (a) == g_value_get_int (b)); 844s # break; 844s # case G_TYPE_UINT: 844s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 844s # break; 844s # case G_TYPE_INT64: 844s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 844s # break; 844s # case G_TYPE_UINT64: 844s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 844s # break; 844s # case G_TYPE_DOUBLE: 844s # { 844s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 844s # gdouble da = g_value_get_double (a); 844s # gdouble db = g_value_get_double (b); 844s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 844s # } 844s # break; 844s # case G_TYPE_STRING: 844s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 844s # break; 844s # case G_TYPE_VARIANT: 844s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 844s # break; 844s # default: 844s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 844s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 844s # else 844s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 844s # break; 844s # } 844s # return ret; 844s # } 844s # 844s # static void 844s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 844s # GClosure *closure, 844s # GValue *return_value, 844s # unsigned int n_param_values, 844s # const GValue *param_values, 844s # void *invocation_hint G_GNUC_UNUSED, 844s # void *marshal_data) 844s # { 844s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 844s # (void *data1, 844s # GDBusMethodInvocation *arg_method_invocation, 844s # void *data2); 844s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 844s # GCClosure *cc = (GCClosure*) closure; 844s # void *data1, *data2; 844s # gboolean v_return; 844s # 844s # g_return_if_fail (return_value != NULL); 844s # g_return_if_fail (n_param_values == 2); 844s # 844s # if (G_CCLOSURE_SWAP_DATA (closure)) 844s # { 844s # data1 = closure->data; 844s # data2 = g_value_peek_pointer (param_values + 0); 844s # } 844s # else 844s # { 844s # data1 = g_value_peek_pointer (param_values + 0); 844s # data2 = closure->data; 844s # } 844s # 844s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 844s # (marshal_data ? marshal_data : cc->callback); 844s # 844s # v_return = 844s # callback (data1, 844s # g_marshal_value_peek_object (param_values + 1), 844s # data2); 844s # 844s # g_value_set_boolean (return_value, v_return); 844s # } 844s # 844s # /* ------------------------------------------------------------------------ 844s # * Code for interface org.project.UsefulInterface 844s # * ------------------------------------------------------------------------ 844s # */ 844s # 844s # /** 844s # * SECTION:OrgProjectUsefulInterface 844s # * @title: OrgProjectUsefulInterface 844s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 844s # * 844s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 844s # */ 844s # 844s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t = 844s # { 844s # { 844s # -1, 844s # (gchar *) "arg_t", 844s # (gchar *) "t", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers[] = 844s # { 844s # &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 844s # { 844s # { 844s # -1, 844s # (gchar *) "SingleArgMethodT", 844s # NULL, 844s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers, 844s # NULL 844s # }, 844s # "handle-single-arg-method-t", 844s # FALSE 844s # }; 844s # 844s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 844s # { 844s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 844s # { 844s # { 844s # -1, 844s # (gchar *) "org.project.UsefulInterface", 844s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 844s # NULL, 844s # NULL, 844s # NULL 844s # }, 844s # "org-project-useful-interface", 844s # }; 844s # 844s # 844s # /** 844s # * org_project_useful_interface_interface_info: 844s # * 844s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 844s # * 844s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 844s # */ 844s # GDBusInterfaceInfo * 844s # org_project_useful_interface_interface_info (void) 844s # { 844s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_override_properties: 844s # * @klass: The class structure for a #GObject derived class. 844s # * @property_id_begin: The property id to assign to the first overridden property. 844s # * 844s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 844s # * The properties are overridden in the order they are defined. 844s # * 844s # * Returns: The last property id. 844s # */ 844s # guint 844s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 844s # { 844s # return property_id_begin - 1; 844s # } 844s # 844s # 844s # inline static void 844s # org_project_useful_interface_method_marshal_single_arg_method_t ( 844s # GClosure *closure, 844s # GValue *return_value, 844s # unsigned int n_param_values, 844s # const GValue *param_values, 844s # void *invocation_hint, 844s # void *marshal_data) 844s # { 844s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 844s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 844s # } 844s # 844s # 844s # /** 844s # * OrgProjectUsefulInterface: 844s # * 844s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 844s # */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceIface: 844s # * @parent_iface: The parent interface. 844s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 844s # * 844s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 844s # */ 844s # 844s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 844s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 844s # 844s # static void 844s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 844s # { 844s # /* GObject signals for incoming D-Bus method calls: */ 844s # /** 844s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 844s # * @object: A #OrgProjectUsefulInterface. 844s # * @invocation: A #GDBusMethodInvocation. 844s # * 844s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 844s # * 844s # * 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. 844s # * 844s # * 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. 844s # */ 844s # g_signal_new ("handle-single-arg-method-t", 844s # G_TYPE_FROM_INTERFACE (iface), 844s # G_SIGNAL_RUN_LAST, 844s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 844s # g_signal_accumulator_true_handled, 844s # NULL, 844s # org_project_useful_interface_method_marshal_single_arg_method_t, 844s # G_TYPE_BOOLEAN, 844s # 1, 844s # G_TYPE_DBUS_METHOD_INVOCATION); 844s # 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_call_single_arg_method_t: 844s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 844s # * 844s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 844s # */ 844s # void 844s # org_project_useful_interface_call_single_arg_method_t ( 844s # OrgProjectUsefulInterface *proxy, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 844s # "SingleArgMethodT", 844s # g_variant_new ("()"), 844s # G_DBUS_CALL_FLAGS_NONE, 844s # -1, 844s # cancellable, 844s # callback, 844s # user_data); 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_call_single_arg_method_t_finish: 844s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 844s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 844s # * @error: Return location for error or %NULL. 844s # * 844s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 844s # * 844s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 844s # */ 844s # gboolean 844s # org_project_useful_interface_call_single_arg_method_t_finish ( 844s # OrgProjectUsefulInterface *proxy, 844s # guint64 *out_arg_t, 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GVariant *_ret; 844s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 844s # if (_ret == NULL) 844s # goto _out; 844s # g_variant_get (_ret, 844s # "(t)", 844s # out_arg_t); 844s # g_variant_unref (_ret); 844s # _out: 844s # return _ret != NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_call_single_arg_method_t_sync: 844s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 844s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL. 844s # * 844s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 844s # * 844s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 844s # */ 844s # gboolean 844s # org_project_useful_interface_call_single_arg_method_t_sync ( 844s # OrgProjectUsefulInterface *proxy, 844s # guint64 *out_arg_t, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GVariant *_ret; 844s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 844s # "SingleArgMethodT", 844s # g_variant_new ("()"), 844s # G_DBUS_CALL_FLAGS_NONE, 844s # -1, 844s # cancellable, 844s # error); 844s # if (_ret == NULL) 844s # goto _out; 844s # g_variant_get (_ret, 844s # "(t)", 844s # out_arg_t); 844s # g_variant_unref (_ret); 844s # _out: 844s # return _ret != NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_complete_single_arg_method_t: 844s # * @object: A #OrgProjectUsefulInterface. 844s # * @invocation: (transfer full): A #GDBusMethodInvocation. 844s # * @arg_t: Parameter to return. 844s # * 844s # * 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. 844s # * 844s # * This method will free @invocation, you cannot use it afterwards. 844s # */ 844s # void 844s # org_project_useful_interface_complete_single_arg_method_t ( 844s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 844s # GDBusMethodInvocation *invocation, 844s # guint64 arg_t) 844s # { 844s # g_dbus_method_invocation_return_value (invocation, 844s # g_variant_new ("(t)", 844s # arg_t)); 844s # } 844s # 844s # /* ------------------------------------------------------------------------ */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceProxy: 844s # * 844s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 844s # */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceProxyClass: 844s # * @parent_class: The parent class. 844s # * 844s # * Class structure for #OrgProjectUsefulInterfaceProxy. 844s # */ 844s # 844s # struct _OrgProjectUsefulInterfaceProxyPrivate 844s # { 844s # GData *qdata; 844s # }; 844s # 844s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 844s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 844s # 844s # #else 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 844s # 844s # #endif 844s # static void 844s # org_project_useful_interface_proxy_finalize (GObject *object) 844s # { 844s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 844s # g_datalist_clear (&proxy->priv->qdata); 844s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 844s # guint prop_id G_GNUC_UNUSED, 844s # GValue *value G_GNUC_UNUSED, 844s # GParamSpec *pspec G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 844s # guint prop_id G_GNUC_UNUSED, 844s # const GValue *value G_GNUC_UNUSED, 844s # GParamSpec *pspec G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 844s # const gchar *sender_name G_GNUC_UNUSED, 844s # const gchar *signal_name, 844s # GVariant *parameters) 844s # { 844s # _ExtendedGDBusSignalInfo *info; 844s # GVariantIter iter; 844s # GVariant *child; 844s # GValue *paramv; 844s # gsize num_params; 844s # gsize n; 844s # guint signal_id; 844s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 844s # if (info == NULL) 844s # return; 844s # num_params = g_variant_n_children (parameters); 844s # paramv = g_new0 (GValue, num_params + 1); 844s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_value_set_object (¶mv[0], proxy); 844s # g_variant_iter_init (&iter, parameters); 844s # n = 1; 844s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 844s # { 844s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 844s # if (arg_info->use_gvariant) 844s # { 844s # g_value_init (¶mv[n], G_TYPE_VARIANT); 844s # g_value_set_variant (¶mv[n], child); 844s # n++; 844s # } 844s # else 844s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 844s # g_variant_unref (child); 844s # } 844s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_signal_emitv (paramv, signal_id, 0, NULL); 844s # for (n = 0; n < num_params + 1; n++) 844s # g_value_unset (¶mv[n]); 844s # g_free (paramv); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 844s # GVariant *changed_properties, 844s # const gchar *const *invalidated_properties) 844s # { 844s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 844s # guint n; 844s # const gchar *key; 844s # GVariantIter *iter; 844s # _ExtendedGDBusPropertyInfo *info; 844s # g_variant_get (changed_properties, "a{sv}", &iter); 844s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 844s # { 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 844s # g_datalist_remove_data (&proxy->priv->qdata, key); 844s # if (info != NULL) 844s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 844s # } 844s # g_variant_iter_free (iter); 844s # for (n = 0; invalidated_properties[n] != NULL; n++) 844s # { 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 844s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 844s # if (info != NULL) 844s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 844s # } 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 844s # { 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 844s # #else 844s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 844s # #endif 844s # 844s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 844s # { 844s # GObjectClass *gobject_class; 844s # GDBusProxyClass *proxy_class; 844s # 844s # gobject_class = G_OBJECT_CLASS (klass); 844s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 844s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 844s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 844s # 844s # proxy_class = G_DBUS_PROXY_CLASS (klass); 844s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 844s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 844s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 844s # #endif 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new: 844s # * @connection: A #GDBusConnection. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 844s # * 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 844s # * 844s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 844s # */ 844s # void 844s # org_project_useful_interface_proxy_new ( 844s # GDBusConnection *connection, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # g_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); 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_finish: 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 844s # * @error: Return location for error or %NULL 844s # * 844s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_finish ( 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GObject *ret; 844s # GObject *source_object; 844s # source_object = g_async_result_get_source_object (res); 844s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 844s # g_object_unref (source_object); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_sync: 844s # * @connection: A #GDBusConnection. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL 844s # * 844s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 844s # * 844s # * The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_sync ( 844s # GDBusConnection *connection, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GInitable *ret; 844s # 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); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_for_bus: 844s # * @bus_type: A #GBusType. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: A bus name (well-known or unique). 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 844s # * 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 844s # * 844s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 844s # */ 844s # void 844s # org_project_useful_interface_proxy_new_for_bus ( 844s # GBusType bus_type, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # g_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); 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_for_bus_finish: 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 844s # * @error: Return location for error or %NULL 844s # * 844s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_for_bus_finish ( 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GObject *ret; 844s # GObject *source_object; 844s # source_object = g_async_result_get_source_object (res); 844s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 844s # g_object_unref (source_object); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_for_bus_sync: 844s # * @bus_type: A #GBusType. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: A bus name (well-known or unique). 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL 844s # * 844s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 844s # * 844s # * The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_for_bus_sync ( 844s # GBusType bus_type, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GInitable *ret; 844s # 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); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # 844s # /* ------------------------------------------------------------------------ */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceSkeleton: 844s # * 844s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 844s # */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceSkeletonClass: 844s # * @parent_class: The parent class. 844s # * 844s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 844s # */ 844s # 844s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 844s # { 844s # GValue *properties; 844s # GList *changed_properties; 844s # GSource *changed_properties_idle_source; 844s # GMainContext *context; 844s # GMutex lock; 844s # }; 844s # 844s # static void 844s # _org_project_useful_interface_skeleton_handle_method_call ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name, 844s # const gchar *method_name, 844s # GVariant *parameters, 844s # GDBusMethodInvocation *invocation, 844s # gpointer user_data) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 844s # _ExtendedGDBusMethodInfo *info; 844s # GVariantIter iter; 844s # GVariant *child; 844s # GValue *paramv; 844s # gsize num_params; 844s # guint num_extra; 844s # gsize n; 844s # guint signal_id; 844s # GValue return_value = G_VALUE_INIT; 844s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 844s # g_assert (info != NULL); 844s # num_params = g_variant_n_children (parameters); 844s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 844s # n = 0; 844s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_value_set_object (¶mv[n++], skeleton); 844s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 844s # g_value_set_object (¶mv[n++], invocation); 844s # if (info->pass_fdlist) 844s # { 844s # #ifdef G_OS_UNIX 844s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 844s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 844s # #else 844s # g_assert_not_reached (); 844s # #endif 844s # } 844s # g_variant_iter_init (&iter, parameters); 844s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 844s # { 844s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 844s # if (arg_info->use_gvariant) 844s # { 844s # g_value_init (¶mv[n], G_TYPE_VARIANT); 844s # g_value_set_variant (¶mv[n], child); 844s # n++; 844s # } 844s # else 844s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 844s # g_variant_unref (child); 844s # } 844s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_value_init (&return_value, G_TYPE_BOOLEAN); 844s # g_signal_emitv (paramv, signal_id, 0, &return_value); 844s # if (!g_value_get_boolean (&return_value)) 844s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 844s # g_value_unset (&return_value); 844s # for (n = 0; n < num_params + num_extra; n++) 844s # g_value_unset (¶mv[n]); 844s # g_free (paramv); 844s # } 844s # 844s # static GVariant * 844s # _org_project_useful_interface_skeleton_handle_get_property ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name G_GNUC_UNUSED, 844s # const gchar *property_name, 844s # GError **error, 844s # gpointer user_data) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 844s # GValue value = G_VALUE_INIT; 844s # GParamSpec *pspec; 844s # _ExtendedGDBusPropertyInfo *info; 844s # GVariant *ret; 844s # ret = NULL; 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 844s # g_assert (info != NULL); 844s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 844s # if (pspec == NULL) 844s # { 844s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 844s # } 844s # else 844s # { 844s # g_value_init (&value, pspec->value_type); 844s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 844s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 844s # g_value_unset (&value); 844s # } 844s # return ret; 844s # } 844s # 844s # static gboolean 844s # _org_project_useful_interface_skeleton_handle_set_property ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name G_GNUC_UNUSED, 844s # const gchar *property_name, 844s # GVariant *variant, 844s # GError **error, 844s # gpointer user_data) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 844s # GValue value = G_VALUE_INIT; 844s # GParamSpec *pspec; 844s # _ExtendedGDBusPropertyInfo *info; 844s # gboolean ret; 844s # ret = FALSE; 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 844s # g_assert (info != NULL); 844s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 844s # if (pspec == NULL) 844s # { 844s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 844s # } 844s # else 844s # { 844s # if (info->use_gvariant) 844s # g_value_set_variant (&value, variant); 844s # else 844s # g_dbus_gvariant_to_gvalue (variant, &value); 844s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 844s # g_value_unset (&value); 844s # ret = TRUE; 844s # } 844s # return ret; 844s # } 844s # 844s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 844s # { 844s # _org_project_useful_interface_skeleton_handle_method_call, 844s # _org_project_useful_interface_skeleton_handle_get_property, 844s # _org_project_useful_interface_skeleton_handle_set_property, 844s # {NULL} 844s # }; 844s # 844s # static GDBusInterfaceInfo * 844s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 844s # { 844s # return org_project_useful_interface_interface_info (); 844s # } 844s # 844s # static GDBusInterfaceVTable * 844s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 844s # { 844s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 844s # } 844s # 844s # static GVariant * 844s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 844s # 844s # GVariantBuilder builder; 844s # guint n; 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 844s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 844s # #else 844s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 844s # #endif 844s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 844s # goto out; 844s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 844s # { 844s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 844s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 844s # { 844s # GVariant *value; 844s # 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); 844s # if (value != NULL) 844s # { 844s # g_variant_take_ref (value); 844s # g_variant_builder_add (&builder, "{sv}", info->name, value); 844s # g_variant_unref (value); 844s # } 844s # } 844s # } 844s # out: 844s # return g_variant_builder_end (&builder); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 844s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 844s # 844s # #else 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 844s # 844s # #endif 844s # static void 844s # org_project_useful_interface_skeleton_finalize (GObject *object) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 844s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 844s # if (skeleton->priv->changed_properties_idle_source != NULL) 844s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 844s # g_main_context_unref (skeleton->priv->context); 844s # g_mutex_clear (&skeleton->priv->lock); 844s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 844s # { 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 844s # #else 844s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 844s # #endif 844s # 844s # g_mutex_init (&skeleton->priv->lock); 844s # skeleton->priv->context = g_main_context_ref_thread_default (); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 844s # { 844s # GObjectClass *gobject_class; 844s # GDBusInterfaceSkeletonClass *skeleton_class; 844s # 844s # gobject_class = G_OBJECT_CLASS (klass); 844s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 844s # 844s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 844s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 844s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 844s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 844s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 844s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 844s # #endif 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_skeleton_new: 844s # * 844s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_skeleton_new (void) 844s # { 844s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 844s # } 844s # Error: 844s # 844s # /tmp/tmpd_v7eoq3/tmplhvvdx4t.xml: 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpd_v7eoq3/tmplhvvdx4t.xml', '--output', '-', '--body'] 844s # Return code: 0 844s # Output: 844s # /* 844s # * This file is generated by gdbus-codegen, do not modify it. 844s # * 844s # * The license of this code is the same as for the D-Bus interface description 844s # * it was derived from. Note that it links to GLib, so must comply with the 844s # * LGPL linking clauses. 844s # */ 844s # 844s # #ifdef HAVE_CONFIG_H 844s # # include "config.h" 844s # #endif 844s # 844s # #include 844s # #ifdef G_OS_UNIX 844s # # include 844s # #endif 844s # 844s # #ifdef G_ENABLE_DEBUG 844s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 844s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 844s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 844s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 844s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 844s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 844s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 844s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 844s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 844s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 844s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 844s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 844s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 844s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 844s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 844s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 844s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 844s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 844s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 844s # #else /* !G_ENABLE_DEBUG */ 844s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 844s # * Do not access GValues directly in your code. Instead, use the 844s # * g_value_get_*() functions 844s # */ 844s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 844s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 844s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 844s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 844s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 844s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 844s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 844s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 844s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 844s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 844s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 844s # #endif /* !G_ENABLE_DEBUG */ 844s # 844s # typedef struct 844s # { 844s # GDBusArgInfo parent_struct; 844s # gboolean use_gvariant; 844s # } _ExtendedGDBusArgInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusMethodInfo parent_struct; 844s # const gchar *signal_name; 844s # gboolean pass_fdlist; 844s # } _ExtendedGDBusMethodInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusSignalInfo parent_struct; 844s # const gchar *signal_name; 844s # } _ExtendedGDBusSignalInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusPropertyInfo parent_struct; 844s # const gchar *hyphen_name; 844s # guint use_gvariant : 1; 844s # guint emits_changed_signal : 1; 844s # } _ExtendedGDBusPropertyInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusInterfaceInfo parent_struct; 844s # const gchar *hyphen_name; 844s # } _ExtendedGDBusInterfaceInfo; 844s # 844s # typedef struct 844s # { 844s # const _ExtendedGDBusPropertyInfo *info; 844s # guint prop_id; 844s # GValue orig_value; /* the value before the change */ 844s # } ChangedProperty; 844s # 844s # static void 844s # _changed_property_free (ChangedProperty *data) 844s # { 844s # g_value_unset (&data->orig_value); 844s # g_free (data); 844s # } 844s # 844s # static gboolean 844s # _g_strv_equal0 (gchar **a, gchar **b) 844s # { 844s # gboolean ret = FALSE; 844s # guint n; 844s # if (a == NULL && b == NULL) 844s # { 844s # ret = TRUE; 844s # goto out; 844s # } 844s # if (a == NULL || b == NULL) 844s # goto out; 844s # if (g_strv_length (a) != g_strv_length (b)) 844s # goto out; 844s # for (n = 0; a[n] != NULL; n++) 844s # if (g_strcmp0 (a[n], b[n]) != 0) 844s # goto out; 844s # ret = TRUE; 844s # out: 844s # return ret; 844s # } 844s # 844s # static gboolean 844s # _g_variant_equal0 (GVariant *a, GVariant *b) 844s # { 844s # gboolean ret = FALSE; 844s # if (a == NULL && b == NULL) 844s # { 844s # ret = TRUE; 844s # goto out; 844s # } 844s # if (a == NULL || b == NULL) 844s # goto out; 844s # ret = g_variant_equal (a, b); 844s # out: 844s # return ret; 844s # } 844s # 844s # G_GNUC_UNUSED static gboolean 844s # _g_value_equal (const GValue *a, const GValue *b) 844s # { 844s # gboolean ret = FALSE; 844s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 844s # switch (G_VALUE_TYPE (a)) 844s # { 844s # case G_TYPE_BOOLEAN: 844s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 844s # break; 844s # case G_TYPE_UCHAR: 844s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 844s # break; 844s # case G_TYPE_INT: 844s # ret = (g_value_get_int (a) == g_value_get_int (b)); 844s # break; 844s # case G_TYPE_UINT: 844s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 844s # break; 844s # case G_TYPE_INT64: 844s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 844s # break; 844s # case G_TYPE_UINT64: 844s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 844s # break; 844s # case G_TYPE_DOUBLE: 844s # { 844s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 844s # gdouble da = g_value_get_double (a); 844s # gdouble db = g_value_get_double (b); 844s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 844s # } 844s # break; 844s # case G_TYPE_STRING: 844s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 844s # break; 844s # case G_TYPE_VARIANT: 844s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 844s # break; 844s # default: 844s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 844s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 844s # else 844s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 844s # break; 844s # } 844s # return ret; 844s # } 844s # 844s # static void 844s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 844s # GClosure *closure, 844s # GValue *return_value, 844s # unsigned int n_param_values, 844s # const GValue *param_values, 844s # void *invocation_hint G_GNUC_UNUSED, 844s # void *marshal_data) 844s # { 844s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 844s # (void *data1, 844s # GDBusMethodInvocation *arg_method_invocation, 844s # void *data2); 844s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 844s # GCClosure *cc = (GCClosure*) closure; 844s # void *data1, *data2; 844s # gboolean v_return; 844s # 844s # g_return_if_fail (return_value != NULL); 844s # g_return_if_fail (n_param_values == 2); 844s # 844s # if (G_CCLOSURE_SWAP_DATA (closure)) 844s # { 844s # data1 = closure->data; 844s # data2 = g_value_peek_pointer (param_values + 0); 844s # } 844s # else 844s # { 844s # data1 = g_value_peek_pointer (param_values + 0); 844s # data2 = closure->data; 844s # } 844s # 844s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 844s # (marshal_data ? marshal_data : cc->callback); 844s # 844s # v_return = 844s # callback (data1, 844s # g_marshal_value_peek_object (param_values + 1), 844s # data2); 844s # 844s # g_value_set_boolean (return_value, v_return); 844s # } 844s # 844s # /* ------------------------------------------------------------------------ 844s # * Code for interface org.project.UsefulInterface 844s # * ------------------------------------------------------------------------ 844s # */ 844s # 844s # /** 844s # * SECTION:OrgProjectUsefulInterface 844s # * @title: OrgProjectUsefulInterface 844s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 844s # * 844s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 844s # */ 844s # 844s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d = 844s # { 844s # { 844s # -1, 844s # (gchar *) "arg_d", 844s # (gchar *) "d", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers[] = 844s # { 844s # &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 844s # { 844s # { 844s # -1, 844s # (gchar *) "SingleArgMethodD", 844s # NULL, 844s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers, 844s # NULL 844s # }, 844s # "handle-single-arg-method-d", 844s # FALSE 844s # }; 844s # 844s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 844s # { 844s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 844s # { 844s # { 844s # -1, 844s # (gchar *) "org.project.UsefulInterface", 844s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 844s # NULL, 844s # NULL, 844s # NULL 844s # }, 844s # "org-project-useful-interface", 844s # }; 844s # 844s # 844s # /** 844s # * org_project_useful_interface_interface_info: 844s # * 844s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 844s # * 844s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 844s # */ 844s # GDBusInterfaceInfo * 844s # org_project_useful_interface_interface_info (void) 844s # { 844s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_override_properties: 844s # * @klass: The class structure for a #GObject derived class. 844s # * @property_id_begin: The property id to assign to the first overridden property. 844s # * 844s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 844s # * The properties are overridden in the order they are defined. 844s # * 844s # * Returns: The last property id. 844s # */ 844s # guint 844s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 844s # { 844s # return property_id_begin - 1; 844s # } 844s # 844s # 844s # inline static void 844s # org_project_useful_interface_method_marshal_single_arg_method_d ( 844s # GClosure *closure, 844s # GValue *return_value, 844s # unsigned int n_param_values, 844s # const GValue *param_values, 844s # void *invocation_hint, 844s # void *marshal_data) 844s # { 844s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 844s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 844s # } 844s # 844s # 844s # /** 844s # * OrgProjectUsefulInterface: 844s # * 844s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 844s # */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceIface: 844s # * @parent_iface: The parent interface. 844s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 844s # * 844s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 844s # */ 844s # 844s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 844s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 844s # 844s # static void 844s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 844s # { 844s # /* GObject signals for incoming D-Bus method calls: */ 844s # /** 844s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 844s # * @object: A #OrgProjectUsefulInterface. 844s # * @invocation: A #GDBusMethodInvocation. 844s # * 844s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 844s # * 844s # * 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. 844s # * 844s # * 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. 844s # */ 844s # g_signal_new ("handle-single-arg-method-d", 844s # G_TYPE_FROM_INTERFACE (iface), 844s # G_SIGNAL_RUN_LAST, 844s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 844s # g_signal_accumulator_true_handled, 844s # NULL, 844s # org_project_useful_interface_method_marshal_single_arg_method_d, 844s # G_TYPE_BOOLEAN, 844s # 1, 844s # G_TYPE_DBUS_METHOD_INVOCATION); 844s # 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_call_single_arg_method_d: 844s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 844s # * 844s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 844s # */ 844s # void 844s # org_project_useful_interface_call_single_arg_method_d ( 844s # OrgProjectUsefulInterface *proxy, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 844s # "SingleArgMethodD", 844s # g_variant_new ("()"), 844s # G_DBUS_CALL_FLAGS_NONE, 844s # -1, 844s # cancellable, 844s # callback, 844s # user_data); 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_call_single_arg_method_d_finish: 844s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 844s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 844s # * @error: Return location for error or %NULL. 844s # * 844s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 844s # * 844s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 844s # */ 844s # gboolean 844s # org_project_useful_interface_call_single_arg_method_d_finish ( 844s # OrgProjectUsefulInterface *proxy, 844s # gdouble *out_arg_d, 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GVariant *_ret; 844s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 844s # if (_ret == NULL) 844s # goto _out; 844s # g_variant_get (_ret, 844s # "(d)", 844s # out_arg_d); 844s # g_variant_unref (_ret); 844s # _out: 844s # return _ret != NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_call_single_arg_method_d_sync: 844s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 844s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL. 844s # * 844s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 844s # * 844s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 844s # */ 844s # gboolean 844s # org_project_useful_interface_call_single_arg_method_d_sync ( 844s # OrgProjectUsefulInterface *proxy, 844s # gdouble *out_arg_d, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GVariant *_ret; 844s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 844s # "SingleArgMethodD", 844s # g_variant_new ("()"), 844s # G_DBUS_CALL_FLAGS_NONE, 844s # -1, 844s # cancellable, 844s # error); 844s # if (_ret == NULL) 844s # goto _out; 844s # g_variant_get (_ret, 844s # "(d)", 844s # out_arg_d); 844s # g_variant_unref (_ret); 844s # _out: 844s # return _ret != NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_complete_single_arg_method_d: 844s # * @object: A #OrgProjectUsefulInterface. 844s # * @invocation: (transfer full): A #GDBusMethodInvocation. 844s # * @arg_d: Parameter to return. 844s # * 844s # * 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. 844s # * 844s # * This method will free @invocation, you cannot use it afterwards. 844s # */ 844s # void 844s # org_project_useful_interface_complete_single_arg_method_d ( 844s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 844s # GDBusMethodInvocation *invocation, 844s # gdouble arg_d) 844s # { 844s # g_dbus_method_invocation_return_value (invocation, 844s # g_variant_new ("(d)", 844s # arg_d)); 844s # } 844s # 844s # /* ------------------------------------------------------------------------ */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceProxy: 844s # * 844s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 844s # */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceProxyClass: 844s # * @parent_class: The parent class. 844s # * 844s # * Class structure for #OrgProjectUsefulInterfaceProxy. 844s # */ 844s # 844s # struct _OrgProjectUsefulInterfaceProxyPrivate 844s # { 844s # GData *qdata; 844s # }; 844s # 844s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 844s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 844s # 844s # #else 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 844s # 844s # #endif 844s # static void 844s # org_project_useful_interface_proxy_finalize (GObject *object) 844s # { 844s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 844s # g_datalist_clear (&proxy->priv->qdata); 844s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 844s # guint prop_id G_GNUC_UNUSED, 844s # GValue *value G_GNUC_UNUSED, 844s # GParamSpec *pspec G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 844s # guint prop_id G_GNUC_UNUSED, 844s # const GValue *value G_GNUC_UNUSED, 844s # GParamSpec *pspec G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 844s # const gchar *sender_name G_GNUC_UNUSED, 844s # const gchar *signal_name, 844s # GVariant *parameters) 844s # { 844s # _ExtendedGDBusSignalInfo *info; 844s # GVariantIter iter; 844s # GVariant *child; 844s # GValue *paramv; 844s # gsize num_params; 844s # gsize n; 844s # guint signal_id; 844s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 844s # if (info == NULL) 844s # return; 844s # num_params = g_variant_n_children (parameters); 844s # paramv = g_new0 (GValue, num_params + 1); 844s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_value_set_object (¶mv[0], proxy); 844s # g_variant_iter_init (&iter, parameters); 844s # n = 1; 844s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 844s # { 844s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 844s # if (arg_info->use_gvariant) 844s # { 844s # g_value_init (¶mv[n], G_TYPE_VARIANT); 844s # g_value_set_variant (¶mv[n], child); 844s # n++; 844s # } 844s # else 844s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 844s # g_variant_unref (child); 844s # } 844s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_signal_emitv (paramv, signal_id, 0, NULL); 844s # for (n = 0; n < num_params + 1; n++) 844s # g_value_unset (¶mv[n]); 844s # g_free (paramv); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 844s # GVariant *changed_properties, 844s # const gchar *const *invalidated_properties) 844s # { 844s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 844s # guint n; 844s # const gchar *key; 844s # GVariantIter *iter; 844s # _ExtendedGDBusPropertyInfo *info; 844s # g_variant_get (changed_properties, "a{sv}", &iter); 844s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 844s # { 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 844s # g_datalist_remove_data (&proxy->priv->qdata, key); 844s # if (info != NULL) 844s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 844s # } 844s # g_variant_iter_free (iter); 844s # for (n = 0; invalidated_properties[n] != NULL; n++) 844s # { 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 844s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 844s # if (info != NULL) 844s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 844s # } 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 844s # { 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 844s # #else 844s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 844s # #endif 844s # 844s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 844s # { 844s # GObjectClass *gobject_class; 844s # GDBusProxyClass *proxy_class; 844s # 844s # gobject_class = G_OBJECT_CLASS (klass); 844s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 844s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 844s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 844s # 844s # proxy_class = G_DBUS_PROXY_CLASS (klass); 844s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 844s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 844s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 844s # #endif 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new: 844s # * @connection: A #GDBusConnection. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 844s # * 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 844s # * 844s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 844s # */ 844s # void 844s # org_project_useful_interface_proxy_new ( 844s # GDBusConnection *connection, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # g_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); 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_finish: 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 844s # * @error: Return location for error or %NULL 844s # * 844s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_finish ( 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GObject *ret; 844s # GObject *source_object; 844s # source_object = g_async_result_get_source_object (res); 844s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 844s # g_object_unref (source_object); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_sync: 844s # * @connection: A #GDBusConnection. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL 844s # * 844s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 844s # * 844s # * The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_sync ( 844s # GDBusConnection *connection, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GInitable *ret; 844s # 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); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_for_bus: 844s # * @bus_type: A #GBusType. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: A bus name (well-known or unique). 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 844s # * 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 844s # * 844s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 844s # */ 844s # void 844s # org_project_useful_interface_proxy_new_for_bus ( 844s # GBusType bus_type, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # g_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); 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_for_bus_finish: 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 844s # * @error: Return location for error or %NULL 844s # * 844s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_for_bus_finish ( 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GObject *ret; 844s # GObject *source_object; 844s # source_object = g_async_result_get_source_object (res); 844s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 844s # g_object_unref (source_object); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_for_bus_sync: 844s # * @bus_type: A #GBusType. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: A bus name (well-known or unique). 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL 844s # * 844s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 844s # * 844s # * The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_for_bus_sync ( 844s # GBusType bus_type, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GInitable *ret; 844s # 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); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # 844s # /* ------------------------------------------------------------------------ */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceSkeleton: 844s # * 844s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 844s # */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceSkeletonClass: 844s # * @parent_class: The parent class. 844s # * 844s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 844s # */ 844s # 844s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 844s # { 844s # GValue *properties; 844s # GList *changed_properties; 844s # GSource *changed_properties_idle_source; 844s # GMainContext *context; 844s # GMutex lock; 844s # }; 844s # 844s # static void 844s # _org_project_useful_interface_skeleton_handle_method_call ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name, 844s # const gchar *method_name, 844s # GVariant *parameters, 844s # GDBusMethodInvocation *invocation, 844s # gpointer user_data) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 844s # _ExtendedGDBusMethodInfo *info; 844s # GVariantIter iter; 844s # GVariant *child; 844s # GValue *paramv; 844s # gsize num_params; 844s # guint num_extra; 844s # gsize n; 844s # guint signal_id; 844s # GValue return_value = G_VALUE_INIT; 844s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 844s # g_assert (info != NULL); 844s # num_params = g_variant_n_children (parameters); 844s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 844s # n = 0; 844s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_value_set_object (¶mv[n++], skeleton); 844s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 844s # g_value_set_object (¶mv[n++], invocation); 844s # if (info->pass_fdlist) 844s # { 844s # #ifdef G_OS_UNIX 844s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 844s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 844s # #else 844s # g_assert_not_reached (); 844s # #endif 844s # } 844s # g_variant_iter_init (&iter, parameters); 844s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 844s # { 844s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 844s # if (arg_info->use_gvariant) 844s # { 844s # g_value_init (¶mv[n], G_TYPE_VARIANT); 844s # g_value_set_variant (¶mv[n], child); 844s # n++; 844s # } 844s # else 844s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 844s # g_variant_unref (child); 844s # } 844s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_value_init (&return_value, G_TYPE_BOOLEAN); 844s # g_signal_emitv (paramv, signal_id, 0, &return_value); 844s # if (!g_value_get_boolean (&return_value)) 844s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 844s # g_value_unset (&return_value); 844s # for (n = 0; n < num_params + num_extra; n++) 844s # g_value_unset (¶mv[n]); 844s # g_free (paramv); 844s # } 844s # 844s # static GVariant * 844s # _org_project_useful_interface_skeleton_handle_get_property ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name G_GNUC_UNUSED, 844s # const gchar *property_name, 844s # GError **error, 844s # gpointer user_data) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 844s # GValue value = G_VALUE_INIT; 844s # GParamSpec *pspec; 844s # _ExtendedGDBusPropertyInfo *info; 844s # GVariant *ret; 844s # ret = NULL; 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 844s # g_assert (info != NULL); 844s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 844s # if (pspec == NULL) 844s # { 844s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 844s # } 844s # else 844s # { 844s # g_value_init (&value, pspec->value_type); 844s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 844s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 844s # g_value_unset (&value); 844s # } 844s # return ret; 844s # } 844s # 844s # static gboolean 844s # _org_project_useful_interface_skeleton_handle_set_property ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name G_GNUC_UNUSED, 844s # const gchar *property_name, 844s # GVariant *variant, 844s # GError **error, 844s # gpointer user_data) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 844s # GValue value = G_VALUE_INIT; 844s # GParamSpec *pspec; 844s # _ExtendedGDBusPropertyInfo *info; 844s # gboolean ret; 844s # ret = FALSE; 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 844s # g_assert (info != NULL); 844s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 844s # if (pspec == NULL) 844s # { 844s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 844s # } 844s # else 844s # { 844s # if (info->use_gvariant) 844s # g_value_set_variant (&value, variant); 844s # else 844s # g_dbus_gvariant_to_gvalue (variant, &value); 844s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 844s # g_value_unset (&value); 844s # ret = TRUE; 844s # } 844s # return ret; 844s # } 844s # 844s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 844s # { 844s # _org_project_useful_interface_skeleton_handle_method_call, 844s # _org_project_useful_interface_skeleton_handle_get_property, 844s # _org_project_useful_interface_skeleton_handle_set_property, 844s # {NULL} 844s # }; 844s # 844s # static GDBusInterfaceInfo * 844s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 844s # { 844s # return org_project_useful_interface_interface_info (); 844s # } 844s # 844s # static GDBusInterfaceVTable * 844s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 844s # { 844s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 844s # } 844s # 844s # static GVariant * 844s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 844s # 844s # GVariantBuilder builder; 844s # guint n; 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 844s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 844s # #else 844s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 844s # #endif 844s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 844s # goto out; 844s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 844s # { 844s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 844s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 844s # { 844s # GVariant *value; 844s # 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); 844s # if (value != NULL) 844s # { 844s # g_variant_take_ref (value); 844s # g_variant_builder_add (&builder, "{sv}", info->name, value); 844s # g_variant_unref (value); 844s # } 844s # } 844s # } 844s # out: 844s # return g_variant_builder_end (&builder); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 844s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 844s # 844s # #else 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 844s # 844s # #endif 844s # static void 844s # org_project_useful_interface_skeleton_finalize (GObject *object) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 844s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 844s # if (skeleton->priv->changed_properties_idle_source != NULL) 844s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 844s # g_main_context_unref (skeleton->priv->context); 844s # g_mutex_clear (&skeleton->priv->lock); 844s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 844s # { 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 844s # #else 844s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 844s # #endif 844s # 844s # g_mutex_init (&skeleton->priv->lock); 844s # skeleton->priv->context = g_main_context_ref_thread_default (); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 844s # { 844s # GObjectClass *gobject_class; 844s # GDBusInterfaceSkeletonClass *skeleton_class; 844s # 844s # gobject_class = G_OBJECT_CLASS (klass); 844s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 844s # 844s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 844s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 844s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 844s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 844s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 844s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 844s # #endif 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_skeleton_new: 844s # * 844s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_skeleton_new (void) 844s # { 844s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 844s # } 844s # Error: 844s # 844s # /tmp/tmpd_v7eoq3/tmp0nnaqxob.xml: 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpd_v7eoq3/tmp0nnaqxob.xml', '--output', '-', '--body'] 844s # Return code: 0 844s # Output: 844s # /* 844s # * This file is generated by gdbus-codegen, do not modify it. 844s # * 844s # * The license of this code is the same as for the D-Bus interface description 844s # * it was derived from. Note that it links to GLib, so must comply with the 844s # * LGPL linking clauses. 844s # */ 844s # 844s # #ifdef HAVE_CONFIG_H 844s # # include "config.h" 844s # #endif 844s # 844s # #include 844s # #ifdef G_OS_UNIX 844s # # include 844s # #endif 844s # 844s # #ifdef G_ENABLE_DEBUG 844s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 844s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 844s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 844s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 844s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 844s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 844s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 844s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 844s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 844s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 844s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 844s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 844s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 844s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 844s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 844s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 844s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 844s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 844s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 844s # #else /* !G_ENABLE_DEBUG */ 844s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 844s # * Do not access GValues directly in your code. Instead, use the 844s # * g_value_get_*() functions 844s # */ 844s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 844s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 844s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 844s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 844s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 844s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 844s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 844s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 844s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 844s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 844s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 844s # #endif /* !G_ENABLE_DEBUG */ 844s # 844s # typedef struct 844s # { 844s # GDBusArgInfo parent_struct; 844s # gboolean use_gvariant; 844s # } _ExtendedGDBusArgInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusMethodInfo parent_struct; 844s # const gchar *signal_name; 844s # gboolean pass_fdlist; 844s # } _ExtendedGDBusMethodInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusSignalInfo parent_struct; 844s # const gchar *signal_name; 844s # } _ExtendedGDBusSignalInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusPropertyInfo parent_struct; 844s # const gchar *hyphen_name; 844s # guint use_gvariant : 1; 844s # guint emits_changed_signal : 1; 844s # } _ExtendedGDBusPropertyInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusInterfaceInfo parent_struct; 844s # const gchar *hyphen_name; 844s # } _ExtendedGDBusInterfaceInfo; 844s # 844s # typedef struct 844s # { 844s # const _ExtendedGDBusPropertyInfo *info; 844s # guint prop_id; 844s # GValue orig_value; /* the value before the change */ 844s # } ChangedProperty; 844s # 844s # static void 844s # _changed_property_free (ChangedProperty *data) 844s # { 844s # g_value_unset (&data->orig_value); 844s # g_free (data); 844s # } 844s # 844s # static gboolean 844s # _g_strv_equal0 (gchar **a, gchar **b) 844s # { 844s # gboolean ret = FALSE; 844s # guint n; 844s # if (a == NULL && b == NULL) 844s # { 844s # ret = TRUE; 844s # goto out; 844s # } 844s # if (a == NULL || b == NULL) 844s # goto out; 844s # if (g_strv_length (a) != g_strv_length (b)) 844s # goto out; 844s # for (n = 0; a[n] != NULL; n++) 844s # if (g_strcmp0 (a[n], b[n]) != 0) 844s # goto out; 844s # ret = TRUE; 844s # out: 844s # return ret; 844s # } 844s # 844s # static gboolean 844s # _g_variant_equal0 (GVariant *a, GVariant *b) 844s # { 844s # gboolean ret = FALSE; 844s # if (a == NULL && b == NULL) 844s # { 844s # ret = TRUE; 844s # goto out; 844s # } 844s # if (a == NULL || b == NULL) 844s # goto out; 844s # ret = g_variant_equal (a, b); 844s # out: 844s # return ret; 844s # } 844s # 844s # G_GNUC_UNUSED static gboolean 844s # _g_value_equal (const GValue *a, const GValue *b) 844s # { 844s # gboolean ret = FALSE; 844s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 844s # switch (G_VALUE_TYPE (a)) 844s # { 844s # case G_TYPE_BOOLEAN: 844s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 844s # break; 844s # case G_TYPE_UCHAR: 844s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 844s # break; 844s # case G_TYPE_INT: 844s # ret = (g_value_get_int (a) == g_value_get_int (b)); 844s # break; 844s # case G_TYPE_UINT: 844s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 844s # break; 844s # case G_TYPE_INT64: 844s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 844s # break; 844s # case G_TYPE_UINT64: 844s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 844s # break; 844s # case G_TYPE_DOUBLE: 844s # { 844s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 844s # gdouble da = g_value_get_double (a); 844s # gdouble db = g_value_get_double (b); 844s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 844s # } 844s # break; 844s # case G_TYPE_STRING: 844s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 844s # break; 844s # case G_TYPE_VARIANT: 844s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 844s # break; 844s # default: 844s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 844s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 844s # else 844s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 844s # break; 844s # } 844s # return ret; 844s # } 844s # 844s # static void 844s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 844s # GClosure *closure, 844s # GValue *return_value, 844s # unsigned int n_param_values, 844s # const GValue *param_values, 844s # void *invocation_hint G_GNUC_UNUSED, 844s # void *marshal_data) 844s # { 844s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 844s # (void *data1, 844s # GDBusMethodInvocation *arg_method_invocation, 844s # void *data2); 844s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 844s # GCClosure *cc = (GCClosure*) closure; 844s # void *data1, *data2; 844s # gboolean v_return; 844s # 844s # g_return_if_fail (return_value != NULL); 844s # g_return_if_fail (n_param_values == 2); 844s # 844s # if (G_CCLOSURE_SWAP_DATA (closure)) 844s # { 844s # data1 = closure->data; 844s # data2 = g_value_peek_pointer (param_values + 0); 844s # } 844s # else 844s # { 844s # data1 = g_value_peek_pointer (param_values + 0); 844s # data2 = closure->data; 844s # } 844s # 844s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 844s # (marshal_data ? marshal_data : cc->callback); 844s # 844s # v_return = 844s # callback (data1, 844s # g_marshal_value_peek_object (param_values + 1), 844s # data2); 844s # 844s # g_value_set_boolean (return_value, v_return); 844s # } 844s # 844s # /* ------------------------------------------------------------------------ 844s # * Code for interface org.project.UsefulInterface 844s # * ------------------------------------------------------------------------ 844s # */ 844s # 844s # /** 844s # * SECTION:OrgProjectUsefulInterface 844s # * @title: OrgProjectUsefulInterface 844s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 844s # * 844s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 844s # */ 844s # 844s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s = 844s # { 844s # { 844s # -1, 844s # (gchar *) "arg_s", 844s # (gchar *) "s", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers[] = 844s # { 844s # &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 844s # { 844s # { 844s # -1, 844s # (gchar *) "SingleArgMethodS", 844s # NULL, 844s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers, 844s # NULL 844s # }, 844s # "handle-single-arg-method-s", 844s # FALSE 844s # }; 844s # 844s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 844s # { 844s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 844s # { 844s # { 844s # -1, 844s # (gchar *) "org.project.UsefulInterface", 844s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 844s # NULL, 844s # NULL, 844s # NULL 844s # }, 844s # "org-project-useful-interface", 844s # }; 844s # 844s # 844s # /** 844s # * org_project_useful_interface_interface_info: 844s # * 844s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 844s # * 844s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 844s # */ 844s # GDBusInterfaceInfo * 844s # org_project_useful_interface_interface_info (void) 844s # { 844s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_override_properties: 844s # * @klass: The class structure for a #GObject derived class. 844s # * @property_id_begin: The property id to assign to the first overridden property. 844s # * 844s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 844s # * The properties are overridden in the order they are defined. 844s # * 844s # * Returns: The last property id. 844s # */ 844s # guint 844s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 844s # { 844s # return property_id_begin - 1; 844s # } 844s # 844s # 844s # inline static void 844s # org_project_useful_interface_method_marshal_single_arg_method_s ( 844s # GClosure *closure, 844s # GValue *return_value, 844s # unsigned int n_param_values, 844s # const GValue *param_values, 844s # void *invocation_hint, 844s # void *marshal_data) 844s # { 844s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 844s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 844s # } 844s # 844s # 844s # /** 844s # * OrgProjectUsefulInterface: 844s # * 844s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 844s # */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceIface: 844s # * @parent_iface: The parent interface. 844s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 844s # * 844s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 844s # */ 844s # 844s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 844s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 844s # 844s # static void 844s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 844s # { 844s # /* GObject signals for incoming D-Bus method calls: */ 844s # /** 844s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 844s # * @object: A #OrgProjectUsefulInterface. 844s # * @invocation: A #GDBusMethodInvocation. 844s # * 844s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 844s # * 844s # * 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. 844s # * 844s # * 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. 844s # */ 844s # g_signal_new ("handle-single-arg-method-s", 844s # G_TYPE_FROM_INTERFACE (iface), 844s # G_SIGNAL_RUN_LAST, 844s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 844s # g_signal_accumulator_true_handled, 844s # NULL, 844s # org_project_useful_interface_method_marshal_single_arg_method_s, 844s # G_TYPE_BOOLEAN, 844s # 1, 844s # G_TYPE_DBUS_METHOD_INVOCATION); 844s # 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_call_single_arg_method_s: 844s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 844s # * 844s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 844s # */ 844s # void 844s # org_project_useful_interface_call_single_arg_method_s ( 844s # OrgProjectUsefulInterface *proxy, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 844s # "SingleArgMethodS", 844s # g_variant_new ("()"), 844s # G_DBUS_CALL_FLAGS_NONE, 844s # -1, 844s # cancellable, 844s # callback, 844s # user_data); 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_call_single_arg_method_s_finish: 844s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 844s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 844s # * @error: Return location for error or %NULL. 844s # * 844s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 844s # * 844s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 844s # */ 844s # gboolean 844s # org_project_useful_interface_call_single_arg_method_s_finish ( 844s # OrgProjectUsefulInterface *proxy, 844s # gchar **out_arg_s, 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GVariant *_ret; 844s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 844s # if (_ret == NULL) 844s # goto _out; 844s # g_variant_get (_ret, 844s # "(s)", 844s # out_arg_s); 844s # g_variant_unref (_ret); 844s # _out: 844s # return _ret != NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_call_single_arg_method_s_sync: 844s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 844s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL. 844s # * 844s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 844s # * 844s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 844s # */ 844s # gboolean 844s # org_project_useful_interface_call_single_arg_method_s_sync ( 844s # OrgProjectUsefulInterface *proxy, 844s # gchar **out_arg_s, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GVariant *_ret; 844s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 844s # "SingleArgMethodS", 844s # g_variant_new ("()"), 844s # G_DBUS_CALL_FLAGS_NONE, 844s # -1, 844s # cancellable, 844s # error); 844s # if (_ret == NULL) 844s # goto _out; 844s # g_variant_get (_ret, 844s # "(s)", 844s # out_arg_s); 844s # g_variant_unref (_ret); 844s # _out: 844s # return _ret != NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_complete_single_arg_method_s: 844s # * @object: A #OrgProjectUsefulInterface. 844s # * @invocation: (transfer full): A #GDBusMethodInvocation. 844s # * @arg_s: Parameter to return. 844s # * 844s # * 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. 844s # * 844s # * This method will free @invocation, you cannot use it afterwards. 844s # */ 844s # void 844s # org_project_useful_interface_complete_single_arg_method_s ( 844s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 844s # GDBusMethodInvocation *invocation, 844s # const gchar *arg_s) 844s # { 844s # g_dbus_method_invocation_return_value (invocation, 844s # g_variant_new ("(s)", 844s # arg_s)); 844s # } 844s # 844s # /* ------------------------------------------------------------------------ */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceProxy: 844s # * 844s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 844s # */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceProxyClass: 844s # * @parent_class: The parent class. 844s # * 844s # * Class structure for #OrgProjectUsefulInterfaceProxy. 844s # */ 844s # 844s # struct _OrgProjectUsefulInterfaceProxyPrivate 844s # { 844s # GData *qdata; 844s # }; 844s # 844s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 844s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 844s # 844s # #else 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 844s # 844s # #endif 844s # static void 844s # org_project_useful_interface_proxy_finalize (GObject *object) 844s # { 844s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 844s # g_datalist_clear (&proxy->priv->qdata); 844s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 844s # guint prop_id G_GNUC_UNUSED, 844s # GValue *value G_GNUC_UNUSED, 844s # GParamSpec *pspec G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 844s # guint prop_id G_GNUC_UNUSED, 844s # const GValue *value G_GNUC_UNUSED, 844s # GParamSpec *pspec G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 844s # const gchar *sender_name G_GNUC_UNUSED, 844s # const gchar *signal_name, 844s # GVariant *parameters) 844s # { 844s # _ExtendedGDBusSignalInfo *info; 844s # GVariantIter iter; 844s # GVariant *child; 844s # GValue *paramv; 844s # gsize num_params; 844s # gsize n; 844s # guint signal_id; 844s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 844s # if (info == NULL) 844s # return; 844s # num_params = g_variant_n_children (parameters); 844s # paramv = g_new0 (GValue, num_params + 1); 844s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_value_set_object (¶mv[0], proxy); 844s # g_variant_iter_init (&iter, parameters); 844s # n = 1; 844s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 844s # { 844s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 844s # if (arg_info->use_gvariant) 844s # { 844s # g_value_init (¶mv[n], G_TYPE_VARIANT); 844s # g_value_set_variant (¶mv[n], child); 844s # n++; 844s # } 844s # else 844s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 844s # g_variant_unref (child); 844s # } 844s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_signal_emitv (paramv, signal_id, 0, NULL); 844s # for (n = 0; n < num_params + 1; n++) 844s # g_value_unset (¶mv[n]); 844s # g_free (paramv); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 844s # GVariant *changed_properties, 844s # const gchar *const *invalidated_properties) 844s # { 844s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 844s # guint n; 844s # const gchar *key; 844s # GVariantIter *iter; 844s # _ExtendedGDBusPropertyInfo *info; 844s # g_variant_get (changed_properties, "a{sv}", &iter); 844s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 844s # { 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 844s # g_datalist_remove_data (&proxy->priv->qdata, key); 844s # if (info != NULL) 844s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 844s # } 844s # g_variant_iter_free (iter); 844s # for (n = 0; invalidated_properties[n] != NULL; n++) 844s # { 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 844s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 844s # if (info != NULL) 844s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 844s # } 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 844s # { 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 844s # #else 844s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 844s # #endif 844s # 844s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 844s # { 844s # GObjectClass *gobject_class; 844s # GDBusProxyClass *proxy_class; 844s # 844s # gobject_class = G_OBJECT_CLASS (klass); 844s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 844s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 844s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 844s # 844s # proxy_class = G_DBUS_PROXY_CLASS (klass); 844s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 844s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 844s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 844s # #endif 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new: 844s # * @connection: A #GDBusConnection. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 844s # * 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 844s # * 844s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 844s # */ 844s # void 844s # org_project_useful_interface_proxy_new ( 844s # GDBusConnection *connection, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # g_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); 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_finish: 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 844s # * @error: Return location for error or %NULL 844s # * 844s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_finish ( 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GObject *ret; 844s # GObject *source_object; 844s # source_object = g_async_result_get_source_object (res); 844s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 844s # g_object_unref (source_object); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_sync: 844s # * @connection: A #GDBusConnection. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL 844s # * 844s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 844s # * 844s # * The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_sync ( 844s # GDBusConnection *connection, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GInitable *ret; 844s # 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); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_for_bus: 844s # * @bus_type: A #GBusType. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: A bus name (well-known or unique). 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 844s # * 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 844s # * 844s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 844s # */ 844s # void 844s # org_project_useful_interface_proxy_new_for_bus ( 844s # GBusType bus_type, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # g_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); 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_for_bus_finish: 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 844s # * @error: Return location for error or %NULL 844s # * 844s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_for_bus_finish ( 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GObject *ret; 844s # GObject *source_object; 844s # source_object = g_async_result_get_source_object (res); 844s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 844s # g_object_unref (source_object); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_for_bus_sync: 844s # * @bus_type: A #GBusType. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: A bus name (well-known or unique). 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL 844s # * 844s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 844s # * 844s # * The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_for_bus_sync ( 844s # GBusType bus_type, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GInitable *ret; 844s # 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); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # 844s # /* ------------------------------------------------------------------------ */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceSkeleton: 844s # * 844s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 844s # */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceSkeletonClass: 844s # * @parent_class: The parent class. 844s # * 844s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 844s # */ 844s # 844s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 844s # { 844s # GValue *properties; 844s # GList *changed_properties; 844s # GSource *changed_properties_idle_source; 844s # GMainContext *context; 844s # GMutex lock; 844s # }; 844s # 844s # static void 844s # _org_project_useful_interface_skeleton_handle_method_call ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name, 844s # const gchar *method_name, 844s # GVariant *parameters, 844s # GDBusMethodInvocation *invocation, 844s # gpointer user_data) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 844s # _ExtendedGDBusMethodInfo *info; 844s # GVariantIter iter; 844s # GVariant *child; 844s # GValue *paramv; 844s # gsize num_params; 844s # guint num_extra; 844s # gsize n; 844s # guint signal_id; 844s # GValue return_value = G_VALUE_INIT; 844s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 844s # g_assert (info != NULL); 844s # num_params = g_variant_n_children (parameters); 844s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 844s # n = 0; 844s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_value_set_object (¶mv[n++], skeleton); 844s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 844s # g_value_set_object (¶mv[n++], invocation); 844s # if (info->pass_fdlist) 844s # { 844s # #ifdef G_OS_UNIX 844s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 844s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 844s # #else 844s # g_assert_not_reached (); 844s # #endif 844s # } 844s # g_variant_iter_init (&iter, parameters); 844s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 844s # { 844s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 844s # if (arg_info->use_gvariant) 844s # { 844s # g_value_init (¶mv[n], G_TYPE_VARIANT); 844s # g_value_set_variant (¶mv[n], child); 844s # n++; 844s # } 844s # else 844s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 844s # g_variant_unref (child); 844s # } 844s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_value_init (&return_value, G_TYPE_BOOLEAN); 844s # g_signal_emitv (paramv, signal_id, 0, &return_value); 844s # if (!g_value_get_boolean (&return_value)) 844s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 844s # g_value_unset (&return_value); 844s # for (n = 0; n < num_params + num_extra; n++) 844s # g_value_unset (¶mv[n]); 844s # g_free (paramv); 844s # } 844s # 844s # static GVariant * 844s # _org_project_useful_interface_skeleton_handle_get_property ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name G_GNUC_UNUSED, 844s # const gchar *property_name, 844s # GError **error, 844s # gpointer user_data) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 844s # GValue value = G_VALUE_INIT; 844s # GParamSpec *pspec; 844s # _ExtendedGDBusPropertyInfo *info; 844s # GVariant *ret; 844s # ret = NULL; 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 844s # g_assert (info != NULL); 844s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 844s # if (pspec == NULL) 844s # { 844s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 844s # } 844s # else 844s # { 844s # g_value_init (&value, pspec->value_type); 844s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 844s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 844s # g_value_unset (&value); 844s # } 844s # return ret; 844s # } 844s # 844s # static gboolean 844s # _org_project_useful_interface_skeleton_handle_set_property ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name G_GNUC_UNUSED, 844s # const gchar *property_name, 844s # GVariant *variant, 844s # GError **error, 844s # gpointer user_data) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 844s # GValue value = G_VALUE_INIT; 844s # GParamSpec *pspec; 844s # _ExtendedGDBusPropertyInfo *info; 844s # gboolean ret; 844s # ret = FALSE; 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 844s # g_assert (info != NULL); 844s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 844s # if (pspec == NULL) 844s # { 844s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 844s # } 844s # else 844s # { 844s # if (info->use_gvariant) 844s # g_value_set_variant (&value, variant); 844s # else 844s # g_dbus_gvariant_to_gvalue (variant, &value); 844s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 844s # g_value_unset (&value); 844s # ret = TRUE; 844s # } 844s # return ret; 844s # } 844s # 844s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 844s # { 844s # _org_project_useful_interface_skeleton_handle_method_call, 844s # _org_project_useful_interface_skeleton_handle_get_property, 844s # _org_project_useful_interface_skeleton_handle_set_property, 844s # {NULL} 844s # }; 844s # 844s # static GDBusInterfaceInfo * 844s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 844s # { 844s # return org_project_useful_interface_interface_info (); 844s # } 844s # 844s # static GDBusInterfaceVTable * 844s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 844s # { 844s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 844s # } 844s # 844s # static GVariant * 844s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 844s # 844s # GVariantBuilder builder; 844s # guint n; 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 844s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 844s # #else 844s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 844s # #endif 844s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 844s # goto out; 844s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 844s # { 844s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 844s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 844s # { 844s # GVariant *value; 844s # 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); 844s # if (value != NULL) 844s # { 844s # g_variant_take_ref (value); 844s # g_variant_builder_add (&builder, "{sv}", info->name, value); 844s # g_variant_unref (value); 844s # } 844s # } 844s # } 844s # out: 844s # return g_variant_builder_end (&builder); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 844s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 844s # 844s # #else 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 844s # 844s # #endif 844s # static void 844s # org_project_useful_interface_skeleton_finalize (GObject *object) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 844s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 844s # if (skeleton->priv->changed_properties_idle_source != NULL) 844s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 844s # g_main_context_unref (skeleton->priv->context); 844s # g_mutex_clear (&skeleton->priv->lock); 844s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 844s # { 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 844s # #else 844s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 844s # #endif 844s # 844s # g_mutex_init (&skeleton->priv->lock); 844s # skeleton->priv->context = g_main_context_ref_thread_default (); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 844s # { 844s # GObjectClass *gobject_class; 844s # GDBusInterfaceSkeletonClass *skeleton_class; 844s # 844s # gobject_class = G_OBJECT_CLASS (klass); 844s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 844s # 844s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 844s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 844s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 844s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 844s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 844s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 844s # #endif 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_skeleton_new: 844s # * 844s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_skeleton_new (void) 844s # { 844s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 844s # } 844s # Error: 844s # 844s # /tmp/tmpd_v7eoq3/tmp08uu2iqf.xml: 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpd_v7eoq3/tmp08uu2iqf.xml', '--output', '-', '--body'] 844s # Return code: 0 844s # Output: 844s # /* 844s # * This file is generated by gdbus-codegen, do not modify it. 844s # * 844s # * The license of this code is the same as for the D-Bus interface description 844s # * it was derived from. Note that it links to GLib, so must comply with the 844s # * LGPL linking clauses. 844s # */ 844s # 844s # #ifdef HAVE_CONFIG_H 844s # # include "config.h" 844s # #endif 844s # 844s # #include 844s # #ifdef G_OS_UNIX 844s # # include 844s # #endif 844s # 844s # #ifdef G_ENABLE_DEBUG 844s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 844s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 844s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 844s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 844s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 844s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 844s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 844s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 844s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 844s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 844s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 844s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 844s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 844s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 844s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 844s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 844s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 844s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 844s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 844s # #else /* !G_ENABLE_DEBUG */ 844s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 844s # * Do not access GValues directly in your code. Instead, use the 844s # * g_value_get_*() functions 844s # */ 844s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 844s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 844s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 844s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 844s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 844s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 844s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 844s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 844s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 844s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 844s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 844s # #endif /* !G_ENABLE_DEBUG */ 844s # 844s # typedef struct 844s # { 844s # GDBusArgInfo parent_struct; 844s # gboolean use_gvariant; 844s # } _ExtendedGDBusArgInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusMethodInfo parent_struct; 844s # const gchar *signal_name; 844s # gboolean pass_fdlist; 844s # } _ExtendedGDBusMethodInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusSignalInfo parent_struct; 844s # const gchar *signal_name; 844s # } _ExtendedGDBusSignalInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusPropertyInfo parent_struct; 844s # const gchar *hyphen_name; 844s # guint use_gvariant : 1; 844s # guint emits_changed_signal : 1; 844s # } _ExtendedGDBusPropertyInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusInterfaceInfo parent_struct; 844s # const gchar *hyphen_name; 844s # } _ExtendedGDBusInterfaceInfo; 844s # 844s # typedef struct 844s # { 844s # const _ExtendedGDBusPropertyInfo *info; 844s # guint prop_id; 844s # GValue orig_value; /* the value before the change */ 844s # } ChangedProperty; 844s # 844s # static void 844s # _changed_property_free (ChangedProperty *data) 844s # { 844s # g_value_unset (&data->orig_value); 844s # g_free (data); 844s # } 844s # 844s # static gboolean 844s # _g_strv_equal0 (gchar **a, gchar **b) 844s # { 844s # gboolean ret = FALSE; 844s # guint n; 844s # if (a == NULL && b == NULL) 844s # { 844s # ret = TRUE; 844s # goto out; 844s # } 844s # if (a == NULL || b == NULL) 844s # goto out; 844s # if (g_strv_length (a) != g_strv_length (b)) 844s # goto out; 844s # for (n = 0; a[n] != NULL; n++) 844s # if (g_strcmp0 (a[n], b[n]) != 0) 844s # goto out; 844s # ret = TRUE; 844s # out: 844s # return ret; 844s # } 844s # 844s # static gboolean 844s # _g_variant_equal0 (GVariant *a, GVariant *b) 844s # { 844s # gboolean ret = FALSE; 844s # if (a == NULL && b == NULL) 844s # { 844s # ret = TRUE; 844s # goto out; 844s # } 844s # if (a == NULL || b == NULL) 844s # goto out; 844s # ret = g_variant_equal (a, b); 844s # out: 844s # return ret; 844s # } 844s # 844s # G_GNUC_UNUSED static gboolean 844s # _g_value_equal (const GValue *a, const GValue *b) 844s # { 844s # gboolean ret = FALSE; 844s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 844s # switch (G_VALUE_TYPE (a)) 844s # { 844s # case G_TYPE_BOOLEAN: 844s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 844s # break; 844s # case G_TYPE_UCHAR: 844s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 844s # break; 844s # case G_TYPE_INT: 844s # ret = (g_value_get_int (a) == g_value_get_int (b)); 844s # break; 844s # case G_TYPE_UINT: 844s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 844s # break; 844s # case G_TYPE_INT64: 844s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 844s # break; 844s # case G_TYPE_UINT64: 844s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 844s # break; 844s # case G_TYPE_DOUBLE: 844s # { 844s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 844s # gdouble da = g_value_get_double (a); 844s # gdouble db = g_value_get_double (b); 844s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 844s # } 844s # break; 844s # case G_TYPE_STRING: 844s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 844s # break; 844s # case G_TYPE_VARIANT: 844s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 844s # break; 844s # default: 844s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 844s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 844s # else 844s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 844s # break; 844s # } 844s # return ret; 844s # } 844s # 844s # static void 844s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 844s # GClosure *closure, 844s # GValue *return_value, 844s # unsigned int n_param_values, 844s # const GValue *param_values, 844s # void *invocation_hint G_GNUC_UNUSED, 844s # void *marshal_data) 844s # { 844s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 844s # (void *data1, 844s # GDBusMethodInvocation *arg_method_invocation, 844s # void *data2); 844s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 844s # GCClosure *cc = (GCClosure*) closure; 844s # void *data1, *data2; 844s # gboolean v_return; 844s # 844s # g_return_if_fail (return_value != NULL); 844s # g_return_if_fail (n_param_values == 2); 844s # 844s # if (G_CCLOSURE_SWAP_DATA (closure)) 844s # { 844s # data1 = closure->data; 844s # data2 = g_value_peek_pointer (param_values + 0); 844s # } 844s # else 844s # { 844s # data1 = g_value_peek_pointer (param_values + 0); 844s # data2 = closure->data; 844s # } 844s # 844s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 844s # (marshal_data ? marshal_data : cc->callback); 844s # 844s # v_return = 844s # callback (data1, 844s # g_marshal_value_peek_object (param_values + 1), 844s # data2); 844s # 844s # g_value_set_boolean (return_value, v_return); 844s # } 844s # 844s # /* ------------------------------------------------------------------------ 844s # * Code for interface org.project.UsefulInterface 844s # * ------------------------------------------------------------------------ 844s # */ 844s # 844s # /** 844s # * SECTION:OrgProjectUsefulInterface 844s # * @title: OrgProjectUsefulInterface 844s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 844s # * 844s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 844s # */ 844s # 844s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o = 844s # { 844s # { 844s # -1, 844s # (gchar *) "arg_o", 844s # (gchar *) "o", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers[] = 844s # { 844s # &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 844s # { 844s # { 844s # -1, 844s # (gchar *) "SingleArgMethodO", 844s # NULL, 844s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers, 844s # NULL 844s # }, 844s # "handle-single-arg-method-o", 844s # FALSE 844s # }; 844s # 844s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 844s # { 844s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 844s # { 844s # { 844s # -1, 844s # (gchar *) "org.project.UsefulInterface", 844s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 844s # NULL, 844s # NULL, 844s # NULL 844s # }, 844s # "org-project-useful-interface", 844s # }; 844s # 844s # 844s # /** 844s # * org_project_useful_interface_interface_info: 844s # * 844s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 844s # * 844s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 844s # */ 844s # GDBusInterfaceInfo * 844s # org_project_useful_interface_interface_info (void) 844s # { 844s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_override_properties: 844s # * @klass: The class structure for a #GObject derived class. 844s # * @property_id_begin: The property id to assign to the first overridden property. 844s # * 844s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 844s # * The properties are overridden in the order they are defined. 844s # * 844s # * Returns: The last property id. 844s # */ 844s # guint 844s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 844s # { 844s # return property_id_begin - 1; 844s # } 844s # 844s # 844s # inline static void 844s # org_project_useful_interface_method_marshal_single_arg_method_o ( 844s # GClosure *closure, 844s # GValue *return_value, 844s # unsigned int n_param_values, 844s # const GValue *param_values, 844s # void *invocation_hint, 844s # void *marshal_data) 844s # { 844s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 844s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 844s # } 844s # 844s # 844s # /** 844s # * OrgProjectUsefulInterface: 844s # * 844s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 844s # */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceIface: 844s # * @parent_iface: The parent interface. 844s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 844s # * 844s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 844s # */ 844s # 844s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 844s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 844s # 844s # static void 844s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 844s # { 844s # /* GObject signals for incoming D-Bus method calls: */ 844s # /** 844s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 844s # * @object: A #OrgProjectUsefulInterface. 844s # * @invocation: A #GDBusMethodInvocation. 844s # * 844s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 844s # * 844s # * 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. 844s # * 844s # * 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. 844s # */ 844s # g_signal_new ("handle-single-arg-method-o", 844s # G_TYPE_FROM_INTERFACE (iface), 844s # G_SIGNAL_RUN_LAST, 844s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 844s # g_signal_accumulator_true_handled, 844s # NULL, 844s # org_project_useful_interface_method_marshal_single_arg_method_o, 844s # G_TYPE_BOOLEAN, 844s # 1, 844s # G_TYPE_DBUS_METHOD_INVOCATION); 844s # 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_call_single_arg_method_o: 844s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 844s # * 844s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 844s # */ 844s # void 844s # org_project_useful_interface_call_single_arg_method_o ( 844s # OrgProjectUsefulInterface *proxy, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 844s # "SingleArgMethodO", 844s # g_variant_new ("()"), 844s # G_DBUS_CALL_FLAGS_NONE, 844s # -1, 844s # cancellable, 844s # callback, 844s # user_data); 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_call_single_arg_method_o_finish: 844s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 844s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 844s # * @error: Return location for error or %NULL. 844s # * 844s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 844s # * 844s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 844s # */ 844s # gboolean 844s # org_project_useful_interface_call_single_arg_method_o_finish ( 844s # OrgProjectUsefulInterface *proxy, 844s # gchar **out_arg_o, 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GVariant *_ret; 844s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 844s # if (_ret == NULL) 844s # goto _out; 844s # g_variant_get (_ret, 844s # "(o)", 844s # out_arg_o); 844s # g_variant_unref (_ret); 844s # _out: 844s # return _ret != NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_call_single_arg_method_o_sync: 844s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 844s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL. 844s # * 844s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 844s # * 844s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 844s # */ 844s # gboolean 844s # org_project_useful_interface_call_single_arg_method_o_sync ( 844s # OrgProjectUsefulInterface *proxy, 844s # gchar **out_arg_o, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GVariant *_ret; 844s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 844s # "SingleArgMethodO", 844s # g_variant_new ("()"), 844s # G_DBUS_CALL_FLAGS_NONE, 844s # -1, 844s # cancellable, 844s # error); 844s # if (_ret == NULL) 844s # goto _out; 844s # g_variant_get (_ret, 844s # "(o)", 844s # out_arg_o); 844s # g_variant_unref (_ret); 844s # _out: 844s # return _ret != NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_complete_single_arg_method_o: 844s # * @object: A #OrgProjectUsefulInterface. 844s # * @invocation: (transfer full): A #GDBusMethodInvocation. 844s # * @arg_o: Parameter to return. 844s # * 844s # * 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. 844s # * 844s # * This method will free @invocation, you cannot use it afterwards. 844s # */ 844s # void 844s # org_project_useful_interface_complete_single_arg_method_o ( 844s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 844s # GDBusMethodInvocation *invocation, 844s # const gchar *arg_o) 844s # { 844s # g_dbus_method_invocation_return_value (invocation, 844s # g_variant_new ("(o)", 844s # arg_o)); 844s # } 844s # 844s # /* ------------------------------------------------------------------------ */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceProxy: 844s # * 844s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 844s # */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceProxyClass: 844s # * @parent_class: The parent class. 844s # * 844s # * Class structure for #OrgProjectUsefulInterfaceProxy. 844s # */ 844s # 844s # struct _OrgProjectUsefulInterfaceProxyPrivate 844s # { 844s # GData *qdata; 844s # }; 844s # 844s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 844s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 844s # 844s # #else 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 844s # 844s # #endif 844s # static void 844s # org_project_useful_interface_proxy_finalize (GObject *object) 844s # { 844s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 844s # g_datalist_clear (&proxy->priv->qdata); 844s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 844s # guint prop_id G_GNUC_UNUSED, 844s # GValue *value G_GNUC_UNUSED, 844s # GParamSpec *pspec G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 844s # guint prop_id G_GNUC_UNUSED, 844s # const GValue *value G_GNUC_UNUSED, 844s # GParamSpec *pspec G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 844s # const gchar *sender_name G_GNUC_UNUSED, 844s # const gchar *signal_name, 844s # GVariant *parameters) 844s # { 844s # _ExtendedGDBusSignalInfo *info; 844s # GVariantIter iter; 844s # GVariant *child; 844s # GValue *paramv; 844s # gsize num_params; 844s # gsize n; 844s # guint signal_id; 844s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 844s # if (info == NULL) 844s # return; 844s # num_params = g_variant_n_children (parameters); 844s # paramv = g_new0 (GValue, num_params + 1); 844s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_value_set_object (¶mv[0], proxy); 844s # g_variant_iter_init (&iter, parameters); 844s # n = 1; 844s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 844s # { 844s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 844s # if (arg_info->use_gvariant) 844s # { 844s # g_value_init (¶mv[n], G_TYPE_VARIANT); 844s # g_value_set_variant (¶mv[n], child); 844s # n++; 844s # } 844s # else 844s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 844s # g_variant_unref (child); 844s # } 844s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_signal_emitv (paramv, signal_id, 0, NULL); 844s # for (n = 0; n < num_params + 1; n++) 844s # g_value_unset (¶mv[n]); 844s # g_free (paramv); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 844s # GVariant *changed_properties, 844s # const gchar *const *invalidated_properties) 844s # { 844s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 844s # guint n; 844s # const gchar *key; 844s # GVariantIter *iter; 844s # _ExtendedGDBusPropertyInfo *info; 844s # g_variant_get (changed_properties, "a{sv}", &iter); 844s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 844s # { 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 844s # g_datalist_remove_data (&proxy->priv->qdata, key); 844s # if (info != NULL) 844s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 844s # } 844s # g_variant_iter_free (iter); 844s # for (n = 0; invalidated_properties[n] != NULL; n++) 844s # { 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 844s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 844s # if (info != NULL) 844s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 844s # } 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 844s # { 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 844s # #else 844s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 844s # #endif 844s # 844s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 844s # { 844s # GObjectClass *gobject_class; 844s # GDBusProxyClass *proxy_class; 844s # 844s # gobject_class = G_OBJECT_CLASS (klass); 844s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 844s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 844s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 844s # 844s # proxy_class = G_DBUS_PROXY_CLASS (klass); 844s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 844s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 844s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 844s # #endif 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new: 844s # * @connection: A #GDBusConnection. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 844s # * 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 844s # * 844s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 844s # */ 844s # void 844s # org_project_useful_interface_proxy_new ( 844s # GDBusConnection *connection, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # g_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); 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_finish: 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 844s # * @error: Return location for error or %NULL 844s # * 844s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_finish ( 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GObject *ret; 844s # GObject *source_object; 844s # source_object = g_async_result_get_source_object (res); 844s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 844s # g_object_unref (source_object); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_sync: 844s # * @connection: A #GDBusConnection. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL 844s # * 844s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 844s # * 844s # * The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_sync ( 844s # GDBusConnection *connection, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GInitable *ret; 844s # 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); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_for_bus: 844s # * @bus_type: A #GBusType. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: A bus name (well-known or unique). 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 844s # * 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 844s # * 844s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 844s # */ 844s # void 844s # org_project_useful_interface_proxy_new_for_bus ( 844s # GBusType bus_type, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # g_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); 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_for_bus_finish: 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 844s # * @error: Return location for error or %NULL 844s # * 844s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_for_bus_finish ( 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GObject *ret; 844s # GObject *source_object; 844s # source_object = g_async_result_get_source_object (res); 844s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 844s # g_object_unref (source_object); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_for_bus_sync: 844s # * @bus_type: A #GBusType. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: A bus name (well-known or unique). 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL 844s # * 844s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 844s # * 844s # * The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_for_bus_sync ( 844s # GBusType bus_type, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GInitable *ret; 844s # 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); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # 844s # /* ------------------------------------------------------------------------ */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceSkeleton: 844s # * 844s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 844s # */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceSkeletonClass: 844s # * @parent_class: The parent class. 844s # * 844s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 844s # */ 844s # 844s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 844s # { 844s # GValue *properties; 844s # GList *changed_properties; 844s # GSource *changed_properties_idle_source; 844s # GMainContext *context; 844s # GMutex lock; 844s # }; 844s # 844s # static void 844s # _org_project_useful_interface_skeleton_handle_method_call ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name, 844s # const gchar *method_name, 844s # GVariant *parameters, 844s # GDBusMethodInvocation *invocation, 844s # gpointer user_data) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 844s # _ExtendedGDBusMethodInfo *info; 844s # GVariantIter iter; 844s # GVariant *child; 844s # GValue *paramv; 844s # gsize num_params; 844s # guint num_extra; 844s # gsize n; 844s # guint signal_id; 844s # GValue return_value = G_VALUE_INIT; 844s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 844s # g_assert (info != NULL); 844s # num_params = g_variant_n_children (parameters); 844s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 844s # n = 0; 844s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_value_set_object (¶mv[n++], skeleton); 844s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 844s # g_value_set_object (¶mv[n++], invocation); 844s # if (info->pass_fdlist) 844s # { 844s # #ifdef G_OS_UNIX 844s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 844s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 844s # #else 844s # g_assert_not_reached (); 844s # #endif 844s # } 844s # g_variant_iter_init (&iter, parameters); 844s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 844s # { 844s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 844s # if (arg_info->use_gvariant) 844s # { 844s # g_value_init (¶mv[n], G_TYPE_VARIANT); 844s # g_value_set_variant (¶mv[n], child); 844s # n++; 844s # } 844s # else 844s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 844s # g_variant_unref (child); 844s # } 844s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_value_init (&return_value, G_TYPE_BOOLEAN); 844s # g_signal_emitv (paramv, signal_id, 0, &return_value); 844s # if (!g_value_get_boolean (&return_value)) 844s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 844s # g_value_unset (&return_value); 844s # for (n = 0; n < num_params + num_extra; n++) 844s # g_value_unset (¶mv[n]); 844s # g_free (paramv); 844s # } 844s # 844s # static GVariant * 844s # _org_project_useful_interface_skeleton_handle_get_property ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name G_GNUC_UNUSED, 844s # const gchar *property_name, 844s # GError **error, 844s # gpointer user_data) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 844s # GValue value = G_VALUE_INIT; 844s # GParamSpec *pspec; 844s # _ExtendedGDBusPropertyInfo *info; 844s # GVariant *ret; 844s # ret = NULL; 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 844s # g_assert (info != NULL); 844s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 844s # if (pspec == NULL) 844s # { 844s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 844s # } 844s # else 844s # { 844s # g_value_init (&value, pspec->value_type); 844s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 844s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 844s # g_value_unset (&value); 844s # } 844s # return ret; 844s # } 844s # 844s # static gboolean 844s # _org_project_useful_interface_skeleton_handle_set_property ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name G_GNUC_UNUSED, 844s # const gchar *property_name, 844s # GVariant *variant, 844s # GError **error, 844s # gpointer user_data) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 844s # GValue value = G_VALUE_INIT; 844s # GParamSpec *pspec; 844s # _ExtendedGDBusPropertyInfo *info; 844s # gboolean ret; 844s # ret = FALSE; 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 844s # g_assert (info != NULL); 844s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 844s # if (pspec == NULL) 844s # { 844s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 844s # } 844s # else 844s # { 844s # if (info->use_gvariant) 844s # g_value_set_variant (&value, variant); 844s # else 844s # g_dbus_gvariant_to_gvalue (variant, &value); 844s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 844s # g_value_unset (&value); 844s # ret = TRUE; 844s # } 844s # return ret; 844s # } 844s # 844s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 844s # { 844s # _org_project_useful_interface_skeleton_handle_method_call, 844s # _org_project_useful_interface_skeleton_handle_get_property, 844s # _org_project_useful_interface_skeleton_handle_set_property, 844s # {NULL} 844s # }; 844s # 844s # static GDBusInterfaceInfo * 844s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 844s # { 844s # return org_project_useful_interface_interface_info (); 844s # } 844s # 844s # static GDBusInterfaceVTable * 844s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 844s # { 844s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 844s # } 844s # 844s # static GVariant * 844s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 844s # 844s # GVariantBuilder builder; 844s # guint n; 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 844s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 844s # #else 844s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 844s # #endif 844s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 844s # goto out; 844s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 844s # { 844s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 844s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 844s # { 844s # GVariant *value; 844s # 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); 844s # if (value != NULL) 844s # { 844s # g_variant_take_ref (value); 844s # g_variant_builder_add (&builder, "{sv}", info->name, value); 844s # g_variant_unref (value); 844s # } 844s # } 844s # } 844s # out: 844s # return g_variant_builder_end (&builder); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 844s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 844s # 844s # #else 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 844s # 844s # #endif 844s # static void 844s # org_project_useful_interface_skeleton_finalize (GObject *object) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 844s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 844s # if (skeleton->priv->changed_properties_idle_source != NULL) 844s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 844s # g_main_context_unref (skeleton->priv->context); 844s # g_mutex_clear (&skeleton->priv->lock); 844s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 844s # { 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 844s # #else 844s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 844s # #endif 844s # 844s # g_mutex_init (&skeleton->priv->lock); 844s # skeleton->priv->context = g_main_context_ref_thread_default (); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 844s # { 844s # GObjectClass *gobject_class; 844s # GDBusInterfaceSkeletonClass *skeleton_class; 844s # 844s # gobject_class = G_OBJECT_CLASS (klass); 844s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 844s # 844s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 844s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 844s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 844s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 844s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 844s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 844s # #endif 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_skeleton_new: 844s # * 844s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_skeleton_new (void) 844s # { 844s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 844s # } 844s # Error: 844s # 844s # /tmp/tmpd_v7eoq3/tmpumw_10hp.xml: 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpd_v7eoq3/tmpumw_10hp.xml', '--output', '-', '--body'] 844s # Return code: 0 844s # Output: 844s # /* 844s # * This file is generated by gdbus-codegen, do not modify it. 844s # * 844s # * The license of this code is the same as for the D-Bus interface description 844s # * it was derived from. Note that it links to GLib, so must comply with the 844s # * LGPL linking clauses. 844s # */ 844s # 844s # #ifdef HAVE_CONFIG_H 844s # # include "config.h" 844s # #endif 844s # 844s # #include 844s # #ifdef G_OS_UNIX 844s # # include 844s # #endif 844s # 844s # #ifdef G_ENABLE_DEBUG 844s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 844s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 844s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 844s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 844s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 844s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 844s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 844s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 844s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 844s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 844s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 844s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 844s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 844s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 844s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 844s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 844s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 844s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 844s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 844s # #else /* !G_ENABLE_DEBUG */ 844s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 844s # * Do not access GValues directly in your code. Instead, use the 844s # * g_value_get_*() functions 844s # */ 844s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 844s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 844s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 844s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 844s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 844s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 844s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 844s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 844s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 844s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 844s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 844s # #endif /* !G_ENABLE_DEBUG */ 844s # 844s # typedef struct 844s # { 844s # GDBusArgInfo parent_struct; 844s # gboolean use_gvariant; 844s # } _ExtendedGDBusArgInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusMethodInfo parent_struct; 844s # const gchar *signal_name; 844s # gboolean pass_fdlist; 844s # } _ExtendedGDBusMethodInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusSignalInfo parent_struct; 844s # const gchar *signal_name; 844s # } _ExtendedGDBusSignalInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusPropertyInfo parent_struct; 844s # const gchar *hyphen_name; 844s # guint use_gvariant : 1; 844s # guint emits_changed_signal : 1; 844s # } _ExtendedGDBusPropertyInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusInterfaceInfo parent_struct; 844s # const gchar *hyphen_name; 844s # } _ExtendedGDBusInterfaceInfo; 844s # 844s # typedef struct 844s # { 844s # const _ExtendedGDBusPropertyInfo *info; 844s # guint prop_id; 844s # GValue orig_value; /* the value before the change */ 844s # } ChangedProperty; 844s # 844s # static void 844s # _changed_property_free (ChangedProperty *data) 844s # { 844s # g_value_unset (&data->orig_value); 844s # g_free (data); 844s # } 844s # 844s # static gboolean 844s # _g_strv_equal0 (gchar **a, gchar **b) 844s # { 844s # gboolean ret = FALSE; 844s # guint n; 844s # if (a == NULL && b == NULL) 844s # { 844s # ret = TRUE; 844s # goto out; 844s # } 844s # if (a == NULL || b == NULL) 844s # goto out; 844s # if (g_strv_length (a) != g_strv_length (b)) 844s # goto out; 844s # for (n = 0; a[n] != NULL; n++) 844s # if (g_strcmp0 (a[n], b[n]) != 0) 844s # goto out; 844s # ret = TRUE; 844s # out: 844s # return ret; 844s # } 844s # 844s # static gboolean 844s # _g_variant_equal0 (GVariant *a, GVariant *b) 844s # { 844s # gboolean ret = FALSE; 844s # if (a == NULL && b == NULL) 844s # { 844s # ret = TRUE; 844s # goto out; 844s # } 844s # if (a == NULL || b == NULL) 844s # goto out; 844s # ret = g_variant_equal (a, b); 844s # out: 844s # return ret; 844s # } 844s # 844s # G_GNUC_UNUSED static gboolean 844s # _g_value_equal (const GValue *a, const GValue *b) 844s # { 844s # gboolean ret = FALSE; 844s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 844s # switch (G_VALUE_TYPE (a)) 844s # { 844s # case G_TYPE_BOOLEAN: 844s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 844s # break; 844s # case G_TYPE_UCHAR: 844s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 844s # break; 844s # case G_TYPE_INT: 844s # ret = (g_value_get_int (a) == g_value_get_int (b)); 844s # break; 844s # case G_TYPE_UINT: 844s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 844s # break; 844s # case G_TYPE_INT64: 844s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 844s # break; 844s # case G_TYPE_UINT64: 844s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 844s # break; 844s # case G_TYPE_DOUBLE: 844s # { 844s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 844s # gdouble da = g_value_get_double (a); 844s # gdouble db = g_value_get_double (b); 844s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 844s # } 844s # break; 844s # case G_TYPE_STRING: 844s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 844s # break; 844s # case G_TYPE_VARIANT: 844s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 844s # break; 844s # default: 844s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 844s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 844s # else 844s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 844s # break; 844s # } 844s # return ret; 844s # } 844s # 844s # static void 844s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 844s # GClosure *closure, 844s # GValue *return_value, 844s # unsigned int n_param_values, 844s # const GValue *param_values, 844s # void *invocation_hint G_GNUC_UNUSED, 844s # void *marshal_data) 844s # { 844s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 844s # (void *data1, 844s # GDBusMethodInvocation *arg_method_invocation, 844s # void *data2); 844s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 844s # GCClosure *cc = (GCClosure*) closure; 844s # void *data1, *data2; 844s # gboolean v_return; 844s # 844s # g_return_if_fail (return_value != NULL); 844s # g_return_if_fail (n_param_values == 2); 844s # 844s # if (G_CCLOSURE_SWAP_DATA (closure)) 844s # { 844s # data1 = closure->data; 844s # data2 = g_value_peek_pointer (param_values + 0); 844s # } 844s # else 844s # { 844s # data1 = g_value_peek_pointer (param_values + 0); 844s # data2 = closure->data; 844s # } 844s # 844s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 844s # (marshal_data ? marshal_data : cc->callback); 844s # 844s # v_return = 844s # callback (data1, 844s # g_marshal_value_peek_object (param_values + 1), 844s # data2); 844s # 844s # g_value_set_boolean (return_value, v_return); 844s # } 844s # 844s # /* ------------------------------------------------------------------------ 844s # * Code for interface org.project.UsefulInterface 844s # * ------------------------------------------------------------------------ 844s # */ 844s # 844s # /** 844s # * SECTION:OrgProjectUsefulInterface 844s # * @title: OrgProjectUsefulInterface 844s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 844s # * 844s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 844s # */ 844s # 844s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g = 844s # { 844s # { 844s # -1, 844s # (gchar *) "arg_g", 844s # (gchar *) "g", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers[] = 844s # { 844s # &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 844s # { 844s # { 844s # -1, 844s # (gchar *) "SingleArgMethodG", 844s # NULL, 844s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers, 844s # NULL 844s # }, 844s # "handle-single-arg-method-g", 844s # FALSE 844s # }; 844s # 844s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 844s # { 844s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 844s # { 844s # { 844s # -1, 844s # (gchar *) "org.project.UsefulInterface", 844s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 844s # NULL, 844s # NULL, 844s # NULL 844s # }, 844s # "org-project-useful-interface", 844s # }; 844s # 844s # 844s # /** 844s # * org_project_useful_interface_interface_info: 844s # * 844s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 844s # * 844s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 844s # */ 844s # GDBusInterfaceInfo * 844s # org_project_useful_interface_interface_info (void) 844s # { 844s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_override_properties: 844s # * @klass: The class structure for a #GObject derived class. 844s # * @property_id_begin: The property id to assign to the first overridden property. 844s # * 844s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 844s # * The properties are overridden in the order they are defined. 844s # * 844s # * Returns: The last property id. 844s # */ 844s # guint 844s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 844s # { 844s # return property_id_begin - 1; 844s # } 844s # 844s # 844s # inline static void 844s # org_project_useful_interface_method_marshal_single_arg_method_g ( 844s # GClosure *closure, 844s # GValue *return_value, 844s # unsigned int n_param_values, 844s # const GValue *param_values, 844s # void *invocation_hint, 844s # void *marshal_data) 844s # { 844s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 844s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 844s # } 844s # 844s # 844s # /** 844s # * OrgProjectUsefulInterface: 844s # * 844s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 844s # */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceIface: 844s # * @parent_iface: The parent interface. 844s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 844s # * 844s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 844s # */ 844s # 844s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 844s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 844s # 844s # static void 844s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 844s # { 844s # /* GObject signals for incoming D-Bus method calls: */ 844s # /** 844s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 844s # * @object: A #OrgProjectUsefulInterface. 844s # * @invocation: A #GDBusMethodInvocation. 844s # * 844s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 844s # * 844s # * 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. 844s # * 844s # * 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. 844s # */ 844s # g_signal_new ("handle-single-arg-method-g", 844s # G_TYPE_FROM_INTERFACE (iface), 844s # G_SIGNAL_RUN_LAST, 844s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 844s # g_signal_accumulator_true_handled, 844s # NULL, 844s # org_project_useful_interface_method_marshal_single_arg_method_g, 844s # G_TYPE_BOOLEAN, 844s # 1, 844s # G_TYPE_DBUS_METHOD_INVOCATION); 844s # 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_call_single_arg_method_g: 844s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 844s # * 844s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 844s # */ 844s # void 844s # org_project_useful_interface_call_single_arg_method_g ( 844s # OrgProjectUsefulInterface *proxy, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 844s # "SingleArgMethodG", 844s # g_variant_new ("()"), 844s # G_DBUS_CALL_FLAGS_NONE, 844s # -1, 844s # cancellable, 844s # callback, 844s # user_data); 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_call_single_arg_method_g_finish: 844s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 844s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 844s # * @error: Return location for error or %NULL. 844s # * 844s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 844s # * 844s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 844s # */ 844s # gboolean 844s # org_project_useful_interface_call_single_arg_method_g_finish ( 844s # OrgProjectUsefulInterface *proxy, 844s # gchar **out_arg_g, 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GVariant *_ret; 844s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 844s # if (_ret == NULL) 844s # goto _out; 844s # g_variant_get (_ret, 844s # "(g)", 844s # out_arg_g); 844s # g_variant_unref (_ret); 844s # _out: 844s # return _ret != NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_call_single_arg_method_g_sync: 844s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 844s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL. 844s # * 844s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 844s # * 844s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 844s # */ 844s # gboolean 844s # org_project_useful_interface_call_single_arg_method_g_sync ( 844s # OrgProjectUsefulInterface *proxy, 844s # gchar **out_arg_g, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GVariant *_ret; 844s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 844s # "SingleArgMethodG", 844s # g_variant_new ("()"), 844s # G_DBUS_CALL_FLAGS_NONE, 844s # -1, 844s # cancellable, 844s # error); 844s # if (_ret == NULL) 844s # goto _out; 844s # g_variant_get (_ret, 844s # "(g)", 844s # out_arg_g); 844s # g_variant_unref (_ret); 844s # _out: 844s # return _ret != NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_complete_single_arg_method_g: 844s # * @object: A #OrgProjectUsefulInterface. 844s # * @invocation: (transfer full): A #GDBusMethodInvocation. 844s # * @arg_g: Parameter to return. 844s # * 844s # * 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. 844s # * 844s # * This method will free @invocation, you cannot use it afterwards. 844s # */ 844s # void 844s # org_project_useful_interface_complete_single_arg_method_g ( 844s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 844s # GDBusMethodInvocation *invocation, 844s # const gchar *arg_g) 844s # { 844s # g_dbus_method_invocation_return_value (invocation, 844s # g_variant_new ("(g)", 844s # arg_g)); 844s # } 844s # 844s # /* ------------------------------------------------------------------------ */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceProxy: 844s # * 844s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 844s # */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceProxyClass: 844s # * @parent_class: The parent class. 844s # * 844s # * Class structure for #OrgProjectUsefulInterfaceProxy. 844s # */ 844s # 844s # struct _OrgProjectUsefulInterfaceProxyPrivate 844s # { 844s # GData *qdata; 844s # }; 844s # 844s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 844s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 844s # 844s # #else 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 844s # 844s # #endif 844s # static void 844s # org_project_useful_interface_proxy_finalize (GObject *object) 844s # { 844s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 844s # g_datalist_clear (&proxy->priv->qdata); 844s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 844s # guint prop_id G_GNUC_UNUSED, 844s # GValue *value G_GNUC_UNUSED, 844s # GParamSpec *pspec G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 844s # guint prop_id G_GNUC_UNUSED, 844s # const GValue *value G_GNUC_UNUSED, 844s # GParamSpec *pspec G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 844s # const gchar *sender_name G_GNUC_UNUSED, 844s # const gchar *signal_name, 844s # GVariant *parameters) 844s # { 844s # _ExtendedGDBusSignalInfo *info; 844s # GVariantIter iter; 844s # GVariant *child; 844s # GValue *paramv; 844s # gsize num_params; 844s # gsize n; 844s # guint signal_id; 844s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 844s # if (info == NULL) 844s # return; 844s # num_params = g_variant_n_children (parameters); 844s # paramv = g_new0 (GValue, num_params + 1); 844s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_value_set_object (¶mv[0], proxy); 844s # g_variant_iter_init (&iter, parameters); 844s # n = 1; 844s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 844s # { 844s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 844s # if (arg_info->use_gvariant) 844s # { 844s # g_value_init (¶mv[n], G_TYPE_VARIANT); 844s # g_value_set_variant (¶mv[n], child); 844s # n++; 844s # } 844s # else 844s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 844s # g_variant_unref (child); 844s # } 844s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_signal_emitv (paramv, signal_id, 0, NULL); 844s # for (n = 0; n < num_params + 1; n++) 844s # g_value_unset (¶mv[n]); 844s # g_free (paramv); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 844s # GVariant *changed_properties, 844s # const gchar *const *invalidated_properties) 844s # { 844s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 844s # guint n; 844s # const gchar *key; 844s # GVariantIter *iter; 844s # _ExtendedGDBusPropertyInfo *info; 844s # g_variant_get (changed_properties, "a{sv}", &iter); 844s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 844s # { 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 844s # g_datalist_remove_data (&proxy->priv->qdata, key); 844s # if (info != NULL) 844s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 844s # } 844s # g_variant_iter_free (iter); 844s # for (n = 0; invalidated_properties[n] != NULL; n++) 844s # { 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 844s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 844s # if (info != NULL) 844s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 844s # } 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 844s # { 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 844s # #else 844s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 844s # #endif 844s # 844s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 844s # { 844s # GObjectClass *gobject_class; 844s # GDBusProxyClass *proxy_class; 844s # 844s # gobject_class = G_OBJECT_CLASS (klass); 844s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 844s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 844s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 844s # 844s # proxy_class = G_DBUS_PROXY_CLASS (klass); 844s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 844s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 844s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 844s # #endif 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new: 844s # * @connection: A #GDBusConnection. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 844s # * 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 844s # * 844s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 844s # */ 844s # void 844s # org_project_useful_interface_proxy_new ( 844s # GDBusConnection *connection, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # g_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); 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_finish: 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 844s # * @error: Return location for error or %NULL 844s # * 844s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_finish ( 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GObject *ret; 844s # GObject *source_object; 844s # source_object = g_async_result_get_source_object (res); 844s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 844s # g_object_unref (source_object); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_sync: 844s # * @connection: A #GDBusConnection. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL 844s # * 844s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 844s # * 844s # * The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_sync ( 844s # GDBusConnection *connection, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GInitable *ret; 844s # 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); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_for_bus: 844s # * @bus_type: A #GBusType. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: A bus name (well-known or unique). 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 844s # * 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 844s # * 844s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 844s # */ 844s # void 844s # org_project_useful_interface_proxy_new_for_bus ( 844s # GBusType bus_type, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # g_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); 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_for_bus_finish: 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 844s # * @error: Return location for error or %NULL 844s # * 844s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_for_bus_finish ( 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GObject *ret; 844s # GObject *source_object; 844s # source_object = g_async_result_get_source_object (res); 844s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 844s # g_object_unref (source_object); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_for_bus_sync: 844s # * @bus_type: A #GBusType. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: A bus name (well-known or unique). 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL 844s # * 844s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 844s # * 844s # * The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_for_bus_sync ( 844s # GBusType bus_type, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GInitable *ret; 844s # 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); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # 844s # /* ------------------------------------------------------------------------ */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceSkeleton: 844s # * 844s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 844s # */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceSkeletonClass: 844s # * @parent_class: The parent class. 844s # * 844s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 844s # */ 844s # 844s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 844s # { 844s # GValue *properties; 844s # GList *changed_properties; 844s # GSource *changed_properties_idle_source; 844s # GMainContext *context; 844s # GMutex lock; 844s # }; 844s # 844s # static void 844s # _org_project_useful_interface_skeleton_handle_method_call ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name, 844s # const gchar *method_name, 844s # GVariant *parameters, 844s # GDBusMethodInvocation *invocation, 844s # gpointer user_data) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 844s # _ExtendedGDBusMethodInfo *info; 844s # GVariantIter iter; 844s # GVariant *child; 844s # GValue *paramv; 844s # gsize num_params; 844s # guint num_extra; 844s # gsize n; 844s # guint signal_id; 844s # GValue return_value = G_VALUE_INIT; 844s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 844s # g_assert (info != NULL); 844s # num_params = g_variant_n_children (parameters); 844s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 844s # n = 0; 844s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_value_set_object (¶mv[n++], skeleton); 844s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 844s # g_value_set_object (¶mv[n++], invocation); 844s # if (info->pass_fdlist) 844s # { 844s # #ifdef G_OS_UNIX 844s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 844s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 844s # #else 844s # g_assert_not_reached (); 844s # #endif 844s # } 844s # g_variant_iter_init (&iter, parameters); 844s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 844s # { 844s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 844s # if (arg_info->use_gvariant) 844s # { 844s # g_value_init (¶mv[n], G_TYPE_VARIANT); 844s # g_value_set_variant (¶mv[n], child); 844s # n++; 844s # } 844s # else 844s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 844s # g_variant_unref (child); 844s # } 844s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_value_init (&return_value, G_TYPE_BOOLEAN); 844s # g_signal_emitv (paramv, signal_id, 0, &return_value); 844s # if (!g_value_get_boolean (&return_value)) 844s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 844s # g_value_unset (&return_value); 844s # for (n = 0; n < num_params + num_extra; n++) 844s # g_value_unset (¶mv[n]); 844s # g_free (paramv); 844s # } 844s # 844s # static GVariant * 844s # _org_project_useful_interface_skeleton_handle_get_property ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name G_GNUC_UNUSED, 844s # const gchar *property_name, 844s # GError **error, 844s # gpointer user_data) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 844s # GValue value = G_VALUE_INIT; 844s # GParamSpec *pspec; 844s # _ExtendedGDBusPropertyInfo *info; 844s # GVariant *ret; 844s # ret = NULL; 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 844s # g_assert (info != NULL); 844s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 844s # if (pspec == NULL) 844s # { 844s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 844s # } 844s # else 844s # { 844s # g_value_init (&value, pspec->value_type); 844s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 844s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 844s # g_value_unset (&value); 844s # } 844s # return ret; 844s # } 844s # 844s # static gboolean 844s # _org_project_useful_interface_skeleton_handle_set_property ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name G_GNUC_UNUSED, 844s # const gchar *property_name, 844s # GVariant *variant, 844s # GError **error, 844s # gpointer user_data) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 844s # GValue value = G_VALUE_INIT; 844s # GParamSpec *pspec; 844s # _ExtendedGDBusPropertyInfo *info; 844s # gboolean ret; 844s # ret = FALSE; 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 844s # g_assert (info != NULL); 844s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 844s # if (pspec == NULL) 844s # { 844s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 844s # } 844s # else 844s # { 844s # if (info->use_gvariant) 844s # g_value_set_variant (&value, variant); 844s # else 844s # g_dbus_gvariant_to_gvalue (variant, &value); 844s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 844s # g_value_unset (&value); 844s # ret = TRUE; 844s # } 844s # return ret; 844s # } 844s # 844s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 844s # { 844s # _org_project_useful_interface_skeleton_handle_method_call, 844s # _org_project_useful_interface_skeleton_handle_get_property, 844s # _org_project_useful_interface_skeleton_handle_set_property, 844s # {NULL} 844s # }; 844s # 844s # static GDBusInterfaceInfo * 844s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 844s # { 844s # return org_project_useful_interface_interface_info (); 844s # } 844s # 844s # static GDBusInterfaceVTable * 844s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 844s # { 844s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 844s # } 844s # 844s # static GVariant * 844s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 844s # 844s # GVariantBuilder builder; 844s # guint n; 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 844s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 844s # #else 844s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 844s # #endif 844s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 844s # goto out; 844s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 844s # { 844s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 844s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 844s # { 844s # GVariant *value; 844s # 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); 844s # if (value != NULL) 844s # { 844s # g_variant_take_ref (value); 844s # g_variant_builder_add (&builder, "{sv}", info->name, value); 844s # g_variant_unref (value); 844s # } 844s # } 844s # } 844s # out: 844s # return g_variant_builder_end (&builder); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 844s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 844s # 844s # #else 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 844s # 844s # #endif 844s # static void 844s # org_project_useful_interface_skeleton_finalize (GObject *object) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 844s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 844s # if (skeleton->priv->changed_properties_idle_source != NULL) 844s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 844s # g_main_context_unref (skeleton->priv->context); 844s # g_mutex_clear (&skeleton->priv->lock); 844s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 844s # { 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 844s # #else 844s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 844s # #endif 844s # 844s # g_mutex_init (&skeleton->priv->lock); 844s # skeleton->priv->context = g_main_context_ref_thread_default (); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 844s # { 844s # GObjectClass *gobject_class; 844s # GDBusInterfaceSkeletonClass *skeleton_class; 844s # 844s # gobject_class = G_OBJECT_CLASS (klass); 844s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 844s # 844s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 844s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 844s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 844s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 844s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 844s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 844s # #endif 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_skeleton_new: 844s # * 844s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_skeleton_new (void) 844s # { 844s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 844s # } 844s # Error: 844s # 844s # /tmp/tmpd_v7eoq3/tmplqcpkzhy.xml: 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpd_v7eoq3/tmplqcpkzhy.xml', '--output', '-', '--body'] 844s # Return code: 0 844s # Output: 844s # /* 844s # * This file is generated by gdbus-codegen, do not modify it. 844s # * 844s # * The license of this code is the same as for the D-Bus interface description 844s # * it was derived from. Note that it links to GLib, so must comply with the 844s # * LGPL linking clauses. 844s # */ 844s # 844s # #ifdef HAVE_CONFIG_H 844s # # include "config.h" 844s # #endif 844s # 844s # #include 844s # #ifdef G_OS_UNIX 844s # # include 844s # #endif 844s # 844s # #ifdef G_ENABLE_DEBUG 844s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 844s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 844s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 844s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 844s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 844s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 844s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 844s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 844s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 844s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 844s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 844s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 844s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 844s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 844s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 844s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 844s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 844s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 844s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 844s # #else /* !G_ENABLE_DEBUG */ 844s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 844s # * Do not access GValues directly in your code. Instead, use the 844s # * g_value_get_*() functions 844s # */ 844s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 844s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 844s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 844s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 844s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 844s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 844s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 844s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 844s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 844s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 844s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 844s # #endif /* !G_ENABLE_DEBUG */ 844s # 844s # typedef struct 844s # { 844s # GDBusArgInfo parent_struct; 844s # gboolean use_gvariant; 844s # } _ExtendedGDBusArgInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusMethodInfo parent_struct; 844s # const gchar *signal_name; 844s # gboolean pass_fdlist; 844s # } _ExtendedGDBusMethodInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusSignalInfo parent_struct; 844s # const gchar *signal_name; 844s # } _ExtendedGDBusSignalInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusPropertyInfo parent_struct; 844s # const gchar *hyphen_name; 844s # guint use_gvariant : 1; 844s # guint emits_changed_signal : 1; 844s # } _ExtendedGDBusPropertyInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusInterfaceInfo parent_struct; 844s # const gchar *hyphen_name; 844s # } _ExtendedGDBusInterfaceInfo; 844s # 844s # typedef struct 844s # { 844s # const _ExtendedGDBusPropertyInfo *info; 844s # guint prop_id; 844s # GValue orig_value; /* the value before the change */ 844s # } ChangedProperty; 844s # 844s # static void 844s # _changed_property_free (ChangedProperty *data) 844s # { 844s # g_value_unset (&data->orig_value); 844s # g_free (data); 844s # } 844s # 844s # static gboolean 844s # _g_strv_equal0 (gchar **a, gchar **b) 844s # { 844s # gboolean ret = FALSE; 844s # guint n; 844s # if (a == NULL && b == NULL) 844s # { 844s # ret = TRUE; 844s # goto out; 844s # } 844s # if (a == NULL || b == NULL) 844s # goto out; 844s # if (g_strv_length (a) != g_strv_length (b)) 844s # goto out; 844s # for (n = 0; a[n] != NULL; n++) 844s # if (g_strcmp0 (a[n], b[n]) != 0) 844s # goto out; 844s # ret = TRUE; 844s # out: 844s # return ret; 844s # } 844s # 844s # static gboolean 844s # _g_variant_equal0 (GVariant *a, GVariant *b) 844s # { 844s # gboolean ret = FALSE; 844s # if (a == NULL && b == NULL) 844s # { 844s # ret = TRUE; 844s # goto out; 844s # } 844s # if (a == NULL || b == NULL) 844s # goto out; 844s # ret = g_variant_equal (a, b); 844s # out: 844s # return ret; 844s # } 844s # 844s # G_GNUC_UNUSED static gboolean 844s # _g_value_equal (const GValue *a, const GValue *b) 844s # { 844s # gboolean ret = FALSE; 844s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 844s # switch (G_VALUE_TYPE (a)) 844s # { 844s # case G_TYPE_BOOLEAN: 844s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 844s # break; 844s # case G_TYPE_UCHAR: 844s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 844s # break; 844s # case G_TYPE_INT: 844s # ret = (g_value_get_int (a) == g_value_get_int (b)); 844s # break; 844s # case G_TYPE_UINT: 844s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 844s # break; 844s # case G_TYPE_INT64: 844s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 844s # break; 844s # case G_TYPE_UINT64: 844s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 844s # break; 844s # case G_TYPE_DOUBLE: 844s # { 844s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 844s # gdouble da = g_value_get_double (a); 844s # gdouble db = g_value_get_double (b); 844s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 844s # } 844s # break; 844s # case G_TYPE_STRING: 844s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 844s # break; 844s # case G_TYPE_VARIANT: 844s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 844s # break; 844s # default: 844s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 844s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 844s # else 844s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 844s # break; 844s # } 844s # return ret; 844s # } 844s # 844s # static void 844s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 844s # GClosure *closure, 844s # GValue *return_value, 844s # unsigned int n_param_values, 844s # const GValue *param_values, 844s # void *invocation_hint G_GNUC_UNUSED, 844s # void *marshal_data) 844s # { 844s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 844s # (void *data1, 844s # GDBusMethodInvocation *arg_method_invocation, 844s # void *data2); 844s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 844s # GCClosure *cc = (GCClosure*) closure; 844s # void *data1, *data2; 844s # gboolean v_return; 844s # 844s # g_return_if_fail (return_value != NULL); 844s # g_return_if_fail (n_param_values == 2); 844s # 844s # if (G_CCLOSURE_SWAP_DATA (closure)) 844s # { 844s # data1 = closure->data; 844s # data2 = g_value_peek_pointer (param_values + 0); 844s # } 844s # else 844s # { 844s # data1 = g_value_peek_pointer (param_values + 0); 844s # data2 = closure->data; 844s # } 844s # 844s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 844s # (marshal_data ? marshal_data : cc->callback); 844s # 844s # v_return = 844s # callback (data1, 844s # g_marshal_value_peek_object (param_values + 1), 844s # data2); 844s # 844s # g_value_set_boolean (return_value, v_return); 844s # } 844s # 844s # /* ------------------------------------------------------------------------ 844s # * Code for interface org.project.UsefulInterface 844s # * ------------------------------------------------------------------------ 844s # */ 844s # 844s # /** 844s # * SECTION:OrgProjectUsefulInterface 844s # * @title: OrgProjectUsefulInterface 844s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 844s # * 844s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 844s # */ 844s # 844s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h = 844s # { 844s # { 844s # -1, 844s # (gchar *) "arg_h", 844s # (gchar *) "h", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers[] = 844s # { 844s # &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 844s # { 844s # { 844s # -1, 844s # (gchar *) "SingleArgMethodH", 844s # NULL, 844s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers, 844s # NULL 844s # }, 844s # "handle-single-arg-method-h", 844s # FALSE 844s # }; 844s # 844s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 844s # { 844s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 844s # { 844s # { 844s # -1, 844s # (gchar *) "org.project.UsefulInterface", 844s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 844s # NULL, 844s # NULL, 844s # NULL 844s # }, 844s # "org-project-useful-interface", 844s # }; 844s # 844s # 844s # /** 844s # * org_project_useful_interface_interface_info: 844s # * 844s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 844s # * 844s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 844s # */ 844s # GDBusInterfaceInfo * 844s # org_project_useful_interface_interface_info (void) 844s # { 844s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_override_properties: 844s # * @klass: The class structure for a #GObject derived class. 844s # * @property_id_begin: The property id to assign to the first overridden property. 844s # * 844s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 844s # * The properties are overridden in the order they are defined. 844s # * 844s # * Returns: The last property id. 844s # */ 844s # guint 844s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 844s # { 844s # return property_id_begin - 1; 844s # } 844s # 844s # 844s # inline static void 844s # org_project_useful_interface_method_marshal_single_arg_method_h ( 844s # GClosure *closure, 844s # GValue *return_value, 844s # unsigned int n_param_values, 844s # const GValue *param_values, 844s # void *invocation_hint, 844s # void *marshal_data) 844s # { 844s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 844s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 844s # } 844s # 844s # 844s # /** 844s # * OrgProjectUsefulInterface: 844s # * 844s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 844s # */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceIface: 844s # * @parent_iface: The parent interface. 844s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 844s # * 844s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 844s # */ 844s # 844s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 844s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 844s # 844s # static void 844s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 844s # { 844s # /* GObject signals for incoming D-Bus method calls: */ 844s # /** 844s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 844s # * @object: A #OrgProjectUsefulInterface. 844s # * @invocation: A #GDBusMethodInvocation. 844s # * 844s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 844s # * 844s # * 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. 844s # * 844s # * 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. 844s # */ 844s # g_signal_new ("handle-single-arg-method-h", 844s # G_TYPE_FROM_INTERFACE (iface), 844s # G_SIGNAL_RUN_LAST, 844s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 844s # g_signal_accumulator_true_handled, 844s # NULL, 844s # org_project_useful_interface_method_marshal_single_arg_method_h, 844s # G_TYPE_BOOLEAN, 844s # 1, 844s # G_TYPE_DBUS_METHOD_INVOCATION); 844s # 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_call_single_arg_method_h: 844s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 844s # * 844s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 844s # */ 844s # void 844s # org_project_useful_interface_call_single_arg_method_h ( 844s # OrgProjectUsefulInterface *proxy, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 844s # "SingleArgMethodH", 844s # g_variant_new ("()"), 844s # G_DBUS_CALL_FLAGS_NONE, 844s # -1, 844s # cancellable, 844s # callback, 844s # user_data); 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_call_single_arg_method_h_finish: 844s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 844s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 844s # * @error: Return location for error or %NULL. 844s # * 844s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 844s # * 844s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 844s # */ 844s # gboolean 844s # org_project_useful_interface_call_single_arg_method_h_finish ( 844s # OrgProjectUsefulInterface *proxy, 844s # GVariant **out_arg_h, 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GVariant *_ret; 844s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 844s # if (_ret == NULL) 844s # goto _out; 844s # g_variant_get (_ret, 844s # "(@h)", 844s # out_arg_h); 844s # g_variant_unref (_ret); 844s # _out: 844s # return _ret != NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_call_single_arg_method_h_sync: 844s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 844s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL. 844s # * 844s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 844s # * 844s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 844s # */ 844s # gboolean 844s # org_project_useful_interface_call_single_arg_method_h_sync ( 844s # OrgProjectUsefulInterface *proxy, 844s # GVariant **out_arg_h, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GVariant *_ret; 844s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 844s # "SingleArgMethodH", 844s # g_variant_new ("()"), 844s # G_DBUS_CALL_FLAGS_NONE, 844s # -1, 844s # cancellable, 844s # error); 844s # if (_ret == NULL) 844s # goto _out; 844s # g_variant_get (_ret, 844s # "(@h)", 844s # out_arg_h); 844s # g_variant_unref (_ret); 844s # _out: 844s # return _ret != NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_complete_single_arg_method_h: 844s # * @object: A #OrgProjectUsefulInterface. 844s # * @invocation: (transfer full): A #GDBusMethodInvocation. 844s # * @arg_h: Parameter to return. 844s # * 844s # * 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. 844s # * 844s # * This method will free @invocation, you cannot use it afterwards. 844s # */ 844s # void 844s # org_project_useful_interface_complete_single_arg_method_h ( 844s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 844s # GDBusMethodInvocation *invocation, 844s # GVariant *arg_h) 844s # { 844s # g_dbus_method_invocation_return_value (invocation, 844s # g_variant_new ("(@h)", 844s # arg_h)); 844s # } 844s # 844s # /* ------------------------------------------------------------------------ */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceProxy: 844s # * 844s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 844s # */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceProxyClass: 844s # * @parent_class: The parent class. 844s # * 844s # * Class structure for #OrgProjectUsefulInterfaceProxy. 844s # */ 844s # 844s # struct _OrgProjectUsefulInterfaceProxyPrivate 844s # { 844s # GData *qdata; 844s # }; 844s # 844s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 844s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 844s # 844s # #else 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 844s # 844s # #endif 844s # static void 844s # org_project_useful_interface_proxy_finalize (GObject *object) 844s # { 844s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 844s # g_datalist_clear (&proxy->priv->qdata); 844s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 844s # guint prop_id G_GNUC_UNUSED, 844s # GValue *value G_GNUC_UNUSED, 844s # GParamSpec *pspec G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 844s # guint prop_id G_GNUC_UNUSED, 844s # const GValue *value G_GNUC_UNUSED, 844s # GParamSpec *pspec G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 844s # const gchar *sender_name G_GNUC_UNUSED, 844s # const gchar *signal_name, 844s # GVariant *parameters) 844s # { 844s # _ExtendedGDBusSignalInfo *info; 844s # GVariantIter iter; 844s # GVariant *child; 844s # GValue *paramv; 844s # gsize num_params; 844s # gsize n; 844s # guint signal_id; 844s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 844s # if (info == NULL) 844s # return; 844s # num_params = g_variant_n_children (parameters); 844s # paramv = g_new0 (GValue, num_params + 1); 844s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_value_set_object (¶mv[0], proxy); 844s # g_variant_iter_init (&iter, parameters); 844s # n = 1; 844s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 844s # { 844s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 844s # if (arg_info->use_gvariant) 844s # { 844s # g_value_init (¶mv[n], G_TYPE_VARIANT); 844s # g_value_set_variant (¶mv[n], child); 844s # n++; 844s # } 844s # else 844s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 844s # g_variant_unref (child); 844s # } 844s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_signal_emitv (paramv, signal_id, 0, NULL); 844s # for (n = 0; n < num_params + 1; n++) 844s # g_value_unset (¶mv[n]); 844s # g_free (paramv); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 844s # GVariant *changed_properties, 844s # const gchar *const *invalidated_properties) 844s # { 844s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 844s # guint n; 844s # const gchar *key; 844s # GVariantIter *iter; 844s # _ExtendedGDBusPropertyInfo *info; 844s # g_variant_get (changed_properties, "a{sv}", &iter); 844s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 844s # { 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 844s # g_datalist_remove_data (&proxy->priv->qdata, key); 844s # if (info != NULL) 844s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 844s # } 844s # g_variant_iter_free (iter); 844s # for (n = 0; invalidated_properties[n] != NULL; n++) 844s # { 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 844s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 844s # if (info != NULL) 844s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 844s # } 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 844s # { 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 844s # #else 844s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 844s # #endif 844s # 844s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 844s # { 844s # GObjectClass *gobject_class; 844s # GDBusProxyClass *proxy_class; 844s # 844s # gobject_class = G_OBJECT_CLASS (klass); 844s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 844s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 844s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 844s # 844s # proxy_class = G_DBUS_PROXY_CLASS (klass); 844s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 844s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 844s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 844s # #endif 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new: 844s # * @connection: A #GDBusConnection. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 844s # * 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 844s # * 844s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 844s # */ 844s # void 844s # org_project_useful_interface_proxy_new ( 844s # GDBusConnection *connection, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # g_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); 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_finish: 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 844s # * @error: Return location for error or %NULL 844s # * 844s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_finish ( 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GObject *ret; 844s # GObject *source_object; 844s # source_object = g_async_result_get_source_object (res); 844s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 844s # g_object_unref (source_object); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_sync: 844s # * @connection: A #GDBusConnection. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL 844s # * 844s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 844s # * 844s # * The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_sync ( 844s # GDBusConnection *connection, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GInitable *ret; 844s # 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); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_for_bus: 844s # * @bus_type: A #GBusType. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: A bus name (well-known or unique). 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 844s # * 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 844s # * 844s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 844s # */ 844s # void 844s # org_project_useful_interface_proxy_new_for_bus ( 844s # GBusType bus_type, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # g_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); 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_for_bus_finish: 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 844s # * @error: Return location for error or %NULL 844s # * 844s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_for_bus_finish ( 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GObject *ret; 844s # GObject *source_object; 844s # source_object = g_async_result_get_source_object (res); 844s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 844s # g_object_unref (source_object); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_for_bus_sync: 844s # * @bus_type: A #GBusType. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: A bus name (well-known or unique). 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL 844s # * 844s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 844s # * 844s # * The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_for_bus_sync ( 844s # GBusType bus_type, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GInitable *ret; 844s # 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); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # 844s # /* ------------------------------------------------------------------------ */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceSkeleton: 844s # * 844s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 844s # */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceSkeletonClass: 844s # * @parent_class: The parent class. 844s # * 844s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 844s # */ 844s # 844s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 844s # { 844s # GValue *properties; 844s # GList *changed_properties; 844s # GSource *changed_properties_idle_source; 844s # GMainContext *context; 844s # GMutex lock; 844s # }; 844s # 844s # static void 844s # _org_project_useful_interface_skeleton_handle_method_call ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name, 844s # const gchar *method_name, 844s # GVariant *parameters, 844s # GDBusMethodInvocation *invocation, 844s # gpointer user_data) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 844s # _ExtendedGDBusMethodInfo *info; 844s # GVariantIter iter; 844s # GVariant *child; 844s # GValue *paramv; 844s # gsize num_params; 844s # guint num_extra; 844s # gsize n; 844s # guint signal_id; 844s # GValue return_value = G_VALUE_INIT; 844s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 844s # g_assert (info != NULL); 844s # num_params = g_variant_n_children (parameters); 844s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 844s # n = 0; 844s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_value_set_object (¶mv[n++], skeleton); 844s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 844s # g_value_set_object (¶mv[n++], invocation); 844s # if (info->pass_fdlist) 844s # { 844s # #ifdef G_OS_UNIX 844s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 844s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 844s # #else 844s # g_assert_not_reached (); 844s # #endif 844s # } 844s # g_variant_iter_init (&iter, parameters); 844s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 844s # { 844s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 844s # if (arg_info->use_gvariant) 844s # { 844s # g_value_init (¶mv[n], G_TYPE_VARIANT); 844s # g_value_set_variant (¶mv[n], child); 844s # n++; 844s # } 844s # else 844s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 844s # g_variant_unref (child); 844s # } 844s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_value_init (&return_value, G_TYPE_BOOLEAN); 844s # g_signal_emitv (paramv, signal_id, 0, &return_value); 844s # if (!g_value_get_boolean (&return_value)) 844s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 844s # g_value_unset (&return_value); 844s # for (n = 0; n < num_params + num_extra; n++) 844s # g_value_unset (¶mv[n]); 844s # g_free (paramv); 844s # } 844s # 844s # static GVariant * 844s # _org_project_useful_interface_skeleton_handle_get_property ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name G_GNUC_UNUSED, 844s # const gchar *property_name, 844s # GError **error, 844s # gpointer user_data) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 844s # GValue value = G_VALUE_INIT; 844s # GParamSpec *pspec; 844s # _ExtendedGDBusPropertyInfo *info; 844s # GVariant *ret; 844s # ret = NULL; 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 844s # g_assert (info != NULL); 844s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 844s # if (pspec == NULL) 844s # { 844s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 844s # } 844s # else 844s # { 844s # g_value_init (&value, pspec->value_type); 844s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 844s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 844s # g_value_unset (&value); 844s # } 844s # return ret; 844s # } 844s # 844s # static gboolean 844s # _org_project_useful_interface_skeleton_handle_set_property ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name G_GNUC_UNUSED, 844s # const gchar *property_name, 844s # GVariant *variant, 844s # GError **error, 844s # gpointer user_data) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 844s # GValue value = G_VALUE_INIT; 844s # GParamSpec *pspec; 844s # _ExtendedGDBusPropertyInfo *info; 844s # gboolean ret; 844s # ret = FALSE; 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 844s # g_assert (info != NULL); 844s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 844s # if (pspec == NULL) 844s # { 844s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 844s # } 844s # else 844s # { 844s # if (info->use_gvariant) 844s # g_value_set_variant (&value, variant); 844s # else 844s # g_dbus_gvariant_to_gvalue (variant, &value); 844s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 844s # g_value_unset (&value); 844s # ret = TRUE; 844s # } 844s # return ret; 844s # } 844s # 844s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 844s # { 844s # _org_project_useful_interface_skeleton_handle_method_call, 844s # _org_project_useful_interface_skeleton_handle_get_property, 844s # _org_project_useful_interface_skeleton_handle_set_property, 844s # {NULL} 844s # }; 844s # 844s # static GDBusInterfaceInfo * 844s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 844s # { 844s # return org_project_useful_interface_interface_info (); 844s # } 844s # 844s # static GDBusInterfaceVTable * 844s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 844s # { 844s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 844s # } 844s # 844s # static GVariant * 844s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 844s # 844s # GVariantBuilder builder; 844s # guint n; 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 844s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 844s # #else 844s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 844s # #endif 844s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 844s # goto out; 844s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 844s # { 844s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 844s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 844s # { 844s # GVariant *value; 844s # 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); 844s # if (value != NULL) 844s # { 844s # g_variant_take_ref (value); 844s # g_variant_builder_add (&builder, "{sv}", info->name, value); 844s # g_variant_unref (value); 844s # } 844s # } 844s # } 844s # out: 844s # return g_variant_builder_end (&builder); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 844s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 844s # 844s # #else 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 844s # 844s # #endif 844s # static void 844s # org_project_useful_interface_skeleton_finalize (GObject *object) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 844s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 844s # if (skeleton->priv->changed_properties_idle_source != NULL) 844s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 844s # g_main_context_unref (skeleton->priv->context); 844s # g_mutex_clear (&skeleton->priv->lock); 844s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 844s # { 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 844s # #else 844s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 844s # #endif 844s # 844s # g_mutex_init (&skeleton->priv->lock); 844s # skeleton->priv->context = g_main_context_ref_thread_default (); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 844s # { 844s # GObjectClass *gobject_class; 844s # GDBusInterfaceSkeletonClass *skeleton_class; 844s # 844s # gobject_class = G_OBJECT_CLASS (klass); 844s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 844s # 844s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 844s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 844s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 844s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 844s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 844s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 844s # #endif 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_skeleton_new: 844s # * 844s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_skeleton_new (void) 844s # { 844s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 844s # } 844s # Error: 844s # 844s # /tmp/tmpd_v7eoq3/tmpvy2zatih.xml: 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpd_v7eoq3/tmpvy2zatih.xml', '--output', '-', '--body'] 844s # Return code: 0 844s # Output: 844s # /* 844s # * This file is generated by gdbus-codegen, do not modify it. 844s # * 844s # * The license of this code is the same as for the D-Bus interface description 844s # * it was derived from. Note that it links to GLib, so must comply with the 844s # * LGPL linking clauses. 844s # */ 844s # 844s # #ifdef HAVE_CONFIG_H 844s # # include "config.h" 844s # #endif 844s # 844s # #include 844s # #ifdef G_OS_UNIX 844s # # include 844s # #endif 844s # 844s # #ifdef G_ENABLE_DEBUG 844s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 844s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 844s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 844s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 844s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 844s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 844s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 844s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 844s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 844s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 844s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 844s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 844s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 844s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 844s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 844s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 844s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 844s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 844s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 844s # #else /* !G_ENABLE_DEBUG */ 844s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 844s # * Do not access GValues directly in your code. Instead, use the 844s # * g_value_get_*() functions 844s # */ 844s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 844s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 844s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 844s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 844s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 844s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 844s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 844s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 844s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 844s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 844s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 844s # #endif /* !G_ENABLE_DEBUG */ 844s # 844s # typedef struct 844s # { 844s # GDBusArgInfo parent_struct; 844s # gboolean use_gvariant; 844s # } _ExtendedGDBusArgInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusMethodInfo parent_struct; 844s # const gchar *signal_name; 844s # gboolean pass_fdlist; 844s # } _ExtendedGDBusMethodInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusSignalInfo parent_struct; 844s # const gchar *signal_name; 844s # } _ExtendedGDBusSignalInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusPropertyInfo parent_struct; 844s # const gchar *hyphen_name; 844s # guint use_gvariant : 1; 844s # guint emits_changed_signal : 1; 844s # } _ExtendedGDBusPropertyInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusInterfaceInfo parent_struct; 844s # const gchar *hyphen_name; 844s # } _ExtendedGDBusInterfaceInfo; 844s # 844s # typedef struct 844s # { 844s # const _ExtendedGDBusPropertyInfo *info; 844s # guint prop_id; 844s # GValue orig_value; /* the value before the change */ 844s # } ChangedProperty; 844s # 844s # static void 844s # _changed_property_free (ChangedProperty *data) 844s # { 844s # g_value_unset (&data->orig_value); 844s # g_free (data); 844s # } 844s # 844s # static gboolean 844s # _g_strv_equal0 (gchar **a, gchar **b) 844s # { 844s # gboolean ret = FALSE; 844s # guint n; 844s # if (a == NULL && b == NULL) 844s # { 844s # ret = TRUE; 844s # goto out; 844s # } 844s # if (a == NULL || b == NULL) 844s # goto out; 844s # if (g_strv_length (a) != g_strv_length (b)) 844s # goto out; 844s # for (n = 0; a[n] != NULL; n++) 844s # if (g_strcmp0 (a[n], b[n]) != 0) 844s # goto out; 844s # ret = TRUE; 844s # out: 844s # return ret; 844s # } 844s # 844s # static gboolean 844s # _g_variant_equal0 (GVariant *a, GVariant *b) 844s # { 844s # gboolean ret = FALSE; 844s # if (a == NULL && b == NULL) 844s # { 844s # ret = TRUE; 844s # goto out; 844s # } 844s # if (a == NULL || b == NULL) 844s # goto out; 844s # ret = g_variant_equal (a, b); 844s # out: 844s # return ret; 844s # } 844s # 844s # G_GNUC_UNUSED static gboolean 844s # _g_value_equal (const GValue *a, const GValue *b) 844s # { 844s # gboolean ret = FALSE; 844s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 844s # switch (G_VALUE_TYPE (a)) 844s # { 844s # case G_TYPE_BOOLEAN: 844s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 844s # break; 844s # case G_TYPE_UCHAR: 844s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 844s # break; 844s # case G_TYPE_INT: 844s # ret = (g_value_get_int (a) == g_value_get_int (b)); 844s # break; 844s # case G_TYPE_UINT: 844s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 844s # break; 844s # case G_TYPE_INT64: 844s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 844s # break; 844s # case G_TYPE_UINT64: 844s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 844s # break; 844s # case G_TYPE_DOUBLE: 844s # { 844s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 844s # gdouble da = g_value_get_double (a); 844s # gdouble db = g_value_get_double (b); 844s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 844s # } 844s # break; 844s # case G_TYPE_STRING: 844s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 844s # break; 844s # case G_TYPE_VARIANT: 844s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 844s # break; 844s # default: 844s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 844s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 844s # else 844s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 844s # break; 844s # } 844s # return ret; 844s # } 844s # 844s # static void 844s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 844s # GClosure *closure, 844s # GValue *return_value, 844s # unsigned int n_param_values, 844s # const GValue *param_values, 844s # void *invocation_hint G_GNUC_UNUSED, 844s # void *marshal_data) 844s # { 844s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 844s # (void *data1, 844s # GDBusMethodInvocation *arg_method_invocation, 844s # void *data2); 844s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 844s # GCClosure *cc = (GCClosure*) closure; 844s # void *data1, *data2; 844s # gboolean v_return; 844s # 844s # g_return_if_fail (return_value != NULL); 844s # g_return_if_fail (n_param_values == 2); 844s # 844s # if (G_CCLOSURE_SWAP_DATA (closure)) 844s # { 844s # data1 = closure->data; 844s # data2 = g_value_peek_pointer (param_values + 0); 844s # } 844s # else 844s # { 844s # data1 = g_value_peek_pointer (param_values + 0); 844s # data2 = closure->data; 844s # } 844s # 844s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 844s # (marshal_data ? marshal_data : cc->callback); 844s # 844s # v_return = 844s # callback (data1, 844s # g_marshal_value_peek_object (param_values + 1), 844s # data2); 844s # 844s # g_value_set_boolean (return_value, v_return); 844s # } 844s # 844s # /* ------------------------------------------------------------------------ 844s # * Code for interface org.project.UsefulInterface 844s # * ------------------------------------------------------------------------ 844s # */ 844s # 844s # /** 844s # * SECTION:OrgProjectUsefulInterface 844s # * @title: OrgProjectUsefulInterface 844s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 844s # * 844s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 844s # */ 844s # 844s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay = 844s # { 844s # { 844s # -1, 844s # (gchar *) "arg_ay", 844s # (gchar *) "ay", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers[] = 844s # { 844s # &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 844s # { 844s # { 844s # -1, 844s # (gchar *) "SingleArgMethodAy", 844s # NULL, 844s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers, 844s # NULL 844s # }, 844s # "handle-single-arg-method-ay", 844s # FALSE 844s # }; 844s # 844s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 844s # { 844s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 844s # { 844s # { 844s # -1, 844s # (gchar *) "org.project.UsefulInterface", 844s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 844s # NULL, 844s # NULL, 844s # NULL 844s # }, 844s # "org-project-useful-interface", 844s # }; 844s # 844s # 844s # /** 844s # * org_project_useful_interface_interface_info: 844s # * 844s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 844s # * 844s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 844s # */ 844s # GDBusInterfaceInfo * 844s # org_project_useful_interface_interface_info (void) 844s # { 844s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_override_properties: 844s # * @klass: The class structure for a #GObject derived class. 844s # * @property_id_begin: The property id to assign to the first overridden property. 844s # * 844s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 844s # * The properties are overridden in the order they are defined. 844s # * 844s # * Returns: The last property id. 844s # */ 844s # guint 844s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 844s # { 844s # return property_id_begin - 1; 844s # } 844s # 844s # 844s # inline static void 844s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 844s # GClosure *closure, 844s # GValue *return_value, 844s # unsigned int n_param_values, 844s # const GValue *param_values, 844s # void *invocation_hint, 844s # void *marshal_data) 844s # { 844s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 844s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 844s # } 844s # 844s # 844s # /** 844s # * OrgProjectUsefulInterface: 844s # * 844s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 844s # */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceIface: 844s # * @parent_iface: The parent interface. 844s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 844s # * 844s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 844s # */ 844s # 844s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 844s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 844s # 844s # static void 844s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 844s # { 844s # /* GObject signals for incoming D-Bus method calls: */ 844s # /** 844s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 844s # * @object: A #OrgProjectUsefulInterface. 844s # * @invocation: A #GDBusMethodInvocation. 844s # * 844s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 844s # * 844s # * 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. 844s # * 844s # * 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. 844s # */ 844s # g_signal_new ("handle-single-arg-method-ay", 844s # G_TYPE_FROM_INTERFACE (iface), 844s # G_SIGNAL_RUN_LAST, 844s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 844s # g_signal_accumulator_true_handled, 844s # NULL, 844s # org_project_useful_interface_method_marshal_single_arg_method_ay, 844s # G_TYPE_BOOLEAN, 844s # 1, 844s # G_TYPE_DBUS_METHOD_INVOCATION); 844s # 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_call_single_arg_method_ay: 844s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 844s # * 844s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 844s # */ 844s # void 844s # org_project_useful_interface_call_single_arg_method_ay ( 844s # OrgProjectUsefulInterface *proxy, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 844s # "SingleArgMethodAy", 844s # g_variant_new ("()"), 844s # G_DBUS_CALL_FLAGS_NONE, 844s # -1, 844s # cancellable, 844s # callback, 844s # user_data); 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_call_single_arg_method_ay_finish: 844s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 844s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 844s # * @error: Return location for error or %NULL. 844s # * 844s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 844s # * 844s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 844s # */ 844s # gboolean 844s # org_project_useful_interface_call_single_arg_method_ay_finish ( 844s # OrgProjectUsefulInterface *proxy, 844s # gchar **out_arg_ay, 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GVariant *_ret; 844s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 844s # if (_ret == NULL) 844s # goto _out; 844s # g_variant_get (_ret, 844s # "(^ay)", 844s # out_arg_ay); 844s # g_variant_unref (_ret); 844s # _out: 844s # return _ret != NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_call_single_arg_method_ay_sync: 844s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 844s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL. 844s # * 844s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 844s # * 844s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 844s # */ 844s # gboolean 844s # org_project_useful_interface_call_single_arg_method_ay_sync ( 844s # OrgProjectUsefulInterface *proxy, 844s # gchar **out_arg_ay, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GVariant *_ret; 844s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 844s # "SingleArgMethodAy", 844s # g_variant_new ("()"), 844s # G_DBUS_CALL_FLAGS_NONE, 844s # -1, 844s # cancellable, 844s # error); 844s # if (_ret == NULL) 844s # goto _out; 844s # g_variant_get (_ret, 844s # "(^ay)", 844s # out_arg_ay); 844s # g_variant_unref (_ret); 844s # _out: 844s # return _ret != NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_complete_single_arg_method_ay: 844s # * @object: A #OrgProjectUsefulInterface. 844s # * @invocation: (transfer full): A #GDBusMethodInvocation. 844s # * @arg_ay: Parameter to return. 844s # * 844s # * 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. 844s # * 844s # * This method will free @invocation, you cannot use it afterwards. 844s # */ 844s # void 844s # org_project_useful_interface_complete_single_arg_method_ay ( 844s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 844s # GDBusMethodInvocation *invocation, 844s # const gchar *arg_ay) 844s # { 844s # g_dbus_method_invocation_return_value (invocation, 844s # g_variant_new ("(^ay)", 844s # arg_ay)); 844s # } 844s # 844s # /* ------------------------------------------------------------------------ */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceProxy: 844s # * 844s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 844s # */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceProxyClass: 844s # * @parent_class: The parent class. 844s # * 844s # * Class structure for #OrgProjectUsefulInterfaceProxy. 844s # */ 844s # 844s # struct _OrgProjectUsefulInterfaceProxyPrivate 844s # { 844s # GData *qdata; 844s # }; 844s # 844s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 844s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 844s # 844s # #else 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 844s # 844s # #endif 844s # static void 844s # org_project_useful_interface_proxy_finalize (GObject *object) 844s # { 844s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 844s # g_datalist_clear (&proxy->priv->qdata); 844s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 844s # guint prop_id G_GNUC_UNUSED, 844s # GValue *value G_GNUC_UNUSED, 844s # GParamSpec *pspec G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 844s # guint prop_id G_GNUC_UNUSED, 844s # const GValue *value G_GNUC_UNUSED, 844s # GParamSpec *pspec G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 844s # const gchar *sender_name G_GNUC_UNUSED, 844s # const gchar *signal_name, 844s # GVariant *parameters) 844s # { 844s # _ExtendedGDBusSignalInfo *info; 844s # GVariantIter iter; 844s # GVariant *child; 844s # GValue *paramv; 844s # gsize num_params; 844s # gsize n; 844s # guint signal_id; 844s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 844s # if (info == NULL) 844s # return; 844s # num_params = g_variant_n_children (parameters); 844s # paramv = g_new0 (GValue, num_params + 1); 844s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_value_set_object (¶mv[0], proxy); 844s # g_variant_iter_init (&iter, parameters); 844s # n = 1; 844s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 844s # { 844s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 844s # if (arg_info->use_gvariant) 844s # { 844s # g_value_init (¶mv[n], G_TYPE_VARIANT); 844s # g_value_set_variant (¶mv[n], child); 844s # n++; 844s # } 844s # else 844s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 844s # g_variant_unref (child); 844s # } 844s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_signal_emitv (paramv, signal_id, 0, NULL); 844s # for (n = 0; n < num_params + 1; n++) 844s # g_value_unset (¶mv[n]); 844s # g_free (paramv); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 844s # GVariant *changed_properties, 844s # const gchar *const *invalidated_properties) 844s # { 844s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 844s # guint n; 844s # const gchar *key; 844s # GVariantIter *iter; 844s # _ExtendedGDBusPropertyInfo *info; 844s # g_variant_get (changed_properties, "a{sv}", &iter); 844s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 844s # { 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 844s # g_datalist_remove_data (&proxy->priv->qdata, key); 844s # if (info != NULL) 844s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 844s # } 844s # g_variant_iter_free (iter); 844s # for (n = 0; invalidated_properties[n] != NULL; n++) 844s # { 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 844s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 844s # if (info != NULL) 844s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 844s # } 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 844s # { 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 844s # #else 844s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 844s # #endif 844s # 844s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 844s # { 844s # GObjectClass *gobject_class; 844s # GDBusProxyClass *proxy_class; 844s # 844s # gobject_class = G_OBJECT_CLASS (klass); 844s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 844s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 844s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 844s # 844s # proxy_class = G_DBUS_PROXY_CLASS (klass); 844s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 844s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 844s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 844s # #endif 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new: 844s # * @connection: A #GDBusConnection. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 844s # * 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 844s # * 844s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 844s # */ 844s # void 844s # org_project_useful_interface_proxy_new ( 844s # GDBusConnection *connection, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # g_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); 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_finish: 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 844s # * @error: Return location for error or %NULL 844s # * 844s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_finish ( 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GObject *ret; 844s # GObject *source_object; 844s # source_object = g_async_result_get_source_object (res); 844s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 844s # g_object_unref (source_object); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_sync: 844s # * @connection: A #GDBusConnection. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL 844s # * 844s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 844s # * 844s # * The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_sync ( 844s # GDBusConnection *connection, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GInitable *ret; 844s # 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); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_for_bus: 844s # * @bus_type: A #GBusType. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: A bus name (well-known or unique). 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 844s # * 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 844s # * 844s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 844s # */ 844s # void 844s # org_project_useful_interface_proxy_new_for_bus ( 844s # GBusType bus_type, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # g_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); 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_for_bus_finish: 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 844s # * @error: Return location for error or %NULL 844s # * 844s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_for_bus_finish ( 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GObject *ret; 844s # GObject *source_object; 844s # source_object = g_async_result_get_source_object (res); 844s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 844s # g_object_unref (source_object); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_for_bus_sync: 844s # * @bus_type: A #GBusType. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: A bus name (well-known or unique). 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL 844s # * 844s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 844s # * 844s # * The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_for_bus_sync ( 844s # GBusType bus_type, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GInitable *ret; 844s # 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); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # 844s # /* ------------------------------------------------------------------------ */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceSkeleton: 844s # * 844s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 844s # */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceSkeletonClass: 844s # * @parent_class: The parent class. 844s # * 844s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 844s # */ 844s # 844s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 844s # { 844s # GValue *properties; 844s # GList *changed_properties; 844s # GSource *changed_properties_idle_source; 844s # GMainContext *context; 844s # GMutex lock; 844s # }; 844s # 844s # static void 844s # _org_project_useful_interface_skeleton_handle_method_call ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name, 844s # const gchar *method_name, 844s # GVariant *parameters, 844s # GDBusMethodInvocation *invocation, 844s # gpointer user_data) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 844s # _ExtendedGDBusMethodInfo *info; 844s # GVariantIter iter; 844s # GVariant *child; 844s # GValue *paramv; 844s # gsize num_params; 844s # guint num_extra; 844s # gsize n; 844s # guint signal_id; 844s # GValue return_value = G_VALUE_INIT; 844s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 844s # g_assert (info != NULL); 844s # num_params = g_variant_n_children (parameters); 844s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 844s # n = 0; 844s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_value_set_object (¶mv[n++], skeleton); 844s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 844s # g_value_set_object (¶mv[n++], invocation); 844s # if (info->pass_fdlist) 844s # { 844s # #ifdef G_OS_UNIX 844s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 844s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 844s # #else 844s # g_assert_not_reached (); 844s # #endif 844s # } 844s # g_variant_iter_init (&iter, parameters); 844s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 844s # { 844s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 844s # if (arg_info->use_gvariant) 844s # { 844s # g_value_init (¶mv[n], G_TYPE_VARIANT); 844s # g_value_set_variant (¶mv[n], child); 844s # n++; 844s # } 844s # else 844s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 844s # g_variant_unref (child); 844s # } 844s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_value_init (&return_value, G_TYPE_BOOLEAN); 844s # g_signal_emitv (paramv, signal_id, 0, &return_value); 844s # if (!g_value_get_boolean (&return_value)) 844s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 844s # g_value_unset (&return_value); 844s # for (n = 0; n < num_params + num_extra; n++) 844s # g_value_unset (¶mv[n]); 844s # g_free (paramv); 844s # } 844s # 844s # static GVariant * 844s # _org_project_useful_interface_skeleton_handle_get_property ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name G_GNUC_UNUSED, 844s # const gchar *property_name, 844s # GError **error, 844s # gpointer user_data) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 844s # GValue value = G_VALUE_INIT; 844s # GParamSpec *pspec; 844s # _ExtendedGDBusPropertyInfo *info; 844s # GVariant *ret; 844s # ret = NULL; 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 844s # g_assert (info != NULL); 844s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 844s # if (pspec == NULL) 844s # { 844s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 844s # } 844s # else 844s # { 844s # g_value_init (&value, pspec->value_type); 844s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 844s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 844s # g_value_unset (&value); 844s # } 844s # return ret; 844s # } 844s # 844s # static gboolean 844s # _org_project_useful_interface_skeleton_handle_set_property ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name G_GNUC_UNUSED, 844s # const gchar *property_name, 844s # GVariant *variant, 844s # GError **error, 844s # gpointer user_data) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 844s # GValue value = G_VALUE_INIT; 844s # GParamSpec *pspec; 844s # _ExtendedGDBusPropertyInfo *info; 844s # gboolean ret; 844s # ret = FALSE; 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 844s # g_assert (info != NULL); 844s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 844s # if (pspec == NULL) 844s # { 844s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 844s # } 844s # else 844s # { 844s # if (info->use_gvariant) 844s # g_value_set_variant (&value, variant); 844s # else 844s # g_dbus_gvariant_to_gvalue (variant, &value); 844s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 844s # g_value_unset (&value); 844s # ret = TRUE; 844s # } 844s # return ret; 844s # } 844s # 844s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 844s # { 844s # _org_project_useful_interface_skeleton_handle_method_call, 844s # _org_project_useful_interface_skeleton_handle_get_property, 844s # _org_project_useful_interface_skeleton_handle_set_property, 844s # {NULL} 844s # }; 844s # 844s # static GDBusInterfaceInfo * 844s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 844s # { 844s # return org_project_useful_interface_interface_info (); 844s # } 844s # 844s # static GDBusInterfaceVTable * 844s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 844s # { 844s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 844s # } 844s # 844s # static GVariant * 844s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 844s # 844s # GVariantBuilder builder; 844s # guint n; 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 844s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 844s # #else 844s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 844s # #endif 844s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 844s # goto out; 844s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 844s # { 844s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 844s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 844s # { 844s # GVariant *value; 844s # 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); 844s # if (value != NULL) 844s # { 844s # g_variant_take_ref (value); 844s # g_variant_builder_add (&builder, "{sv}", info->name, value); 844s # g_variant_unref (value); 844s # } 844s # } 844s # } 844s # out: 844s # return g_variant_builder_end (&builder); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 844s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 844s # 844s # #else 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 844s # 844s # #endif 844s # static void 844s # org_project_useful_interface_skeleton_finalize (GObject *object) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 844s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 844s # if (skeleton->priv->changed_properties_idle_source != NULL) 844s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 844s # g_main_context_unref (skeleton->priv->context); 844s # g_mutex_clear (&skeleton->priv->lock); 844s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 844s # { 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 844s # #else 844s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 844s # #endif 844s # 844s # g_mutex_init (&skeleton->priv->lock); 844s # skeleton->priv->context = g_main_context_ref_thread_default (); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 844s # { 844s # GObjectClass *gobject_class; 844s # GDBusInterfaceSkeletonClass *skeleton_class; 844s # 844s # gobject_class = G_OBJECT_CLASS (klass); 844s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 844s # 844s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 844s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 844s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 844s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 844s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 844s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 844s # #endif 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_skeleton_new: 844s # * 844s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_skeleton_new (void) 844s # { 844s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 844s # } 844s # Error: 844s # 844s # /tmp/tmpd_v7eoq3/tmplkl1_bus.xml: 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpd_v7eoq3/tmplkl1_bus.xml', '--output', '-', '--body'] 844s # Return code: 0 844s # Output: 844s # /* 844s # * This file is generated by gdbus-codegen, do not modify it. 844s # * 844s # * The license of this code is the same as for the D-Bus interface description 844s # * it was derived from. Note that it links to GLib, so must comply with the 844s # * LGPL linking clauses. 844s # */ 844s # 844s # #ifdef HAVE_CONFIG_H 844s # # include "config.h" 844s # #endif 844s # 844s # #include 844s # #ifdef G_OS_UNIX 844s # # include 844s # #endif 844s # 844s # #ifdef G_ENABLE_DEBUG 844s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 844s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 844s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 844s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 844s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 844s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 844s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 844s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 844s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 844s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 844s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 844s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 844s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 844s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 844s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 844s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 844s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 844s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 844s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 844s # #else /* !G_ENABLE_DEBUG */ 844s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 844s # * Do not access GValues directly in your code. Instead, use the 844s # * g_value_get_*() functions 844s # */ 844s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 844s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 844s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 844s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 844s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 844s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 844s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 844s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 844s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 844s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 844s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 844s # #endif /* !G_ENABLE_DEBUG */ 844s # 844s # typedef struct 844s # { 844s # GDBusArgInfo parent_struct; 844s # gboolean use_gvariant; 844s # } _ExtendedGDBusArgInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusMethodInfo parent_struct; 844s # const gchar *signal_name; 844s # gboolean pass_fdlist; 844s # } _ExtendedGDBusMethodInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusSignalInfo parent_struct; 844s # const gchar *signal_name; 844s # } _ExtendedGDBusSignalInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusPropertyInfo parent_struct; 844s # const gchar *hyphen_name; 844s # guint use_gvariant : 1; 844s # guint emits_changed_signal : 1; 844s # } _ExtendedGDBusPropertyInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusInterfaceInfo parent_struct; 844s # const gchar *hyphen_name; 844s # } _ExtendedGDBusInterfaceInfo; 844s # 844s # typedef struct 844s # { 844s # const _ExtendedGDBusPropertyInfo *info; 844s # guint prop_id; 844s # GValue orig_value; /* the value before the change */ 844s # } ChangedProperty; 844s # 844s # static void 844s # _changed_property_free (ChangedProperty *data) 844s # { 844s # g_value_unset (&data->orig_value); 844s # g_free (data); 844s # } 844s # 844s # static gboolean 844s # _g_strv_equal0 (gchar **a, gchar **b) 844s # { 844s # gboolean ret = FALSE; 844s # guint n; 844s # if (a == NULL && b == NULL) 844s # { 844s # ret = TRUE; 844s # goto out; 844s # } 844s # if (a == NULL || b == NULL) 844s # goto out; 844s # if (g_strv_length (a) != g_strv_length (b)) 844s # goto out; 844s # for (n = 0; a[n] != NULL; n++) 844s # if (g_strcmp0 (a[n], b[n]) != 0) 844s # goto out; 844s # ret = TRUE; 844s # out: 844s # return ret; 844s # } 844s # 844s # static gboolean 844s # _g_variant_equal0 (GVariant *a, GVariant *b) 844s # { 844s # gboolean ret = FALSE; 844s # if (a == NULL && b == NULL) 844s # { 844s # ret = TRUE; 844s # goto out; 844s # } 844s # if (a == NULL || b == NULL) 844s # goto out; 844s # ret = g_variant_equal (a, b); 844s # out: 844s # return ret; 844s # } 844s # 844s # G_GNUC_UNUSED static gboolean 844s # _g_value_equal (const GValue *a, const GValue *b) 844s # { 844s # gboolean ret = FALSE; 844s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 844s # switch (G_VALUE_TYPE (a)) 844s # { 844s # case G_TYPE_BOOLEAN: 844s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 844s # break; 844s # case G_TYPE_UCHAR: 844s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 844s # break; 844s # case G_TYPE_INT: 844s # ret = (g_value_get_int (a) == g_value_get_int (b)); 844s # break; 844s # case G_TYPE_UINT: 844s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 844s # break; 844s # case G_TYPE_INT64: 844s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 844s # break; 844s # case G_TYPE_UINT64: 844s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 844s # break; 844s # case G_TYPE_DOUBLE: 844s # { 844s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 844s # gdouble da = g_value_get_double (a); 844s # gdouble db = g_value_get_double (b); 844s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 844s # } 844s # break; 844s # case G_TYPE_STRING: 844s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 844s # break; 844s # case G_TYPE_VARIANT: 844s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 844s # break; 844s # default: 844s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 844s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 844s # else 844s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 844s # break; 844s # } 844s # return ret; 844s # } 844s # 844s # static void 844s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 844s # GClosure *closure, 844s # GValue *return_value, 844s # unsigned int n_param_values, 844s # const GValue *param_values, 844s # void *invocation_hint G_GNUC_UNUSED, 844s # void *marshal_data) 844s # { 844s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 844s # (void *data1, 844s # GDBusMethodInvocation *arg_method_invocation, 844s # void *data2); 844s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 844s # GCClosure *cc = (GCClosure*) closure; 844s # void *data1, *data2; 844s # gboolean v_return; 844s # 844s # g_return_if_fail (return_value != NULL); 844s # g_return_if_fail (n_param_values == 2); 844s # 844s # if (G_CCLOSURE_SWAP_DATA (closure)) 844s # { 844s # data1 = closure->data; 844s # data2 = g_value_peek_pointer (param_values + 0); 844s # } 844s # else 844s # { 844s # data1 = g_value_peek_pointer (param_values + 0); 844s # data2 = closure->data; 844s # } 844s # 844s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 844s # (marshal_data ? marshal_data : cc->callback); 844s # 844s # v_return = 844s # callback (data1, 844s # g_marshal_value_peek_object (param_values + 1), 844s # data2); 844s # 844s # g_value_set_boolean (return_value, v_return); 844s # } 844s # 844s # /* ------------------------------------------------------------------------ 844s # * Code for interface org.project.UsefulInterface 844s # * ------------------------------------------------------------------------ 844s # */ 844s # 844s # /** 844s # * SECTION:OrgProjectUsefulInterface 844s # * @title: OrgProjectUsefulInterface 844s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 844s # * 844s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 844s # */ 844s # 844s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as = 844s # { 844s # { 844s # -1, 844s # (gchar *) "arg_as", 844s # (gchar *) "as", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers[] = 844s # { 844s # &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 844s # { 844s # { 844s # -1, 844s # (gchar *) "SingleArgMethodAs", 844s # NULL, 844s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers, 844s # NULL 844s # }, 844s # "handle-single-arg-method-as", 844s # FALSE 844s # }; 844s # 844s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 844s # { 844s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 844s # { 844s # { 844s # -1, 844s # (gchar *) "org.project.UsefulInterface", 844s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 844s # NULL, 844s # NULL, 844s # NULL 844s # }, 844s # "org-project-useful-interface", 844s # }; 844s # 844s # 844s # /** 844s # * org_project_useful_interface_interface_info: 844s # * 844s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 844s # * 844s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 844s # */ 844s # GDBusInterfaceInfo * 844s # org_project_useful_interface_interface_info (void) 844s # { 844s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_override_properties: 844s # * @klass: The class structure for a #GObject derived class. 844s # * @property_id_begin: The property id to assign to the first overridden property. 844s # * 844s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 844s # * The properties are overridden in the order they are defined. 844s # * 844s # * Returns: The last property id. 844s # */ 844s # guint 844s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 844s # { 844s # return property_id_begin - 1; 844s # } 844s # 844s # 844s # inline static void 844s # org_project_useful_interface_method_marshal_single_arg_method_as ( 844s # GClosure *closure, 844s # GValue *return_value, 844s # unsigned int n_param_values, 844s # const GValue *param_values, 844s # void *invocation_hint, 844s # void *marshal_data) 844s # { 844s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 844s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 844s # } 844s # 844s # 844s # /** 844s # * OrgProjectUsefulInterface: 844s # * 844s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 844s # */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceIface: 844s # * @parent_iface: The parent interface. 844s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 844s # * 844s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 844s # */ 844s # 844s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 844s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 844s # 844s # static void 844s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 844s # { 844s # /* GObject signals for incoming D-Bus method calls: */ 844s # /** 844s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 844s # * @object: A #OrgProjectUsefulInterface. 844s # * @invocation: A #GDBusMethodInvocation. 844s # * 844s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 844s # * 844s # * 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. 844s # * 844s # * 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. 844s # */ 844s # g_signal_new ("handle-single-arg-method-as", 844s # G_TYPE_FROM_INTERFACE (iface), 844s # G_SIGNAL_RUN_LAST, 844s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 844s # g_signal_accumulator_true_handled, 844s # NULL, 844s # org_project_useful_interface_method_marshal_single_arg_method_as, 844s # G_TYPE_BOOLEAN, 844s # 1, 844s # G_TYPE_DBUS_METHOD_INVOCATION); 844s # 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_call_single_arg_method_as: 844s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 844s # * 844s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 844s # */ 844s # void 844s # org_project_useful_interface_call_single_arg_method_as ( 844s # OrgProjectUsefulInterface *proxy, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 844s # "SingleArgMethodAs", 844s # g_variant_new ("()"), 844s # G_DBUS_CALL_FLAGS_NONE, 844s # -1, 844s # cancellable, 844s # callback, 844s # user_data); 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_call_single_arg_method_as_finish: 844s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 844s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 844s # * @error: Return location for error or %NULL. 844s # * 844s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 844s # * 844s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 844s # */ 844s # gboolean 844s # org_project_useful_interface_call_single_arg_method_as_finish ( 844s # OrgProjectUsefulInterface *proxy, 844s # gchar ***out_arg_as, 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GVariant *_ret; 844s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 844s # if (_ret == NULL) 844s # goto _out; 844s # g_variant_get (_ret, 844s # "(^as)", 844s # out_arg_as); 844s # g_variant_unref (_ret); 844s # _out: 844s # return _ret != NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_call_single_arg_method_as_sync: 844s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 844s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL. 844s # * 844s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 844s # * 844s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 844s # */ 844s # gboolean 844s # org_project_useful_interface_call_single_arg_method_as_sync ( 844s # OrgProjectUsefulInterface *proxy, 844s # gchar ***out_arg_as, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GVariant *_ret; 844s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 844s # "SingleArgMethodAs", 844s # g_variant_new ("()"), 844s # G_DBUS_CALL_FLAGS_NONE, 844s # -1, 844s # cancellable, 844s # error); 844s # if (_ret == NULL) 844s # goto _out; 844s # g_variant_get (_ret, 844s # "(^as)", 844s # out_arg_as); 844s # g_variant_unref (_ret); 844s # _out: 844s # return _ret != NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_complete_single_arg_method_as: 844s # * @object: A #OrgProjectUsefulInterface. 844s # * @invocation: (transfer full): A #GDBusMethodInvocation. 844s # * @arg_as: Parameter to return. 844s # * 844s # * 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. 844s # * 844s # * This method will free @invocation, you cannot use it afterwards. 844s # */ 844s # void 844s # org_project_useful_interface_complete_single_arg_method_as ( 844s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 844s # GDBusMethodInvocation *invocation, 844s # const gchar *const *arg_as) 844s # { 844s # g_dbus_method_invocation_return_value (invocation, 844s # g_variant_new ("(^as)", 844s # arg_as)); 844s # } 844s # 844s # /* ------------------------------------------------------------------------ */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceProxy: 844s # * 844s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 844s # */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceProxyClass: 844s # * @parent_class: The parent class. 844s # * 844s # * Class structure for #OrgProjectUsefulInterfaceProxy. 844s # */ 844s # 844s # struct _OrgProjectUsefulInterfaceProxyPrivate 844s # { 844s # GData *qdata; 844s # }; 844s # 844s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 844s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 844s # 844s # #else 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 844s # 844s # #endif 844s # static void 844s # org_project_useful_interface_proxy_finalize (GObject *object) 844s # { 844s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 844s # g_datalist_clear (&proxy->priv->qdata); 844s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 844s # guint prop_id G_GNUC_UNUSED, 844s # GValue *value G_GNUC_UNUSED, 844s # GParamSpec *pspec G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 844s # guint prop_id G_GNUC_UNUSED, 844s # const GValue *value G_GNUC_UNUSED, 844s # GParamSpec *pspec G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 844s # const gchar *sender_name G_GNUC_UNUSED, 844s # const gchar *signal_name, 844s # GVariant *parameters) 844s # { 844s # _ExtendedGDBusSignalInfo *info; 844s # GVariantIter iter; 844s # GVariant *child; 844s # GValue *paramv; 844s # gsize num_params; 844s # gsize n; 844s # guint signal_id; 844s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 844s # if (info == NULL) 844s # return; 844s # num_params = g_variant_n_children (parameters); 844s # paramv = g_new0 (GValue, num_params + 1); 844s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_value_set_object (¶mv[0], proxy); 844s # g_variant_iter_init (&iter, parameters); 844s # n = 1; 844s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 844s # { 844s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 844s # if (arg_info->use_gvariant) 844s # { 844s # g_value_init (¶mv[n], G_TYPE_VARIANT); 844s # g_value_set_variant (¶mv[n], child); 844s # n++; 844s # } 844s # else 844s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 844s # g_variant_unref (child); 844s # } 844s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_signal_emitv (paramv, signal_id, 0, NULL); 844s # for (n = 0; n < num_params + 1; n++) 844s # g_value_unset (¶mv[n]); 844s # g_free (paramv); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 844s # GVariant *changed_properties, 844s # const gchar *const *invalidated_properties) 844s # { 844s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 844s # guint n; 844s # const gchar *key; 844s # GVariantIter *iter; 844s # _ExtendedGDBusPropertyInfo *info; 844s # g_variant_get (changed_properties, "a{sv}", &iter); 844s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 844s # { 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 844s # g_datalist_remove_data (&proxy->priv->qdata, key); 844s # if (info != NULL) 844s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 844s # } 844s # g_variant_iter_free (iter); 844s # for (n = 0; invalidated_properties[n] != NULL; n++) 844s # { 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 844s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 844s # if (info != NULL) 844s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 844s # } 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 844s # { 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 844s # #else 844s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 844s # #endif 844s # 844s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 844s # { 844s # GObjectClass *gobject_class; 844s # GDBusProxyClass *proxy_class; 844s # 844s # gobject_class = G_OBJECT_CLASS (klass); 844s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 844s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 844s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 844s # 844s # proxy_class = G_DBUS_PROXY_CLASS (klass); 844s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 844s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 844s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 844s # #endif 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new: 844s # * @connection: A #GDBusConnection. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 844s # * 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 844s # * 844s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 844s # */ 844s # void 844s # org_project_useful_interface_proxy_new ( 844s # GDBusConnection *connection, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # g_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); 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_finish: 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 844s # * @error: Return location for error or %NULL 844s # * 844s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_finish ( 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GObject *ret; 844s # GObject *source_object; 844s # source_object = g_async_result_get_source_object (res); 844s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 844s # g_object_unref (source_object); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_sync: 844s # * @connection: A #GDBusConnection. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL 844s # * 844s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 844s # * 844s # * The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_sync ( 844s # GDBusConnection *connection, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GInitable *ret; 844s # 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); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_for_bus: 844s # * @bus_type: A #GBusType. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: A bus name (well-known or unique). 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 844s # * 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 844s # * 844s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 844s # */ 844s # void 844s # org_project_useful_interface_proxy_new_for_bus ( 844s # GBusType bus_type, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # g_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); 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_for_bus_finish: 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 844s # * @error: Return location for error or %NULL 844s # * 844s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_for_bus_finish ( 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GObject *ret; 844s # GObject *source_object; 844s # source_object = g_async_result_get_source_object (res); 844s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 844s # g_object_unref (source_object); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_for_bus_sync: 844s # * @bus_type: A #GBusType. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: A bus name (well-known or unique). 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL 844s # * 844s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 844s # * 844s # * The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_for_bus_sync ( 844s # GBusType bus_type, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GInitable *ret; 844s # 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); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # 844s # /* ------------------------------------------------------------------------ */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceSkeleton: 844s # * 844s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 844s # */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceSkeletonClass: 844s # * @parent_class: The parent class. 844s # * 844s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 844s # */ 844s # 844s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 844s # { 844s # GValue *properties; 844s # GList *changed_properties; 844s # GSource *changed_properties_idle_source; 844s # GMainContext *context; 844s # GMutex lock; 844s # }; 844s # 844s # static void 844s # _org_project_useful_interface_skeleton_handle_method_call ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name, 844s # const gchar *method_name, 844s # GVariant *parameters, 844s # GDBusMethodInvocation *invocation, 844s # gpointer user_data) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 844s # _ExtendedGDBusMethodInfo *info; 844s # GVariantIter iter; 844s # GVariant *child; 844s # GValue *paramv; 844s # gsize num_params; 844s # guint num_extra; 844s # gsize n; 844s # guint signal_id; 844s # GValue return_value = G_VALUE_INIT; 844s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 844s # g_assert (info != NULL); 844s # num_params = g_variant_n_children (parameters); 844s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 844s # n = 0; 844s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_value_set_object (¶mv[n++], skeleton); 844s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 844s # g_value_set_object (¶mv[n++], invocation); 844s # if (info->pass_fdlist) 844s # { 844s # #ifdef G_OS_UNIX 844s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 844s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 844s # #else 844s # g_assert_not_reached (); 844s # #endif 844s # } 844s # g_variant_iter_init (&iter, parameters); 844s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 844s # { 844s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 844s # if (arg_info->use_gvariant) 844s # { 844s # g_value_init (¶mv[n], G_TYPE_VARIANT); 844s # g_value_set_variant (¶mv[n], child); 844s # n++; 844s # } 844s # else 844s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 844s # g_variant_unref (child); 844s # } 844s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_value_init (&return_value, G_TYPE_BOOLEAN); 844s # g_signal_emitv (paramv, signal_id, 0, &return_value); 844s # if (!g_value_get_boolean (&return_value)) 844s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 844s # g_value_unset (&return_value); 844s # for (n = 0; n < num_params + num_extra; n++) 844s # g_value_unset (¶mv[n]); 844s # g_free (paramv); 844s # } 844s # 844s # static GVariant * 844s # _org_project_useful_interface_skeleton_handle_get_property ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name G_GNUC_UNUSED, 844s # const gchar *property_name, 844s # GError **error, 844s # gpointer user_data) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 844s # GValue value = G_VALUE_INIT; 844s # GParamSpec *pspec; 844s # _ExtendedGDBusPropertyInfo *info; 844s # GVariant *ret; 844s # ret = NULL; 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 844s # g_assert (info != NULL); 844s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 844s # if (pspec == NULL) 844s # { 844s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 844s # } 844s # else 844s # { 844s # g_value_init (&value, pspec->value_type); 844s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 844s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 844s # g_value_unset (&value); 844s # } 844s # return ret; 844s # } 844s # 844s # static gboolean 844s # _org_project_useful_interface_skeleton_handle_set_property ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name G_GNUC_UNUSED, 844s # const gchar *property_name, 844s # GVariant *variant, 844s # GError **error, 844s # gpointer user_data) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 844s # GValue value = G_VALUE_INIT; 844s # GParamSpec *pspec; 844s # _ExtendedGDBusPropertyInfo *info; 844s # gboolean ret; 844s # ret = FALSE; 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 844s # g_assert (info != NULL); 844s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 844s # if (pspec == NULL) 844s # { 844s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 844s # } 844s # else 844s # { 844s # if (info->use_gvariant) 844s # g_value_set_variant (&value, variant); 844s # else 844s # g_dbus_gvariant_to_gvalue (variant, &value); 844s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 844s # g_value_unset (&value); 844s # ret = TRUE; 844s # } 844s # return ret; 844s # } 844s # 844s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 844s # { 844s # _org_project_useful_interface_skeleton_handle_method_call, 844s # _org_project_useful_interface_skeleton_handle_get_property, 844s # _org_project_useful_interface_skeleton_handle_set_property, 844s # {NULL} 844s # }; 844s # 844s # static GDBusInterfaceInfo * 844s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 844s # { 844s # return org_project_useful_interface_interface_info (); 844s # } 844s # 844s # static GDBusInterfaceVTable * 844s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 844s # { 844s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 844s # } 844s # 844s # static GVariant * 844s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 844s # 844s # GVariantBuilder builder; 844s # guint n; 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 844s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 844s # #else 844s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 844s # #endif 844s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 844s # goto out; 844s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 844s # { 844s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 844s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 844s # { 844s # GVariant *value; 844s # 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); 844s # if (value != NULL) 844s # { 844s # g_variant_take_ref (value); 844s # g_variant_builder_add (&builder, "{sv}", info->name, value); 844s # g_variant_unref (value); 844s # } 844s # } 844s # } 844s # out: 844s # return g_variant_builder_end (&builder); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 844s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 844s # 844s # #else 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 844s # 844s # #endif 844s # static void 844s # org_project_useful_interface_skeleton_finalize (GObject *object) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 844s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 844s # if (skeleton->priv->changed_properties_idle_source != NULL) 844s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 844s # g_main_context_unref (skeleton->priv->context); 844s # g_mutex_clear (&skeleton->priv->lock); 844s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 844s # { 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 844s # #else 844s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 844s # #endif 844s # 844s # g_mutex_init (&skeleton->priv->lock); 844s # skeleton->priv->context = g_main_context_ref_thread_default (); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 844s # { 844s # GObjectClass *gobject_class; 844s # GDBusInterfaceSkeletonClass *skeleton_class; 844s # 844s # gobject_class = G_OBJECT_CLASS (klass); 844s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 844s # 844s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 844s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 844s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 844s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 844s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 844s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 844s # #endif 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_skeleton_new: 844s # * 844s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_skeleton_new (void) 844s # { 844s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 844s # } 844s # Error: 844s # 844s # /tmp/tmpd_v7eoq3/tmp283srf6s.xml: 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpd_v7eoq3/tmp283srf6s.xml', '--output', '-', '--body'] 844s # Return code: 0 844s # Output: 844s # /* 844s # * This file is generated by gdbus-codegen, do not modify it. 844s # * 844s # * The license of this code is the same as for the D-Bus interface description 844s # * it was derived from. Note that it links to GLib, so must comply with the 844s # * LGPL linking clauses. 844s # */ 844s # 844s # #ifdef HAVE_CONFIG_H 844s # # include "config.h" 844s # #endif 844s # 844s # #include 844s # #ifdef G_OS_UNIX 844s # # include 844s # #endif 844s # 844s # #ifdef G_ENABLE_DEBUG 844s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 844s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 844s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 844s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 844s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 844s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 844s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 844s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 844s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 844s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 844s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 844s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 844s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 844s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 844s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 844s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 844s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 844s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 844s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 844s # #else /* !G_ENABLE_DEBUG */ 844s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 844s # * Do not access GValues directly in your code. Instead, use the 844s # * g_value_get_*() functions 844s # */ 844s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 844s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 844s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 844s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 844s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 844s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 844s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 844s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 844s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 844s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 844s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 844s # #endif /* !G_ENABLE_DEBUG */ 844s # 844s # typedef struct 844s # { 844s # GDBusArgInfo parent_struct; 844s # gboolean use_gvariant; 844s # } _ExtendedGDBusArgInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusMethodInfo parent_struct; 844s # const gchar *signal_name; 844s # gboolean pass_fdlist; 844s # } _ExtendedGDBusMethodInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusSignalInfo parent_struct; 844s # const gchar *signal_name; 844s # } _ExtendedGDBusSignalInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusPropertyInfo parent_struct; 844s # const gchar *hyphen_name; 844s # guint use_gvariant : 1; 844s # guint emits_changed_signal : 1; 844s # } _ExtendedGDBusPropertyInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusInterfaceInfo parent_struct; 844s # const gchar *hyphen_name; 844s # } _ExtendedGDBusInterfaceInfo; 844s # 844s # typedef struct 844s # { 844s # const _ExtendedGDBusPropertyInfo *info; 844s # guint prop_id; 844s # GValue orig_value; /* the value before the change */ 844s # } ChangedProperty; 844s # 844s # static void 844s # _changed_property_free (ChangedProperty *data) 844s # { 844s # g_value_unset (&data->orig_value); 844s # g_free (data); 844s # } 844s # 844s # static gboolean 844s # _g_strv_equal0 (gchar **a, gchar **b) 844s # { 844s # gboolean ret = FALSE; 844s # guint n; 844s # if (a == NULL && b == NULL) 844s # { 844s # ret = TRUE; 844s # goto out; 844s # } 844s # if (a == NULL || b == NULL) 844s # goto out; 844s # if (g_strv_length (a) != g_strv_length (b)) 844s # goto out; 844s # for (n = 0; a[n] != NULL; n++) 844s # if (g_strcmp0 (a[n], b[n]) != 0) 844s # goto out; 844s # ret = TRUE; 844s # out: 844s # return ret; 844s # } 844s # 844s # static gboolean 844s # _g_variant_equal0 (GVariant *a, GVariant *b) 844s # { 844s # gboolean ret = FALSE; 844s # if (a == NULL && b == NULL) 844s # { 844s # ret = TRUE; 844s # goto out; 844s # } 844s # if (a == NULL || b == NULL) 844s # goto out; 844s # ret = g_variant_equal (a, b); 844s # out: 844s # return ret; 844s # } 844s # 844s # G_GNUC_UNUSED static gboolean 844s # _g_value_equal (const GValue *a, const GValue *b) 844s # { 844s # gboolean ret = FALSE; 844s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 844s # switch (G_VALUE_TYPE (a)) 844s # { 844s # case G_TYPE_BOOLEAN: 844s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 844s # break; 844s # case G_TYPE_UCHAR: 844s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 844s # break; 844s # case G_TYPE_INT: 844s # ret = (g_value_get_int (a) == g_value_get_int (b)); 844s # break; 844s # case G_TYPE_UINT: 844s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 844s # break; 844s # case G_TYPE_INT64: 844s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 844s # break; 844s # case G_TYPE_UINT64: 844s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 844s # break; 844s # case G_TYPE_DOUBLE: 844s # { 844s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 844s # gdouble da = g_value_get_double (a); 844s # gdouble db = g_value_get_double (b); 844s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 844s # } 844s # break; 844s # case G_TYPE_STRING: 844s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 844s # break; 844s # case G_TYPE_VARIANT: 844s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 844s # break; 844s # default: 844s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 844s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 844s # else 844s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 844s # break; 844s # } 844s # return ret; 844s # } 844s # 844s # static void 844s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 844s # GClosure *closure, 844s # GValue *return_value, 844s # unsigned int n_param_values, 844s # const GValue *param_values, 844s # void *invocation_hint G_GNUC_UNUSED, 844s # void *marshal_data) 844s # { 844s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 844s # (void *data1, 844s # GDBusMethodInvocation *arg_method_invocation, 844s # void *data2); 844s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 844s # GCClosure *cc = (GCClosure*) closure; 844s # void *data1, *data2; 844s # gboolean v_return; 844s # 844s # g_return_if_fail (return_value != NULL); 844s # g_return_if_fail (n_param_values == 2); 844s # 844s # if (G_CCLOSURE_SWAP_DATA (closure)) 844s # { 844s # data1 = closure->data; 844s # data2 = g_value_peek_pointer (param_values + 0); 844s # } 844s # else 844s # { 844s # data1 = g_value_peek_pointer (param_values + 0); 844s # data2 = closure->data; 844s # } 844s # 844s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 844s # (marshal_data ? marshal_data : cc->callback); 844s # 844s # v_return = 844s # callback (data1, 844s # g_marshal_value_peek_object (param_values + 1), 844s # data2); 844s # 844s # g_value_set_boolean (return_value, v_return); 844s # } 844s # 844s # /* ------------------------------------------------------------------------ 844s # * Code for interface org.project.UsefulInterface 844s # * ------------------------------------------------------------------------ 844s # */ 844s # 844s # /** 844s # * SECTION:OrgProjectUsefulInterface 844s # * @title: OrgProjectUsefulInterface 844s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 844s # * 844s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 844s # */ 844s # 844s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao = 844s # { 844s # { 844s # -1, 844s # (gchar *) "arg_ao", 844s # (gchar *) "ao", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers[] = 844s # { 844s # &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 844s # { 844s # { 844s # -1, 844s # (gchar *) "SingleArgMethodAo", 844s # NULL, 844s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers, 844s # NULL 844s # }, 844s # "handle-single-arg-method-ao", 844s # FALSE 844s # }; 844s # 844s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 844s # { 844s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 844s # { 844s # { 844s # -1, 844s # (gchar *) "org.project.UsefulInterface", 844s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 844s # NULL, 844s # NULL, 844s # NULL 844s # }, 844s # "org-project-useful-interface", 844s # }; 844s # 844s # 844s # /** 844s # * org_project_useful_interface_interface_info: 844s # * 844s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 844s # * 844s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 844s # */ 844s # GDBusInterfaceInfo * 844s # org_project_useful_interface_interface_info (void) 844s # { 844s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_override_properties: 844s # * @klass: The class structure for a #GObject derived class. 844s # * @property_id_begin: The property id to assign to the first overridden property. 844s # * 844s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 844s # * The properties are overridden in the order they are defined. 844s # * 844s # * Returns: The last property id. 844s # */ 844s # guint 844s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 844s # { 844s # return property_id_begin - 1; 844s # } 844s # 844s # 844s # inline static void 844s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 844s # GClosure *closure, 844s # GValue *return_value, 844s # unsigned int n_param_values, 844s # const GValue *param_values, 844s # void *invocation_hint, 844s # void *marshal_data) 844s # { 844s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 844s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 844s # } 844s # 844s # 844s # /** 844s # * OrgProjectUsefulInterface: 844s # * 844s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 844s # */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceIface: 844s # * @parent_iface: The parent interface. 844s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 844s # * 844s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 844s # */ 844s # 844s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 844s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 844s # 844s # static void 844s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 844s # { 844s # /* GObject signals for incoming D-Bus method calls: */ 844s # /** 844s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 844s # * @object: A #OrgProjectUsefulInterface. 844s # * @invocation: A #GDBusMethodInvocation. 844s # * 844s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 844s # * 844s # * 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. 844s # * 844s # * 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. 844s # */ 844s # g_signal_new ("handle-single-arg-method-ao", 844s # G_TYPE_FROM_INTERFACE (iface), 844s # G_SIGNAL_RUN_LAST, 844s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 844s # g_signal_accumulator_true_handled, 844s # NULL, 844s # org_project_useful_interface_method_marshal_single_arg_method_ao, 844s # G_TYPE_BOOLEAN, 844s # 1, 844s # G_TYPE_DBUS_METHOD_INVOCATION); 844s # 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_call_single_arg_method_ao: 844s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 844s # * 844s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 844s # */ 844s # void 844s # org_project_useful_interface_call_single_arg_method_ao ( 844s # OrgProjectUsefulInterface *proxy, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 844s # "SingleArgMethodAo", 844s # g_variant_new ("()"), 844s # G_DBUS_CALL_FLAGS_NONE, 844s # -1, 844s # cancellable, 844s # callback, 844s # user_data); 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_call_single_arg_method_ao_finish: 844s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 844s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 844s # * @error: Return location for error or %NULL. 844s # * 844s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 844s # * 844s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 844s # */ 844s # gboolean 844s # org_project_useful_interface_call_single_arg_method_ao_finish ( 844s # OrgProjectUsefulInterface *proxy, 844s # gchar ***out_arg_ao, 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GVariant *_ret; 844s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 844s # if (_ret == NULL) 844s # goto _out; 844s # g_variant_get (_ret, 844s # "(^ao)", 844s # out_arg_ao); 844s # g_variant_unref (_ret); 844s # _out: 844s # return _ret != NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_call_single_arg_method_ao_sync: 844s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 844s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL. 844s # * 844s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 844s # * 844s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 844s # */ 844s # gboolean 844s # org_project_useful_interface_call_single_arg_method_ao_sync ( 844s # OrgProjectUsefulInterface *proxy, 844s # gchar ***out_arg_ao, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GVariant *_ret; 844s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 844s # "SingleArgMethodAo", 844s # g_variant_new ("()"), 844s # G_DBUS_CALL_FLAGS_NONE, 844s # -1, 844s # cancellable, 844s # error); 844s # if (_ret == NULL) 844s # goto _out; 844s # g_variant_get (_ret, 844s # "(^ao)", 844s # out_arg_ao); 844s # g_variant_unref (_ret); 844s # _out: 844s # return _ret != NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_complete_single_arg_method_ao: 844s # * @object: A #OrgProjectUsefulInterface. 844s # * @invocation: (transfer full): A #GDBusMethodInvocation. 844s # * @arg_ao: Parameter to return. 844s # * 844s # * 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. 844s # * 844s # * This method will free @invocation, you cannot use it afterwards. 844s # */ 844s # void 844s # org_project_useful_interface_complete_single_arg_method_ao ( 844s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 844s # GDBusMethodInvocation *invocation, 844s # const gchar *const *arg_ao) 844s # { 844s # g_dbus_method_invocation_return_value (invocation, 844s # g_variant_new ("(^ao)", 844s # arg_ao)); 844s # } 844s # 844s # /* ------------------------------------------------------------------------ */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceProxy: 844s # * 844s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 844s # */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceProxyClass: 844s # * @parent_class: The parent class. 844s # * 844s # * Class structure for #OrgProjectUsefulInterfaceProxy. 844s # */ 844s # 844s # struct _OrgProjectUsefulInterfaceProxyPrivate 844s # { 844s # GData *qdata; 844s # }; 844s # 844s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 844s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 844s # 844s # #else 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 844s # 844s # #endif 844s # static void 844s # org_project_useful_interface_proxy_finalize (GObject *object) 844s # { 844s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 844s # g_datalist_clear (&proxy->priv->qdata); 844s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 844s # guint prop_id G_GNUC_UNUSED, 844s # GValue *value G_GNUC_UNUSED, 844s # GParamSpec *pspec G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 844s # guint prop_id G_GNUC_UNUSED, 844s # const GValue *value G_GNUC_UNUSED, 844s # GParamSpec *pspec G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 844s # const gchar *sender_name G_GNUC_UNUSED, 844s # const gchar *signal_name, 844s # GVariant *parameters) 844s # { 844s # _ExtendedGDBusSignalInfo *info; 844s # GVariantIter iter; 844s # GVariant *child; 844s # GValue *paramv; 844s # gsize num_params; 844s # gsize n; 844s # guint signal_id; 844s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 844s # if (info == NULL) 844s # return; 844s # num_params = g_variant_n_children (parameters); 844s # paramv = g_new0 (GValue, num_params + 1); 844s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_value_set_object (¶mv[0], proxy); 844s # g_variant_iter_init (&iter, parameters); 844s # n = 1; 844s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 844s # { 844s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 844s # if (arg_info->use_gvariant) 844s # { 844s # g_value_init (¶mv[n], G_TYPE_VARIANT); 844s # g_value_set_variant (¶mv[n], child); 844s # n++; 844s # } 844s # else 844s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 844s # g_variant_unref (child); 844s # } 844s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_signal_emitv (paramv, signal_id, 0, NULL); 844s # for (n = 0; n < num_params + 1; n++) 844s # g_value_unset (¶mv[n]); 844s # g_free (paramv); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 844s # GVariant *changed_properties, 844s # const gchar *const *invalidated_properties) 844s # { 844s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 844s # guint n; 844s # const gchar *key; 844s # GVariantIter *iter; 844s # _ExtendedGDBusPropertyInfo *info; 844s # g_variant_get (changed_properties, "a{sv}", &iter); 844s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 844s # { 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 844s # g_datalist_remove_data (&proxy->priv->qdata, key); 844s # if (info != NULL) 844s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 844s # } 844s # g_variant_iter_free (iter); 844s # for (n = 0; invalidated_properties[n] != NULL; n++) 844s # { 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 844s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 844s # if (info != NULL) 844s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 844s # } 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 844s # { 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 844s # #else 844s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 844s # #endif 844s # 844s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 844s # { 844s # GObjectClass *gobject_class; 844s # GDBusProxyClass *proxy_class; 844s # 844s # gobject_class = G_OBJECT_CLASS (klass); 844s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 844s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 844s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 844s # 844s # proxy_class = G_DBUS_PROXY_CLASS (klass); 844s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 844s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 844s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 844s # #endif 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new: 844s # * @connection: A #GDBusConnection. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 844s # * 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 844s # * 844s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 844s # */ 844s # void 844s # org_project_useful_interface_proxy_new ( 844s # GDBusConnection *connection, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # g_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); 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_finish: 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 844s # * @error: Return location for error or %NULL 844s # * 844s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_finish ( 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GObject *ret; 844s # GObject *source_object; 844s # source_object = g_async_result_get_source_object (res); 844s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 844s # g_object_unref (source_object); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_sync: 844s # * @connection: A #GDBusConnection. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL 844s # * 844s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 844s # * 844s # * The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_sync ( 844s # GDBusConnection *connection, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GInitable *ret; 844s # 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); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_for_bus: 844s # * @bus_type: A #GBusType. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: A bus name (well-known or unique). 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 844s # * 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 844s # * 844s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 844s # */ 844s # void 844s # org_project_useful_interface_proxy_new_for_bus ( 844s # GBusType bus_type, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # g_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); 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_for_bus_finish: 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 844s # * @error: Return location for error or %NULL 844s # * 844s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_for_bus_finish ( 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GObject *ret; 844s # GObject *source_object; 844s # source_object = g_async_result_get_source_object (res); 844s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 844s # g_object_unref (source_object); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_for_bus_sync: 844s # * @bus_type: A #GBusType. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: A bus name (well-known or unique). 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL 844s # * 844s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 844s # * 844s # * The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_for_bus_sync ( 844s # GBusType bus_type, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GInitable *ret; 844s # 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); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # 844s # /* ------------------------------------------------------------------------ */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceSkeleton: 844s # * 844s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 844s # */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceSkeletonClass: 844s # * @parent_class: The parent class. 844s # * 844s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 844s # */ 844s # 844s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 844s # { 844s # GValue *properties; 844s # GList *changed_properties; 844s # GSource *changed_properties_idle_source; 844s # GMainContext *context; 844s # GMutex lock; 844s # }; 844s # 844s # static void 844s # _org_project_useful_interface_skeleton_handle_method_call ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name, 844s # const gchar *method_name, 844s # GVariant *parameters, 844s # GDBusMethodInvocation *invocation, 844s # gpointer user_data) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 844s # _ExtendedGDBusMethodInfo *info; 844s # GVariantIter iter; 844s # GVariant *child; 844s # GValue *paramv; 844s # gsize num_params; 844s # guint num_extra; 844s # gsize n; 844s # guint signal_id; 844s # GValue return_value = G_VALUE_INIT; 844s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 844s # g_assert (info != NULL); 844s # num_params = g_variant_n_children (parameters); 844s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 844s # n = 0; 844s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_value_set_object (¶mv[n++], skeleton); 844s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 844s # g_value_set_object (¶mv[n++], invocation); 844s # if (info->pass_fdlist) 844s # { 844s # #ifdef G_OS_UNIX 844s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 844s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 844s # #else 844s # g_assert_not_reached (); 844s # #endif 844s # } 844s # g_variant_iter_init (&iter, parameters); 844s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 844s # { 844s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 844s # if (arg_info->use_gvariant) 844s # { 844s # g_value_init (¶mv[n], G_TYPE_VARIANT); 844s # g_value_set_variant (¶mv[n], child); 844s # n++; 844s # } 844s # else 844s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 844s # g_variant_unref (child); 844s # } 844s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_value_init (&return_value, G_TYPE_BOOLEAN); 844s # g_signal_emitv (paramv, signal_id, 0, &return_value); 844s # if (!g_value_get_boolean (&return_value)) 844s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 844s # g_value_unset (&return_value); 844s # for (n = 0; n < num_params + num_extra; n++) 844s # g_value_unset (¶mv[n]); 844s # g_free (paramv); 844s # } 844s # 844s # static GVariant * 844s # _org_project_useful_interface_skeleton_handle_get_property ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name G_GNUC_UNUSED, 844s # const gchar *property_name, 844s # GError **error, 844s # gpointer user_data) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 844s # GValue value = G_VALUE_INIT; 844s # GParamSpec *pspec; 844s # _ExtendedGDBusPropertyInfo *info; 844s # GVariant *ret; 844s # ret = NULL; 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 844s # g_assert (info != NULL); 844s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 844s # if (pspec == NULL) 844s # { 844s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 844s # } 844s # else 844s # { 844s # g_value_init (&value, pspec->value_type); 844s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 844s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 844s # g_value_unset (&value); 844s # } 844s # return ret; 844s # } 844s # 844s # static gboolean 844s # _org_project_useful_interface_skeleton_handle_set_property ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name G_GNUC_UNUSED, 844s # const gchar *property_name, 844s # GVariant *variant, 844s # GError **error, 844s # gpointer user_data) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 844s # GValue value = G_VALUE_INIT; 844s # GParamSpec *pspec; 844s # _ExtendedGDBusPropertyInfo *info; 844s # gboolean ret; 844s # ret = FALSE; 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 844s # g_assert (info != NULL); 844s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 844s # if (pspec == NULL) 844s # { 844s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 844s # } 844s # else 844s # { 844s # if (info->use_gvariant) 844s # g_value_set_variant (&value, variant); 844s # else 844s # g_dbus_gvariant_to_gvalue (variant, &value); 844s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 844s # g_value_unset (&value); 844s # ret = TRUE; 844s # } 844s # return ret; 844s # } 844s # 844s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 844s # { 844s # _org_project_useful_interface_skeleton_handle_method_call, 844s # _org_project_useful_interface_skeleton_handle_get_property, 844s # _org_project_useful_interface_skeleton_handle_set_property, 844s # {NULL} 844s # }; 844s # 844s # static GDBusInterfaceInfo * 844s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 844s # { 844s # return org_project_useful_interface_interface_info (); 844s # } 844s # 844s # static GDBusInterfaceVTable * 844s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 844s # { 844s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 844s # } 844s # 844s # static GVariant * 844s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 844s # 844s # GVariantBuilder builder; 844s # guint n; 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 844s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 844s # #else 844s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 844s # #endif 844s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 844s # goto out; 844s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 844s # { 844s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 844s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 844s # { 844s # GVariant *value; 844s # 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); 844s # if (value != NULL) 844s # { 844s # g_variant_take_ref (value); 844s # g_variant_builder_add (&builder, "{sv}", info->name, value); 844s # g_variant_unref (value); 844s # } 844s # } 844s # } 844s # out: 844s # return g_variant_builder_end (&builder); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 844s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 844s # 844s # #else 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 844s # 844s # #endif 844s # static void 844s # org_project_useful_interface_skeleton_finalize (GObject *object) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 844s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 844s # if (skeleton->priv->changed_properties_idle_source != NULL) 844s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 844s # g_main_context_unref (skeleton->priv->context); 844s # g_mutex_clear (&skeleton->priv->lock); 844s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 844s # { 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 844s # #else 844s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 844s # #endif 844s # 844s # g_mutex_init (&skeleton->priv->lock); 844s # skeleton->priv->context = g_main_context_ref_thread_default (); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 844s # { 844s # GObjectClass *gobject_class; 844s # GDBusInterfaceSkeletonClass *skeleton_class; 844s # 844s # gobject_class = G_OBJECT_CLASS (klass); 844s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 844s # 844s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 844s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 844s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 844s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 844s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 844s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 844s # #endif 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_skeleton_new: 844s # * 844s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_skeleton_new (void) 844s # { 844s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 844s # } 844s # Error: 844s # 844s # /tmp/tmpd_v7eoq3/tmp5id5oc4c.xml: 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpd_v7eoq3/tmp5id5oc4c.xml', '--output', '-', '--body'] 844s # Return code: 0 844s # Output: 844s # /* 844s # * This file is generated by gdbus-codegen, do not modify it. 844s # * 844s # * The license of this code is the same as for the D-Bus interface description 844s # * it was derived from. Note that it links to GLib, so must comply with the 844s # * LGPL linking clauses. 844s # */ 844s # 844s # #ifdef HAVE_CONFIG_H 844s # # include "config.h" 844s # #endif 844s # 844s # #include 844s # #ifdef G_OS_UNIX 844s # # include 844s # #endif 844s # 844s # #ifdef G_ENABLE_DEBUG 844s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 844s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 844s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 844s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 844s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 844s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 844s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 844s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 844s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 844s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 844s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 844s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 844s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 844s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 844s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 844s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 844s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 844s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 844s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 844s # #else /* !G_ENABLE_DEBUG */ 844s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 844s # * Do not access GValues directly in your code. Instead, use the 844s # * g_value_get_*() functions 844s # */ 844s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 844s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 844s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 844s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 844s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 844s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 844s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 844s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 844s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 844s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 844s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 844s # #endif /* !G_ENABLE_DEBUG */ 844s # 844s # typedef struct 844s # { 844s # GDBusArgInfo parent_struct; 844s # gboolean use_gvariant; 844s # } _ExtendedGDBusArgInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusMethodInfo parent_struct; 844s # const gchar *signal_name; 844s # gboolean pass_fdlist; 844s # } _ExtendedGDBusMethodInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusSignalInfo parent_struct; 844s # const gchar *signal_name; 844s # } _ExtendedGDBusSignalInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusPropertyInfo parent_struct; 844s # const gchar *hyphen_name; 844s # guint use_gvariant : 1; 844s # guint emits_changed_signal : 1; 844s # } _ExtendedGDBusPropertyInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusInterfaceInfo parent_struct; 844s # const gchar *hyphen_name; 844s # } _ExtendedGDBusInterfaceInfo; 844s # 844s # typedef struct 844s # { 844s # const _ExtendedGDBusPropertyInfo *info; 844s # guint prop_id; 844s # GValue orig_value; /* the value before the change */ 844s # } ChangedProperty; 844s # 844s # static void 844s # _changed_property_free (ChangedProperty *data) 844s # { 844s # g_value_unset (&data->orig_value); 844s # g_free (data); 844s # } 844s # 844s # static gboolean 844s # _g_strv_equal0 (gchar **a, gchar **b) 844s # { 844s # gboolean ret = FALSE; 844s # guint n; 844s # if (a == NULL && b == NULL) 844s # { 844s # ret = TRUE; 844s # goto out; 844s # } 844s # if (a == NULL || b == NULL) 844s # goto out; 844s # if (g_strv_length (a) != g_strv_length (b)) 844s # goto out; 844s # for (n = 0; a[n] != NULL; n++) 844s # if (g_strcmp0 (a[n], b[n]) != 0) 844s # goto out; 844s # ret = TRUE; 844s # out: 844s # return ret; 844s # } 844s # 844s # static gboolean 844s # _g_variant_equal0 (GVariant *a, GVariant *b) 844s # { 844s # gboolean ret = FALSE; 844s # if (a == NULL && b == NULL) 844s # { 844s # ret = TRUE; 844s # goto out; 844s # } 844s # if (a == NULL || b == NULL) 844s # goto out; 844s # ret = g_variant_equal (a, b); 844s # out: 844s # return ret; 844s # } 844s # 844s # G_GNUC_UNUSED static gboolean 844s # _g_value_equal (const GValue *a, const GValue *b) 844s # { 844s # gboolean ret = FALSE; 844s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 844s # switch (G_VALUE_TYPE (a)) 844s # { 844s # case G_TYPE_BOOLEAN: 844s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 844s # break; 844s # case G_TYPE_UCHAR: 844s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 844s # break; 844s # case G_TYPE_INT: 844s # ret = (g_value_get_int (a) == g_value_get_int (b)); 844s # break; 844s # case G_TYPE_UINT: 844s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 844s # break; 844s # case G_TYPE_INT64: 844s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 844s # break; 844s # case G_TYPE_UINT64: 844s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 844s # break; 844s # case G_TYPE_DOUBLE: 844s # { 844s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 844s # gdouble da = g_value_get_double (a); 844s # gdouble db = g_value_get_double (b); 844s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 844s # } 844s # break; 844s # case G_TYPE_STRING: 844s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 844s # break; 844s # case G_TYPE_VARIANT: 844s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 844s # break; 844s # default: 844s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 844s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 844s # else 844s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 844s # break; 844s # } 844s # return ret; 844s # } 844s # 844s # static void 844s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 844s # GClosure *closure, 844s # GValue *return_value, 844s # unsigned int n_param_values, 844s # const GValue *param_values, 844s # void *invocation_hint G_GNUC_UNUSED, 844s # void *marshal_data) 844s # { 844s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 844s # (void *data1, 844s # GDBusMethodInvocation *arg_method_invocation, 844s # void *data2); 844s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 844s # GCClosure *cc = (GCClosure*) closure; 844s # void *data1, *data2; 844s # gboolean v_return; 844s # 844s # g_return_if_fail (return_value != NULL); 844s # g_return_if_fail (n_param_values == 2); 844s # 844s # if (G_CCLOSURE_SWAP_DATA (closure)) 844s # { 844s # data1 = closure->data; 844s # data2 = g_value_peek_pointer (param_values + 0); 844s # } 844s # else 844s # { 844s # data1 = g_value_peek_pointer (param_values + 0); 844s # data2 = closure->data; 844s # } 844s # 844s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 844s # (marshal_data ? marshal_data : cc->callback); 844s # 844s # v_return = 844s # callback (data1, 844s # g_marshal_value_peek_object (param_values + 1), 844s # data2); 844s # 844s # g_value_set_boolean (return_value, v_return); 844s # } 844s # 844s # /* ------------------------------------------------------------------------ 844s # * Code for interface org.project.UsefulInterface 844s # * ------------------------------------------------------------------------ 844s # */ 844s # 844s # /** 844s # * SECTION:OrgProjectUsefulInterface 844s # * @title: OrgProjectUsefulInterface 844s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 844s # * 844s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 844s # */ 844s # 844s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay = 844s # { 844s # { 844s # -1, 844s # (gchar *) "arg_aay", 844s # (gchar *) "aay", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers[] = 844s # { 844s # &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 844s # { 844s # { 844s # -1, 844s # (gchar *) "SingleArgMethodAay", 844s # NULL, 844s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers, 844s # NULL 844s # }, 844s # "handle-single-arg-method-aay", 844s # FALSE 844s # }; 844s # 844s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 844s # { 844s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 844s # { 844s # { 844s # -1, 844s # (gchar *) "org.project.UsefulInterface", 844s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 844s # NULL, 844s # NULL, 844s # NULL 844s # }, 844s # "org-project-useful-interface", 844s # }; 844s # 844s # 844s # /** 844s # * org_project_useful_interface_interface_info: 844s # * 844s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 844s # * 844s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 844s # */ 844s # GDBusInterfaceInfo * 844s # org_project_useful_interface_interface_info (void) 844s # { 844s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_override_properties: 844s # * @klass: The class structure for a #GObject derived class. 844s # * @property_id_begin: The property id to assign to the first overridden property. 844s # * 844s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 844s # * The properties are overridden in the order they are defined. 844s # * 844s # * Returns: The last property id. 844s # */ 844s # guint 844s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 844s # { 844s # return property_id_begin - 1; 844s # } 844s # 844s # 844s # inline static void 844s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 844s # GClosure *closure, 844s # GValue *return_value, 844s # unsigned int n_param_values, 844s # const GValue *param_values, 844s # void *invocation_hint, 844s # void *marshal_data) 844s # { 844s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 844s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 844s # } 844s # 844s # 844s # /** 844s # * OrgProjectUsefulInterface: 844s # * 844s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 844s # */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceIface: 844s # * @parent_iface: The parent interface. 844s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 844s # * 844s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 844s # */ 844s # 844s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 844s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 844s # 844s # static void 844s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 844s # { 844s # /* GObject signals for incoming D-Bus method calls: */ 844s # /** 844s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 844s # * @object: A #OrgProjectUsefulInterface. 844s # * @invocation: A #GDBusMethodInvocation. 844s # * 844s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 844s # * 844s # * 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. 844s # * 844s # * 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. 844s # */ 844s # g_signal_new ("handle-single-arg-method-aay", 844s # G_TYPE_FROM_INTERFACE (iface), 844s # G_SIGNAL_RUN_LAST, 844s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 844s # g_signal_accumulator_true_handled, 844s # NULL, 844s # org_project_useful_interface_method_marshal_single_arg_method_aay, 844s # G_TYPE_BOOLEAN, 844s # 1, 844s # G_TYPE_DBUS_METHOD_INVOCATION); 844s # 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_call_single_arg_method_aay: 844s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 844s # * 844s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 844s # */ 844s # void 844s # org_project_useful_interface_call_single_arg_method_aay ( 844s # OrgProjectUsefulInterface *proxy, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 844s # "SingleArgMethodAay", 844s # g_variant_new ("()"), 844s # G_DBUS_CALL_FLAGS_NONE, 844s # -1, 844s # cancellable, 844s # callback, 844s # user_data); 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_call_single_arg_method_aay_finish: 844s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 844s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 844s # * @error: Return location for error or %NULL. 844s # * 844s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 844s # * 844s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 844s # */ 844s # gboolean 844s # org_project_useful_interface_call_single_arg_method_aay_finish ( 844s # OrgProjectUsefulInterface *proxy, 844s # gchar ***out_arg_aay, 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GVariant *_ret; 844s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 844s # if (_ret == NULL) 844s # goto _out; 844s # g_variant_get (_ret, 844s # "(^aay)", 844s # out_arg_aay); 844s # g_variant_unref (_ret); 844s # _out: 844s # return _ret != NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_call_single_arg_method_aay_sync: 844s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 844s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL. 844s # * 844s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 844s # * 844s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 844s # */ 844s # gboolean 844s # org_project_useful_interface_call_single_arg_method_aay_sync ( 844s # OrgProjectUsefulInterface *proxy, 844s # gchar ***out_arg_aay, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GVariant *_ret; 844s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 844s # "SingleArgMethodAay", 844s # g_variant_new ("()"), 844s # G_DBUS_CALL_FLAGS_NONE, 844s # -1, 844s # cancellable, 844s # error); 844s # if (_ret == NULL) 844s # goto _out; 844s # g_variant_get (_ret, 844s # "(^aay)", 844s # out_arg_aay); 844s # g_variant_unref (_ret); 844s # _out: 844s # return _ret != NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_complete_single_arg_method_aay: 844s # * @object: A #OrgProjectUsefulInterface. 844s # * @invocation: (transfer full): A #GDBusMethodInvocation. 844s # * @arg_aay: Parameter to return. 844s # * 844s # * 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. 844s # * 844s # * This method will free @invocation, you cannot use it afterwards. 844s # */ 844s # void 844s # org_project_useful_interface_complete_single_arg_method_aay ( 844s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 844s # GDBusMethodInvocation *invocation, 844s # const gchar *const *arg_aay) 844s # { 844s # g_dbus_method_invocation_return_value (invocation, 844s # g_variant_new ("(^aay)", 844s # arg_aay)); 844s # } 844s # 844s # /* ------------------------------------------------------------------------ */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceProxy: 844s # * 844s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 844s # */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceProxyClass: 844s # * @parent_class: The parent class. 844s # * 844s # * Class structure for #OrgProjectUsefulInterfaceProxy. 844s # */ 844s # 844s # struct _OrgProjectUsefulInterfaceProxyPrivate 844s # { 844s # GData *qdata; 844s # }; 844s # 844s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 844s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 844s # 844s # #else 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 844s # 844s # #endif 844s # static void 844s # org_project_useful_interface_proxy_finalize (GObject *object) 844s # { 844s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 844s # g_datalist_clear (&proxy->priv->qdata); 844s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 844s # guint prop_id G_GNUC_UNUSED, 844s # GValue *value G_GNUC_UNUSED, 844s # GParamSpec *pspec G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 844s # guint prop_id G_GNUC_UNUSED, 844s # const GValue *value G_GNUC_UNUSED, 844s # GParamSpec *pspec G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 844s # const gchar *sender_name G_GNUC_UNUSED, 844s # const gchar *signal_name, 844s # GVariant *parameters) 844s # { 844s # _ExtendedGDBusSignalInfo *info; 844s # GVariantIter iter; 844s # GVariant *child; 844s # GValue *paramv; 844s # gsize num_params; 844s # gsize n; 844s # guint signal_id; 844s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 844s # if (info == NULL) 844s # return; 844s # num_params = g_variant_n_children (parameters); 844s # paramv = g_new0 (GValue, num_params + 1); 844s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_value_set_object (¶mv[0], proxy); 844s # g_variant_iter_init (&iter, parameters); 844s # n = 1; 844s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 844s # { 844s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 844s # if (arg_info->use_gvariant) 844s # { 844s # g_value_init (¶mv[n], G_TYPE_VARIANT); 844s # g_value_set_variant (¶mv[n], child); 844s # n++; 844s # } 844s # else 844s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 844s # g_variant_unref (child); 844s # } 844s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_signal_emitv (paramv, signal_id, 0, NULL); 844s # for (n = 0; n < num_params + 1; n++) 844s # g_value_unset (¶mv[n]); 844s # g_free (paramv); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 844s # GVariant *changed_properties, 844s # const gchar *const *invalidated_properties) 844s # { 844s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 844s # guint n; 844s # const gchar *key; 844s # GVariantIter *iter; 844s # _ExtendedGDBusPropertyInfo *info; 844s # g_variant_get (changed_properties, "a{sv}", &iter); 844s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 844s # { 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 844s # g_datalist_remove_data (&proxy->priv->qdata, key); 844s # if (info != NULL) 844s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 844s # } 844s # g_variant_iter_free (iter); 844s # for (n = 0; invalidated_properties[n] != NULL; n++) 844s # { 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 844s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 844s # if (info != NULL) 844s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 844s # } 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 844s # { 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 844s # #else 844s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 844s # #endif 844s # 844s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 844s # { 844s # GObjectClass *gobject_class; 844s # GDBusProxyClass *proxy_class; 844s # 844s # gobject_class = G_OBJECT_CLASS (klass); 844s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 844s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 844s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 844s # 844s # proxy_class = G_DBUS_PROXY_CLASS (klass); 844s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 844s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 844s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 844s # #endif 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new: 844s # * @connection: A #GDBusConnection. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 844s # * 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 844s # * 844s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 844s # */ 844s # void 844s # org_project_useful_interface_proxy_new ( 844s # GDBusConnection *connection, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # g_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); 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_finish: 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 844s # * @error: Return location for error or %NULL 844s # * 844s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_finish ( 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GObject *ret; 844s # GObject *source_object; 844s # source_object = g_async_result_get_source_object (res); 844s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 844s # g_object_unref (source_object); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_sync: 844s # * @connection: A #GDBusConnection. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL 844s # * 844s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 844s # * 844s # * The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_sync ( 844s # GDBusConnection *connection, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GInitable *ret; 844s # 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); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_for_bus: 844s # * @bus_type: A #GBusType. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: A bus name (well-known or unique). 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 844s # * 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 844s # * 844s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 844s # */ 844s # void 844s # org_project_useful_interface_proxy_new_for_bus ( 844s # GBusType bus_type, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # g_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); 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_for_bus_finish: 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 844s # * @error: Return location for error or %NULL 844s # * 844s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_for_bus_finish ( 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GObject *ret; 844s # GObject *source_object; 844s # source_object = g_async_result_get_source_object (res); 844s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 844s # g_object_unref (source_object); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_for_bus_sync: 844s # * @bus_type: A #GBusType. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: A bus name (well-known or unique). 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL 844s # * 844s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 844s # * 844s # * The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_for_bus_sync ( 844s # GBusType bus_type, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GInitable *ret; 844s # 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); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # 844s # /* ------------------------------------------------------------------------ */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceSkeleton: 844s # * 844s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 844s # */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceSkeletonClass: 844s # * @parent_class: The parent class. 844s # * 844s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 844s # */ 844s # 844s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 844s # { 844s # GValue *properties; 844s # GList *changed_properties; 844s # GSource *changed_properties_idle_source; 844s # GMainContext *context; 844s # GMutex lock; 844s # }; 844s # 844s # static void 844s # _org_project_useful_interface_skeleton_handle_method_call ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name, 844s # const gchar *method_name, 844s # GVariant *parameters, 844s # GDBusMethodInvocation *invocation, 844s # gpointer user_data) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 844s # _ExtendedGDBusMethodInfo *info; 844s # GVariantIter iter; 844s # GVariant *child; 844s # GValue *paramv; 844s # gsize num_params; 844s # guint num_extra; 844s # gsize n; 844s # guint signal_id; 844s # GValue return_value = G_VALUE_INIT; 844s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 844s # g_assert (info != NULL); 844s # num_params = g_variant_n_children (parameters); 844s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 844s # n = 0; 844s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_value_set_object (¶mv[n++], skeleton); 844s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 844s # g_value_set_object (¶mv[n++], invocation); 844s # if (info->pass_fdlist) 844s # { 844s # #ifdef G_OS_UNIX 844s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 844s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 844s # #else 844s # g_assert_not_reached (); 844s # #endif 844s # } 844s # g_variant_iter_init (&iter, parameters); 844s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 844s # { 844s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 844s # if (arg_info->use_gvariant) 844s # { 844s # g_value_init (¶mv[n], G_TYPE_VARIANT); 844s # g_value_set_variant (¶mv[n], child); 844s # n++; 844s # } 844s # else 844s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 844s # g_variant_unref (child); 844s # } 844s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_value_init (&return_value, G_TYPE_BOOLEAN); 844s # g_signal_emitv (paramv, signal_id, 0, &return_value); 844s # if (!g_value_get_boolean (&return_value)) 844s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 844s # g_value_unset (&return_value); 844s # for (n = 0; n < num_params + num_extra; n++) 844s # g_value_unset (¶mv[n]); 844s # g_free (paramv); 844s # } 844s # 844s # static GVariant * 844s # _org_project_useful_interface_skeleton_handle_get_property ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name G_GNUC_UNUSED, 844s # const gchar *property_name, 844s # GError **error, 844s # gpointer user_data) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 844s # GValue value = G_VALUE_INIT; 844s # GParamSpec *pspec; 844s # _ExtendedGDBusPropertyInfo *info; 844s # GVariant *ret; 844s # ret = NULL; 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 844s # g_assert (info != NULL); 844s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 844s # if (pspec == NULL) 844s # { 844s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 844s # } 844s # else 844s # { 844s # g_value_init (&value, pspec->value_type); 844s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 844s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 844s # g_value_unset (&value); 844s # } 844s # return ret; 844s # } 844s # 844s # static gboolean 844s # _org_project_useful_interface_skeleton_handle_set_property ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name G_GNUC_UNUSED, 844s # const gchar *property_name, 844s # GVariant *variant, 844s # GError **error, 844s # gpointer user_data) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 844s # GValue value = G_VALUE_INIT; 844s # GParamSpec *pspec; 844s # _ExtendedGDBusPropertyInfo *info; 844s # gboolean ret; 844s # ret = FALSE; 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 844s # g_assert (info != NULL); 844s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 844s # if (pspec == NULL) 844s # { 844s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 844s # } 844s # else 844s # { 844s # if (info->use_gvariant) 844s # g_value_set_variant (&value, variant); 844s # else 844s # g_dbus_gvariant_to_gvalue (variant, &value); 844s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 844s # g_value_unset (&value); 844s # ret = TRUE; 844s # } 844s # return ret; 844s # } 844s # 844s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 844s # { 844s # _org_project_useful_interface_skeleton_handle_method_call, 844s # _org_project_useful_interface_skeleton_handle_get_property, 844s # _org_project_useful_interface_skeleton_handle_set_property, 844s # {NULL} 844s # }; 844s # 844s # static GDBusInterfaceInfo * 844s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 844s # { 844s # return org_project_useful_interface_interface_info (); 844s # } 844s # 844s # static GDBusInterfaceVTable * 844s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 844s # { 844s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 844s # } 844s # 844s # static GVariant * 844s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 844s # 844s # GVariantBuilder builder; 844s # guint n; 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 844s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 844s # #else 844s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 844s # #endif 844s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 844s # goto out; 844s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 844s # { 844s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 844s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 844s # { 844s # GVariant *value; 844s # 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); 844s # if (value != NULL) 844s # { 844s # g_variant_take_ref (value); 844s # g_variant_builder_add (&builder, "{sv}", info->name, value); 844s # g_variant_unref (value); 844s # } 844s # } 844s # } 844s # out: 844s # return g_variant_builder_end (&builder); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 844s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 844s # 844s # #else 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 844s # 844s # #endif 844s # static void 844s # org_project_useful_interface_skeleton_finalize (GObject *object) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 844s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 844s # if (skeleton->priv->changed_properties_idle_source != NULL) 844s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 844s # g_main_context_unref (skeleton->priv->context); 844s # g_mutex_clear (&skeleton->priv->lock); 844s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 844s # { 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 844s # #else 844s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 844s # #endif 844s # 844s # g_mutex_init (&skeleton->priv->lock); 844s # skeleton->priv->context = g_main_context_ref_thread_default (); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 844s # { 844s # GObjectClass *gobject_class; 844s # GDBusInterfaceSkeletonClass *skeleton_class; 844s # 844s # gobject_class = G_OBJECT_CLASS (klass); 844s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 844s # 844s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 844s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 844s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 844s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 844s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 844s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 844s # #endif 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_skeleton_new: 844s # * 844s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_skeleton_new (void) 844s # { 844s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 844s # } 844s # Error: 844s # 844s # /tmp/tmpd_v7eoq3/tmpffrpxoxo.xml: 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpd_v7eoq3/tmpffrpxoxo.xml', '--output', '-', '--body'] 844s # Return code: 0 844s # Output: 844s # /* 844s # * This file is generated by gdbus-codegen, do not modify it. 844s # * 844s # * The license of this code is the same as for the D-Bus interface description 844s # * it was derived from. Note that it links to GLib, so must comply with the 844s # * LGPL linking clauses. 844s # */ 844s # 844s # #ifdef HAVE_CONFIG_H 844s # # include "config.h" 844s # #endif 844s # 844s # #include 844s # #ifdef G_OS_UNIX 844s # # include 844s # #endif 844s # 844s # #ifdef G_ENABLE_DEBUG 844s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 844s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 844s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 844s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 844s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 844s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 844s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 844s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 844s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 844s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 844s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 844s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 844s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 844s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 844s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 844s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 844s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 844s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 844s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 844s # #else /* !G_ENABLE_DEBUG */ 844s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 844s # * Do not access GValues directly in your code. Instead, use the 844s # * g_value_get_*() functions 844s # */ 844s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 844s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 844s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 844s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 844s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 844s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 844s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 844s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 844s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 844s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 844s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 844s # #endif /* !G_ENABLE_DEBUG */ 844s # 844s # typedef struct 844s # { 844s # GDBusArgInfo parent_struct; 844s # gboolean use_gvariant; 844s # } _ExtendedGDBusArgInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusMethodInfo parent_struct; 844s # const gchar *signal_name; 844s # gboolean pass_fdlist; 844s # } _ExtendedGDBusMethodInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusSignalInfo parent_struct; 844s # const gchar *signal_name; 844s # } _ExtendedGDBusSignalInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusPropertyInfo parent_struct; 844s # const gchar *hyphen_name; 844s # guint use_gvariant : 1; 844s # guint emits_changed_signal : 1; 844s # } _ExtendedGDBusPropertyInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusInterfaceInfo parent_struct; 844s # const gchar *hyphen_name; 844s # } _ExtendedGDBusInterfaceInfo; 844s # 844s # typedef struct 844s # { 844s # const _ExtendedGDBusPropertyInfo *info; 844s # guint prop_id; 844s # GValue orig_value; /* the value before the change */ 844s # } ChangedProperty; 844s # 844s # static void 844s # _changed_property_free (ChangedProperty *data) 844s # { 844s # g_value_unset (&data->orig_value); 844s # g_free (data); 844s # } 844s # 844s # static gboolean 844s # _g_strv_equal0 (gchar **a, gchar **b) 844s # { 844s # gboolean ret = FALSE; 844s # guint n; 844s # if (a == NULL && b == NULL) 844s # { 844s # ret = TRUE; 844s # goto out; 844s # } 844s # if (a == NULL || b == NULL) 844s # goto out; 844s # if (g_strv_length (a) != g_strv_length (b)) 844s # goto out; 844s # for (n = 0; a[n] != NULL; n++) 844s # if (g_strcmp0 (a[n], b[n]) != 0) 844s # goto out; 844s # ret = TRUE; 844s # out: 844s # return ret; 844s # } 844s # 844s # static gboolean 844s # _g_variant_equal0 (GVariant *a, GVariant *b) 844s # { 844s # gboolean ret = FALSE; 844s # if (a == NULL && b == NULL) 844s # { 844s # ret = TRUE; 844s # goto out; 844s # } 844s # if (a == NULL || b == NULL) 844s # goto out; 844s # ret = g_variant_equal (a, b); 844s # out: 844s # return ret; 844s # } 844s # 844s # G_GNUC_UNUSED static gboolean 844s # _g_value_equal (const GValue *a, const GValue *b) 844s # { 844s # gboolean ret = FALSE; 844s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 844s # switch (G_VALUE_TYPE (a)) 844s # { 844s # case G_TYPE_BOOLEAN: 844s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 844s # break; 844s # case G_TYPE_UCHAR: 844s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 844s # break; 844s # case G_TYPE_INT: 844s # ret = (g_value_get_int (a) == g_value_get_int (b)); 844s # break; 844s # case G_TYPE_UINT: 844s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 844s # break; 844s # case G_TYPE_INT64: 844s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 844s # break; 844s # case G_TYPE_UINT64: 844s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 844s # break; 844s # case G_TYPE_DOUBLE: 844s # { 844s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 844s # gdouble da = g_value_get_double (a); 844s # gdouble db = g_value_get_double (b); 844s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 844s # } 844s # break; 844s # case G_TYPE_STRING: 844s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 844s # break; 844s # case G_TYPE_VARIANT: 844s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 844s # break; 844s # default: 844s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 844s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 844s # else 844s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 844s # break; 844s # } 844s # return ret; 844s # } 844s # 844s # static void 844s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 844s # GClosure *closure, 844s # GValue *return_value, 844s # unsigned int n_param_values, 844s # const GValue *param_values, 844s # void *invocation_hint G_GNUC_UNUSED, 844s # void *marshal_data) 844s # { 844s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 844s # (void *data1, 844s # GDBusMethodInvocation *arg_method_invocation, 844s # void *data2); 844s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 844s # GCClosure *cc = (GCClosure*) closure; 844s # void *data1, *data2; 844s # gboolean v_return; 844s # 844s # g_return_if_fail (return_value != NULL); 844s # g_return_if_fail (n_param_values == 2); 844s # 844s # if (G_CCLOSURE_SWAP_DATA (closure)) 844s # { 844s # data1 = closure->data; 844s # data2 = g_value_peek_pointer (param_values + 0); 844s # } 844s # else 844s # { 844s # data1 = g_value_peek_pointer (param_values + 0); 844s # data2 = closure->data; 844s # } 844s # 844s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 844s # (marshal_data ? marshal_data : cc->callback); 844s # 844s # v_return = 844s # callback (data1, 844s # g_marshal_value_peek_object (param_values + 1), 844s # data2); 844s # 844s # g_value_set_boolean (return_value, v_return); 844s # } 844s # 844s # /* ------------------------------------------------------------------------ 844s # * Code for interface org.project.UsefulInterface 844s # * ------------------------------------------------------------------------ 844s # */ 844s # 844s # /** 844s # * SECTION:OrgProjectUsefulInterface 844s # * @title: OrgProjectUsefulInterface 844s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 844s # * 844s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 844s # */ 844s # 844s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv = 844s # { 844s # { 844s # -1, 844s # (gchar *) "arg_asv", 844s # (gchar *) "a{sv}", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers[] = 844s # { 844s # &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 844s # { 844s # { 844s # -1, 844s # (gchar *) "SingleArgMethodAsv", 844s # NULL, 844s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers, 844s # NULL 844s # }, 844s # "handle-single-arg-method-asv", 844s # FALSE 844s # }; 844s # 844s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 844s # { 844s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 844s # { 844s # { 844s # -1, 844s # (gchar *) "org.project.UsefulInterface", 844s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 844s # NULL, 844s # NULL, 844s # NULL 844s # }, 844s # "org-project-useful-interface", 844s # }; 844s # 844s # 844s # /** 844s # * org_project_useful_interface_interface_info: 844s # * 844s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 844s # * 844s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 844s # */ 844s # GDBusInterfaceInfo * 844s # org_project_useful_interface_interface_info (void) 844s # { 844s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_override_properties: 844s # * @klass: The class structure for a #GObject derived class. 844s # * @property_id_begin: The property id to assign to the first overridden property. 844s # * 844s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 844s # * The properties are overridden in the order they are defined. 844s # * 844s # * Returns: The last property id. 844s # */ 844s # guint 844s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 844s # { 844s # return property_id_begin - 1; 844s # } 844s # 844s # 844s # inline static void 844s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 844s # GClosure *closure, 844s # GValue *return_value, 844s # unsigned int n_param_values, 844s # const GValue *param_values, 844s # void *invocation_hint, 844s # void *marshal_data) 844s # { 844s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 844s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 844s # } 844s # 844s # 844s # /** 844s # * OrgProjectUsefulInterface: 844s # * 844s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 844s # */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceIface: 844s # * @parent_iface: The parent interface. 844s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 844s # * 844s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 844s # */ 844s # 844s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 844s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 844s # 844s # static void 844s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 844s # { 844s # /* GObject signals for incoming D-Bus method calls: */ 844s # /** 844s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 844s # * @object: A #OrgProjectUsefulInterface. 844s # * @invocation: A #GDBusMethodInvocation. 844s # * 844s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 844s # * 844s # * 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. 844s # * 844s # * 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. 844s # */ 844s # g_signal_new ("handle-single-arg-method-asv", 844s # G_TYPE_FROM_INTERFACE (iface), 844s # G_SIGNAL_RUN_LAST, 844s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 844s # g_signal_accumulator_true_handled, 844s # NULL, 844s # org_project_useful_interface_method_marshal_single_arg_method_asv, 844s # G_TYPE_BOOLEAN, 844s # 1, 844s # G_TYPE_DBUS_METHOD_INVOCATION); 844s # 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_call_single_arg_method_asv: 844s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 844s # * 844s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 844s # */ 844s # void 844s # org_project_useful_interface_call_single_arg_method_asv ( 844s # OrgProjectUsefulInterface *proxy, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 844s # "SingleArgMethodAsv", 844s # g_variant_new ("()"), 844s # G_DBUS_CALL_FLAGS_NONE, 844s # -1, 844s # cancellable, 844s # callback, 844s # user_data); 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_call_single_arg_method_asv_finish: 844s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 844s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 844s # * @error: Return location for error or %NULL. 844s # * 844s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 844s # * 844s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 844s # */ 844s # gboolean 844s # org_project_useful_interface_call_single_arg_method_asv_finish ( 844s # OrgProjectUsefulInterface *proxy, 844s # GVariant **out_arg_asv, 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GVariant *_ret; 844s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 844s # if (_ret == NULL) 844s # goto _out; 844s # g_variant_get (_ret, 844s # "(@a{sv})", 844s # out_arg_asv); 844s # g_variant_unref (_ret); 844s # _out: 844s # return _ret != NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_call_single_arg_method_asv_sync: 844s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 844s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL. 844s # * 844s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 844s # * 844s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 844s # */ 844s # gboolean 844s # org_project_useful_interface_call_single_arg_method_asv_sync ( 844s # OrgProjectUsefulInterface *proxy, 844s # GVariant **out_arg_asv, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GVariant *_ret; 844s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 844s # "SingleArgMethodAsv", 844s # g_variant_new ("()"), 844s # G_DBUS_CALL_FLAGS_NONE, 844s # -1, 844s # cancellable, 844s # error); 844s # if (_ret == NULL) 844s # goto _out; 844s # g_variant_get (_ret, 844s # "(@a{sv})", 844s # out_arg_asv); 844s # g_variant_unref (_ret); 844s # _out: 844s # return _ret != NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_complete_single_arg_method_asv: 844s # * @object: A #OrgProjectUsefulInterface. 844s # * @invocation: (transfer full): A #GDBusMethodInvocation. 844s # * @arg_asv: Parameter to return. 844s # * 844s # * 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. 844s # * 844s # * This method will free @invocation, you cannot use it afterwards. 844s # */ 844s # void 844s # org_project_useful_interface_complete_single_arg_method_asv ( 844s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 844s # GDBusMethodInvocation *invocation, 844s # GVariant *arg_asv) 844s # { 844s # g_dbus_method_invocation_return_value (invocation, 844s # g_variant_new ("(@a{sv})", 844s # arg_asv)); 844s # } 844s # 844s # /* ------------------------------------------------------------------------ */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceProxy: 844s # * 844s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 844s # */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceProxyClass: 844s # * @parent_class: The parent class. 844s # * 844s # * Class structure for #OrgProjectUsefulInterfaceProxy. 844s # */ 844s # 844s # struct _OrgProjectUsefulInterfaceProxyPrivate 844s # { 844s # GData *qdata; 844s # }; 844s # 844s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 844s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 844s # 844s # #else 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 844s # 844s # #endif 844s # static void 844s # org_project_useful_interface_proxy_finalize (GObject *object) 844s # { 844s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 844s # g_datalist_clear (&proxy->priv->qdata); 844s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 844s # guint prop_id G_GNUC_UNUSED, 844s # GValue *value G_GNUC_UNUSED, 844s # GParamSpec *pspec G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 844s # guint prop_id G_GNUC_UNUSED, 844s # const GValue *value G_GNUC_UNUSED, 844s # GParamSpec *pspec G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 844s # const gchar *sender_name G_GNUC_UNUSED, 844s # const gchar *signal_name, 844s # GVariant *parameters) 844s # { 844s # _ExtendedGDBusSignalInfo *info; 844s # GVariantIter iter; 844s # GVariant *child; 844s # GValue *paramv; 844s # gsize num_params; 844s # gsize n; 844s # guint signal_id; 844s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 844s # if (info == NULL) 844s # return; 844s # num_params = g_variant_n_children (parameters); 844s # paramv = g_new0 (GValue, num_params + 1); 844s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_value_set_object (¶mv[0], proxy); 844s # g_variant_iter_init (&iter, parameters); 844s # n = 1; 844s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 844s # { 844s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 844s # if (arg_info->use_gvariant) 844s # { 844s # g_value_init (¶mv[n], G_TYPE_VARIANT); 844s # g_value_set_variant (¶mv[n], child); 844s # n++; 844s # } 844s # else 844s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 844s # g_variant_unref (child); 844s # } 844s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_signal_emitv (paramv, signal_id, 0, NULL); 844s # for (n = 0; n < num_params + 1; n++) 844s # g_value_unset (¶mv[n]); 844s # g_free (paramv); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 844s # GVariant *changed_properties, 844s # const gchar *const *invalidated_properties) 844s # { 844s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 844s # guint n; 844s # const gchar *key; 844s # GVariantIter *iter; 844s # _ExtendedGDBusPropertyInfo *info; 844s # g_variant_get (changed_properties, "a{sv}", &iter); 844s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 844s # { 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 844s # g_datalist_remove_data (&proxy->priv->qdata, key); 844s # if (info != NULL) 844s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 844s # } 844s # g_variant_iter_free (iter); 844s # for (n = 0; invalidated_properties[n] != NULL; n++) 844s # { 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 844s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 844s # if (info != NULL) 844s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 844s # } 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 844s # { 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 844s # #else 844s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 844s # #endif 844s # 844s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 844s # { 844s # GObjectClass *gobject_class; 844s # GDBusProxyClass *proxy_class; 844s # 844s # gobject_class = G_OBJECT_CLASS (klass); 844s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 844s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 844s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 844s # 844s # proxy_class = G_DBUS_PROXY_CLASS (klass); 844s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 844s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 844s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 844s # #endif 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new: 844s # * @connection: A #GDBusConnection. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 844s # * 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 844s # * 844s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 844s # */ 844s # void 844s # org_project_useful_interface_proxy_new ( 844s # GDBusConnection *connection, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # g_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); 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_finish: 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 844s # * @error: Return location for error or %NULL 844s # * 844s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_finish ( 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GObject *ret; 844s # GObject *source_object; 844s # source_object = g_async_result_get_source_object (res); 844s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 844s # g_object_unref (source_object); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_sync: 844s # * @connection: A #GDBusConnection. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL 844s # * 844s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 844s # * 844s # * The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_sync ( 844s # GDBusConnection *connection, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GInitable *ret; 844s # 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); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_for_bus: 844s # * @bus_type: A #GBusType. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: A bus name (well-known or unique). 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 844s # * 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 844s # * 844s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 844s # */ 844s # void 844s # org_project_useful_interface_proxy_new_for_bus ( 844s # GBusType bus_type, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # g_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); 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_for_bus_finish: 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 844s # * @error: Return location for error or %NULL 844s # * 844s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_for_bus_finish ( 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GObject *ret; 844s # GObject *source_object; 844s # source_object = g_async_result_get_source_object (res); 844s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 844s # g_object_unref (source_object); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_for_bus_sync: 844s # * @bus_type: A #GBusType. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: A bus name (well-known or unique). 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL 844s # * 844s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 844s # * 844s # * The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_for_bus_sync ( 844s # GBusType bus_type, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GInitable *ret; 844s # 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); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # 844s # /* ------------------------------------------------------------------------ */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceSkeleton: 844s # * 844s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 844s # */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceSkeletonClass: 844s # * @parent_class: The parent class. 844s # * 844s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 844s # */ 844s # 844s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 844s # { 844s # GValue *properties; 844s # GList *changed_properties; 844s # GSource *changed_properties_idle_source; 844s # GMainContext *context; 844s # GMutex lock; 844s # }; 844s # 844s # static void 844s # _org_project_useful_interface_skeleton_handle_method_call ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name, 844s # const gchar *method_name, 844s # GVariant *parameters, 844s # GDBusMethodInvocation *invocation, 844s # gpointer user_data) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 844s # _ExtendedGDBusMethodInfo *info; 844s # GVariantIter iter; 844s # GVariant *child; 844s # GValue *paramv; 844s # gsize num_params; 844s # guint num_extra; 844s # gsize n; 844s # guint signal_id; 844s # GValue return_value = G_VALUE_INIT; 844s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 844s # g_assert (info != NULL); 844s # num_params = g_variant_n_children (parameters); 844s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 844s # n = 0; 844s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_value_set_object (¶mv[n++], skeleton); 844s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 844s # g_value_set_object (¶mv[n++], invocation); 844s # if (info->pass_fdlist) 844s # { 844s # #ifdef G_OS_UNIX 844s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 844s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 844s # #else 844s # g_assert_not_reached (); 844s # #endif 844s # } 844s # g_variant_iter_init (&iter, parameters); 844s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 844s # { 844s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 844s # if (arg_info->use_gvariant) 844s # { 844s # g_value_init (¶mv[n], G_TYPE_VARIANT); 844s # g_value_set_variant (¶mv[n], child); 844s # n++; 844s # } 844s # else 844s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 844s # g_variant_unref (child); 844s # } 844s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_value_init (&return_value, G_TYPE_BOOLEAN); 844s # g_signal_emitv (paramv, signal_id, 0, &return_value); 844s # if (!g_value_get_boolean (&return_value)) 844s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 844s # g_value_unset (&return_value); 844s # for (n = 0; n < num_params + num_extra; n++) 844s # g_value_unset (¶mv[n]); 844s # g_free (paramv); 844s # } 844s # 844s # static GVariant * 844s # _org_project_useful_interface_skeleton_handle_get_property ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name G_GNUC_UNUSED, 844s # const gchar *property_name, 844s # GError **error, 844s # gpointer user_data) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 844s # GValue value = G_VALUE_INIT; 844s # GParamSpec *pspec; 844s # _ExtendedGDBusPropertyInfo *info; 844s # GVariant *ret; 844s # ret = NULL; 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 844s # g_assert (info != NULL); 844s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 844s # if (pspec == NULL) 844s # { 844s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 844s # } 844s # else 844s # { 844s # g_value_init (&value, pspec->value_type); 844s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 844s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 844s # g_value_unset (&value); 844s # } 844s # return ret; 844s # } 844s # 844s # static gboolean 844s # _org_project_useful_interface_skeleton_handle_set_property ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name G_GNUC_UNUSED, 844s # const gchar *property_name, 844s # GVariant *variant, 844s # GError **error, 844s # gpointer user_data) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 844s # GValue value = G_VALUE_INIT; 844s # GParamSpec *pspec; 844s # _ExtendedGDBusPropertyInfo *info; 844s # gboolean ret; 844s # ret = FALSE; 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 844s # g_assert (info != NULL); 844s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 844s # if (pspec == NULL) 844s # { 844s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 844s # } 844s # else 844s # { 844s # if (info->use_gvariant) 844s # g_value_set_variant (&value, variant); 844s # else 844s # g_dbus_gvariant_to_gvalue (variant, &value); 844s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 844s # g_value_unset (&value); 844s # ret = TRUE; 844s # } 844s # return ret; 844s # } 844s # 844s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 844s # { 844s # _org_project_useful_interface_skeleton_handle_method_call, 844s # _org_project_useful_interface_skeleton_handle_get_property, 844s # _org_project_useful_interface_skeleton_handle_set_property, 844s # {NULL} 844s # }; 844s # 844s # static GDBusInterfaceInfo * 844s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 844s # { 844s # return org_project_useful_interface_interface_info (); 844s # } 844s # 844s # static GDBusInterfaceVTable * 844s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 844s # { 844s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 844s # } 844s # 844s # static GVariant * 844s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 844s # 844s # GVariantBuilder builder; 844s # guint n; 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 844s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 844s # #else 844s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 844s # #endif 844s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 844s # goto out; 844s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 844s # { 844s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 844s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 844s # { 844s # GVariant *value; 844s # 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); 844s # if (value != NULL) 844s # { 844s # g_variant_take_ref (value); 844s # g_variant_builder_add (&builder, "{sv}", info->name, value); 844s # g_variant_unref (value); 844s # } 844s # } 844s # } 844s # out: 844s # return g_variant_builder_end (&builder); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 844s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 844s # 844s # #else 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 844s # 844s # #endif 844s # static void 844s # org_project_useful_interface_skeleton_finalize (GObject *object) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 844s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 844s # if (skeleton->priv->changed_properties_idle_source != NULL) 844s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 844s # g_main_context_unref (skeleton->priv->context); 844s # g_mutex_clear (&skeleton->priv->lock); 844s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 844s # { 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 844s # #else 844s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 844s # #endif 844s # 844s # g_mutex_init (&skeleton->priv->lock); 844s # skeleton->priv->context = g_main_context_ref_thread_default (); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 844s # { 844s # GObjectClass *gobject_class; 844s # GDBusInterfaceSkeletonClass *skeleton_class; 844s # 844s # gobject_class = G_OBJECT_CLASS (klass); 844s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 844s # 844s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 844s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 844s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 844s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 844s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 844s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 844s # #endif 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_skeleton_new: 844s # * 844s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_skeleton_new (void) 844s # { 844s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 844s # } 844s # Error: 844s ok 12 __main__.TestCodegen.test_generate_methods_marshallers_multiple_in_args 844s # gdbus-codegen: /usr/bin/gdbus-codegen 844s # tmpdir: /tmp/tmp6jdteql0 844s # /tmp/tmp6jdteql0/tmpj_3_pcbi.xml: 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 # 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 # 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6jdteql0/tmpj_3_pcbi.xml', '--output', '-', '--body'] 844s # Return code: 0 844s # Output: 844s # /* 844s # * This file is generated by gdbus-codegen, do not modify it. 844s # * 844s # * The license of this code is the same as for the D-Bus interface description 844s # * it was derived from. Note that it links to GLib, so must comply with the 844s # * LGPL linking clauses. 844s # */ 844s # 844s # #ifdef HAVE_CONFIG_H 844s # # include "config.h" 844s # #endif 844s # 844s # #include 844s # #ifdef G_OS_UNIX 844s # # include 844s # #endif 844s # 844s # #ifdef G_ENABLE_DEBUG 844s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 844s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 844s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 844s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 844s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 844s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 844s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 844s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 844s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 844s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 844s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 844s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 844s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 844s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 844s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 844s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 844s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 844s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 844s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 844s # #else /* !G_ENABLE_DEBUG */ 844s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 844s # * Do not access GValues directly in your code. Instead, use the 844s # * g_value_get_*() functions 844s # */ 844s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 844s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 844s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 844s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 844s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 844s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 844s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 844s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 844s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 844s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 844s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 844s # #endif /* !G_ENABLE_DEBUG */ 844s # 844s # typedef struct 844s # { 844s # GDBusArgInfo parent_struct; 844s # gboolean use_gvariant; 844s # } _ExtendedGDBusArgInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusMethodInfo parent_struct; 844s # const gchar *signal_name; 844s # gboolean pass_fdlist; 844s # } _ExtendedGDBusMethodInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusSignalInfo parent_struct; 844s # const gchar *signal_name; 844s # } _ExtendedGDBusSignalInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusPropertyInfo parent_struct; 844s # const gchar *hyphen_name; 844s # guint use_gvariant : 1; 844s # guint emits_changed_signal : 1; 844s # } _ExtendedGDBusPropertyInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusInterfaceInfo parent_struct; 844s # const gchar *hyphen_name; 844s # } _ExtendedGDBusInterfaceInfo; 844s # 844s # typedef struct 844s # { 844s # const _ExtendedGDBusPropertyInfo *info; 844s # guint prop_id; 844s # GValue orig_value; /* the value before the change */ 844s # } ChangedProperty; 844s # 844s # static void 844s # _changed_property_free (ChangedProperty *data) 844s # { 844s # g_value_unset (&data->orig_value); 844s # g_free (data); 844s # } 844s # 844s # static gboolean 844s # _g_strv_equal0 (gchar **a, gchar **b) 844s # { 844s # gboolean ret = FALSE; 844s # guint n; 844s # if (a == NULL && b == NULL) 844s # { 844s # ret = TRUE; 844s # goto out; 844s # } 844s # if (a == NULL || b == NULL) 844s # goto out; 844s # if (g_strv_length (a) != g_strv_length (b)) 844s # goto out; 844s # for (n = 0; a[n] != NULL; n++) 844s # if (g_strcmp0 (a[n], b[n]) != 0) 844s # goto out; 844s # ret = TRUE; 844s # out: 844s # return ret; 844s # } 844s # 844s # static gboolean 844s # _g_variant_equal0 (GVariant *a, GVariant *b) 844s # { 844s # gboolean ret = FALSE; 844s # if (a == NULL && b == NULL) 844s # { 844s # ret = TRUE; 844s # goto out; 844s # } 844s # if (a == NULL || b == NULL) 844s # goto out; 844s # ret = g_variant_equal (a, b); 844s # out: 844s # return ret; 844s # } 844s # 844s # G_GNUC_UNUSED static gboolean 844s # _g_value_equal (const GValue *a, const GValue *b) 844s # { 844s # gboolean ret = FALSE; 844s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 844s # switch (G_VALUE_TYPE (a)) 844s # { 844s # case G_TYPE_BOOLEAN: 844s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 844s # break; 844s # case G_TYPE_UCHAR: 844s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 844s # break; 844s # case G_TYPE_INT: 844s # ret = (g_value_get_int (a) == g_value_get_int (b)); 844s # break; 844s # case G_TYPE_UINT: 844s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 844s # break; 844s # case G_TYPE_INT64: 844s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 844s # break; 844s # case G_TYPE_UINT64: 844s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 844s # break; 844s # case G_TYPE_DOUBLE: 844s # { 844s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 844s # gdouble da = g_value_get_double (a); 844s # gdouble db = g_value_get_double (b); 844s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 844s # } 844s # break; 844s # case G_TYPE_STRING: 844s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 844s # break; 844s # case G_TYPE_VARIANT: 844s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 844s # break; 844s # default: 844s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 844s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 844s # else 844s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 844s # break; 844s # } 844s # return ret; 844s # } 844s # 844s # static void 844s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 844s # GClosure *closure, 844s # GValue *return_value, 844s # unsigned int n_param_values, 844s # const GValue *param_values, 844s # void *invocation_hint G_GNUC_UNUSED, 844s # void *marshal_data) 844s # { 844s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 844s # (void *data1, 844s # GDBusMethodInvocation *arg_method_invocation, 844s # gboolean arg_an_b, 844s # guchar arg_an_y, 844s # gint16 arg_an_n, 844s # guint16 arg_an_q, 844s # gint arg_an_i, 844s # guint arg_an_u, 844s # gint64 arg_an_x, 844s # guint64 arg_an_t, 844s # gdouble arg_an_d, 844s # const gchar *arg_an_s, 844s # const gchar *arg_an_o, 844s # const gchar *arg_an_g, 844s # GVariant *arg_an_h, 844s # const gchar *arg_an_ay, 844s # const gchar *const *arg_an_as, 844s # const gchar *const *arg_an_ao, 844s # const gchar *const *arg_an_aay, 844s # GVariant *arg_an_asv, 844s # void *data2); 844s # _GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 844s # GCClosure *cc = (GCClosure*) closure; 844s # void *data1, *data2; 844s # gboolean v_return; 844s # 844s # g_return_if_fail (return_value != NULL); 844s # g_return_if_fail (n_param_values == 20); 844s # 844s # if (G_CCLOSURE_SWAP_DATA (closure)) 844s # { 844s # data1 = closure->data; 844s # data2 = g_value_peek_pointer (param_values + 0); 844s # } 844s # else 844s # { 844s # data1 = g_value_peek_pointer (param_values + 0); 844s # data2 = closure->data; 844s # } 844s # 844s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 844s # (marshal_data ? marshal_data : cc->callback); 844s # 844s # v_return = 844s # callback (data1, 844s # g_marshal_value_peek_object (param_values + 1), 844s # g_marshal_value_peek_boolean (param_values + 2), 844s # g_marshal_value_peek_uchar (param_values + 3), 844s # g_marshal_value_peek_int (param_values + 4), 844s # g_marshal_value_peek_uint (param_values + 5), 844s # g_marshal_value_peek_int (param_values + 6), 844s # g_marshal_value_peek_uint (param_values + 7), 844s # g_marshal_value_peek_int64 (param_values + 8), 844s # g_marshal_value_peek_uint64 (param_values + 9), 844s # g_marshal_value_peek_double (param_values + 10), 844s # g_marshal_value_peek_string (param_values + 11), 844s # g_marshal_value_peek_string (param_values + 12), 844s # g_marshal_value_peek_string (param_values + 13), 844s # g_marshal_value_peek_variant (param_values + 14), 844s # g_marshal_value_peek_string (param_values + 15), 844s # g_marshal_value_peek_boxed (param_values + 16), 844s # g_marshal_value_peek_boxed (param_values + 17), 844s # g_marshal_value_peek_boxed (param_values + 18), 844s # g_marshal_value_peek_variant (param_values + 19), 844s # data2); 844s # 844s # g_value_set_boolean (return_value, v_return); 844s # } 844s # 844s # /* ------------------------------------------------------------------------ 844s # * Code for interface org.project.CallableIface 844s # * ------------------------------------------------------------------------ 844s # */ 844s # 844s # /** 844s # * SECTION:OrgProjectCallableIface 844s # * @title: OrgProjectCallableIface 844s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 844s # * 844s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 844s # */ 844s # 844s # /* ---- Introspection data for org.project.CallableIface ---- */ 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_b", 844s # (gchar *) "b", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_y", 844s # (gchar *) "y", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_n", 844s # (gchar *) "n", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_q", 844s # (gchar *) "q", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_i", 844s # (gchar *) "i", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_u", 844s # (gchar *) "u", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_x", 844s # (gchar *) "x", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_t", 844s # (gchar *) "t", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_d", 844s # (gchar *) "d", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_s", 844s # (gchar *) "s", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_o", 844s # (gchar *) "o", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_g", 844s # (gchar *) "g", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_h", 844s # (gchar *) "h", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_ay", 844s # (gchar *) "ay", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_as", 844s # (gchar *) "as", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_ao", 844s # (gchar *) "ao", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_aay", 844s # (gchar *) "aay", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_asv", 844s # (gchar *) "a{sv}", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 844s # { 844s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 844s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 844s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 844s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 844s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 844s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 844s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 844s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 844s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 844s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 844s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 844s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 844s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 844s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 844s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 844s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 844s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 844s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 844s # { 844s # { 844s # -1, 844s # (gchar *) "MethodWithManyArgs", 844s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 844s # NULL, 844s # NULL 844s # }, 844s # "handle-method-with-many-args", 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_b", 844s # (gchar *) "b", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_y", 844s # (gchar *) "y", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_n", 844s # (gchar *) "n", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_q", 844s # (gchar *) "q", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_i", 844s # (gchar *) "i", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_u", 844s # (gchar *) "u", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_x", 844s # (gchar *) "x", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_t", 844s # (gchar *) "t", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_d", 844s # (gchar *) "d", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_s", 844s # (gchar *) "s", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_o", 844s # (gchar *) "o", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_g", 844s # (gchar *) "g", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_h", 844s # (gchar *) "h", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_ay", 844s # (gchar *) "ay", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_as", 844s # (gchar *) "as", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_ao", 844s # (gchar *) "ao", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_aay", 844s # (gchar *) "aay", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_asv", 844s # (gchar *) "a{sv}", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers[] = 844s # { 844s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b.parent_struct, 844s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y.parent_struct, 844s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n.parent_struct, 844s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q.parent_struct, 844s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i.parent_struct, 844s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u.parent_struct, 844s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x.parent_struct, 844s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t.parent_struct, 844s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d.parent_struct, 844s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s.parent_struct, 844s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o.parent_struct, 844s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g.parent_struct, 844s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h.parent_struct, 844s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay.parent_struct, 844s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as.parent_struct, 844s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao.parent_struct, 844s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay.parent_struct, 844s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_same_method_with_many_args = 844s # { 844s # { 844s # -1, 844s # (gchar *) "SameMethodWithManyArgs", 844s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers, 844s # NULL, 844s # NULL 844s # }, 844s # "handle-same-method-with-many-args", 844s # FALSE 844s # }; 844s # 844s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 844s # { 844s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 844s # &_org_project_callable_iface_method_info_same_method_with_many_args.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 844s # { 844s # { 844s # -1, 844s # (gchar *) "org.project.CallableIface", 844s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 844s # NULL, 844s # NULL, 844s # NULL 844s # }, 844s # "org-project-callable-iface", 844s # }; 844s # 844s # 844s # /** 844s # * org_project_callable_iface_interface_info: 844s # * 844s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 844s # * 844s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 844s # */ 844s # GDBusInterfaceInfo * 844s # org_project_callable_iface_interface_info (void) 844s # { 844s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 844s # } 844s # 844s # /** 844s # * org_project_callable_iface_override_properties: 844s # * @klass: The class structure for a #GObject derived class. 844s # * @property_id_begin: The property id to assign to the first overridden property. 844s # * 844s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 844s # * The properties are overridden in the order they are defined. 844s # * 844s # * Returns: The last property id. 844s # */ 844s # guint 844s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 844s # { 844s # return property_id_begin - 1; 844s # } 844s # 844s # 844s # inline static void 844s # org_project_callable_iface_method_marshal_method_with_many_args ( 844s # GClosure *closure, 844s # GValue *return_value, 844s # unsigned int n_param_values, 844s # const GValue *param_values, 844s # void *invocation_hint, 844s # void *marshal_data) 844s # { 844s # _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, 844s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 844s # } 844s # 844s # inline static void 844s # org_project_callable_iface_method_marshal_same_method_with_many_args ( 844s # GClosure *closure, 844s # GValue *return_value, 844s # unsigned int n_param_values, 844s # const GValue *param_values, 844s # void *invocation_hint, 844s # void *marshal_data) 844s # { 844s # _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, 844s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 844s # } 844s # 844s # 844s # /** 844s # * OrgProjectCallableIface: 844s # * 844s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 844s # */ 844s # 844s # /** 844s # * OrgProjectCallableIfaceIface: 844s # * @parent_iface: The parent interface. 844s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 844s # * @handle_same_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-same-method-with-many-args signal. 844s # * 844s # * Virtual table for the D-Bus interface org.project.CallableIface. 844s # */ 844s # 844s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 844s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 844s # 844s # static void 844s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 844s # { 844s # /* GObject signals for incoming D-Bus method calls: */ 844s # /** 844s # * OrgProjectCallableIface::handle-method-with-many-args: 844s # * @object: A #OrgProjectCallableIface. 844s # * @invocation: A #GDBusMethodInvocation. 844s # * @arg_an_b: Argument passed by remote caller. 844s # * @arg_an_y: Argument passed by remote caller. 844s # * @arg_an_n: Argument passed by remote caller. 844s # * @arg_an_q: Argument passed by remote caller. 844s # * @arg_an_i: Argument passed by remote caller. 844s # * @arg_an_u: Argument passed by remote caller. 844s # * @arg_an_x: Argument passed by remote caller. 844s # * @arg_an_t: Argument passed by remote caller. 844s # * @arg_an_d: Argument passed by remote caller. 844s # * @arg_an_s: Argument passed by remote caller. 844s # * @arg_an_o: Argument passed by remote caller. 844s # * @arg_an_g: Argument passed by remote caller. 844s # * @arg_an_h: Argument passed by remote caller. 844s # * @arg_an_ay: Argument passed by remote caller. 844s # * @arg_an_as: Argument passed by remote caller. 844s # * @arg_an_ao: Argument passed by remote caller. 844s # * @arg_an_aay: Argument passed by remote caller. 844s # * @arg_an_asv: Argument passed by remote caller. 844s # * 844s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 844s # * 844s # * 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. 844s # * 844s # * 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. 844s # */ 844s # g_signal_new ("handle-method-with-many-args", 844s # G_TYPE_FROM_INTERFACE (iface), 844s # G_SIGNAL_RUN_LAST, 844s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 844s # g_signal_accumulator_true_handled, 844s # NULL, 844s # org_project_callable_iface_method_marshal_method_with_many_args, 844s # G_TYPE_BOOLEAN, 844s # 19, 844s # 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); 844s # 844s # /** 844s # * OrgProjectCallableIface::handle-same-method-with-many-args: 844s # * @object: A #OrgProjectCallableIface. 844s # * @invocation: A #GDBusMethodInvocation. 844s # * @arg_an_b: Argument passed by remote caller. 844s # * @arg_an_y: Argument passed by remote caller. 844s # * @arg_an_n: Argument passed by remote caller. 844s # * @arg_an_q: Argument passed by remote caller. 844s # * @arg_an_i: Argument passed by remote caller. 844s # * @arg_an_u: Argument passed by remote caller. 844s # * @arg_an_x: Argument passed by remote caller. 844s # * @arg_an_t: Argument passed by remote caller. 844s # * @arg_an_d: Argument passed by remote caller. 844s # * @arg_an_s: Argument passed by remote caller. 844s # * @arg_an_o: Argument passed by remote caller. 844s # * @arg_an_g: Argument passed by remote caller. 844s # * @arg_an_h: Argument passed by remote caller. 844s # * @arg_an_ay: Argument passed by remote caller. 844s # * @arg_an_as: Argument passed by remote caller. 844s # * @arg_an_ao: Argument passed by remote caller. 844s # * @arg_an_aay: Argument passed by remote caller. 844s # * @arg_an_asv: Argument passed by remote caller. 844s # * 844s # * Signal emitted when a remote caller is invoking the SameMethodWithManyArgs() D-Bus method. 844s # * 844s # * 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. 844s # * 844s # * 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. 844s # */ 844s # g_signal_new ("handle-same-method-with-many-args", 844s # G_TYPE_FROM_INTERFACE (iface), 844s # G_SIGNAL_RUN_LAST, 844s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_same_method_with_many_args), 844s # g_signal_accumulator_true_handled, 844s # NULL, 844s # org_project_callable_iface_method_marshal_same_method_with_many_args, 844s # G_TYPE_BOOLEAN, 844s # 19, 844s # 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); 844s # 844s # } 844s # 844s # /** 844s # * org_project_callable_iface_call_method_with_many_args: 844s # * @proxy: A #OrgProjectCallableIfaceProxy. 844s # * @arg_an_b: Argument to pass with the method invocation. 844s # * @arg_an_y: Argument to pass with the method invocation. 844s # * @arg_an_n: Argument to pass with the method invocation. 844s # * @arg_an_q: Argument to pass with the method invocation. 844s # * @arg_an_i: Argument to pass with the method invocation. 844s # * @arg_an_u: Argument to pass with the method invocation. 844s # * @arg_an_x: Argument to pass with the method invocation. 844s # * @arg_an_t: Argument to pass with the method invocation. 844s # * @arg_an_d: Argument to pass with the method invocation. 844s # * @arg_an_s: Argument to pass with the method invocation. 844s # * @arg_an_o: Argument to pass with the method invocation. 844s # * @arg_an_g: Argument to pass with the method invocation. 844s # * @arg_an_h: Argument to pass with the method invocation. 844s # * @arg_an_ay: Argument to pass with the method invocation. 844s # * @arg_an_as: Argument to pass with the method invocation. 844s # * @arg_an_ao: Argument to pass with the method invocation. 844s # * @arg_an_aay: Argument to pass with the method invocation. 844s # * @arg_an_asv: Argument to pass with the method invocation. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 844s # * 844s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 844s # */ 844s # void 844s # org_project_callable_iface_call_method_with_many_args ( 844s # OrgProjectCallableIface *proxy, 844s # gboolean arg_an_b, 844s # guchar arg_an_y, 844s # gint16 arg_an_n, 844s # guint16 arg_an_q, 844s # gint arg_an_i, 844s # guint arg_an_u, 844s # gint64 arg_an_x, 844s # guint64 arg_an_t, 844s # gdouble arg_an_d, 844s # const gchar *arg_an_s, 844s # const gchar *arg_an_o, 844s # const gchar *arg_an_g, 844s # GVariant *arg_an_h, 844s # const gchar *arg_an_ay, 844s # const gchar *const *arg_an_as, 844s # const gchar *const *arg_an_ao, 844s # const gchar *const *arg_an_aay, 844s # GVariant *arg_an_asv, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 844s # "MethodWithManyArgs", 844s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 844s # arg_an_b, 844s # arg_an_y, 844s # arg_an_n, 844s # arg_an_q, 844s # arg_an_i, 844s # arg_an_u, 844s # arg_an_x, 844s # arg_an_t, 844s # arg_an_d, 844s # arg_an_s, 844s # arg_an_o, 844s # arg_an_g, 844s # arg_an_h, 844s # arg_an_ay, 844s # arg_an_as, 844s # arg_an_ao, 844s # arg_an_aay, 844s # arg_an_asv), 844s # G_DBUS_CALL_FLAGS_NONE, 844s # -1, 844s # cancellable, 844s # callback, 844s # user_data); 844s # } 844s # 844s # /** 844s # * org_project_callable_iface_call_method_with_many_args_finish: 844s # * @proxy: A #OrgProjectCallableIfaceProxy. 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 844s # * @error: Return location for error or %NULL. 844s # * 844s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 844s # * 844s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 844s # */ 844s # gboolean 844s # org_project_callable_iface_call_method_with_many_args_finish ( 844s # OrgProjectCallableIface *proxy, 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GVariant *_ret; 844s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 844s # if (_ret == NULL) 844s # goto _out; 844s # g_variant_get (_ret, 844s # "()"); 844s # g_variant_unref (_ret); 844s # _out: 844s # return _ret != NULL; 844s # } 844s # 844s # /** 844s # * org_project_callable_iface_call_method_with_many_args_sync: 844s # * @proxy: A #OrgProjectCallableIfaceProxy. 844s # * @arg_an_b: Argument to pass with the method invocation. 844s # * @arg_an_y: Argument to pass with the method invocation. 844s # * @arg_an_n: Argument to pass with the method invocation. 844s # * @arg_an_q: Argument to pass with the method invocation. 844s # * @arg_an_i: Argument to pass with the method invocation. 844s # * @arg_an_u: Argument to pass with the method invocation. 844s # * @arg_an_x: Argument to pass with the method invocation. 844s # * @arg_an_t: Argument to pass with the method invocation. 844s # * @arg_an_d: Argument to pass with the method invocation. 844s # * @arg_an_s: Argument to pass with the method invocation. 844s # * @arg_an_o: Argument to pass with the method invocation. 844s # * @arg_an_g: Argument to pass with the method invocation. 844s # * @arg_an_h: Argument to pass with the method invocation. 844s # * @arg_an_ay: Argument to pass with the method invocation. 844s # * @arg_an_as: Argument to pass with the method invocation. 844s # * @arg_an_ao: Argument to pass with the method invocation. 844s # * @arg_an_aay: Argument to pass with the method invocation. 844s # * @arg_an_asv: Argument to pass with the method invocation. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL. 844s # * 844s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 844s # * 844s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 844s # */ 844s # gboolean 844s # org_project_callable_iface_call_method_with_many_args_sync ( 844s # OrgProjectCallableIface *proxy, 844s # gboolean arg_an_b, 844s # guchar arg_an_y, 844s # gint16 arg_an_n, 844s # guint16 arg_an_q, 844s # gint arg_an_i, 844s # guint arg_an_u, 844s # gint64 arg_an_x, 844s # guint64 arg_an_t, 844s # gdouble arg_an_d, 844s # const gchar *arg_an_s, 844s # const gchar *arg_an_o, 844s # const gchar *arg_an_g, 844s # GVariant *arg_an_h, 844s # const gchar *arg_an_ay, 844s # const gchar *const *arg_an_as, 844s # const gchar *const *arg_an_ao, 844s # const gchar *const *arg_an_aay, 844s # GVariant *arg_an_asv, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GVariant *_ret; 844s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 844s # "MethodWithManyArgs", 844s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 844s # arg_an_b, 844s # arg_an_y, 844s # arg_an_n, 844s # arg_an_q, 844s # arg_an_i, 844s # arg_an_u, 844s # arg_an_x, 844s # arg_an_t, 844s # arg_an_d, 844s # arg_an_s, 844s # arg_an_o, 844s # arg_an_g, 844s # arg_an_h, 844s # arg_an_ay, 844s # arg_an_as, 844s # arg_an_ao, 844s # arg_an_aay, 844s # arg_an_asv), 844s # G_DBUS_CALL_FLAGS_NONE, 844s # -1, 844s # cancellable, 844s # error); 844s # if (_ret == NULL) 844s # goto _out; 844s # g_variant_get (_ret, 844s # "()"); 844s # g_variant_unref (_ret); 844s # _out: 844s # return _ret != NULL; 844s # } 844s # 844s # /** 844s # * org_project_callable_iface_call_same_method_with_many_args: 844s # * @proxy: A #OrgProjectCallableIfaceProxy. 844s # * @arg_an_b: Argument to pass with the method invocation. 844s # * @arg_an_y: Argument to pass with the method invocation. 844s # * @arg_an_n: Argument to pass with the method invocation. 844s # * @arg_an_q: Argument to pass with the method invocation. 844s # * @arg_an_i: Argument to pass with the method invocation. 844s # * @arg_an_u: Argument to pass with the method invocation. 844s # * @arg_an_x: Argument to pass with the method invocation. 844s # * @arg_an_t: Argument to pass with the method invocation. 844s # * @arg_an_d: Argument to pass with the method invocation. 844s # * @arg_an_s: Argument to pass with the method invocation. 844s # * @arg_an_o: Argument to pass with the method invocation. 844s # * @arg_an_g: Argument to pass with the method invocation. 844s # * @arg_an_h: Argument to pass with the method invocation. 844s # * @arg_an_ay: Argument to pass with the method invocation. 844s # * @arg_an_as: Argument to pass with the method invocation. 844s # * @arg_an_ao: Argument to pass with the method invocation. 844s # * @arg_an_aay: Argument to pass with the method invocation. 844s # * @arg_an_asv: Argument to pass with the method invocation. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Asynchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_callable_iface_call_same_method_with_many_args_finish() to get the result of the operation. 844s # * 844s # * See org_project_callable_iface_call_same_method_with_many_args_sync() for the synchronous, blocking version of this method. 844s # */ 844s # void 844s # org_project_callable_iface_call_same_method_with_many_args ( 844s # OrgProjectCallableIface *proxy, 844s # gboolean arg_an_b, 844s # guchar arg_an_y, 844s # gint16 arg_an_n, 844s # guint16 arg_an_q, 844s # gint arg_an_i, 844s # guint arg_an_u, 844s # gint64 arg_an_x, 844s # guint64 arg_an_t, 844s # gdouble arg_an_d, 844s # const gchar *arg_an_s, 844s # const gchar *arg_an_o, 844s # const gchar *arg_an_g, 844s # GVariant *arg_an_h, 844s # const gchar *arg_an_ay, 844s # const gchar *const *arg_an_as, 844s # const gchar *const *arg_an_ao, 844s # const gchar *const *arg_an_aay, 844s # GVariant *arg_an_asv, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 844s # "SameMethodWithManyArgs", 844s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 844s # arg_an_b, 844s # arg_an_y, 844s # arg_an_n, 844s # arg_an_q, 844s # arg_an_i, 844s # arg_an_u, 844s # arg_an_x, 844s # arg_an_t, 844s # arg_an_d, 844s # arg_an_s, 844s # arg_an_o, 844s # arg_an_g, 844s # arg_an_h, 844s # arg_an_ay, 844s # arg_an_as, 844s # arg_an_ao, 844s # arg_an_aay, 844s # arg_an_asv), 844s # G_DBUS_CALL_FLAGS_NONE, 844s # -1, 844s # cancellable, 844s # callback, 844s # user_data); 844s # } 844s # 844s # /** 844s # * org_project_callable_iface_call_same_method_with_many_args_finish: 844s # * @proxy: A #OrgProjectCallableIfaceProxy. 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_same_method_with_many_args(). 844s # * @error: Return location for error or %NULL. 844s # * 844s # * Finishes an operation started with org_project_callable_iface_call_same_method_with_many_args(). 844s # * 844s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 844s # */ 844s # gboolean 844s # org_project_callable_iface_call_same_method_with_many_args_finish ( 844s # OrgProjectCallableIface *proxy, 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GVariant *_ret; 844s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 844s # if (_ret == NULL) 844s # goto _out; 844s # g_variant_get (_ret, 844s # "()"); 844s # g_variant_unref (_ret); 844s # _out: 844s # return _ret != NULL; 844s # } 844s # 844s # /** 844s # * org_project_callable_iface_call_same_method_with_many_args_sync: 844s # * @proxy: A #OrgProjectCallableIfaceProxy. 844s # * @arg_an_b: Argument to pass with the method invocation. 844s # * @arg_an_y: Argument to pass with the method invocation. 844s # * @arg_an_n: Argument to pass with the method invocation. 844s # * @arg_an_q: Argument to pass with the method invocation. 844s # * @arg_an_i: Argument to pass with the method invocation. 844s # * @arg_an_u: Argument to pass with the method invocation. 844s # * @arg_an_x: Argument to pass with the method invocation. 844s # * @arg_an_t: Argument to pass with the method invocation. 844s # * @arg_an_d: Argument to pass with the method invocation. 844s # * @arg_an_s: Argument to pass with the method invocation. 844s # * @arg_an_o: Argument to pass with the method invocation. 844s # * @arg_an_g: Argument to pass with the method invocation. 844s # * @arg_an_h: Argument to pass with the method invocation. 844s # * @arg_an_ay: Argument to pass with the method invocation. 844s # * @arg_an_as: Argument to pass with the method invocation. 844s # * @arg_an_ao: Argument to pass with the method invocation. 844s # * @arg_an_aay: Argument to pass with the method invocation. 844s # * @arg_an_asv: Argument to pass with the method invocation. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL. 844s # * 844s # * Synchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_callable_iface_call_same_method_with_many_args() for the asynchronous version of this method. 844s # * 844s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 844s # */ 844s # gboolean 844s # org_project_callable_iface_call_same_method_with_many_args_sync ( 844s # OrgProjectCallableIface *proxy, 844s # gboolean arg_an_b, 844s # guchar arg_an_y, 844s # gint16 arg_an_n, 844s # guint16 arg_an_q, 844s # gint arg_an_i, 844s # guint arg_an_u, 844s # gint64 arg_an_x, 844s # guint64 arg_an_t, 844s # gdouble arg_an_d, 844s # const gchar *arg_an_s, 844s # const gchar *arg_an_o, 844s # const gchar *arg_an_g, 844s # GVariant *arg_an_h, 844s # const gchar *arg_an_ay, 844s # const gchar *const *arg_an_as, 844s # const gchar *const *arg_an_ao, 844s # const gchar *const *arg_an_aay, 844s # GVariant *arg_an_asv, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GVariant *_ret; 844s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 844s # "SameMethodWithManyArgs", 844s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 844s # arg_an_b, 844s # arg_an_y, 844s # arg_an_n, 844s # arg_an_q, 844s # arg_an_i, 844s # arg_an_u, 844s # arg_an_x, 844s # arg_an_t, 844s # arg_an_d, 844s # arg_an_s, 844s # arg_an_o, 844s # arg_an_g, 844s # arg_an_h, 844s # arg_an_ay, 844s # arg_an_as, 844s # arg_an_ao, 844s # arg_an_aay, 844s # arg_an_asv), 844s # G_DBUS_CALL_FLAGS_NONE, 844s # -1, 844s # cancellable, 844s # error); 844s # if (_ret == NULL) 844s # goto _out; 844s # g_variant_get (_ret, 844s # "()"); 844s # g_variant_unref (_ret); 844s # _out: 844s # return _ret != NULL; 844s # } 844s # 844s # /** 844s # * org_project_callable_iface_complete_method_with_many_args: 844s # * @object: A #OrgProjectCallableIface. 844s # * @invocation: (transfer full): A #GDBusMethodInvocation. 844s # * 844s # * 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. 844s # * 844s # * This method will free @invocation, you cannot use it afterwards. 844s # */ 844s # void 844s # org_project_callable_iface_complete_method_with_many_args ( 844s # OrgProjectCallableIface *object G_GNUC_UNUSED, 844s # GDBusMethodInvocation *invocation) 844s # { 844s # g_dbus_method_invocation_return_value (invocation, 844s # g_variant_new ("()")); 844s # } 844s # 844s # /** 844s # * org_project_callable_iface_complete_same_method_with_many_args: 844s # * @object: A #OrgProjectCallableIface. 844s # * @invocation: (transfer full): A #GDBusMethodInvocation. 844s # * 844s # * 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. 844s # * 844s # * This method will free @invocation, you cannot use it afterwards. 844s # */ 844s # void 844s # org_project_callable_iface_complete_same_method_with_many_args ( 844s # OrgProjectCallableIface *object G_GNUC_UNUSED, 844s # GDBusMethodInvocation *invocation) 844s # { 844s # g_dbus_method_invocation_return_value (invocation, 844s # g_variant_new ("()")); 844s # } 844s # 844s # /* ------------------------------------------------------------------------ */ 844s # 844s # /** 844s # * OrgProjectCallableIfaceProxy: 844s # * 844s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 844s # */ 844s # 844s # /** 844s # * OrgProjectCallableIfaceProxyClass: 844s # * @parent_class: The parent class. 844s # * 844s # * Class structure for #OrgProjectCallableIfaceProxy. 844s # */ 844s # 844s # struct _OrgProjectCallableIfaceProxyPrivate 844s # { 844s # GData *qdata; 844s # }; 844s # 844s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 844s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 844s # 844s # #else 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 844s # 844s # #endif 844s # static void 844s # org_project_callable_iface_proxy_finalize (GObject *object) 844s # { 844s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 844s # g_datalist_clear (&proxy->priv->qdata); 844s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 844s # } 844s # 844s # static void 844s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 844s # guint prop_id G_GNUC_UNUSED, 844s # GValue *value G_GNUC_UNUSED, 844s # GParamSpec *pspec G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void 844s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 844s # guint prop_id G_GNUC_UNUSED, 844s # const GValue *value G_GNUC_UNUSED, 844s # GParamSpec *pspec G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void 844s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 844s # const gchar *sender_name G_GNUC_UNUSED, 844s # const gchar *signal_name, 844s # GVariant *parameters) 844s # { 844s # _ExtendedGDBusSignalInfo *info; 844s # GVariantIter iter; 844s # GVariant *child; 844s # GValue *paramv; 844s # gsize num_params; 844s # gsize n; 844s # guint signal_id; 844s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 844s # if (info == NULL) 844s # return; 844s # num_params = g_variant_n_children (parameters); 844s # paramv = g_new0 (GValue, num_params + 1); 844s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 844s # g_value_set_object (¶mv[0], proxy); 844s # g_variant_iter_init (&iter, parameters); 844s # n = 1; 844s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 844s # { 844s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 844s # if (arg_info->use_gvariant) 844s # { 844s # g_value_init (¶mv[n], G_TYPE_VARIANT); 844s # g_value_set_variant (¶mv[n], child); 844s # n++; 844s # } 844s # else 844s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 844s # g_variant_unref (child); 844s # } 844s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 844s # g_signal_emitv (paramv, signal_id, 0, NULL); 844s # for (n = 0; n < num_params + 1; n++) 844s # g_value_unset (¶mv[n]); 844s # g_free (paramv); 844s # } 844s # 844s # static void 844s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 844s # GVariant *changed_properties, 844s # const gchar *const *invalidated_properties) 844s # { 844s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 844s # guint n; 844s # const gchar *key; 844s # GVariantIter *iter; 844s # _ExtendedGDBusPropertyInfo *info; 844s # g_variant_get (changed_properties, "a{sv}", &iter); 844s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 844s # { 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 844s # g_datalist_remove_data (&proxy->priv->qdata, key); 844s # if (info != NULL) 844s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 844s # } 844s # g_variant_iter_free (iter); 844s # for (n = 0; invalidated_properties[n] != NULL; n++) 844s # { 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 844s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 844s # if (info != NULL) 844s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 844s # } 844s # } 844s # 844s # static void 844s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 844s # { 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 844s # #else 844s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 844s # #endif 844s # 844s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 844s # } 844s # 844s # static void 844s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 844s # { 844s # GObjectClass *gobject_class; 844s # GDBusProxyClass *proxy_class; 844s # 844s # gobject_class = G_OBJECT_CLASS (klass); 844s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 844s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 844s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 844s # 844s # proxy_class = G_DBUS_PROXY_CLASS (klass); 844s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 844s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 844s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 844s # #endif 844s # } 844s # 844s # static void 844s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # /** 844s # * org_project_callable_iface_proxy_new: 844s # * @connection: A #GDBusConnection. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 844s # * 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 844s # * 844s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 844s # */ 844s # void 844s # org_project_callable_iface_proxy_new ( 844s # GDBusConnection *connection, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # 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); 844s # } 844s # 844s # /** 844s # * org_project_callable_iface_proxy_new_finish: 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 844s # * @error: Return location for error or %NULL 844s # * 844s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 844s # * 844s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectCallableIface * 844s # org_project_callable_iface_proxy_new_finish ( 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GObject *ret; 844s # GObject *source_object; 844s # source_object = g_async_result_get_source_object (res); 844s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 844s # g_object_unref (source_object); 844s # if (ret != NULL) 844s # return ORG_PROJECT_CALLABLE_IFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # /** 844s # * org_project_callable_iface_proxy_new_sync: 844s # * @connection: A #GDBusConnection. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL 844s # * 844s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 844s # * 844s # * The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 844s # * 844s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectCallableIface * 844s # org_project_callable_iface_proxy_new_sync ( 844s # GDBusConnection *connection, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GInitable *ret; 844s # 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); 844s # if (ret != NULL) 844s # return ORG_PROJECT_CALLABLE_IFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # 844s # /** 844s # * org_project_callable_iface_proxy_new_for_bus: 844s # * @bus_type: A #GBusType. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: A bus name (well-known or unique). 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 844s # * 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 844s # * 844s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 844s # */ 844s # void 844s # org_project_callable_iface_proxy_new_for_bus ( 844s # GBusType bus_type, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # 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); 844s # } 844s # 844s # /** 844s # * org_project_callable_iface_proxy_new_for_bus_finish: 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 844s # * @error: Return location for error or %NULL 844s # * 844s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 844s # * 844s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectCallableIface * 844s # org_project_callable_iface_proxy_new_for_bus_finish ( 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GObject *ret; 844s # GObject *source_object; 844s # source_object = g_async_result_get_source_object (res); 844s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 844s # g_object_unref (source_object); 844s # if (ret != NULL) 844s # return ORG_PROJECT_CALLABLE_IFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # /** 844s # * org_project_callable_iface_proxy_new_for_bus_sync: 844s # * @bus_type: A #GBusType. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: A bus name (well-known or unique). 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL 844s # * 844s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 844s # * 844s # * The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 844s # * 844s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectCallableIface * 844s # org_project_callable_iface_proxy_new_for_bus_sync ( 844s # GBusType bus_type, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GInitable *ret; 844s # 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); 844s # if (ret != NULL) 844s # return ORG_PROJECT_CALLABLE_IFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # 844s # /* ------------------------------------------------------------------------ */ 844s # 844s # /** 844s # * OrgProjectCallableIfaceSkeleton: 844s # * 844s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 844s # */ 844s # 844s # /** 844s # * OrgProjectCallableIfaceSkeletonClass: 844s # * @parent_class: The parent class. 844s # * 844s # * Class structure for #OrgProjectCallableIfaceSkeleton. 844s # */ 844s # 844s # struct _OrgProjectCallableIfaceSkeletonPrivate 844s # { 844s # GValue *properties; 844s # GList *changed_properties; 844s # GSource *changed_properties_idle_source; 844s # GMainContext *context; 844s # GMutex lock; 844s # }; 844s # 844s # static void 844s # _org_project_callable_iface_skeleton_handle_method_call ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name, 844s # const gchar *method_name, 844s # GVariant *parameters, 844s # GDBusMethodInvocation *invocation, 844s # gpointer user_data) 844s # { 844s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 844s # _ExtendedGDBusMethodInfo *info; 844s # GVariantIter iter; 844s # GVariant *child; 844s # GValue *paramv; 844s # gsize num_params; 844s # guint num_extra; 844s # gsize n; 844s # guint signal_id; 844s # GValue return_value = G_VALUE_INIT; 844s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 844s # g_assert (info != NULL); 844s # num_params = g_variant_n_children (parameters); 844s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 844s # n = 0; 844s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 844s # g_value_set_object (¶mv[n++], skeleton); 844s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 844s # g_value_set_object (¶mv[n++], invocation); 844s # if (info->pass_fdlist) 844s # { 844s # #ifdef G_OS_UNIX 844s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 844s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 844s # #else 844s # g_assert_not_reached (); 844s # #endif 844s # } 844s # g_variant_iter_init (&iter, parameters); 844s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 844s # { 844s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 844s # if (arg_info->use_gvariant) 844s # { 844s # g_value_init (¶mv[n], G_TYPE_VARIANT); 844s # g_value_set_variant (¶mv[n], child); 844s # n++; 844s # } 844s # else 844s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 844s # g_variant_unref (child); 844s # } 844s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 844s # g_value_init (&return_value, G_TYPE_BOOLEAN); 844s # g_signal_emitv (paramv, signal_id, 0, &return_value); 844s # if (!g_value_get_boolean (&return_value)) 844s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 844s # g_value_unset (&return_value); 844s # for (n = 0; n < num_params + num_extra; n++) 844s # g_value_unset (¶mv[n]); 844s # g_free (paramv); 844s # } 844s # 844s # static GVariant * 844s # _org_project_callable_iface_skeleton_handle_get_property ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name G_GNUC_UNUSED, 844s # const gchar *property_name, 844s # GError **error, 844s # gpointer user_data) 844s # { 844s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 844s # GValue value = G_VALUE_INIT; 844s # GParamSpec *pspec; 844s # _ExtendedGDBusPropertyInfo *info; 844s # GVariant *ret; 844s # ret = NULL; 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 844s # g_assert (info != NULL); 844s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 844s # if (pspec == NULL) 844s # { 844s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 844s # } 844s # else 844s # { 844s # g_value_init (&value, pspec->value_type); 844s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 844s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 844s # g_value_unset (&value); 844s # } 844s # return ret; 844s # } 844s # 844s # static gboolean 844s # _org_project_callable_iface_skeleton_handle_set_property ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name G_GNUC_UNUSED, 844s # const gchar *property_name, 844s # GVariant *variant, 844s # GError **error, 844s # gpointer user_data) 844s # { 844s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 844s # GValue value = G_VALUE_INIT; 844s # GParamSpec *pspec; 844s # _ExtendedGDBusPropertyInfo *info; 844s # gboolean ret; 844s # ret = FALSE; 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 844s # g_assert (info != NULL); 844s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 844s # if (pspec == NULL) 844s # { 844s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 844s # } 844s # else 844s # { 844s # if (info->use_gvariant) 844s # g_value_set_variant (&value, variant); 844s # else 844s # g_dbus_gvariant_to_gvalue (variant, &value); 844s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 844s # g_value_unset (&value); 844s # ret = TRUE; 844s # } 844s # return ret; 844s # } 844s # 844s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 844s # { 844s # _org_project_callable_iface_skeleton_handle_method_call, 844s # _org_project_callable_iface_skeleton_handle_get_property, 844s # _org_project_callable_iface_skeleton_handle_set_property, 844s # {NULL} 844s # }; 844s # 844s # static GDBusInterfaceInfo * 844s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 844s # { 844s # return org_project_callable_iface_interface_info (); 844s # } 844s # 844s # static GDBusInterfaceVTable * 844s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 844s # { 844s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 844s # } 844s # 844s # static GVariant * 844s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 844s # { 844s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 844s # 844s # GVariantBuilder builder; 844s # guint n; 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 844s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 844s # #else 844s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 844s # #endif 844s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 844s # goto out; 844s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 844s # { 844s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 844s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 844s # { 844s # GVariant *value; 844s # 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); 844s # if (value != NULL) 844s # { 844s # g_variant_take_ref (value); 844s # g_variant_builder_add (&builder, "{sv}", info->name, value); 844s # g_variant_unref (value); 844s # } 844s # } 844s # } 844s # out: 844s # return g_variant_builder_end (&builder); 844s # } 844s # 844s # static void 844s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 844s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 844s # 844s # #else 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 844s # 844s # #endif 844s # static void 844s # org_project_callable_iface_skeleton_finalize (GObject *object) 844s # { 844s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 844s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 844s # if (skeleton->priv->changed_properties_idle_source != NULL) 844s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 844s # g_main_context_unref (skeleton->priv->context); 844s # g_mutex_clear (&skeleton->priv->lock); 844s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 844s # } 844s # 844s # static void 844s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 844s # { 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 844s # #else 844s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 844s # #endif 844s # 844s # g_mutex_init (&skeleton->priv->lock); 844s # skeleton->priv->context = g_main_context_ref_thread_default (); 844s # } 844s # 844s # static void 844s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 844s # { 844s # GObjectClass *gobject_class; 844s # GDBusInterfaceSkeletonClass *skeleton_class; 844s # 844s # gobject_class = G_OBJECT_CLASS (klass); 844s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 844s # 844s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 844s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 844s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 844s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 844s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 844s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 844s # #endif 844s # } 844s # 844s # static void 844s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # /** 844s # * org_project_callable_iface_skeleton_new: 844s # * 844s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 844s # * 844s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 844s # */ 844s # OrgProjectCallableIface * 844s # org_project_callable_iface_skeleton_new (void) 844s # { 844s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 844s # } 844s # 844s # /* ------------------------------------------------------------------------ 844s # * Code for interface org.project.OtherCallableIface 844s # * ------------------------------------------------------------------------ 844s # */ 844s # 844s # /** 844s # * SECTION:OrgProjectOtherCallableIface 844s # * @title: OrgProjectOtherCallableIface 844s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 844s # * 844s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 844s # */ 844s # 844s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_b", 844s # (gchar *) "b", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_y", 844s # (gchar *) "y", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_n", 844s # (gchar *) "n", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_q", 844s # (gchar *) "q", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_i", 844s # (gchar *) "i", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_u", 844s # (gchar *) "u", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_x", 844s # (gchar *) "x", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_t", 844s # (gchar *) "t", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_d", 844s # (gchar *) "d", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_s", 844s # (gchar *) "s", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_o", 844s # (gchar *) "o", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_g", 844s # (gchar *) "g", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_h", 844s # (gchar *) "h", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_ay", 844s # (gchar *) "ay", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_as", 844s # (gchar *) "as", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_ao", 844s # (gchar *) "ao", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_aay", 844s # (gchar *) "aay", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_asv", 844s # (gchar *) "a{sv}", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const GDBusArgInfo * const _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 844s # { 844s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 844s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 844s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 844s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 844s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 844s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 844s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 844s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 844s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 844s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 844s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 844s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 844s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 844s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 844s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 844s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 844s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 844s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_method_with_many_args = 844s # { 844s # { 844s # -1, 844s # (gchar *) "MethodWithManyArgs", 844s # (GDBusArgInfo **) &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 844s # NULL, 844s # NULL 844s # }, 844s # "handle-method-with-many-args", 844s # FALSE 844s # }; 844s # 844s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 844s # { 844s # &_org_project_other_callable_iface_method_info_method_with_many_args.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 844s # { 844s # { 844s # -1, 844s # (gchar *) "org.project.OtherCallableIface", 844s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 844s # NULL, 844s # NULL, 844s # NULL 844s # }, 844s # "org-project-other-callable-iface", 844s # }; 844s # 844s # 844s # /** 844s # * org_project_other_callable_iface_interface_info: 844s # * 844s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 844s # * 844s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 844s # */ 844s # GDBusInterfaceInfo * 844s # org_project_other_callable_iface_interface_info (void) 844s # { 844s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 844s # } 844s # 844s # /** 844s # * org_project_other_callable_iface_override_properties: 844s # * @klass: The class structure for a #GObject derived class. 844s # * @property_id_begin: The property id to assign to the first overridden property. 844s # * 844s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 844s # * The properties are overridden in the order they are defined. 844s # * 844s # * Returns: The last property id. 844s # */ 844s # guint 844s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 844s # { 844s # return property_id_begin - 1; 844s # } 844s # 844s # 844s # inline static void 844s # org_project_other_callable_iface_method_marshal_method_with_many_args ( 844s # GClosure *closure, 844s # GValue *return_value, 844s # unsigned int n_param_values, 844s # const GValue *param_values, 844s # void *invocation_hint, 844s # void *marshal_data) 844s # { 844s # _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, 844s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 844s # } 844s # 844s # 844s # /** 844s # * OrgProjectOtherCallableIface: 844s # * 844s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 844s # */ 844s # 844s # /** 844s # * OrgProjectOtherCallableIfaceIface: 844s # * @parent_iface: The parent interface. 844s # * @handle_method_with_many_args: Handler for the #OrgProjectOtherCallableIface::handle-method-with-many-args signal. 844s # * 844s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 844s # */ 844s # 844s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 844s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 844s # 844s # static void 844s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 844s # { 844s # /* GObject signals for incoming D-Bus method calls: */ 844s # /** 844s # * OrgProjectOtherCallableIface::handle-method-with-many-args: 844s # * @object: A #OrgProjectOtherCallableIface. 844s # * @invocation: A #GDBusMethodInvocation. 844s # * @arg_an_b: Argument passed by remote caller. 844s # * @arg_an_y: Argument passed by remote caller. 844s # * @arg_an_n: Argument passed by remote caller. 844s # * @arg_an_q: Argument passed by remote caller. 844s # * @arg_an_i: Argument passed by remote caller. 844s # * @arg_an_u: Argument passed by remote caller. 844s # * @arg_an_x: Argument passed by remote caller. 844s # * @arg_an_t: Argument passed by remote caller. 844s # * @arg_an_d: Argument passed by remote caller. 844s # * @arg_an_s: Argument passed by remote caller. 844s # * @arg_an_o: Argument passed by remote caller. 844s # * @arg_an_g: Argument passed by remote caller. 844s # * @arg_an_h: Argument passed by remote caller. 844s # * @arg_an_ay: Argument passed by remote caller. 844s # * @arg_an_as: Argument passed by remote caller. 844s # * @arg_an_ao: Argument passed by remote caller. 844s # * @arg_an_aay: Argument passed by remote caller. 844s # * @arg_an_asv: Argument passed by remote caller. 844s # * 844s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 844s # * 844s # * 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. 844s # * 844s # * 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. 844s # */ 844s # g_signal_new ("handle-method-with-many-args", 844s # G_TYPE_FROM_INTERFACE (iface), 844s # G_SIGNAL_RUN_LAST, 844s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_method_with_many_args), 844s # g_signal_accumulator_true_handled, 844s # NULL, 844s # org_project_other_callable_iface_method_marshal_method_with_many_args, 844s # G_TYPE_BOOLEAN, 844s # 19, 844s # 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); 844s # 844s # } 844s # 844s # /** 844s # * org_project_other_callable_iface_call_method_with_many_args: 844s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 844s # * @arg_an_b: Argument to pass with the method invocation. 844s # * @arg_an_y: Argument to pass with the method invocation. 844s # * @arg_an_n: Argument to pass with the method invocation. 844s # * @arg_an_q: Argument to pass with the method invocation. 844s # * @arg_an_i: Argument to pass with the method invocation. 844s # * @arg_an_u: Argument to pass with the method invocation. 844s # * @arg_an_x: Argument to pass with the method invocation. 844s # * @arg_an_t: Argument to pass with the method invocation. 844s # * @arg_an_d: Argument to pass with the method invocation. 844s # * @arg_an_s: Argument to pass with the method invocation. 844s # * @arg_an_o: Argument to pass with the method invocation. 844s # * @arg_an_g: Argument to pass with the method invocation. 844s # * @arg_an_h: Argument to pass with the method invocation. 844s # * @arg_an_ay: Argument to pass with the method invocation. 844s # * @arg_an_as: Argument to pass with the method invocation. 844s # * @arg_an_ao: Argument to pass with the method invocation. 844s # * @arg_an_aay: Argument to pass with the method invocation. 844s # * @arg_an_asv: Argument to pass with the method invocation. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_other_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 844s # * 844s # * See org_project_other_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 844s # */ 844s # void 844s # org_project_other_callable_iface_call_method_with_many_args ( 844s # OrgProjectOtherCallableIface *proxy, 844s # gboolean arg_an_b, 844s # guchar arg_an_y, 844s # gint16 arg_an_n, 844s # guint16 arg_an_q, 844s # gint arg_an_i, 844s # guint arg_an_u, 844s # gint64 arg_an_x, 844s # guint64 arg_an_t, 844s # gdouble arg_an_d, 844s # const gchar *arg_an_s, 844s # const gchar *arg_an_o, 844s # const gchar *arg_an_g, 844s # GVariant *arg_an_h, 844s # const gchar *arg_an_ay, 844s # const gchar *const *arg_an_as, 844s # const gchar *const *arg_an_ao, 844s # const gchar *const *arg_an_aay, 844s # GVariant *arg_an_asv, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 844s # "MethodWithManyArgs", 844s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 844s # arg_an_b, 844s # arg_an_y, 844s # arg_an_n, 844s # arg_an_q, 844s # arg_an_i, 844s # arg_an_u, 844s # arg_an_x, 844s # arg_an_t, 844s # arg_an_d, 844s # arg_an_s, 844s # arg_an_o, 844s # arg_an_g, 844s # arg_an_h, 844s # arg_an_ay, 844s # arg_an_as, 844s # arg_an_ao, 844s # arg_an_aay, 844s # arg_an_asv), 844s # G_DBUS_CALL_FLAGS_NONE, 844s # -1, 844s # cancellable, 844s # callback, 844s # user_data); 844s # } 844s # 844s # /** 844s # * org_project_other_callable_iface_call_method_with_many_args_finish: 844s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_method_with_many_args(). 844s # * @error: Return location for error or %NULL. 844s # * 844s # * Finishes an operation started with org_project_other_callable_iface_call_method_with_many_args(). 844s # * 844s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 844s # */ 844s # gboolean 844s # org_project_other_callable_iface_call_method_with_many_args_finish ( 844s # OrgProjectOtherCallableIface *proxy, 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GVariant *_ret; 844s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 844s # if (_ret == NULL) 844s # goto _out; 844s # g_variant_get (_ret, 844s # "()"); 844s # g_variant_unref (_ret); 844s # _out: 844s # return _ret != NULL; 844s # } 844s # 844s # /** 844s # * org_project_other_callable_iface_call_method_with_many_args_sync: 844s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 844s # * @arg_an_b: Argument to pass with the method invocation. 844s # * @arg_an_y: Argument to pass with the method invocation. 844s # * @arg_an_n: Argument to pass with the method invocation. 844s # * @arg_an_q: Argument to pass with the method invocation. 844s # * @arg_an_i: Argument to pass with the method invocation. 844s # * @arg_an_u: Argument to pass with the method invocation. 844s # * @arg_an_x: Argument to pass with the method invocation. 844s # * @arg_an_t: Argument to pass with the method invocation. 844s # * @arg_an_d: Argument to pass with the method invocation. 844s # * @arg_an_s: Argument to pass with the method invocation. 844s # * @arg_an_o: Argument to pass with the method invocation. 844s # * @arg_an_g: Argument to pass with the method invocation. 844s # * @arg_an_h: Argument to pass with the method invocation. 844s # * @arg_an_ay: Argument to pass with the method invocation. 844s # * @arg_an_as: Argument to pass with the method invocation. 844s # * @arg_an_ao: Argument to pass with the method invocation. 844s # * @arg_an_aay: Argument to pass with the method invocation. 844s # * @arg_an_asv: Argument to pass with the method invocation. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL. 844s # * 844s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_other_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 844s # * 844s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 844s # */ 844s # gboolean 844s # org_project_other_callable_iface_call_method_with_many_args_sync ( 844s # OrgProjectOtherCallableIface *proxy, 844s # gboolean arg_an_b, 844s # guchar arg_an_y, 844s # gint16 arg_an_n, 844s # guint16 arg_an_q, 844s # gint arg_an_i, 844s # guint arg_an_u, 844s # gint64 arg_an_x, 844s # guint64 arg_an_t, 844s # gdouble arg_an_d, 844s # const gchar *arg_an_s, 844s # const gchar *arg_an_o, 844s # const gchar *arg_an_g, 844s # GVariant *arg_an_h, 844s # const gchar *arg_an_ay, 844s # const gchar *const *arg_an_as, 844s # const gchar *const *arg_an_ao, 844s # const gchar *const *arg_an_aay, 844s # GVariant *arg_an_asv, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GVariant *_ret; 844s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 844s # "MethodWithManyArgs", 844s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 844s # arg_an_b, 844s # arg_an_y, 844s # arg_an_n, 844s # arg_an_q, 844s # arg_an_i, 844s # arg_an_u, 844s # arg_an_x, 844s # arg_an_t, 844s # arg_an_d, 844s # arg_an_s, 844s # arg_an_o, 844s # arg_an_g, 844s # arg_an_h, 844s # arg_an_ay, 844s # arg_an_as, 844s # arg_an_ao, 844s # arg_an_aay, 844s # arg_an_asv), 844s # G_DBUS_CALL_FLAGS_NONE, 844s # -1, 844s # cancellable, 844s # error); 844s # if (_ret == NULL) 844s # goto _out; 844s # g_variant_get (_ret, 844s # "()"); 844s # g_variant_unref (_ret); 844s # _out: 844s # return _ret != NULL; 844s # } 844s # 844s # /** 844s # * org_project_other_callable_iface_complete_method_with_many_args: 844s # * @object: A #OrgProjectOtherCallableIface. 844s # * @invocation: (transfer full): A #GDBusMethodInvocation. 844s # * 844s # * 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. 844s # * 844s # * This method will free @invocation, you cannot use it afterwards. 844s # */ 844s # void 844s # org_project_other_callable_iface_complete_method_with_many_args ( 844s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 844s # GDBusMethodInvocation *invocation) 844s # { 844s # g_dbus_method_invocation_return_value (invocation, 844s # g_variant_new ("()")); 844s # } 844s # 844s # /* ------------------------------------------------------------------------ */ 844s # 844s # /** 844s # * OrgProjectOtherCallableIfaceProxy: 844s # * 844s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 844s # */ 844s # 844s # /** 844s # * OrgProjectOtherCallableIfaceProxyClass: 844s # * @parent_class: The parent class. 844s # * 844s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 844s # */ 844s # 844s # struct _OrgProjectOtherCallableIfaceProxyPrivate 844s # { 844s # GData *qdata; 844s # }; 844s # 844s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 844s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 844s # 844s # #else 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 844s # 844s # #endif 844s # static void 844s # org_project_other_callable_iface_proxy_finalize (GObject *object) 844s # { 844s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 844s # g_datalist_clear (&proxy->priv->qdata); 844s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 844s # } 844s # 844s # static void 844s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 844s # guint prop_id G_GNUC_UNUSED, 844s # GValue *value G_GNUC_UNUSED, 844s # GParamSpec *pspec G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void 844s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 844s # guint prop_id G_GNUC_UNUSED, 844s # const GValue *value G_GNUC_UNUSED, 844s # GParamSpec *pspec G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void 844s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 844s # const gchar *sender_name G_GNUC_UNUSED, 844s # const gchar *signal_name, 844s # GVariant *parameters) 844s # { 844s # _ExtendedGDBusSignalInfo *info; 844s # GVariantIter iter; 844s # GVariant *child; 844s # GValue *paramv; 844s # gsize num_params; 844s # gsize n; 844s # guint signal_id; 844s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 844s # if (info == NULL) 844s # return; 844s # num_params = g_variant_n_children (parameters); 844s # paramv = g_new0 (GValue, num_params + 1); 844s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 844s # g_value_set_object (¶mv[0], proxy); 844s # g_variant_iter_init (&iter, parameters); 844s # n = 1; 844s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 844s # { 844s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 844s # if (arg_info->use_gvariant) 844s # { 844s # g_value_init (¶mv[n], G_TYPE_VARIANT); 844s # g_value_set_variant (¶mv[n], child); 844s # n++; 844s # } 844s # else 844s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 844s # g_variant_unref (child); 844s # } 844s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 844s # g_signal_emitv (paramv, signal_id, 0, NULL); 844s # for (n = 0; n < num_params + 1; n++) 844s # g_value_unset (¶mv[n]); 844s # g_free (paramv); 844s # } 844s # 844s # static void 844s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 844s # GVariant *changed_properties, 844s # const gchar *const *invalidated_properties) 844s # { 844s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 844s # guint n; 844s # const gchar *key; 844s # GVariantIter *iter; 844s # _ExtendedGDBusPropertyInfo *info; 844s # g_variant_get (changed_properties, "a{sv}", &iter); 844s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 844s # { 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 844s # g_datalist_remove_data (&proxy->priv->qdata, key); 844s # if (info != NULL) 844s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 844s # } 844s # g_variant_iter_free (iter); 844s # for (n = 0; invalidated_properties[n] != NULL; n++) 844s # { 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 844s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 844s # if (info != NULL) 844s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 844s # } 844s # } 844s # 844s # static void 844s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 844s # { 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 844s # #else 844s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 844s # #endif 844s # 844s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 844s # } 844s # 844s # static void 844s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 844s # { 844s # GObjectClass *gobject_class; 844s # GDBusProxyClass *proxy_class; 844s # 844s # gobject_class = G_OBJECT_CLASS (klass); 844s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 844s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 844s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 844s # 844s # proxy_class = G_DBUS_PROXY_CLASS (klass); 844s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 844s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 844s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 844s # #endif 844s # } 844s # 844s # static void 844s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # /** 844s # * org_project_other_callable_iface_proxy_new: 844s # * @connection: A #GDBusConnection. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 844s # * 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 844s # * 844s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 844s # */ 844s # void 844s # org_project_other_callable_iface_proxy_new ( 844s # GDBusConnection *connection, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # 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); 844s # } 844s # 844s # /** 844s # * org_project_other_callable_iface_proxy_new_finish: 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 844s # * @error: Return location for error or %NULL 844s # * 844s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 844s # * 844s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectOtherCallableIface * 844s # org_project_other_callable_iface_proxy_new_finish ( 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GObject *ret; 844s # GObject *source_object; 844s # source_object = g_async_result_get_source_object (res); 844s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 844s # g_object_unref (source_object); 844s # if (ret != NULL) 844s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # /** 844s # * org_project_other_callable_iface_proxy_new_sync: 844s # * @connection: A #GDBusConnection. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL 844s # * 844s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 844s # * 844s # * The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 844s # * 844s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectOtherCallableIface * 844s # org_project_other_callable_iface_proxy_new_sync ( 844s # GDBusConnection *connection, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GInitable *ret; 844s # 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); 844s # if (ret != NULL) 844s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # 844s # /** 844s # * org_project_other_callable_iface_proxy_new_for_bus: 844s # * @bus_type: A #GBusType. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: A bus name (well-known or unique). 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 844s # * 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 844s # * 844s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 844s # */ 844s # void 844s # org_project_other_callable_iface_proxy_new_for_bus ( 844s # GBusType bus_type, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # 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); 844s # } 844s # 844s # /** 844s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 844s # * @error: Return location for error or %NULL 844s # * 844s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 844s # * 844s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectOtherCallableIface * 844s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GObject *ret; 844s # GObject *source_object; 844s # source_object = g_async_result_get_source_object (res); 844s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 844s # g_object_unref (source_object); 844s # if (ret != NULL) 844s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # /** 844s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 844s # * @bus_type: A #GBusType. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: A bus name (well-known or unique). 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL 844s # * 844s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 844s # * 844s # * The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 844s # * 844s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectOtherCallableIface * 844s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 844s # GBusType bus_type, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GInitable *ret; 844s # 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); 844s # if (ret != NULL) 844s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # 844s # /* ------------------------------------------------------------------------ */ 844s # 844s # /** 844s # * OrgProjectOtherCallableIfaceSkeleton: 844s # * 844s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 844s # */ 844s # 844s # /** 844s # * OrgProjectOtherCallableIfaceSkeletonClass: 844s # * @parent_class: The parent class. 844s # * 844s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 844s # */ 844s # 844s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 844s # { 844s # GValue *properties; 844s # GList *changed_properties; 844s # GSource *changed_properties_idle_source; 844s # GMainContext *context; 844s # GMutex lock; 844s # }; 844s # 844s # static void 844s # _org_project_other_callable_iface_skeleton_handle_method_call ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name, 844s # const gchar *method_name, 844s # GVariant *parameters, 844s # GDBusMethodInvocation *invocation, 844s # gpointer user_data) 844s # { 844s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 844s # _ExtendedGDBusMethodInfo *info; 844s # GVariantIter iter; 844s # GVariant *child; 844s # GValue *paramv; 844s # gsize num_params; 844s # guint num_extra; 844s # gsize n; 844s # guint signal_id; 844s # GValue return_value = G_VALUE_INIT; 844s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 844s # g_assert (info != NULL); 844s # num_params = g_variant_n_children (parameters); 844s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 844s # n = 0; 844s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 844s # g_value_set_object (¶mv[n++], skeleton); 844s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 844s # g_value_set_object (¶mv[n++], invocation); 844s # if (info->pass_fdlist) 844s # { 844s # #ifdef G_OS_UNIX 844s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 844s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 844s # #else 844s # g_assert_not_reached (); 844s # #endif 844s # } 844s # g_variant_iter_init (&iter, parameters); 844s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 844s # { 844s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 844s # if (arg_info->use_gvariant) 844s # { 844s # g_value_init (¶mv[n], G_TYPE_VARIANT); 844s # g_value_set_variant (¶mv[n], child); 844s # n++; 844s # } 844s # else 844s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 844s # g_variant_unref (child); 844s # } 844s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 844s # g_value_init (&return_value, G_TYPE_BOOLEAN); 844s # g_signal_emitv (paramv, signal_id, 0, &return_value); 844s # if (!g_value_get_boolean (&return_value)) 844s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 844s # g_value_unset (&return_value); 844s # for (n = 0; n < num_params + num_extra; n++) 844s # g_value_unset (¶mv[n]); 844s # g_free (paramv); 844s # } 844s # 844s # static GVariant * 844s # _org_project_other_callable_iface_skeleton_handle_get_property ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name G_GNUC_UNUSED, 844s # const gchar *property_name, 844s # GError **error, 844s # gpointer user_data) 844s # { 844s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 844s # GValue value = G_VALUE_INIT; 844s # GParamSpec *pspec; 844s # _ExtendedGDBusPropertyInfo *info; 844s # GVariant *ret; 844s # ret = NULL; 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 844s # g_assert (info != NULL); 844s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 844s # if (pspec == NULL) 844s # { 844s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 844s # } 844s # else 844s # { 844s # g_value_init (&value, pspec->value_type); 844s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 844s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 844s # g_value_unset (&value); 844s # } 844s # return ret; 844s # } 844s # 844s # static gboolean 844s # _org_project_other_callable_iface_skeleton_handle_set_property ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name G_GNUC_UNUSED, 844s # const gchar *property_name, 844s # GVariant *variant, 844s # GError **error, 844s # gpointer user_data) 844s # { 844s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 844s # GValue value = G_VALUE_INIT; 844s # GParamSpec *pspec; 844s # _ExtendedGDBusPropertyInfo *info; 844s # gboolean ret; 844s # ret = FALSE; 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 844s # g_assert (info != NULL); 844s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 844s # if (pspec == NULL) 844s # { 844s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 844s # } 844s # else 844s # { 844s # if (info->use_gvariant) 844s # g_value_set_variant (&value, variant); 844s # else 844s # g_dbus_gvariant_to_gvalue (variant, &value); 844s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 844s # g_value_unset (&value); 844s # ret = TRUE; 844s # } 844s # return ret; 844s # } 844s # 844s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 844s # { 844s # _org_project_other_callable_iface_skeleton_handle_method_call, 844s # _org_project_other_callable_iface_skeleton_handle_get_property, 844s # _org_project_other_callable_iface_skeleton_handle_set_property, 844s # {NULL} 844s # }; 844s # 844s # static GDBusInterfaceInfo * 844s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 844s # { 844s # return org_project_other_callable_iface_interface_info (); 844s # } 844s # 844s # static GDBusInterfaceVTable * 844s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 844s # { 844s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 844s # } 844s # 844s # static GVariant * 844s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 844s # { 844s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 844s # 844s # GVariantBuilder builder; 844s # guint n; 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 844s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 844s # #else 844s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 844s # #endif 844s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 844s # goto out; 844s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 844s # { 844s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 844s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 844s # { 844s # GVariant *value; 844s # 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); 844s # if (value != NULL) 844s # { 844s # g_variant_take_ref (value); 844s # g_variant_builder_add (&builder, "{sv}", info->name, value); 844s # g_variant_unref (value); 844s # } 844s # } 844s # } 844s # out: 844s # return g_variant_builder_end (&builder); 844s # } 844s # 844s # static void 844s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 844s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 844s # 844s # #else 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 844s # 844s # #endif 844s # static void 844s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 844s # { 844s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 844s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 844s # if (skeleton->priv->changed_properties_idle_source != NULL) 844s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 844s # g_main_context_unref (skeleton->priv->context); 844s # g_mutex_clear (&skeleton->priv->lock); 844s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 844s # } 844s # 844s # static void 844s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 844s # { 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 844s # #else 844s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 844s # #endif 844s # 844s # g_mutex_init (&skeleton->priv->lock); 844s # skeleton->priv->context = g_main_context_ref_thread_default (); 844s # } 844s # 844s # static void 844s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 844s # { 844s # GObjectClass *gobject_class; 844s # GDBusInterfaceSkeletonClass *skeleton_class; 844s # 844s # gobject_class = G_OBJECT_CLASS (klass); 844s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 844s # 844s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 844s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 844s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 844s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 844s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 844s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 844s # #endif 844s # } 844s # 844s # static void 844s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # /** 844s # * org_project_other_callable_iface_skeleton_new: 844s # * 844s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 844s # * 844s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 844s # */ 844s # OrgProjectOtherCallableIface * 844s # org_project_other_callable_iface_skeleton_new (void) 844s # { 844s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 844s # } 844s # Error: 844s ok 13 __main__.TestCodegen.test_generate_methods_marshallers_multiple_out_args 844s # gdbus-codegen: /usr/bin/gdbus-codegen 844s # tmpdir: /tmp/tmpf5hi3b_0 844s # /tmp/tmpf5hi3b_0/tmpdhx9ebik.xml: 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 # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpf5hi3b_0/tmpdhx9ebik.xml', '--output', '-', '--body'] 844s # Return code: 0 844s # Output: 844s # /* 844s # * This file is generated by gdbus-codegen, do not modify it. 844s # * 844s # * The license of this code is the same as for the D-Bus interface description 844s # * it was derived from. Note that it links to GLib, so must comply with the 844s # * LGPL linking clauses. 844s # */ 844s # 844s # #ifdef HAVE_CONFIG_H 844s # # include "config.h" 844s # #endif 844s # 844s # #include 844s # #ifdef G_OS_UNIX 844s # # include 844s # #endif 844s # 844s # #ifdef G_ENABLE_DEBUG 844s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 844s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 844s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 844s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 844s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 844s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 844s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 844s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 844s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 844s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 844s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 844s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 844s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 844s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 844s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 844s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 844s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 844s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 844s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 844s # #else /* !G_ENABLE_DEBUG */ 844s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 844s # * Do not access GValues directly in your code. Instead, use the 844s # * g_value_get_*() functions 844s # */ 844s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 844s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 844s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 844s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 844s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 844s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 844s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 844s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 844s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 844s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 844s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 844s # #endif /* !G_ENABLE_DEBUG */ 844s # 844s # typedef struct 844s # { 844s # GDBusArgInfo parent_struct; 844s # gboolean use_gvariant; 844s # } _ExtendedGDBusArgInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusMethodInfo parent_struct; 844s # const gchar *signal_name; 844s # gboolean pass_fdlist; 844s # } _ExtendedGDBusMethodInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusSignalInfo parent_struct; 844s # const gchar *signal_name; 844s # } _ExtendedGDBusSignalInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusPropertyInfo parent_struct; 844s # const gchar *hyphen_name; 844s # guint use_gvariant : 1; 844s # guint emits_changed_signal : 1; 844s # } _ExtendedGDBusPropertyInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusInterfaceInfo parent_struct; 844s # const gchar *hyphen_name; 844s # } _ExtendedGDBusInterfaceInfo; 844s # 844s # typedef struct 844s # { 844s # const _ExtendedGDBusPropertyInfo *info; 844s # guint prop_id; 844s # GValue orig_value; /* the value before the change */ 844s # } ChangedProperty; 844s # 844s # static void 844s # _changed_property_free (ChangedProperty *data) 844s # { 844s # g_value_unset (&data->orig_value); 844s # g_free (data); 844s # } 844s # 844s # static gboolean 844s # _g_strv_equal0 (gchar **a, gchar **b) 844s # { 844s # gboolean ret = FALSE; 844s # guint n; 844s # if (a == NULL && b == NULL) 844s # { 844s # ret = TRUE; 844s # goto out; 844s # } 844s # if (a == NULL || b == NULL) 844s # goto out; 844s # if (g_strv_length (a) != g_strv_length (b)) 844s # goto out; 844s # for (n = 0; a[n] != NULL; n++) 844s # if (g_strcmp0 (a[n], b[n]) != 0) 844s # goto out; 844s # ret = TRUE; 844s # out: 844s # return ret; 844s # } 844s # 844s # static gboolean 844s # _g_variant_equal0 (GVariant *a, GVariant *b) 844s # { 844s # gboolean ret = FALSE; 844s # if (a == NULL && b == NULL) 844s # { 844s # ret = TRUE; 844s # goto out; 844s # } 844s # if (a == NULL || b == NULL) 844s # goto out; 844s # ret = g_variant_equal (a, b); 844s # out: 844s # return ret; 844s # } 844s # 844s # G_GNUC_UNUSED static gboolean 844s # _g_value_equal (const GValue *a, const GValue *b) 844s # { 844s # gboolean ret = FALSE; 844s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 844s # switch (G_VALUE_TYPE (a)) 844s # { 844s # case G_TYPE_BOOLEAN: 844s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 844s # break; 844s # case G_TYPE_UCHAR: 844s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 844s # break; 844s # case G_TYPE_INT: 844s # ret = (g_value_get_int (a) == g_value_get_int (b)); 844s # break; 844s # case G_TYPE_UINT: 844s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 844s # break; 844s # case G_TYPE_INT64: 844s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 844s # break; 844s # case G_TYPE_UINT64: 844s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 844s # break; 844s # case G_TYPE_DOUBLE: 844s # { 844s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 844s # gdouble da = g_value_get_double (a); 844s # gdouble db = g_value_get_double (b); 844s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 844s # } 844s # break; 844s # case G_TYPE_STRING: 844s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 844s # break; 844s # case G_TYPE_VARIANT: 844s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 844s # break; 844s # default: 844s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 844s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 844s # else 844s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 844s # break; 844s # } 844s # return ret; 844s # } 844s # 844s # static void 844s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 844s # GClosure *closure, 844s # GValue *return_value, 844s # unsigned int n_param_values, 844s # const GValue *param_values, 844s # void *invocation_hint G_GNUC_UNUSED, 844s # void *marshal_data) 844s # { 844s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 844s # (void *data1, 844s # GDBusMethodInvocation *arg_method_invocation, 844s # void *data2); 844s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 844s # GCClosure *cc = (GCClosure*) closure; 844s # void *data1, *data2; 844s # gboolean v_return; 844s # 844s # g_return_if_fail (return_value != NULL); 844s # g_return_if_fail (n_param_values == 2); 844s # 844s # if (G_CCLOSURE_SWAP_DATA (closure)) 844s # { 844s # data1 = closure->data; 844s # data2 = g_value_peek_pointer (param_values + 0); 844s # } 844s # else 844s # { 844s # data1 = g_value_peek_pointer (param_values + 0); 844s # data2 = closure->data; 844s # } 844s # 844s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 844s # (marshal_data ? marshal_data : cc->callback); 844s # 844s # v_return = 844s # callback (data1, 844s # g_marshal_value_peek_object (param_values + 1), 844s # data2); 844s # 844s # g_value_set_boolean (return_value, v_return); 844s # } 844s # 844s # /* ------------------------------------------------------------------------ 844s # * Code for interface org.project.CallableIface 844s # * ------------------------------------------------------------------------ 844s # */ 844s # 844s # /** 844s # * SECTION:OrgProjectCallableIface 844s # * @title: OrgProjectCallableIface 844s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 844s # * 844s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 844s # */ 844s # 844s # /* ---- Introspection data for org.project.CallableIface ---- */ 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_b", 844s # (gchar *) "b", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_y", 844s # (gchar *) "y", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_n", 844s # (gchar *) "n", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_q", 844s # (gchar *) "q", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_i", 844s # (gchar *) "i", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_u", 844s # (gchar *) "u", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_x", 844s # (gchar *) "x", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_t", 844s # (gchar *) "t", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_d", 844s # (gchar *) "d", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_s", 844s # (gchar *) "s", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_o", 844s # (gchar *) "o", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_g", 844s # (gchar *) "g", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_h", 844s # (gchar *) "h", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_ay", 844s # (gchar *) "ay", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_as", 844s # (gchar *) "as", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_ao", 844s # (gchar *) "ao", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_aay", 844s # (gchar *) "aay", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_asv", 844s # (gchar *) "a{sv}", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers[] = 844s # { 844s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b.parent_struct, 844s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y.parent_struct, 844s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n.parent_struct, 844s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q.parent_struct, 844s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i.parent_struct, 844s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u.parent_struct, 844s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x.parent_struct, 844s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t.parent_struct, 844s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d.parent_struct, 844s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s.parent_struct, 844s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o.parent_struct, 844s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g.parent_struct, 844s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h.parent_struct, 844s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay.parent_struct, 844s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as.parent_struct, 844s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao.parent_struct, 844s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay.parent_struct, 844s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 844s # { 844s # { 844s # -1, 844s # (gchar *) "MethodWithManyArgs", 844s # NULL, 844s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers, 844s # NULL 844s # }, 844s # "handle-method-with-many-args", 844s # FALSE 844s # }; 844s # 844s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 844s # { 844s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 844s # { 844s # { 844s # -1, 844s # (gchar *) "org.project.CallableIface", 844s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 844s # NULL, 844s # NULL, 844s # NULL 844s # }, 844s # "org-project-callable-iface", 844s # }; 844s # 844s # 844s # /** 844s # * org_project_callable_iface_interface_info: 844s # * 844s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 844s # * 844s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 844s # */ 844s # GDBusInterfaceInfo * 844s # org_project_callable_iface_interface_info (void) 844s # { 844s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 844s # } 844s # 844s # /** 844s # * org_project_callable_iface_override_properties: 844s # * @klass: The class structure for a #GObject derived class. 844s # * @property_id_begin: The property id to assign to the first overridden property. 844s # * 844s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 844s # * The properties are overridden in the order they are defined. 844s # * 844s # * Returns: The last property id. 844s # */ 844s # guint 844s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 844s # { 844s # return property_id_begin - 1; 844s # } 844s # 844s # 844s # inline static void 844s # org_project_callable_iface_method_marshal_method_with_many_args ( 844s # GClosure *closure, 844s # GValue *return_value, 844s # unsigned int n_param_values, 844s # const GValue *param_values, 844s # void *invocation_hint, 844s # void *marshal_data) 844s # { 844s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 844s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 844s # } 844s # 844s # 844s # /** 844s # * OrgProjectCallableIface: 844s # * 844s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 844s # */ 844s # 844s # /** 844s # * OrgProjectCallableIfaceIface: 844s # * @parent_iface: The parent interface. 844s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 844s # * 844s # * Virtual table for the D-Bus interface org.project.CallableIface. 844s # */ 844s # 844s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 844s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 844s # 844s # static void 844s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 844s # { 844s # /* GObject signals for incoming D-Bus method calls: */ 844s # /** 844s # * OrgProjectCallableIface::handle-method-with-many-args: 844s # * @object: A #OrgProjectCallableIface. 844s # * @invocation: A #GDBusMethodInvocation. 844s # * 844s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 844s # * 844s # * 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. 844s # * 844s # * 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. 844s # */ 844s # g_signal_new ("handle-method-with-many-args", 844s # G_TYPE_FROM_INTERFACE (iface), 844s # G_SIGNAL_RUN_LAST, 844s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 844s # g_signal_accumulator_true_handled, 844s # NULL, 844s # org_project_callable_iface_method_marshal_method_with_many_args, 844s # G_TYPE_BOOLEAN, 844s # 1, 844s # G_TYPE_DBUS_METHOD_INVOCATION); 844s # 844s # } 844s # 844s # /** 844s # * org_project_callable_iface_call_method_with_many_args: 844s # * @proxy: A #OrgProjectCallableIfaceProxy. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 844s # * 844s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 844s # */ 844s # void 844s # org_project_callable_iface_call_method_with_many_args ( 844s # OrgProjectCallableIface *proxy, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 844s # "MethodWithManyArgs", 844s # g_variant_new ("()"), 844s # G_DBUS_CALL_FLAGS_NONE, 844s # -1, 844s # cancellable, 844s # callback, 844s # user_data); 844s # } 844s # 844s # /** 844s # * org_project_callable_iface_call_method_with_many_args_finish: 844s # * @proxy: A #OrgProjectCallableIfaceProxy. 844s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 844s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 844s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 844s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 844s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 844s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 844s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 844s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 844s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 844s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 844s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 844s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 844s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 844s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 844s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 844s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 844s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 844s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 844s # * @error: Return location for error or %NULL. 844s # * 844s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 844s # * 844s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 844s # */ 844s # gboolean 844s # org_project_callable_iface_call_method_with_many_args_finish ( 844s # OrgProjectCallableIface *proxy, 844s # gboolean *out_an_b, 844s # guchar *out_an_y, 844s # gint16 *out_an_n, 844s # guint16 *out_an_q, 844s # gint *out_an_i, 844s # guint *out_an_u, 844s # gint64 *out_an_x, 844s # guint64 *out_an_t, 844s # gdouble *out_an_d, 844s # gchar **out_an_s, 844s # gchar **out_an_o, 844s # gchar **out_an_g, 844s # GVariant **out_an_h, 844s # gchar **out_an_ay, 844s # gchar ***out_an_as, 844s # gchar ***out_an_ao, 844s # gchar ***out_an_aay, 844s # GVariant **out_an_asv, 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GVariant *_ret; 844s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 844s # if (_ret == NULL) 844s # goto _out; 844s # g_variant_get (_ret, 844s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 844s # out_an_b, 844s # out_an_y, 844s # out_an_n, 844s # out_an_q, 844s # out_an_i, 844s # out_an_u, 844s # out_an_x, 844s # out_an_t, 844s # out_an_d, 844s # out_an_s, 844s # out_an_o, 844s # out_an_g, 844s # out_an_h, 844s # out_an_ay, 844s # out_an_as, 844s # out_an_ao, 844s # out_an_aay, 844s # out_an_asv); 844s # g_variant_unref (_ret); 844s # _out: 844s # return _ret != NULL; 844s # } 844s # 844s # /** 844s # * org_project_callable_iface_call_method_with_many_args_sync: 844s # * @proxy: A #OrgProjectCallableIfaceProxy. 844s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 844s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 844s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 844s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 844s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 844s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 844s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 844s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 844s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 844s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 844s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 844s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 844s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 844s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 844s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 844s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 844s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 844s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL. 844s # * 844s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 844s # * 844s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 844s # */ 844s # gboolean 844s # org_project_callable_iface_call_method_with_many_args_sync ( 844s # OrgProjectCallableIface *proxy, 844s # gboolean *out_an_b, 844s # guchar *out_an_y, 844s # gint16 *out_an_n, 844s # guint16 *out_an_q, 844s # gint *out_an_i, 844s # guint *out_an_u, 844s # gint64 *out_an_x, 844s # guint64 *out_an_t, 844s # gdouble *out_an_d, 844s # gchar **out_an_s, 844s # gchar **out_an_o, 844s # gchar **out_an_g, 844s # GVariant **out_an_h, 844s # gchar **out_an_ay, 844s # gchar ***out_an_as, 844s # gchar ***out_an_ao, 844s # gchar ***out_an_aay, 844s # GVariant **out_an_asv, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GVariant *_ret; 844s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 844s # "MethodWithManyArgs", 844s # g_variant_new ("()"), 844s # G_DBUS_CALL_FLAGS_NONE, 844s # -1, 844s # cancellable, 844s # error); 844s # if (_ret == NULL) 844s # goto _out; 844s # g_variant_get (_ret, 844s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 844s # out_an_b, 844s # out_an_y, 844s # out_an_n, 844s # out_an_q, 844s # out_an_i, 844s # out_an_u, 844s # out_an_x, 844s # out_an_t, 844s # out_an_d, 844s # out_an_s, 844s # out_an_o, 844s # out_an_g, 844s # out_an_h, 844s # out_an_ay, 844s # out_an_as, 844s # out_an_ao, 844s # out_an_aay, 844s # out_an_asv); 844s # g_variant_unref (_ret); 844s # _out: 844s # return _ret != NULL; 844s # } 844s # 844s # /** 844s # * org_project_callable_iface_complete_method_with_many_args: 844s # * @object: A #OrgProjectCallableIface. 844s # * @invocation: (transfer full): A #GDBusMethodInvocation. 844s # * @an_b: Parameter to return. 844s # * @an_y: Parameter to return. 844s # * @an_n: Parameter to return. 844s # * @an_q: Parameter to return. 844s # * @an_i: Parameter to return. 844s # * @an_u: Parameter to return. 844s # * @an_x: Parameter to return. 844s # * @an_t: Parameter to return. 844s # * @an_d: Parameter to return. 844s # * @an_s: Parameter to return. 844s # * @an_o: Parameter to return. 844s # * @an_g: Parameter to return. 844s # * @an_h: Parameter to return. 844s # * @an_ay: Parameter to return. 844s # * @an_as: Parameter to return. 844s # * @an_ao: Parameter to return. 844s # * @an_aay: Parameter to return. 844s # * @an_asv: Parameter to return. 844s # * 844s # * 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. 844s # * 844s # * This method will free @invocation, you cannot use it afterwards. 844s # */ 844s # void 844s # org_project_callable_iface_complete_method_with_many_args ( 844s # OrgProjectCallableIface *object G_GNUC_UNUSED, 844s # GDBusMethodInvocation *invocation, 844s # gboolean an_b, 844s # guchar an_y, 844s # gint16 an_n, 844s # guint16 an_q, 844s # gint an_i, 844s # guint an_u, 844s # gint64 an_x, 844s # guint64 an_t, 844s # gdouble an_d, 844s # const gchar *an_s, 844s # const gchar *an_o, 844s # const gchar *an_g, 844s # GVariant *an_h, 844s # const gchar *an_ay, 844s # const gchar *const *an_as, 844s # const gchar *const *an_ao, 844s # const gchar *const *an_aay, 844s # GVariant *an_asv) 844s # { 844s # g_dbus_method_invocation_return_value (invocation, 844s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 844s # an_b, 844s # an_y, 844s # an_n, 844s # an_q, 844s # an_i, 844s # an_u, 844s # an_x, 844s # an_t, 844s # an_d, 844s # an_s, 844s # an_o, 844s # an_g, 844s # an_h, 844s # an_ay, 844s # an_as, 844s # an_ao, 844s # an_aay, 844s # an_asv)); 844s # } 844s # 844s # /* ------------------------------------------------------------------------ */ 844s # 844s # /** 844s # * OrgProjectCallableIfaceProxy: 844s # * 844s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 844s # */ 844s # 844s # /** 844s # * OrgProjectCallableIfaceProxyClass: 844s # * @parent_class: The parent class. 844s # * 844s # * Class structure for #OrgProjectCallableIfaceProxy. 844s # */ 844s # 844s # struct _OrgProjectCallableIfaceProxyPrivate 844s # { 844s # GData *qdata; 844s # }; 844s # 844s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 844s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 844s # 844s # #else 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 844s # 844s # #endif 844s # static void 844s # org_project_callable_iface_proxy_finalize (GObject *object) 844s # { 844s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 844s # g_datalist_clear (&proxy->priv->qdata); 844s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 844s # } 844s # 844s # static void 844s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 844s # guint prop_id G_GNUC_UNUSED, 844s # GValue *value G_GNUC_UNUSED, 844s # GParamSpec *pspec G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void 844s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 844s # guint prop_id G_GNUC_UNUSED, 844s # const GValue *value G_GNUC_UNUSED, 844s # GParamSpec *pspec G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void 844s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 844s # const gchar *sender_name G_GNUC_UNUSED, 844s # const gchar *signal_name, 844s # GVariant *parameters) 844s # { 844s # _ExtendedGDBusSignalInfo *info; 844s # GVariantIter iter; 844s # GVariant *child; 844s # GValue *paramv; 844s # gsize num_params; 844s # gsize n; 844s # guint signal_id; 844s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 844s # if (info == NULL) 844s # return; 844s # num_params = g_variant_n_children (parameters); 844s # paramv = g_new0 (GValue, num_params + 1); 844s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 844s # g_value_set_object (¶mv[0], proxy); 844s # g_variant_iter_init (&iter, parameters); 844s # n = 1; 844s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 844s # { 844s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 844s # if (arg_info->use_gvariant) 844s # { 844s # g_value_init (¶mv[n], G_TYPE_VARIANT); 844s # g_value_set_variant (¶mv[n], child); 844s # n++; 844s # } 844s # else 844s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 844s # g_variant_unref (child); 844s # } 844s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 844s # g_signal_emitv (paramv, signal_id, 0, NULL); 844s # for (n = 0; n < num_params + 1; n++) 844s # g_value_unset (¶mv[n]); 844s # g_free (paramv); 844s # } 844s # 844s # static void 844s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 844s # GVariant *changed_properties, 844s # const gchar *const *invalidated_properties) 844s # { 844s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 844s # guint n; 844s # const gchar *key; 844s # GVariantIter *iter; 844s # _ExtendedGDBusPropertyInfo *info; 844s # g_variant_get (changed_properties, "a{sv}", &iter); 844s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 844s # { 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 844s # g_datalist_remove_data (&proxy->priv->qdata, key); 844s # if (info != NULL) 844s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 844s # } 844s # g_variant_iter_free (iter); 844s # for (n = 0; invalidated_properties[n] != NULL; n++) 844s # { 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 844s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 844s # if (info != NULL) 844s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 844s # } 844s # } 844s # 844s # static void 844s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 844s # { 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 844s # #else 844s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 844s # #endif 844s # 844s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 844s # } 844s # 844s # static void 844s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 844s # { 844s # GObjectClass *gobject_class; 844s # GDBusProxyClass *proxy_class; 844s # 844s # gobject_class = G_OBJECT_CLASS (klass); 844s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 844s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 844s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 844s # 844s # proxy_class = G_DBUS_PROXY_CLASS (klass); 844s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 844s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 844s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 844s # #endif 844s # } 844s # 844s # static void 844s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # /** 844s # * org_project_callable_iface_proxy_new: 844s # * @connection: A #GDBusConnection. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 844s # * 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 844s # * 844s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 844s # */ 844s # void 844s # org_project_callable_iface_proxy_new ( 844s # GDBusConnection *connection, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # 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); 844s # } 844s # 844s # /** 844s # * org_project_callable_iface_proxy_new_finish: 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 844s # * @error: Return location for error or %NULL 844s # * 844s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 844s # * 844s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectCallableIface * 844s # org_project_callable_iface_proxy_new_finish ( 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GObject *ret; 844s # GObject *source_object; 844s # source_object = g_async_result_get_source_object (res); 844s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 844s # g_object_unref (source_object); 844s # if (ret != NULL) 844s # return ORG_PROJECT_CALLABLE_IFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # /** 844s # * org_project_callable_iface_proxy_new_sync: 844s # * @connection: A #GDBusConnection. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL 844s # * 844s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 844s # * 844s # * The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 844s # * 844s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectCallableIface * 844s # org_project_callable_iface_proxy_new_sync ( 844s # GDBusConnection *connection, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GInitable *ret; 844s # 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); 844s # if (ret != NULL) 844s # return ORG_PROJECT_CALLABLE_IFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # 844s # /** 844s # * org_project_callable_iface_proxy_new_for_bus: 844s # * @bus_type: A #GBusType. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: A bus name (well-known or unique). 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 844s # * 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 844s # * 844s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 844s # */ 844s # void 844s # org_project_callable_iface_proxy_new_for_bus ( 844s # GBusType bus_type, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # 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); 844s # } 844s # 844s # /** 844s # * org_project_callable_iface_proxy_new_for_bus_finish: 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 844s # * @error: Return location for error or %NULL 844s # * 844s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 844s # * 844s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectCallableIface * 844s # org_project_callable_iface_proxy_new_for_bus_finish ( 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GObject *ret; 844s # GObject *source_object; 844s # source_object = g_async_result_get_source_object (res); 844s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 844s # g_object_unref (source_object); 844s # if (ret != NULL) 844s # return ORG_PROJECT_CALLABLE_IFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # /** 844s # * org_project_callable_iface_proxy_new_for_bus_sync: 844s # * @bus_type: A #GBusType. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: A bus name (well-known or unique). 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL 844s # * 844s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 844s # * 844s # * The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 844s # * 844s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectCallableIface * 844s # org_project_callable_iface_proxy_new_for_bus_sync ( 844s # GBusType bus_type, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GInitable *ret; 844s # 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); 844s # if (ret != NULL) 844s # return ORG_PROJECT_CALLABLE_IFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # 844s # /* ------------------------------------------------------------------------ */ 844s # 844s # /** 844s # * OrgProjectCallableIfaceSkeleton: 844s # * 844s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 844s # */ 844s # 844s # /** 844s # * OrgProjectCallableIfaceSkeletonClass: 844s # * @parent_class: The parent class. 844s # * 844s # * Class structure for #OrgProjectCallableIfaceSkeleton. 844s # */ 844s # 844s # struct _OrgProjectCallableIfaceSkeletonPrivate 844s # { 844s # GValue *properties; 844s # GList *changed_properties; 844s # GSource *changed_properties_idle_source; 844s # GMainContext *context; 844s # GMutex lock; 844s # }; 844s # 844s # static void 844s # _org_project_callable_iface_skeleton_handle_method_call ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name, 844s # const gchar *method_name, 844s # GVariant *parameters, 844s # GDBusMethodInvocation *invocation, 844s # gpointer user_data) 844s # { 844s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 844s # _ExtendedGDBusMethodInfo *info; 844s # GVariantIter iter; 844s # GVariant *child; 844s # GValue *paramv; 844s # gsize num_params; 844s # guint num_extra; 844s # gsize n; 844s # guint signal_id; 844s # GValue return_value = G_VALUE_INIT; 844s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 844s # g_assert (info != NULL); 844s # num_params = g_variant_n_children (parameters); 844s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 844s # n = 0; 844s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 844s # g_value_set_object (¶mv[n++], skeleton); 844s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 844s # g_value_set_object (¶mv[n++], invocation); 844s # if (info->pass_fdlist) 844s # { 844s # #ifdef G_OS_UNIX 844s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 844s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 844s # #else 844s # g_assert_not_reached (); 844s # #endif 844s # } 844s # g_variant_iter_init (&iter, parameters); 844s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 844s # { 844s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 844s # if (arg_info->use_gvariant) 844s # { 844s # g_value_init (¶mv[n], G_TYPE_VARIANT); 844s # g_value_set_variant (¶mv[n], child); 844s # n++; 844s # } 844s # else 844s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 844s # g_variant_unref (child); 844s # } 844s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 844s # g_value_init (&return_value, G_TYPE_BOOLEAN); 844s # g_signal_emitv (paramv, signal_id, 0, &return_value); 844s # if (!g_value_get_boolean (&return_value)) 844s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 844s # g_value_unset (&return_value); 844s # for (n = 0; n < num_params + num_extra; n++) 844s # g_value_unset (¶mv[n]); 844s # g_free (paramv); 844s # } 844s # 844s # static GVariant * 844s # _org_project_callable_iface_skeleton_handle_get_property ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name G_GNUC_UNUSED, 844s # const gchar *property_name, 844s # GError **error, 844s # gpointer user_data) 844s # { 844s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 844s # GValue value = G_VALUE_INIT; 844s # GParamSpec *pspec; 844s # _ExtendedGDBusPropertyInfo *info; 844s # GVariant *ret; 844s # ret = NULL; 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 844s # g_assert (info != NULL); 844s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 844s # if (pspec == NULL) 844s # { 844s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 844s # } 844s # else 844s # { 844s # g_value_init (&value, pspec->value_type); 844s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 844s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 844s # g_value_unset (&value); 844s # } 844s # return ret; 844s # } 844s # 844s # static gboolean 844s # _org_project_callable_iface_skeleton_handle_set_property ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name G_GNUC_UNUSED, 844s # const gchar *property_name, 844s # GVariant *variant, 844s # GError **error, 844s # gpointer user_data) 844s # { 844s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 844s # GValue value = G_VALUE_INIT; 844s # GParamSpec *pspec; 844s # _ExtendedGDBusPropertyInfo *info; 844s # gboolean ret; 844s # ret = FALSE; 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 844s # g_assert (info != NULL); 844s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 844s # if (pspec == NULL) 844s # { 844s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 844s # } 844s # else 844s # { 844s # if (info->use_gvariant) 844s # g_value_set_variant (&value, variant); 844s # else 844s # g_dbus_gvariant_to_gvalue (variant, &value); 844s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 844s # g_value_unset (&value); 844s # ret = TRUE; 844s # } 844s # return ret; 844s # } 844s # 844s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 844s # { 844s # _org_project_callable_iface_skeleton_handle_method_call, 844s # _org_project_callable_iface_skeleton_handle_get_property, 844s # _org_project_callable_iface_skeleton_handle_set_property, 844s # {NULL} 844s # }; 844s # 844s # static GDBusInterfaceInfo * 844s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 844s # { 844s # return org_project_callable_iface_interface_info (); 844s # } 844s # 844s # static GDBusInterfaceVTable * 844s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 844s # { 844s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 844s # } 844s # 844s # static GVariant * 844s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 844s # { 844s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 844s # 844s # GVariantBuilder builder; 844s # guint n; 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 844s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 844s # #else 844s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 844s # #endif 844s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 844s # goto out; 844s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 844s # { 844s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 844s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 844s # { 844s # GVariant *value; 844s # 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); 844s # if (value != NULL) 844s # { 844s # g_variant_take_ref (value); 844s # g_variant_builder_add (&builder, "{sv}", info->name, value); 844s # g_variant_unref (value); 844s # } 844s # } 844s # } 844s # out: 844s # return g_variant_builder_end (&builder); 844s # } 844s # 844s # static void 844s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 844s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 844s # 844s # #else 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 844s # 844s # #endif 844s # static void 844s # org_project_callable_iface_skeleton_finalize (GObject *object) 844s # { 844s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 844s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 844s # if (skeleton->priv->changed_properties_idle_source != NULL) 844s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 844s # g_main_context_unref (skeleton->priv->context); 844s # g_mutex_clear (&skeleton->priv->lock); 844s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 844s # } 844s # 844s # static void 844s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 844s # { 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 844s # #else 844s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 844s # #endif 844s # 844s # g_mutex_init (&skeleton->priv->lock); 844s # skeleton->priv->context = g_main_context_ref_thread_default (); 844s # } 844s # 844s # static void 844s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 844s # { 844s # GObjectClass *gobject_class; 844s # GDBusInterfaceSkeletonClass *skeleton_class; 844s # 844s # gobject_class = G_OBJECT_CLASS (klass); 844s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 844s # 844s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 844s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 844s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 844s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 844s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 844s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 844s # #endif 844s # } 844s # 844s # static void 844s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # /** 844s # * org_project_callable_iface_skeleton_new: 844s # * 844s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 844s # * 844s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 844s # */ 844s # OrgProjectCallableIface * 844s # org_project_callable_iface_skeleton_new (void) 844s # { 844s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 844s # } 844s # Error: 844s ok 14 __main__.TestCodegen.test_generate_methods_marshallers_with_unix_fds 844s # gdbus-codegen: /usr/bin/gdbus-codegen 844s # tmpdir: /tmp/tmp5bu9yaj1 844s # /tmp/tmp5bu9yaj1/tmpr2h3h7cy.xml: 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5bu9yaj1/tmpr2h3h7cy.xml', '--output', '-', '--body'] 844s # Return code: 0 844s # Output: 844s # /* 844s # * This file is generated by gdbus-codegen, do not modify it. 844s # * 844s # * The license of this code is the same as for the D-Bus interface description 844s # * it was derived from. Note that it links to GLib, so must comply with the 844s # * LGPL linking clauses. 844s # */ 844s # 844s # #ifdef HAVE_CONFIG_H 844s # # include "config.h" 844s # #endif 844s # 844s # #include 844s # #ifdef G_OS_UNIX 844s # # include 844s # #endif 844s # 844s # #ifdef G_ENABLE_DEBUG 844s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 844s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 844s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 844s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 844s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 844s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 844s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 844s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 844s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 844s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 844s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 844s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 844s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 844s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 844s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 844s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 844s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 844s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 844s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 844s # #else /* !G_ENABLE_DEBUG */ 844s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 844s # * Do not access GValues directly in your code. Instead, use the 844s # * g_value_get_*() functions 844s # */ 844s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 844s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 844s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 844s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 844s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 844s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 844s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 844s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 844s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 844s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 844s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 844s # #endif /* !G_ENABLE_DEBUG */ 844s # 844s # typedef struct 844s # { 844s # GDBusArgInfo parent_struct; 844s # gboolean use_gvariant; 844s # } _ExtendedGDBusArgInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusMethodInfo parent_struct; 844s # const gchar *signal_name; 844s # gboolean pass_fdlist; 844s # } _ExtendedGDBusMethodInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusSignalInfo parent_struct; 844s # const gchar *signal_name; 844s # } _ExtendedGDBusSignalInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusPropertyInfo parent_struct; 844s # const gchar *hyphen_name; 844s # guint use_gvariant : 1; 844s # guint emits_changed_signal : 1; 844s # } _ExtendedGDBusPropertyInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusInterfaceInfo parent_struct; 844s # const gchar *hyphen_name; 844s # } _ExtendedGDBusInterfaceInfo; 844s # 844s # typedef struct 844s # { 844s # const _ExtendedGDBusPropertyInfo *info; 844s # guint prop_id; 844s # GValue orig_value; /* the value before the change */ 844s # } ChangedProperty; 844s # 844s # static void 844s # _changed_property_free (ChangedProperty *data) 844s # { 844s # g_value_unset (&data->orig_value); 844s # g_free (data); 844s # } 844s # 844s # static gboolean 844s # _g_strv_equal0 (gchar **a, gchar **b) 844s # { 844s # gboolean ret = FALSE; 844s # guint n; 844s # if (a == NULL && b == NULL) 844s # { 844s # ret = TRUE; 844s # goto out; 844s # } 844s # if (a == NULL || b == NULL) 844s # goto out; 844s # if (g_strv_length (a) != g_strv_length (b)) 844s # goto out; 844s # for (n = 0; a[n] != NULL; n++) 844s # if (g_strcmp0 (a[n], b[n]) != 0) 844s # goto out; 844s # ret = TRUE; 844s # out: 844s # return ret; 844s # } 844s # 844s # static gboolean 844s # _g_variant_equal0 (GVariant *a, GVariant *b) 844s # { 844s # gboolean ret = FALSE; 844s # if (a == NULL && b == NULL) 844s # { 844s # ret = TRUE; 844s # goto out; 844s # } 844s # if (a == NULL || b == NULL) 844s # goto out; 844s # ret = g_variant_equal (a, b); 844s # out: 844s # return ret; 844s # } 844s # 844s # G_GNUC_UNUSED static gboolean 844s # _g_value_equal (const GValue *a, const GValue *b) 844s # { 844s # gboolean ret = FALSE; 844s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 844s # switch (G_VALUE_TYPE (a)) 844s # { 844s # case G_TYPE_BOOLEAN: 844s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 844s # break; 844s # case G_TYPE_UCHAR: 844s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 844s # break; 844s # case G_TYPE_INT: 844s # ret = (g_value_get_int (a) == g_value_get_int (b)); 844s # break; 844s # case G_TYPE_UINT: 844s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 844s # break; 844s # case G_TYPE_INT64: 844s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 844s # break; 844s # case G_TYPE_UINT64: 844s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 844s # break; 844s # case G_TYPE_DOUBLE: 844s # { 844s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 844s # gdouble da = g_value_get_double (a); 844s # gdouble db = g_value_get_double (b); 844s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 844s # } 844s # break; 844s # case G_TYPE_STRING: 844s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 844s # break; 844s # case G_TYPE_VARIANT: 844s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 844s # break; 844s # default: 844s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 844s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 844s # else 844s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 844s # break; 844s # } 844s # return ret; 844s # } 844s # 844s # static void 844s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING ( 844s # GClosure *closure, 844s # GValue *return_value, 844s # unsigned int n_param_values, 844s # const GValue *param_values, 844s # void *invocation_hint G_GNUC_UNUSED, 844s # void *marshal_data) 844s # { 844s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 844s # (void *data1, 844s # GDBusMethodInvocation *arg_method_invocation, 844s # GUnixFDList *arg_fd_list, 844s # const gchar *arg_greeting, 844s # void *data2); 844s # _GDbusCodegenMarshalBoolean_ObjectObjectStringFunc callback; 844s # GCClosure *cc = (GCClosure*) closure; 844s # void *data1, *data2; 844s # gboolean v_return; 844s # 844s # g_return_if_fail (return_value != NULL); 844s # g_return_if_fail (n_param_values == 4); 844s # 844s # if (G_CCLOSURE_SWAP_DATA (closure)) 844s # { 844s # data1 = closure->data; 844s # data2 = g_value_peek_pointer (param_values + 0); 844s # } 844s # else 844s # { 844s # data1 = g_value_peek_pointer (param_values + 0); 844s # data2 = closure->data; 844s # } 844s # 844s # callback = (_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 844s # (marshal_data ? marshal_data : cc->callback); 844s # 844s # v_return = 844s # callback (data1, 844s # g_marshal_value_peek_object (param_values + 1), 844s # g_marshal_value_peek_object (param_values + 2), 844s # g_marshal_value_peek_string (param_values + 3), 844s # data2); 844s # 844s # g_value_set_boolean (return_value, v_return); 844s # } 844s # 844s # /* ------------------------------------------------------------------------ 844s # * Code for interface test.FDPassing 844s # * ------------------------------------------------------------------------ 844s # */ 844s # 844s # /** 844s # * SECTION:TestFDPassing 844s # * @title: TestFDPassing 844s # * @short_description: Generated C code for the test.FDPassing D-Bus interface 844s # * 844s # * This section contains code for working with the test.FDPassing D-Bus interface in C. 844s # */ 844s # 844s # /* ---- Introspection data for test.FDPassing ---- */ 844s # 844s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_IN_ARG_greeting = 844s # { 844s # { 844s # -1, 844s # (gchar *) "greeting", 844s # (gchar *) "s", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_IN_ARG_pointers[] = 844s # { 844s # &_test_fdpassing_method_info_hello_fd_IN_ARG_greeting.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_OUT_ARG_response = 844s # { 844s # { 844s # -1, 844s # (gchar *) "response", 844s # (gchar *) "s", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_OUT_ARG_pointers[] = 844s # { 844s # &_test_fdpassing_method_info_hello_fd_OUT_ARG_response.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusMethodInfo _test_fdpassing_method_info_hello_fd = 844s # { 844s # { 844s # -1, 844s # (gchar *) "HelloFD", 844s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_IN_ARG_pointers, 844s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_OUT_ARG_pointers, 844s # NULL 844s # }, 844s # "handle-hello-fd", 844s # TRUE 844s # }; 844s # 844s # static const GDBusMethodInfo * const _test_fdpassing_method_info_pointers[] = 844s # { 844s # &_test_fdpassing_method_info_hello_fd.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusInterfaceInfo _test_fdpassing_interface_info = 844s # { 844s # { 844s # -1, 844s # (gchar *) "test.FDPassing", 844s # (GDBusMethodInfo **) &_test_fdpassing_method_info_pointers, 844s # NULL, 844s # NULL, 844s # NULL 844s # }, 844s # "test-fdpassing", 844s # }; 844s # 844s # 844s # /** 844s # * test_fdpassing_interface_info: 844s # * 844s # * Gets a machine-readable description of the test.FDPassing D-Bus interface. 844s # * 844s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 844s # */ 844s # GDBusInterfaceInfo * 844s # test_fdpassing_interface_info (void) 844s # { 844s # return (GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct; 844s # } 844s # 844s # /** 844s # * test_fdpassing_override_properties: 844s # * @klass: The class structure for a #GObject derived class. 844s # * @property_id_begin: The property id to assign to the first overridden property. 844s # * 844s # * Overrides all #GObject properties in the #TestFDPassing interface for a concrete class. 844s # * The properties are overridden in the order they are defined. 844s # * 844s # * Returns: The last property id. 844s # */ 844s # guint 844s # test_fdpassing_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 844s # { 844s # return property_id_begin - 1; 844s # } 844s # 844s # 844s # inline static void 844s # test_fdpassing_method_marshal_hello_fd ( 844s # GClosure *closure, 844s # GValue *return_value, 844s # unsigned int n_param_values, 844s # const GValue *param_values, 844s # void *invocation_hint, 844s # void *marshal_data) 844s # { 844s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING (closure, 844s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 844s # } 844s # 844s # 844s # /** 844s # * TestFDPassing: 844s # * 844s # * Abstract interface type for the D-Bus interface test.FDPassing. 844s # */ 844s # 844s # /** 844s # * TestFDPassingIface: 844s # * @parent_iface: The parent interface. 844s # * @handle_hello_fd: Handler for the #TestFDPassing::handle-hello-fd signal. 844s # * 844s # * Virtual table for the D-Bus interface test.FDPassing. 844s # */ 844s # 844s # typedef TestFDPassingIface TestFDPassingInterface; 844s # G_DEFINE_INTERFACE (TestFDPassing, test_fdpassing, G_TYPE_OBJECT) 844s # 844s # static void 844s # test_fdpassing_default_init (TestFDPassingIface *iface) 844s # { 844s # /* GObject signals for incoming D-Bus method calls: */ 844s # /** 844s # * TestFDPassing::handle-hello-fd: 844s # * @object: A #TestFDPassing. 844s # * @invocation: A #GDBusMethodInvocation. 844s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 844s # * @arg_greeting: Argument passed by remote caller. 844s # * 844s # * Signal emitted when a remote caller is invoking the HelloFD() D-Bus method. 844s # * 844s # * 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. 844s # * 844s # * 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. 844s # */ 844s # g_signal_new ("handle-hello-fd", 844s # G_TYPE_FROM_INTERFACE (iface), 844s # G_SIGNAL_RUN_LAST, 844s # G_STRUCT_OFFSET (TestFDPassingIface, handle_hello_fd), 844s # g_signal_accumulator_true_handled, 844s # NULL, 844s # test_fdpassing_method_marshal_hello_fd, 844s # G_TYPE_BOOLEAN, 844s # 3, 844s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UNIX_FD_LIST, G_TYPE_STRING); 844s # 844s # } 844s # 844s # /** 844s # * test_fdpassing_call_hello_fd: 844s # * @proxy: A #TestFDPassingProxy. 844s # * @arg_greeting: Argument to pass with the method invocation. 844s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Asynchronously invokes the HelloFD() D-Bus method on @proxy. 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call test_fdpassing_call_hello_fd_finish() to get the result of the operation. 844s # * 844s # * See test_fdpassing_call_hello_fd_sync() for the synchronous, blocking version of this method. 844s # */ 844s # void 844s # test_fdpassing_call_hello_fd ( 844s # TestFDPassing *proxy, 844s # const gchar *arg_greeting, 844s # GUnixFDList *fd_list, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # g_dbus_proxy_call_with_unix_fd_list (G_DBUS_PROXY (proxy), 844s # "HelloFD", 844s # g_variant_new ("(s)", 844s # arg_greeting), 844s # G_DBUS_CALL_FLAGS_NONE, 844s # -1, 844s # fd_list, 844s # cancellable, 844s # callback, 844s # user_data); 844s # } 844s # 844s # /** 844s # * test_fdpassing_call_hello_fd_finish: 844s # * @proxy: A #TestFDPassingProxy. 844s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 844s # * @out_fd_list: (out) (optional) (nullable): Return location for a #GUnixFDList or %NULL to ignore. 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_call_hello_fd(). 844s # * @error: Return location for error or %NULL. 844s # * 844s # * Finishes an operation started with test_fdpassing_call_hello_fd(). 844s # * 844s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 844s # */ 844s # gboolean 844s # test_fdpassing_call_hello_fd_finish ( 844s # TestFDPassing *proxy, 844s # gchar **out_response, 844s # GUnixFDList **out_fd_list, 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GVariant *_ret; 844s # _ret = g_dbus_proxy_call_with_unix_fd_list_finish (G_DBUS_PROXY (proxy), out_fd_list, res, error); 844s # if (_ret == NULL) 844s # goto _out; 844s # g_variant_get (_ret, 844s # "(s)", 844s # out_response); 844s # g_variant_unref (_ret); 844s # _out: 844s # return _ret != NULL; 844s # } 844s # 844s # /** 844s # * test_fdpassing_call_hello_fd_sync: 844s # * @proxy: A #TestFDPassingProxy. 844s # * @arg_greeting: Argument to pass with the method invocation. 844s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 844s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 844s # * @out_fd_list: (out) (optional) (nullable): Return location for a #GUnixFDList or %NULL. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL. 844s # * 844s # * Synchronously invokes the HelloFD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 844s # * 844s # * See test_fdpassing_call_hello_fd() for the asynchronous version of this method. 844s # * 844s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 844s # */ 844s # gboolean 844s # test_fdpassing_call_hello_fd_sync ( 844s # TestFDPassing *proxy, 844s # const gchar *arg_greeting, 844s # GUnixFDList *fd_list, 844s # gchar **out_response, 844s # GUnixFDList **out_fd_list, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GVariant *_ret; 844s # _ret = g_dbus_proxy_call_with_unix_fd_list_sync (G_DBUS_PROXY (proxy), 844s # "HelloFD", 844s # g_variant_new ("(s)", 844s # arg_greeting), 844s # G_DBUS_CALL_FLAGS_NONE, 844s # -1, 844s # fd_list, 844s # out_fd_list, 844s # cancellable, 844s # error); 844s # if (_ret == NULL) 844s # goto _out; 844s # g_variant_get (_ret, 844s # "(s)", 844s # out_response); 844s # g_variant_unref (_ret); 844s # _out: 844s # return _ret != NULL; 844s # } 844s # 844s # /** 844s # * test_fdpassing_complete_hello_fd: 844s # * @object: A #TestFDPassing. 844s # * @invocation: (transfer full): A #GDBusMethodInvocation. 844s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 844s # * @response: Parameter to return. 844s # * 844s # * 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. 844s # * 844s # * This method will free @invocation, you cannot use it afterwards. 844s # */ 844s # void 844s # test_fdpassing_complete_hello_fd ( 844s # TestFDPassing *object G_GNUC_UNUSED, 844s # GDBusMethodInvocation *invocation, 844s # GUnixFDList *fd_list, 844s # const gchar *response) 844s # { 844s # g_dbus_method_invocation_return_value_with_unix_fd_list (invocation, 844s # g_variant_new ("(s)", 844s # response), 844s # fd_list); 844s # } 844s # 844s # /* ------------------------------------------------------------------------ */ 844s # 844s # /** 844s # * TestFDPassingProxy: 844s # * 844s # * The #TestFDPassingProxy structure contains only private data and should only be accessed using the provided API. 844s # */ 844s # 844s # /** 844s # * TestFDPassingProxyClass: 844s # * @parent_class: The parent class. 844s # * 844s # * Class structure for #TestFDPassingProxy. 844s # */ 844s # 844s # struct _TestFDPassingProxyPrivate 844s # { 844s # GData *qdata; 844s # }; 844s # 844s # static void test_fdpassing_proxy_iface_init (TestFDPassingIface *iface); 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 844s # G_ADD_PRIVATE (TestFDPassingProxy) 844s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 844s # 844s # #else 844s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 844s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 844s # 844s # #endif 844s # static void 844s # test_fdpassing_proxy_finalize (GObject *object) 844s # { 844s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (object); 844s # g_datalist_clear (&proxy->priv->qdata); 844s # G_OBJECT_CLASS (test_fdpassing_proxy_parent_class)->finalize (object); 844s # } 844s # 844s # static void 844s # test_fdpassing_proxy_get_property (GObject *object G_GNUC_UNUSED, 844s # guint prop_id G_GNUC_UNUSED, 844s # GValue *value G_GNUC_UNUSED, 844s # GParamSpec *pspec G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void 844s # test_fdpassing_proxy_set_property (GObject *object G_GNUC_UNUSED, 844s # guint prop_id G_GNUC_UNUSED, 844s # const GValue *value G_GNUC_UNUSED, 844s # GParamSpec *pspec G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void 844s # test_fdpassing_proxy_g_signal (GDBusProxy *proxy, 844s # const gchar *sender_name G_GNUC_UNUSED, 844s # const gchar *signal_name, 844s # GVariant *parameters) 844s # { 844s # _ExtendedGDBusSignalInfo *info; 844s # GVariantIter iter; 844s # GVariant *child; 844s # GValue *paramv; 844s # gsize num_params; 844s # gsize n; 844s # guint signal_id; 844s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, signal_name); 844s # if (info == NULL) 844s # return; 844s # num_params = g_variant_n_children (parameters); 844s # paramv = g_new0 (GValue, num_params + 1); 844s # g_value_init (¶mv[0], TYPE_TEST_FDPASSING); 844s # g_value_set_object (¶mv[0], proxy); 844s # g_variant_iter_init (&iter, parameters); 844s # n = 1; 844s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 844s # { 844s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 844s # if (arg_info->use_gvariant) 844s # { 844s # g_value_init (¶mv[n], G_TYPE_VARIANT); 844s # g_value_set_variant (¶mv[n], child); 844s # n++; 844s # } 844s # else 844s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 844s # g_variant_unref (child); 844s # } 844s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 844s # g_signal_emitv (paramv, signal_id, 0, NULL); 844s # for (n = 0; n < num_params + 1; n++) 844s # g_value_unset (¶mv[n]); 844s # g_free (paramv); 844s # } 844s # 844s # static void 844s # test_fdpassing_proxy_g_properties_changed (GDBusProxy *_proxy, 844s # GVariant *changed_properties, 844s # const gchar *const *invalidated_properties) 844s # { 844s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (_proxy); 844s # guint n; 844s # const gchar *key; 844s # GVariantIter *iter; 844s # _ExtendedGDBusPropertyInfo *info; 844s # g_variant_get (changed_properties, "a{sv}", &iter); 844s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 844s # { 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, key); 844s # g_datalist_remove_data (&proxy->priv->qdata, key); 844s # if (info != NULL) 844s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 844s # } 844s # g_variant_iter_free (iter); 844s # for (n = 0; invalidated_properties[n] != NULL; n++) 844s # { 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, invalidated_properties[n]); 844s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 844s # if (info != NULL) 844s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 844s # } 844s # } 844s # 844s # static void 844s # test_fdpassing_proxy_init (TestFDPassingProxy *proxy) 844s # { 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # proxy->priv = test_fdpassing_proxy_get_instance_private (proxy); 844s # #else 844s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_TEST_FDPASSING_PROXY, TestFDPassingProxyPrivate); 844s # #endif 844s # 844s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), test_fdpassing_interface_info ()); 844s # } 844s # 844s # static void 844s # test_fdpassing_proxy_class_init (TestFDPassingProxyClass *klass) 844s # { 844s # GObjectClass *gobject_class; 844s # GDBusProxyClass *proxy_class; 844s # 844s # gobject_class = G_OBJECT_CLASS (klass); 844s # gobject_class->finalize = test_fdpassing_proxy_finalize; 844s # gobject_class->get_property = test_fdpassing_proxy_get_property; 844s # gobject_class->set_property = test_fdpassing_proxy_set_property; 844s # 844s # proxy_class = G_DBUS_PROXY_CLASS (klass); 844s # proxy_class->g_signal = test_fdpassing_proxy_g_signal; 844s # proxy_class->g_properties_changed = test_fdpassing_proxy_g_properties_changed; 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 844s # g_type_class_add_private (klass, sizeof (TestFDPassingProxyPrivate)); 844s # #endif 844s # } 844s # 844s # static void 844s # test_fdpassing_proxy_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # /** 844s # * test_fdpassing_proxy_new: 844s # * @connection: A #GDBusConnection. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Asynchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new() for more details. 844s # * 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call test_fdpassing_proxy_new_finish() to get the result of the operation. 844s # * 844s # * See test_fdpassing_proxy_new_sync() for the synchronous, blocking version of this constructor. 844s # */ 844s # void 844s # test_fdpassing_proxy_new ( 844s # GDBusConnection *connection, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # 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); 844s # } 844s # 844s # /** 844s # * test_fdpassing_proxy_new_finish: 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new(). 844s # * @error: Return location for error or %NULL 844s # * 844s # * Finishes an operation started with test_fdpassing_proxy_new(). 844s # * 844s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # TestFDPassing * 844s # test_fdpassing_proxy_new_finish ( 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GObject *ret; 844s # GObject *source_object; 844s # source_object = g_async_result_get_source_object (res); 844s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 844s # g_object_unref (source_object); 844s # if (ret != NULL) 844s # return TEST_FDPASSING (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # /** 844s # * test_fdpassing_proxy_new_sync: 844s # * @connection: A #GDBusConnection. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL 844s # * 844s # * Synchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new_sync() for more details. 844s # * 844s # * The calling thread is blocked until a reply is received. 844s # * 844s # * See test_fdpassing_proxy_new() for the asynchronous version of this constructor. 844s # * 844s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # TestFDPassing * 844s # test_fdpassing_proxy_new_sync ( 844s # GDBusConnection *connection, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GInitable *ret; 844s # 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); 844s # if (ret != NULL) 844s # return TEST_FDPASSING (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # 844s # /** 844s # * test_fdpassing_proxy_new_for_bus: 844s # * @bus_type: A #GBusType. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: A bus name (well-known or unique). 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Like test_fdpassing_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 844s # * 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call test_fdpassing_proxy_new_for_bus_finish() to get the result of the operation. 844s # * 844s # * See test_fdpassing_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 844s # */ 844s # void 844s # test_fdpassing_proxy_new_for_bus ( 844s # GBusType bus_type, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # 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); 844s # } 844s # 844s # /** 844s # * test_fdpassing_proxy_new_for_bus_finish: 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new_for_bus(). 844s # * @error: Return location for error or %NULL 844s # * 844s # * Finishes an operation started with test_fdpassing_proxy_new_for_bus(). 844s # * 844s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # TestFDPassing * 844s # test_fdpassing_proxy_new_for_bus_finish ( 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GObject *ret; 844s # GObject *source_object; 844s # source_object = g_async_result_get_source_object (res); 844s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 844s # g_object_unref (source_object); 844s # if (ret != NULL) 844s # return TEST_FDPASSING (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # /** 844s # * test_fdpassing_proxy_new_for_bus_sync: 844s # * @bus_type: A #GBusType. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: A bus name (well-known or unique). 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL 844s # * 844s # * Like test_fdpassing_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 844s # * 844s # * The calling thread is blocked until a reply is received. 844s # * 844s # * See test_fdpassing_proxy_new_for_bus() for the asynchronous version of this constructor. 844s # * 844s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # TestFDPassing * 844s # test_fdpassing_proxy_new_for_bus_sync ( 844s # GBusType bus_type, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GInitable *ret; 844s # 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); 844s # if (ret != NULL) 844s # return TEST_FDPASSING (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # 844s # /* ------------------------------------------------------------------------ */ 844s # 844s # /** 844s # * TestFDPassingSkeleton: 844s # * 844s # * The #TestFDPassingSkeleton structure contains only private data and should only be accessed using the provided API. 844s # */ 844s # 844s # /** 844s # * TestFDPassingSkeletonClass: 844s # * @parent_class: The parent class. 844s # * 844s # * Class structure for #TestFDPassingSkeleton. 844s # */ 844s # 844s # struct _TestFDPassingSkeletonPrivate 844s # { 844s # GValue *properties; 844s # GList *changed_properties; 844s # GSource *changed_properties_idle_source; 844s # GMainContext *context; 844s # GMutex lock; 844s # }; 844s # 844s # static void 844s # _test_fdpassing_skeleton_handle_method_call ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name, 844s # const gchar *method_name, 844s # GVariant *parameters, 844s # GDBusMethodInvocation *invocation, 844s # gpointer user_data) 844s # { 844s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 844s # _ExtendedGDBusMethodInfo *info; 844s # GVariantIter iter; 844s # GVariant *child; 844s # GValue *paramv; 844s # gsize num_params; 844s # guint num_extra; 844s # gsize n; 844s # guint signal_id; 844s # GValue return_value = G_VALUE_INIT; 844s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 844s # g_assert (info != NULL); 844s # num_params = g_variant_n_children (parameters); 844s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 844s # n = 0; 844s # g_value_init (¶mv[n], TYPE_TEST_FDPASSING); 844s # g_value_set_object (¶mv[n++], skeleton); 844s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 844s # g_value_set_object (¶mv[n++], invocation); 844s # if (info->pass_fdlist) 844s # { 844s # #ifdef G_OS_UNIX 844s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 844s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 844s # #else 844s # g_assert_not_reached (); 844s # #endif 844s # } 844s # g_variant_iter_init (&iter, parameters); 844s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 844s # { 844s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 844s # if (arg_info->use_gvariant) 844s # { 844s # g_value_init (¶mv[n], G_TYPE_VARIANT); 844s # g_value_set_variant (¶mv[n], child); 844s # n++; 844s # } 844s # else 844s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 844s # g_variant_unref (child); 844s # } 844s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 844s # g_value_init (&return_value, G_TYPE_BOOLEAN); 844s # g_signal_emitv (paramv, signal_id, 0, &return_value); 844s # if (!g_value_get_boolean (&return_value)) 844s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 844s # g_value_unset (&return_value); 844s # for (n = 0; n < num_params + num_extra; n++) 844s # g_value_unset (¶mv[n]); 844s # g_free (paramv); 844s # } 844s # 844s # static GVariant * 844s # _test_fdpassing_skeleton_handle_get_property ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name G_GNUC_UNUSED, 844s # const gchar *property_name, 844s # GError **error, 844s # gpointer user_data) 844s # { 844s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 844s # GValue value = G_VALUE_INIT; 844s # GParamSpec *pspec; 844s # _ExtendedGDBusPropertyInfo *info; 844s # GVariant *ret; 844s # ret = NULL; 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 844s # g_assert (info != NULL); 844s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 844s # if (pspec == NULL) 844s # { 844s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 844s # } 844s # else 844s # { 844s # g_value_init (&value, pspec->value_type); 844s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 844s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 844s # g_value_unset (&value); 844s # } 844s # return ret; 844s # } 844s # 844s # static gboolean 844s # _test_fdpassing_skeleton_handle_set_property ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name G_GNUC_UNUSED, 844s # const gchar *property_name, 844s # GVariant *variant, 844s # GError **error, 844s # gpointer user_data) 844s # { 844s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 844s # GValue value = G_VALUE_INIT; 844s # GParamSpec *pspec; 844s # _ExtendedGDBusPropertyInfo *info; 844s # gboolean ret; 844s # ret = FALSE; 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 844s # g_assert (info != NULL); 844s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 844s # if (pspec == NULL) 844s # { 844s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 844s # } 844s # else 844s # { 844s # if (info->use_gvariant) 844s # g_value_set_variant (&value, variant); 844s # else 844s # g_dbus_gvariant_to_gvalue (variant, &value); 844s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 844s # g_value_unset (&value); 844s # ret = TRUE; 844s # } 844s # return ret; 844s # } 844s # 844s # static const GDBusInterfaceVTable _test_fdpassing_skeleton_vtable = 844s # { 844s # _test_fdpassing_skeleton_handle_method_call, 844s # _test_fdpassing_skeleton_handle_get_property, 844s # _test_fdpassing_skeleton_handle_set_property, 844s # {NULL} 844s # }; 844s # 844s # static GDBusInterfaceInfo * 844s # test_fdpassing_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 844s # { 844s # return test_fdpassing_interface_info (); 844s # } 844s # 844s # static GDBusInterfaceVTable * 844s # test_fdpassing_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 844s # { 844s # return (GDBusInterfaceVTable *) &_test_fdpassing_skeleton_vtable; 844s # } 844s # 844s # static GVariant * 844s # test_fdpassing_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 844s # { 844s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (_skeleton); 844s # 844s # GVariantBuilder builder; 844s # guint n; 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 844s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 844s # #else 844s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 844s # #endif 844s # if (_test_fdpassing_interface_info.parent_struct.properties == NULL) 844s # goto out; 844s # for (n = 0; _test_fdpassing_interface_info.parent_struct.properties[n] != NULL; n++) 844s # { 844s # GDBusPropertyInfo *info = _test_fdpassing_interface_info.parent_struct.properties[n]; 844s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 844s # { 844s # GVariant *value; 844s # 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); 844s # if (value != NULL) 844s # { 844s # g_variant_take_ref (value); 844s # g_variant_builder_add (&builder, "{sv}", info->name, value); 844s # g_variant_unref (value); 844s # } 844s # } 844s # } 844s # out: 844s # return g_variant_builder_end (&builder); 844s # } 844s # 844s # static void 844s # test_fdpassing_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface); 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 844s # G_ADD_PRIVATE (TestFDPassingSkeleton) 844s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 844s # 844s # #else 844s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 844s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 844s # 844s # #endif 844s # static void 844s # test_fdpassing_skeleton_finalize (GObject *object) 844s # { 844s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (object); 844s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 844s # if (skeleton->priv->changed_properties_idle_source != NULL) 844s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 844s # g_main_context_unref (skeleton->priv->context); 844s # g_mutex_clear (&skeleton->priv->lock); 844s # G_OBJECT_CLASS (test_fdpassing_skeleton_parent_class)->finalize (object); 844s # } 844s # 844s # static void 844s # test_fdpassing_skeleton_init (TestFDPassingSkeleton *skeleton) 844s # { 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # skeleton->priv = test_fdpassing_skeleton_get_instance_private (skeleton); 844s # #else 844s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_TEST_FDPASSING_SKELETON, TestFDPassingSkeletonPrivate); 844s # #endif 844s # 844s # g_mutex_init (&skeleton->priv->lock); 844s # skeleton->priv->context = g_main_context_ref_thread_default (); 844s # } 844s # 844s # static void 844s # test_fdpassing_skeleton_class_init (TestFDPassingSkeletonClass *klass) 844s # { 844s # GObjectClass *gobject_class; 844s # GDBusInterfaceSkeletonClass *skeleton_class; 844s # 844s # gobject_class = G_OBJECT_CLASS (klass); 844s # gobject_class->finalize = test_fdpassing_skeleton_finalize; 844s # 844s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 844s # skeleton_class->get_info = test_fdpassing_skeleton_dbus_interface_get_info; 844s # skeleton_class->get_properties = test_fdpassing_skeleton_dbus_interface_get_properties; 844s # skeleton_class->flush = test_fdpassing_skeleton_dbus_interface_flush; 844s # skeleton_class->get_vtable = test_fdpassing_skeleton_dbus_interface_get_vtable; 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 844s # g_type_class_add_private (klass, sizeof (TestFDPassingSkeletonPrivate)); 844s # #endif 844s # } 844s # 844s # static void 844s # test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # /** 844s # * test_fdpassing_skeleton_new: 844s # * 844s # * Creates a skeleton object for the D-Bus interface test.FDPassing. 844s # * 844s # * Returns: (transfer full) (type TestFDPassingSkeleton): The skeleton object. 844s # */ 844s # TestFDPassing * 844s # test_fdpassing_skeleton_new (void) 844s # { 844s # return TEST_FDPASSING (g_object_new (TYPE_TEST_FDPASSING_SKELETON, NULL)); 844s # } 844s # Error: 844s ok 15 __main__.TestCodegen.test_generate_rst 844s # gdbus-codegen: /usr/bin/gdbus-codegen 844s # tmpdir: /tmp/tmpmuuw0ts8 844s # /tmp/tmpmuuw0ts8/tmpjdtctzhb.xml: 844s # 844s # 844s # 844s # 844s # 844s # 844s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmuuw0ts8/tmpjdtctzhb.xml', '--generate-rst', 'test'] 844s # Return code: 0 844s # Output: 844s # 844s # Error: 844s ok 16 __main__.TestCodegen.test_generate_rst_method 844s # gdbus-codegen: /usr/bin/gdbus-codegen 844s # tmpdir: /tmp/tmpt9ajwd_v 844s # /tmp/tmpt9ajwd_v/tmpht5ei1_u.xml: 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpt9ajwd_v/tmpht5ei1_u.xml', '--generate-rst', 'test'] 844s # Return code: 0 844s # Output: 844s # 844s # Error: 844s ok 17 __main__.TestCodegen.test_generate_rst_property 844s # gdbus-codegen: /usr/bin/gdbus-codegen 844s # tmpdir: /tmp/tmpkomdli31 844s # /tmp/tmpkomdli31/tmpezrg0048.xml: 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkomdli31/tmpezrg0048.xml', '--generate-rst', 'test'] 844s # Return code: 0 844s # Output: 844s # 844s # Error: 844s ok 18 __main__.TestCodegen.test_generate_rst_signal 844s # gdbus-codegen: /usr/bin/gdbus-codegen 844s # tmpdir: /tmp/tmp596qu5kv 844s # /tmp/tmp596qu5kv/tmpfrj0d218.xml: 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp596qu5kv/tmpfrj0d218.xml', '--generate-rst', 'test'] 844s # Return code: 0 844s # Output: 844s # 844s # Error: 844s ok 19 __main__.TestCodegen.test_generate_signal_id_multiple_signal_args_types 844s # gdbus-codegen: /usr/bin/gdbus-codegen 844s # tmpdir: /tmp/tmpyvhtyqvl 844s # /tmp/tmpyvhtyqvl/tmpp2fz8rat.xml: 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 # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpyvhtyqvl/tmpp2fz8rat.xml', '--output', '-', '--body'] 844s # Return code: 0 844s # Output: 844s # /* 844s # * This file is generated by gdbus-codegen, do not modify it. 844s # * 844s # * The license of this code is the same as for the D-Bus interface description 844s # * it was derived from. Note that it links to GLib, so must comply with the 844s # * LGPL linking clauses. 844s # */ 844s # 844s # #ifdef HAVE_CONFIG_H 844s # # include "config.h" 844s # #endif 844s # 844s # #include 844s # #ifdef G_OS_UNIX 844s # # include 844s # #endif 844s # 844s # #ifdef G_ENABLE_DEBUG 844s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 844s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 844s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 844s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 844s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 844s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 844s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 844s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 844s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 844s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 844s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 844s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 844s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 844s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 844s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 844s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 844s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 844s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 844s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 844s # #else /* !G_ENABLE_DEBUG */ 844s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 844s # * Do not access GValues directly in your code. Instead, use the 844s # * g_value_get_*() functions 844s # */ 844s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 844s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 844s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 844s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 844s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 844s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 844s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 844s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 844s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 844s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 844s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 844s # #endif /* !G_ENABLE_DEBUG */ 844s # 844s # typedef struct 844s # { 844s # GDBusArgInfo parent_struct; 844s # gboolean use_gvariant; 844s # } _ExtendedGDBusArgInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusMethodInfo parent_struct; 844s # const gchar *signal_name; 844s # gboolean pass_fdlist; 844s # } _ExtendedGDBusMethodInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusSignalInfo parent_struct; 844s # const gchar *signal_name; 844s # } _ExtendedGDBusSignalInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusPropertyInfo parent_struct; 844s # const gchar *hyphen_name; 844s # guint use_gvariant : 1; 844s # guint emits_changed_signal : 1; 844s # } _ExtendedGDBusPropertyInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusInterfaceInfo parent_struct; 844s # const gchar *hyphen_name; 844s # } _ExtendedGDBusInterfaceInfo; 844s # 844s # typedef struct 844s # { 844s # const _ExtendedGDBusPropertyInfo *info; 844s # guint prop_id; 844s # GValue orig_value; /* the value before the change */ 844s # } ChangedProperty; 844s # 844s # static void 844s # _changed_property_free (ChangedProperty *data) 844s # { 844s # g_value_unset (&data->orig_value); 844s # g_free (data); 844s # } 844s # 844s # static gboolean 844s # _g_strv_equal0 (gchar **a, gchar **b) 844s # { 844s # gboolean ret = FALSE; 844s # guint n; 844s # if (a == NULL && b == NULL) 844s # { 844s # ret = TRUE; 844s # goto out; 844s # } 844s # if (a == NULL || b == NULL) 844s # goto out; 844s # if (g_strv_length (a) != g_strv_length (b)) 844s # goto out; 844s # for (n = 0; a[n] != NULL; n++) 844s # if (g_strcmp0 (a[n], b[n]) != 0) 844s # goto out; 844s # ret = TRUE; 844s # out: 844s # return ret; 844s # } 844s # 844s # static gboolean 844s # _g_variant_equal0 (GVariant *a, GVariant *b) 844s # { 844s # gboolean ret = FALSE; 844s # if (a == NULL && b == NULL) 844s # { 844s # ret = TRUE; 844s # goto out; 844s # } 844s # if (a == NULL || b == NULL) 844s # goto out; 844s # ret = g_variant_equal (a, b); 844s # out: 844s # return ret; 844s # } 844s # 844s # G_GNUC_UNUSED static gboolean 844s # _g_value_equal (const GValue *a, const GValue *b) 844s # { 844s # gboolean ret = FALSE; 844s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 844s # switch (G_VALUE_TYPE (a)) 844s # { 844s # case G_TYPE_BOOLEAN: 844s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 844s # break; 844s # case G_TYPE_UCHAR: 844s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 844s # break; 844s # case G_TYPE_INT: 844s # ret = (g_value_get_int (a) == g_value_get_int (b)); 844s # break; 844s # case G_TYPE_UINT: 844s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 844s # break; 844s # case G_TYPE_INT64: 844s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 844s # break; 844s # case G_TYPE_UINT64: 844s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 844s # break; 844s # case G_TYPE_DOUBLE: 844s # { 844s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 844s # gdouble da = g_value_get_double (a); 844s # gdouble db = g_value_get_double (b); 844s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 844s # } 844s # break; 844s # case G_TYPE_STRING: 844s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 844s # break; 844s # case G_TYPE_VARIANT: 844s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 844s # break; 844s # default: 844s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 844s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 844s # else 844s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 844s # break; 844s # } 844s # return ret; 844s # } 844s # 844s # static void 844s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 844s # GClosure *closure, 844s # GValue *return_value G_GNUC_UNUSED, 844s # unsigned int n_param_values, 844s # const GValue *param_values, 844s # void *invocation_hint G_GNUC_UNUSED, 844s # void *marshal_data) 844s # { 844s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 844s # (void *data1, 844s # gboolean arg_an_b, 844s # guchar arg_an_y, 844s # gint16 arg_an_n, 844s # guint16 arg_an_q, 844s # gint arg_an_i, 844s # guint arg_an_u, 844s # gint64 arg_an_x, 844s # guint64 arg_an_t, 844s # gdouble arg_an_d, 844s # const gchar *arg_an_s, 844s # const gchar *arg_an_o, 844s # const gchar *arg_an_g, 844s # GVariant *arg_an_h, 844s # const gchar *arg_an_ay, 844s # const gchar *const *arg_an_as, 844s # const gchar *const *arg_an_ao, 844s # const gchar *const *arg_an_aay, 844s # GVariant *arg_an_asv, 844s # void *data2); 844s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 844s # GCClosure *cc = (GCClosure*) closure; 844s # void *data1, *data2; 844s # 844s # g_return_if_fail (n_param_values == 19); 844s # 844s # if (G_CCLOSURE_SWAP_DATA (closure)) 844s # { 844s # data1 = closure->data; 844s # data2 = g_value_peek_pointer (param_values + 0); 844s # } 844s # else 844s # { 844s # data1 = g_value_peek_pointer (param_values + 0); 844s # data2 = closure->data; 844s # } 844s # 844s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 844s # (marshal_data ? marshal_data : cc->callback); 844s # 844s # callback (data1, 844s # g_marshal_value_peek_boolean (param_values + 1), 844s # g_marshal_value_peek_uchar (param_values + 2), 844s # g_marshal_value_peek_int (param_values + 3), 844s # g_marshal_value_peek_uint (param_values + 4), 844s # g_marshal_value_peek_int (param_values + 5), 844s # g_marshal_value_peek_uint (param_values + 6), 844s # g_marshal_value_peek_int64 (param_values + 7), 844s # g_marshal_value_peek_uint64 (param_values + 8), 844s # g_marshal_value_peek_double (param_values + 9), 844s # g_marshal_value_peek_string (param_values + 10), 844s # g_marshal_value_peek_string (param_values + 11), 844s # g_marshal_value_peek_string (param_values + 12), 844s # g_marshal_value_peek_variant (param_values + 13), 844s # g_marshal_value_peek_string (param_values + 14), 844s # g_marshal_value_peek_boxed (param_values + 15), 844s # g_marshal_value_peek_boxed (param_values + 16), 844s # g_marshal_value_peek_boxed (param_values + 17), 844s # g_marshal_value_peek_variant (param_values + 18), 844s # data2); 844s # } 844s # 844s # /* ------------------------------------------------------------------------ 844s # * Code for interface org.project.SignalingIface 844s # * ------------------------------------------------------------------------ 844s # */ 844s # 844s # /** 844s # * SECTION:OrgProjectSignalingIface 844s # * @title: OrgProjectSignalingIface 844s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 844s # * 844s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 844s # */ 844s # 844s # enum 844s # { 844s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 844s # }; 844s # 844s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 844s # 844s # /* ---- Introspection data for org.project.SignalingIface ---- */ 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_b", 844s # (gchar *) "b", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_y", 844s # (gchar *) "y", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_n", 844s # (gchar *) "n", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_q", 844s # (gchar *) "q", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_i", 844s # (gchar *) "i", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_u", 844s # (gchar *) "u", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_x", 844s # (gchar *) "x", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_t", 844s # (gchar *) "t", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_d", 844s # (gchar *) "d", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_s", 844s # (gchar *) "s", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_o", 844s # (gchar *) "o", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_g", 844s # (gchar *) "g", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_h", 844s # (gchar *) "h", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_ay", 844s # (gchar *) "ay", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_as", 844s # (gchar *) "as", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_ao", 844s # (gchar *) "ao", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_aay", 844s # (gchar *) "aay", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_asv", 844s # (gchar *) "a{sv}", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 844s # { 844s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 844s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 844s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 844s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 844s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 844s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 844s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 844s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 844s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 844s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 844s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 844s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 844s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 844s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 844s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 844s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 844s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 844s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 844s # { 844s # { 844s # -1, 844s # (gchar *) "SignalWithManyArgs", 844s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 844s # NULL 844s # }, 844s # "signal-with-many-args" 844s # }; 844s # 844s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 844s # { 844s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 844s # { 844s # { 844s # -1, 844s # (gchar *) "org.project.SignalingIface", 844s # NULL, 844s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 844s # NULL, 844s # NULL 844s # }, 844s # "org-project-signaling-iface", 844s # }; 844s # 844s # 844s # /** 844s # * org_project_signaling_iface_interface_info: 844s # * 844s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 844s # * 844s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 844s # */ 844s # GDBusInterfaceInfo * 844s # org_project_signaling_iface_interface_info (void) 844s # { 844s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 844s # } 844s # 844s # /** 844s # * org_project_signaling_iface_override_properties: 844s # * @klass: The class structure for a #GObject derived class. 844s # * @property_id_begin: The property id to assign to the first overridden property. 844s # * 844s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 844s # * The properties are overridden in the order they are defined. 844s # * 844s # * Returns: The last property id. 844s # */ 844s # guint 844s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 844s # { 844s # return property_id_begin - 1; 844s # } 844s # 844s # 844s # inline static void 844s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 844s # GClosure *closure, 844s # GValue *return_value, 844s # unsigned int n_param_values, 844s # const GValue *param_values, 844s # void *invocation_hint, 844s # void *marshal_data) 844s # { 844s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 844s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 844s # } 844s # 844s # 844s # /** 844s # * OrgProjectSignalingIface: 844s # * 844s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 844s # */ 844s # 844s # /** 844s # * OrgProjectSignalingIfaceIface: 844s # * @parent_iface: The parent interface. 844s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 844s # * 844s # * Virtual table for the D-Bus interface org.project.SignalingIface. 844s # */ 844s # 844s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 844s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 844s # 844s # static void 844s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 844s # { 844s # /* GObject signals for received D-Bus signals: */ 844s # /** 844s # * OrgProjectSignalingIface::signal-with-many-args: 844s # * @object: A #OrgProjectSignalingIface. 844s # * @arg_an_b: Argument. 844s # * @arg_an_y: Argument. 844s # * @arg_an_n: Argument. 844s # * @arg_an_q: Argument. 844s # * @arg_an_i: Argument. 844s # * @arg_an_u: Argument. 844s # * @arg_an_x: Argument. 844s # * @arg_an_t: Argument. 844s # * @arg_an_d: Argument. 844s # * @arg_an_s: Argument. 844s # * @arg_an_o: Argument. 844s # * @arg_an_g: Argument. 844s # * @arg_an_h: Argument. 844s # * @arg_an_ay: Argument. 844s # * @arg_an_as: Argument. 844s # * @arg_an_ao: Argument. 844s # * @arg_an_aay: Argument. 844s # * @arg_an_asv: Argument. 844s # * 844s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 844s # * 844s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 844s # */ 844s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 844s # g_signal_new ("signal-with-many-args", 844s # G_TYPE_FROM_INTERFACE (iface), 844s # G_SIGNAL_RUN_LAST, 844s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 844s # NULL, 844s # NULL, 844s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 844s # G_TYPE_NONE, 844s # 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); 844s # 844s # } 844s # 844s # /** 844s # * org_project_signaling_iface_emit_signal_with_many_args: 844s # * @object: A #OrgProjectSignalingIface. 844s # * @arg_an_b: Argument to pass with the signal. 844s # * @arg_an_y: Argument to pass with the signal. 844s # * @arg_an_n: Argument to pass with the signal. 844s # * @arg_an_q: Argument to pass with the signal. 844s # * @arg_an_i: Argument to pass with the signal. 844s # * @arg_an_u: Argument to pass with the signal. 844s # * @arg_an_x: Argument to pass with the signal. 844s # * @arg_an_t: Argument to pass with the signal. 844s # * @arg_an_d: Argument to pass with the signal. 844s # * @arg_an_s: Argument to pass with the signal. 844s # * @arg_an_o: Argument to pass with the signal. 844s # * @arg_an_g: Argument to pass with the signal. 844s # * @arg_an_h: Argument to pass with the signal. 844s # * @arg_an_ay: Argument to pass with the signal. 844s # * @arg_an_as: Argument to pass with the signal. 844s # * @arg_an_ao: Argument to pass with the signal. 844s # * @arg_an_aay: Argument to pass with the signal. 844s # * @arg_an_asv: Argument to pass with the signal. 844s # * 844s # * Emits the "SignalWithManyArgs" D-Bus signal. 844s # */ 844s # void 844s # org_project_signaling_iface_emit_signal_with_many_args ( 844s # OrgProjectSignalingIface *object, 844s # gboolean arg_an_b, 844s # guchar arg_an_y, 844s # gint16 arg_an_n, 844s # guint16 arg_an_q, 844s # gint arg_an_i, 844s # guint arg_an_u, 844s # gint64 arg_an_x, 844s # guint64 arg_an_t, 844s # gdouble arg_an_d, 844s # const gchar *arg_an_s, 844s # const gchar *arg_an_o, 844s # const gchar *arg_an_g, 844s # GVariant *arg_an_h, 844s # const gchar *arg_an_ay, 844s # const gchar *const *arg_an_as, 844s # const gchar *const *arg_an_ao, 844s # const gchar *const *arg_an_aay, 844s # GVariant *arg_an_asv) 844s # { 844s # 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); 844s # } 844s # 844s # /* ------------------------------------------------------------------------ */ 844s # 844s # /** 844s # * OrgProjectSignalingIfaceProxy: 844s # * 844s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 844s # */ 844s # 844s # /** 844s # * OrgProjectSignalingIfaceProxyClass: 844s # * @parent_class: The parent class. 844s # * 844s # * Class structure for #OrgProjectSignalingIfaceProxy. 844s # */ 844s # 844s # struct _OrgProjectSignalingIfaceProxyPrivate 844s # { 844s # GData *qdata; 844s # }; 844s # 844s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 844s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 844s # 844s # #else 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 844s # 844s # #endif 844s # static void 844s # org_project_signaling_iface_proxy_finalize (GObject *object) 844s # { 844s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 844s # g_datalist_clear (&proxy->priv->qdata); 844s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 844s # } 844s # 844s # static void 844s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 844s # guint prop_id G_GNUC_UNUSED, 844s # GValue *value G_GNUC_UNUSED, 844s # GParamSpec *pspec G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void 844s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 844s # guint prop_id G_GNUC_UNUSED, 844s # const GValue *value G_GNUC_UNUSED, 844s # GParamSpec *pspec G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void 844s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 844s # const gchar *sender_name G_GNUC_UNUSED, 844s # const gchar *signal_name, 844s # GVariant *parameters) 844s # { 844s # _ExtendedGDBusSignalInfo *info; 844s # GVariantIter iter; 844s # GVariant *child; 844s # GValue *paramv; 844s # gsize num_params; 844s # gsize n; 844s # guint signal_id; 844s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 844s # if (info == NULL) 844s # return; 844s # num_params = g_variant_n_children (parameters); 844s # paramv = g_new0 (GValue, num_params + 1); 844s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 844s # g_value_set_object (¶mv[0], proxy); 844s # g_variant_iter_init (&iter, parameters); 844s # n = 1; 844s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 844s # { 844s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 844s # if (arg_info->use_gvariant) 844s # { 844s # g_value_init (¶mv[n], G_TYPE_VARIANT); 844s # g_value_set_variant (¶mv[n], child); 844s # n++; 844s # } 844s # else 844s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 844s # g_variant_unref (child); 844s # } 844s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 844s # g_signal_emitv (paramv, signal_id, 0, NULL); 844s # for (n = 0; n < num_params + 1; n++) 844s # g_value_unset (¶mv[n]); 844s # g_free (paramv); 844s # } 844s # 844s # static void 844s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 844s # GVariant *changed_properties, 844s # const gchar *const *invalidated_properties) 844s # { 844s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 844s # guint n; 844s # const gchar *key; 844s # GVariantIter *iter; 844s # _ExtendedGDBusPropertyInfo *info; 844s # g_variant_get (changed_properties, "a{sv}", &iter); 844s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 844s # { 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 844s # g_datalist_remove_data (&proxy->priv->qdata, key); 844s # if (info != NULL) 844s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 844s # } 844s # g_variant_iter_free (iter); 844s # for (n = 0; invalidated_properties[n] != NULL; n++) 844s # { 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 844s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 844s # if (info != NULL) 844s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 844s # } 844s # } 844s # 844s # static void 844s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 844s # { 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 844s # #else 844s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 844s # #endif 844s # 844s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 844s # } 844s # 844s # static void 844s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 844s # { 844s # GObjectClass *gobject_class; 844s # GDBusProxyClass *proxy_class; 844s # 844s # gobject_class = G_OBJECT_CLASS (klass); 844s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 844s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 844s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 844s # 844s # proxy_class = G_DBUS_PROXY_CLASS (klass); 844s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 844s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 844s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 844s # #endif 844s # } 844s # 844s # static void 844s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # /** 844s # * org_project_signaling_iface_proxy_new: 844s # * @connection: A #GDBusConnection. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 844s # * 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 844s # * 844s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 844s # */ 844s # void 844s # org_project_signaling_iface_proxy_new ( 844s # GDBusConnection *connection, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # 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); 844s # } 844s # 844s # /** 844s # * org_project_signaling_iface_proxy_new_finish: 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 844s # * @error: Return location for error or %NULL 844s # * 844s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 844s # * 844s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectSignalingIface * 844s # org_project_signaling_iface_proxy_new_finish ( 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GObject *ret; 844s # GObject *source_object; 844s # source_object = g_async_result_get_source_object (res); 844s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 844s # g_object_unref (source_object); 844s # if (ret != NULL) 844s # return ORG_PROJECT_SIGNALING_IFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # /** 844s # * org_project_signaling_iface_proxy_new_sync: 844s # * @connection: A #GDBusConnection. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL 844s # * 844s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 844s # * 844s # * The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 844s # * 844s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectSignalingIface * 844s # org_project_signaling_iface_proxy_new_sync ( 844s # GDBusConnection *connection, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GInitable *ret; 844s # 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); 844s # if (ret != NULL) 844s # return ORG_PROJECT_SIGNALING_IFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # 844s # /** 844s # * org_project_signaling_iface_proxy_new_for_bus: 844s # * @bus_type: A #GBusType. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: A bus name (well-known or unique). 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 844s # * 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 844s # * 844s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 844s # */ 844s # void 844s # org_project_signaling_iface_proxy_new_for_bus ( 844s # GBusType bus_type, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # 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); 844s # } 844s # 844s # /** 844s # * org_project_signaling_iface_proxy_new_for_bus_finish: 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 844s # * @error: Return location for error or %NULL 844s # * 844s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 844s # * 844s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectSignalingIface * 844s # org_project_signaling_iface_proxy_new_for_bus_finish ( 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GObject *ret; 844s # GObject *source_object; 844s # source_object = g_async_result_get_source_object (res); 844s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 844s # g_object_unref (source_object); 844s # if (ret != NULL) 844s # return ORG_PROJECT_SIGNALING_IFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # /** 844s # * org_project_signaling_iface_proxy_new_for_bus_sync: 844s # * @bus_type: A #GBusType. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: A bus name (well-known or unique). 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL 844s # * 844s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 844s # * 844s # * The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 844s # * 844s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectSignalingIface * 844s # org_project_signaling_iface_proxy_new_for_bus_sync ( 844s # GBusType bus_type, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GInitable *ret; 844s # 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); 844s # if (ret != NULL) 844s # return ORG_PROJECT_SIGNALING_IFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # 844s # /* ------------------------------------------------------------------------ */ 844s # 844s # /** 844s # * OrgProjectSignalingIfaceSkeleton: 844s # * 844s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 844s # */ 844s # 844s # /** 844s # * OrgProjectSignalingIfaceSkeletonClass: 844s # * @parent_class: The parent class. 844s # * 844s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 844s # */ 844s # 844s # struct _OrgProjectSignalingIfaceSkeletonPrivate 844s # { 844s # GValue *properties; 844s # GList *changed_properties; 844s # GSource *changed_properties_idle_source; 844s # GMainContext *context; 844s # GMutex lock; 844s # }; 844s # 844s # static void 844s # _org_project_signaling_iface_skeleton_handle_method_call ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name, 844s # const gchar *method_name, 844s # GVariant *parameters, 844s # GDBusMethodInvocation *invocation, 844s # gpointer user_data) 844s # { 844s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 844s # _ExtendedGDBusMethodInfo *info; 844s # GVariantIter iter; 844s # GVariant *child; 844s # GValue *paramv; 844s # gsize num_params; 844s # guint num_extra; 844s # gsize n; 844s # guint signal_id; 844s # GValue return_value = G_VALUE_INIT; 844s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 844s # g_assert (info != NULL); 844s # num_params = g_variant_n_children (parameters); 844s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 844s # n = 0; 844s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 844s # g_value_set_object (¶mv[n++], skeleton); 844s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 844s # g_value_set_object (¶mv[n++], invocation); 844s # if (info->pass_fdlist) 844s # { 844s # #ifdef G_OS_UNIX 844s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 844s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 844s # #else 844s # g_assert_not_reached (); 844s # #endif 844s # } 844s # g_variant_iter_init (&iter, parameters); 844s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 844s # { 844s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 844s # if (arg_info->use_gvariant) 844s # { 844s # g_value_init (¶mv[n], G_TYPE_VARIANT); 844s # g_value_set_variant (¶mv[n], child); 844s # n++; 844s # } 844s # else 844s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 844s # g_variant_unref (child); 844s # } 844s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 844s # g_value_init (&return_value, G_TYPE_BOOLEAN); 844s # g_signal_emitv (paramv, signal_id, 0, &return_value); 844s # if (!g_value_get_boolean (&return_value)) 844s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 844s # g_value_unset (&return_value); 844s # for (n = 0; n < num_params + num_extra; n++) 844s # g_value_unset (¶mv[n]); 844s # g_free (paramv); 844s # } 844s # 844s # static GVariant * 844s # _org_project_signaling_iface_skeleton_handle_get_property ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name G_GNUC_UNUSED, 844s # const gchar *property_name, 844s # GError **error, 844s # gpointer user_data) 844s # { 844s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 844s # GValue value = G_VALUE_INIT; 844s # GParamSpec *pspec; 844s # _ExtendedGDBusPropertyInfo *info; 844s # GVariant *ret; 844s # ret = NULL; 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 844s # g_assert (info != NULL); 844s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 844s # if (pspec == NULL) 844s # { 844s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 844s # } 844s # else 844s # { 844s # g_value_init (&value, pspec->value_type); 844s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 844s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 844s # g_value_unset (&value); 844s # } 844s # return ret; 844s # } 844s # 844s # static gboolean 844s # _org_project_signaling_iface_skeleton_handle_set_property ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name G_GNUC_UNUSED, 844s # const gchar *property_name, 844s # GVariant *variant, 844s # GError **error, 844s # gpointer user_data) 844s # { 844s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 844s # GValue value = G_VALUE_INIT; 844s # GParamSpec *pspec; 844s # _ExtendedGDBusPropertyInfo *info; 844s # gboolean ret; 844s # ret = FALSE; 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 844s # g_assert (info != NULL); 844s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 844s # if (pspec == NULL) 844s # { 844s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 844s # } 844s # else 844s # { 844s # if (info->use_gvariant) 844s # g_value_set_variant (&value, variant); 844s # else 844s # g_dbus_gvariant_to_gvalue (variant, &value); 844s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 844s # g_value_unset (&value); 844s # ret = TRUE; 844s # } 844s # return ret; 844s # } 844s # 844s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 844s # { 844s # _org_project_signaling_iface_skeleton_handle_method_call, 844s # _org_project_signaling_iface_skeleton_handle_get_property, 844s # _org_project_signaling_iface_skeleton_handle_set_property, 844s # {NULL} 844s # }; 844s # 844s # static GDBusInterfaceInfo * 844s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 844s # { 844s # return org_project_signaling_iface_interface_info (); 844s # } 844s # 844s # static GDBusInterfaceVTable * 844s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 844s # { 844s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 844s # } 844s # 844s # static GVariant * 844s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 844s # { 844s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 844s # 844s # GVariantBuilder builder; 844s # guint n; 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 844s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 844s # #else 844s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 844s # #endif 844s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 844s # goto out; 844s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 844s # { 844s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 844s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 844s # { 844s # GVariant *value; 844s # 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); 844s # if (value != NULL) 844s # { 844s # g_variant_take_ref (value); 844s # g_variant_builder_add (&builder, "{sv}", info->name, value); 844s # g_variant_unref (value); 844s # } 844s # } 844s # } 844s # out: 844s # return g_variant_builder_end (&builder); 844s # } 844s # 844s # static void 844s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void 844s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 844s # OrgProjectSignalingIface *object, 844s # gboolean arg_an_b, 844s # guchar arg_an_y, 844s # gint16 arg_an_n, 844s # guint16 arg_an_q, 844s # gint arg_an_i, 844s # guint arg_an_u, 844s # gint64 arg_an_x, 844s # guint64 arg_an_t, 844s # gdouble arg_an_d, 844s # const gchar *arg_an_s, 844s # const gchar *arg_an_o, 844s # const gchar *arg_an_g, 844s # GVariant *arg_an_h, 844s # const gchar *arg_an_ay, 844s # const gchar *const *arg_an_as, 844s # const gchar *const *arg_an_ao, 844s # const gchar *const *arg_an_aay, 844s # GVariant *arg_an_asv) 844s # { 844s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 844s # 844s # GList *connections, *l; 844s # GVariant *signal_variant; 844s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 844s # 844s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 844s # arg_an_b, 844s # arg_an_y, 844s # arg_an_n, 844s # arg_an_q, 844s # arg_an_i, 844s # arg_an_u, 844s # arg_an_x, 844s # arg_an_t, 844s # arg_an_d, 844s # arg_an_s, 844s # arg_an_o, 844s # arg_an_g, 844s # arg_an_h, 844s # arg_an_ay, 844s # arg_an_as, 844s # arg_an_ao, 844s # arg_an_aay, 844s # arg_an_asv)); 844s # for (l = connections; l != NULL; l = l->next) 844s # { 844s # GDBusConnection *connection = l->data; 844s # g_dbus_connection_emit_signal (connection, 844s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 844s # signal_variant, NULL); 844s # } 844s # g_variant_unref (signal_variant); 844s # g_list_free_full (connections, g_object_unref); 844s # } 844s # 844s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 844s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 844s # 844s # #else 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 844s # 844s # #endif 844s # static void 844s # org_project_signaling_iface_skeleton_finalize (GObject *object) 844s # { 844s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 844s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 844s # if (skeleton->priv->changed_properties_idle_source != NULL) 844s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 844s # g_main_context_unref (skeleton->priv->context); 844s # g_mutex_clear (&skeleton->priv->lock); 844s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 844s # } 844s # 844s # static void 844s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 844s # { 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 844s # #else 844s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 844s # #endif 844s # 844s # g_mutex_init (&skeleton->priv->lock); 844s # skeleton->priv->context = g_main_context_ref_thread_default (); 844s # } 844s # 844s # static void 844s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 844s # { 844s # GObjectClass *gobject_class; 844s # GDBusInterfaceSkeletonClass *skeleton_class; 844s # 844s # gobject_class = G_OBJECT_CLASS (klass); 844s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 844s # 844s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 844s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 844s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 844s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 844s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 844s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 844s # #endif 844s # } 844s # 844s # static void 844s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 844s # { 844s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 844s # } 844s # 844s # /** 844s # * org_project_signaling_iface_skeleton_new: 844s # * 844s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 844s # * 844s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 844s # */ 844s # OrgProjectSignalingIface * 844s # org_project_signaling_iface_skeleton_new (void) 844s # { 844s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 844s # } 844s # Error: 844s ok 20 __main__.TestCodegen.test_generate_signal_id_multiple_signals_types 844s # gdbus-codegen: /usr/bin/gdbus-codegen 844s # tmpdir: /tmp/tmpk62ps6gp 844s # /tmp/tmpk62ps6gp/tmpojycfcmv.xml: 844s # 844s # 844s # 844s # 844s # 844s # 844s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpk62ps6gp/tmpojycfcmv.xml', '--output', '-', '--body'] 844s # Return code: 0 844s # Output: 844s # /* 844s # * This file is generated by gdbus-codegen, do not modify it. 844s # * 844s # * The license of this code is the same as for the D-Bus interface description 844s # * it was derived from. Note that it links to GLib, so must comply with the 844s # * LGPL linking clauses. 844s # */ 844s # 844s # #ifdef HAVE_CONFIG_H 844s # # include "config.h" 844s # #endif 844s # 844s # #include 844s # #ifdef G_OS_UNIX 844s # # include 844s # #endif 844s # 844s # #ifdef G_ENABLE_DEBUG 844s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 844s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 844s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 844s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 844s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 844s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 844s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 844s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 844s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 844s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 844s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 844s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 844s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 844s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 844s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 844s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 844s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 844s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 844s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 844s # #else /* !G_ENABLE_DEBUG */ 844s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 844s # * Do not access GValues directly in your code. Instead, use the 844s # * g_value_get_*() functions 844s # */ 844s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 844s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 844s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 844s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 844s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 844s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 844s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 844s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 844s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 844s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 844s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 844s # #endif /* !G_ENABLE_DEBUG */ 844s # 844s # typedef struct 844s # { 844s # GDBusArgInfo parent_struct; 844s # gboolean use_gvariant; 844s # } _ExtendedGDBusArgInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusMethodInfo parent_struct; 844s # const gchar *signal_name; 844s # gboolean pass_fdlist; 844s # } _ExtendedGDBusMethodInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusSignalInfo parent_struct; 844s # const gchar *signal_name; 844s # } _ExtendedGDBusSignalInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusPropertyInfo parent_struct; 844s # const gchar *hyphen_name; 844s # guint use_gvariant : 1; 844s # guint emits_changed_signal : 1; 844s # } _ExtendedGDBusPropertyInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusInterfaceInfo parent_struct; 844s # const gchar *hyphen_name; 844s # } _ExtendedGDBusInterfaceInfo; 844s # 844s # typedef struct 844s # { 844s # const _ExtendedGDBusPropertyInfo *info; 844s # guint prop_id; 844s # GValue orig_value; /* the value before the change */ 844s # } ChangedProperty; 844s # 844s # static void 844s # _changed_property_free (ChangedProperty *data) 844s # { 844s # g_value_unset (&data->orig_value); 844s # g_free (data); 844s # } 844s # 844s # static gboolean 844s # _g_strv_equal0 (gchar **a, gchar **b) 844s # { 844s # gboolean ret = FALSE; 844s # guint n; 844s # if (a == NULL && b == NULL) 844s # { 844s # ret = TRUE; 844s # goto out; 844s # } 844s # if (a == NULL || b == NULL) 844s # goto out; 844s # if (g_strv_length (a) != g_strv_length (b)) 844s # goto out; 844s # for (n = 0; a[n] != NULL; n++) 844s # if (g_strcmp0 (a[n], b[n]) != 0) 844s # goto out; 844s # ret = TRUE; 844s # out: 844s # return ret; 844s # } 844s # 844s # static gboolean 844s # _g_variant_equal0 (GVariant *a, GVariant *b) 844s # { 844s # gboolean ret = FALSE; 844s # if (a == NULL && b == NULL) 844s # { 844s # ret = TRUE; 844s # goto out; 844s # } 844s # if (a == NULL || b == NULL) 844s # goto out; 844s # ret = g_variant_equal (a, b); 844s # out: 844s # return ret; 844s # } 844s # 844s # G_GNUC_UNUSED static gboolean 844s # _g_value_equal (const GValue *a, const GValue *b) 844s # { 844s # gboolean ret = FALSE; 844s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 844s # switch (G_VALUE_TYPE (a)) 844s # { 844s # case G_TYPE_BOOLEAN: 844s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 844s # break; 844s # case G_TYPE_UCHAR: 844s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 844s # break; 844s # case G_TYPE_INT: 844s # ret = (g_value_get_int (a) == g_value_get_int (b)); 844s # break; 844s # case G_TYPE_UINT: 844s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 844s # break; 844s # case G_TYPE_INT64: 844s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 844s # break; 844s # case G_TYPE_UINT64: 844s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 844s # break; 844s # case G_TYPE_DOUBLE: 844s # { 844s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 844s # gdouble da = g_value_get_double (a); 844s # gdouble db = g_value_get_double (b); 844s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 844s # } 844s # break; 844s # case G_TYPE_STRING: 844s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 844s # break; 844s # case G_TYPE_VARIANT: 844s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 844s # break; 844s # default: 844s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 844s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 844s # else 844s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 844s # break; 844s # } 844s # return ret; 844s # } 844s # 844s # static void 844s # _g_dbus_codegen_marshal_VOID__INT64 ( 844s # GClosure *closure, 844s # GValue *return_value G_GNUC_UNUSED, 844s # unsigned int n_param_values, 844s # const GValue *param_values, 844s # void *invocation_hint G_GNUC_UNUSED, 844s # void *marshal_data) 844s # { 844s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 844s # (void *data1, 844s # gint64 arg_an_x, 844s # void *data2); 844s # _GDbusCodegenMarshalVoid_Int64Func callback; 844s # GCClosure *cc = (GCClosure*) closure; 844s # void *data1, *data2; 844s # 844s # g_return_if_fail (n_param_values == 2); 844s # 844s # if (G_CCLOSURE_SWAP_DATA (closure)) 844s # { 844s # data1 = closure->data; 844s # data2 = g_value_peek_pointer (param_values + 0); 844s # } 844s # else 844s # { 844s # data1 = g_value_peek_pointer (param_values + 0); 844s # data2 = closure->data; 844s # } 844s # 844s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 844s # (marshal_data ? marshal_data : cc->callback); 844s # 844s # callback (data1, 844s # g_marshal_value_peek_int64 (param_values + 1), 844s # data2); 844s # } 844s # 844s # static void 844s # _g_dbus_codegen_marshal_VOID__UINT64 ( 844s # GClosure *closure, 844s # GValue *return_value G_GNUC_UNUSED, 844s # unsigned int n_param_values, 844s # const GValue *param_values, 844s # void *invocation_hint G_GNUC_UNUSED, 844s # void *marshal_data) 844s # { 844s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 844s # (void *data1, 844s # guint64 arg_an_t, 844s # void *data2); 844s # _GDbusCodegenMarshalVoid_Uint64Func callback; 844s # GCClosure *cc = (GCClosure*) closure; 844s # void *data1, *data2; 844s # 844s # g_return_if_fail (n_param_values == 2); 844s # 844s # if (G_CCLOSURE_SWAP_DATA (closure)) 844s # { 844s # data1 = closure->data; 844s # data2 = g_value_peek_pointer (param_values + 0); 844s # } 844s # else 844s # { 844s # data1 = g_value_peek_pointer (param_values + 0); 844s # data2 = closure->data; 844s # } 844s # 844s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 844s # (marshal_data ? marshal_data : cc->callback); 844s # 844s # callback (data1, 844s # g_marshal_value_peek_uint64 (param_values + 1), 844s # data2); 844s # } 844s # 844s # /* ------------------------------------------------------------------------ 844s # * Code for interface org.project.SignalingIface 844s # * ------------------------------------------------------------------------ 844s # */ 844s # 844s # /** 844s # * SECTION:OrgProjectSignalingIface 844s # * @title: OrgProjectSignalingIface 844s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 844s # * 844s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 844s # */ 844s # 844s # enum 844s # { 844s # _ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL, 844s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 844s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 844s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 844s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 844s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 844s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 844s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 844s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 844s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 844s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 844s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 844s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 844s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 844s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 844s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 844s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 844s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 844s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 844s # }; 844s # 844s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[19] = { 0 }; 844s # 844s # /* ---- Introspection data for org.project.SignalingIface ---- */ 844s # 844s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_no_arg_signal = 844s # { 844s # { 844s # -1, 844s # (gchar *) "NoArgSignal", 844s # NULL, 844s # NULL 844s # }, 844s # "no-arg-signal" 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_b", 844s # (gchar *) "b", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 844s # { 844s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 844s # { 844s # { 844s # -1, 844s # (gchar *) "SingleArgSignalB", 844s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 844s # NULL 844s # }, 844s # "single-arg-signal-b" 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_y", 844s # (gchar *) "y", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 844s # { 844s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 844s # { 844s # { 844s # -1, 844s # (gchar *) "SingleArgSignalY", 844s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 844s # NULL 844s # }, 844s # "single-arg-signal-y" 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_n", 844s # (gchar *) "n", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 844s # { 844s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 844s # { 844s # { 844s # -1, 844s # (gchar *) "SingleArgSignalN", 844s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 844s # NULL 844s # }, 844s # "single-arg-signal-n" 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_q", 844s # (gchar *) "q", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 844s # { 844s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 844s # { 844s # { 844s # -1, 844s # (gchar *) "SingleArgSignalQ", 844s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 844s # NULL 844s # }, 844s # "single-arg-signal-q" 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_i", 844s # (gchar *) "i", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 844s # { 844s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 844s # { 844s # { 844s # -1, 844s # (gchar *) "SingleArgSignalI", 844s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 844s # NULL 844s # }, 844s # "single-arg-signal-i" 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_u", 844s # (gchar *) "u", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 844s # { 844s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 844s # { 844s # { 844s # -1, 844s # (gchar *) "SingleArgSignalU", 844s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 844s # NULL 844s # }, 844s # "single-arg-signal-u" 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_x", 844s # (gchar *) "x", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 844s # { 844s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 844s # { 844s # { 844s # -1, 844s # (gchar *) "SingleArgSignalX", 844s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 844s # NULL 844s # }, 844s # "single-arg-signal-x" 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_t", 844s # (gchar *) "t", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 844s # { 844s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 844s # { 844s # { 844s # -1, 844s # (gchar *) "SingleArgSignalT", 844s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 844s # NULL 844s # }, 844s # "single-arg-signal-t" 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_d", 844s # (gchar *) "d", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 844s # { 844s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 844s # { 844s # { 844s # -1, 844s # (gchar *) "SingleArgSignalD", 844s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 844s # NULL 844s # }, 844s # "single-arg-signal-d" 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_s", 844s # (gchar *) "s", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 844s # { 844s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 844s # { 844s # { 844s # -1, 844s # (gchar *) "SingleArgSignalS", 844s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 844s # NULL 844s # }, 844s # "single-arg-signal-s" 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_o", 844s # (gchar *) "o", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 844s # { 844s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 844s # { 844s # { 844s # -1, 844s # (gchar *) "SingleArgSignalO", 844s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 844s # NULL 844s # }, 844s # "single-arg-signal-o" 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_g", 844s # (gchar *) "g", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 844s # { 844s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 844s # { 844s # { 844s # -1, 844s # (gchar *) "SingleArgSignalG", 844s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 844s # NULL 844s # }, 844s # "single-arg-signal-g" 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_h", 844s # (gchar *) "h", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 844s # { 844s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 844s # { 844s # { 844s # -1, 844s # (gchar *) "SingleArgSignalH", 844s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 844s # NULL 844s # }, 844s # "single-arg-signal-h" 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_ay", 844s # (gchar *) "ay", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 844s # { 844s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 844s # { 844s # { 844s # -1, 844s # (gchar *) "SingleArgSignalAY", 844s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 844s # NULL 844s # }, 844s # "single-arg-signal-ay" 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_as", 844s # (gchar *) "as", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 844s # { 844s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 844s # { 844s # { 844s # -1, 844s # (gchar *) "SingleArgSignalAS", 844s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 844s # NULL 844s # }, 844s # "single-arg-signal-as" 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_ao", 844s # (gchar *) "ao", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 844s # { 844s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 844s # { 844s # { 844s # -1, 844s # (gchar *) "SingleArgSignalAO", 844s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 844s # NULL 844s # }, 844s # "single-arg-signal-ao" 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_aay", 844s # (gchar *) "aay", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 844s # { 844s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 844s # { 844s # { 844s # -1, 844s # (gchar *) "SingleArgSignalAAY", 844s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 844s # NULL 844s # }, 844s # "single-arg-signal-aay" 844s # }; 844s # 844s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv = 844s # { 844s # { 844s # -1, 844s # (gchar *) "an_asv", 844s # (gchar *) "a{sv}", 844s # NULL 844s # }, 844s # FALSE 844s # }; 844s # 844s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 844s # { 844s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 844s # { 844s # { 844s # -1, 844s # (gchar *) "SingleArgSignalASV", 844s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 844s # NULL 844s # }, 844s # "single-arg-signal-asv" 844s # }; 844s # 844s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 844s # { 844s # &_org_project_signaling_iface_signal_info_no_arg_signal.parent_struct, 844s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 844s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 844s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 844s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 844s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 844s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 844s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 844s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 844s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 844s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 844s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 844s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 844s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 844s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 844s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 844s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 844s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 844s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 844s # { 844s # { 844s # -1, 844s # (gchar *) "org.project.SignalingIface", 844s # NULL, 844s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 844s # NULL, 844s # NULL 844s # }, 844s # "org-project-signaling-iface", 844s # }; 844s # 844s # 844s # /** 844s # * org_project_signaling_iface_interface_info: 844s # * 844s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 844s # * 844s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 844s # */ 844s # GDBusInterfaceInfo * 844s # org_project_signaling_iface_interface_info (void) 844s # { 844s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 844s # } 844s # 844s # /** 844s # * org_project_signaling_iface_override_properties: 844s # * @klass: The class structure for a #GObject derived class. 844s # * @property_id_begin: The property id to assign to the first overridden property. 844s # * 844s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 844s # * The properties are overridden in the order they are defined. 844s # * 844s # * Returns: The last property id. 844s # */ 844s # guint 844s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 844s # { 844s # return property_id_begin - 1; 844s # } 844s # 844s # 844s # inline static void 844s # org_project_signaling_iface_signal_marshal_no_arg_signal ( 844s # GClosure *closure, 844s # GValue *return_value, 844s # unsigned int n_param_values, 844s # const GValue *param_values, 844s # void *invocation_hint, 844s # void *marshal_data) 844s # { 844s # g_cclosure_marshal_VOID__VOID (closure, 844s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 844s # } 844s # 844s # inline static void 844s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 844s # GClosure *closure, 844s # GValue *return_value, 844s # unsigned int n_param_values, 844s # const GValue *param_values, 844s # void *invocation_hint, 844s # void *marshal_data) 844s # { 844s # g_cclosure_marshal_VOID__BOOLEAN (closure, 844s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 844s # } 844s # 844s # inline static void 844s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 844s # GClosure *closure, 844s # GValue *return_value, 844s # unsigned int n_param_values, 844s # const GValue *param_values, 844s # void *invocation_hint, 844s # void *marshal_data) 844s # { 844s # g_cclosure_marshal_VOID__UCHAR (closure, 844s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 844s # } 844s # 844s # inline static void 844s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 844s # GClosure *closure, 844s # GValue *return_value, 844s # unsigned int n_param_values, 844s # const GValue *param_values, 844s # void *invocation_hint, 844s # void *marshal_data) 844s # { 844s # g_cclosure_marshal_VOID__INT (closure, 844s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 844s # } 844s # 844s # inline static void 844s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 844s # GClosure *closure, 844s # GValue *return_value, 844s # unsigned int n_param_values, 844s # const GValue *param_values, 844s # void *invocation_hint, 844s # void *marshal_data) 844s # { 844s # g_cclosure_marshal_VOID__UINT (closure, 844s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 844s # } 844s # 844s # inline static void 844s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 844s # GClosure *closure, 844s # GValue *return_value, 844s # unsigned int n_param_values, 844s # const GValue *param_values, 844s # void *invocation_hint, 844s # void *marshal_data) 844s # { 844s # g_cclosure_marshal_VOID__INT (closure, 844s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 844s # } 844s # 844s # inline static void 844s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 844s # GClosure *closure, 844s # GValue *return_value, 844s # unsigned int n_param_values, 844s # const GValue *param_values, 844s # void *invocation_hint, 844s # void *marshal_data) 844s # { 844s # g_cclosure_marshal_VOID__UINT (closure, 844s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 844s # } 844s # 844s # inline static void 844s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 844s # GClosure *closure, 844s # GValue *return_value, 844s # unsigned int n_param_values, 844s # const GValue *param_values, 844s # void *invocation_hint, 844s # void *marshal_data) 844s # { 844s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 844s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 844s # } 844s # 844s # inline static void 844s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 844s # GClosure *closure, 844s # GValue *return_value, 844s # unsigned int n_param_values, 844s # const GValue *param_values, 844s # void *invocation_hint, 844s # void *marshal_data) 844s # { 844s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 844s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 844s # } 844s # 844s # inline static void 844s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 844s # GClosure *closure, 844s # GValue *return_value, 844s # unsigned int n_param_values, 844s # const GValue *param_values, 844s # void *invocation_hint, 844s # void *marshal_data) 844s # { 844s # g_cclosure_marshal_VOID__DOUBLE (closure, 844s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 844s # } 844s # 844s # inline static void 844s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 844s # GClosure *closure, 844s # GValue *return_value, 844s # unsigned int n_param_values, 844s # const GValue *param_values, 844s # void *invocation_hint, 844s # void *marshal_data) 844s # { 844s # g_cclosure_marshal_VOID__STRING (closure, 844s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 844s # } 844s # 844s # inline static void 844s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 844s # GClosure *closure, 844s # GValue *return_value, 844s # unsigned int n_param_values, 844s # const GValue *param_values, 844s # void *invocation_hint, 844s # void *marshal_data) 844s # { 844s # g_cclosure_marshal_VOID__STRING (closure, 844s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 844s # } 844s # 844s # inline static void 844s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 844s # GClosure *closure, 844s # GValue *return_value, 844s # unsigned int n_param_values, 844s # const GValue *param_values, 844s # void *invocation_hint, 844s # void *marshal_data) 844s # { 844s # g_cclosure_marshal_VOID__STRING (closure, 844s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 844s # } 844s # 844s # inline static void 844s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 844s # GClosure *closure, 844s # GValue *return_value, 844s # unsigned int n_param_values, 844s # const GValue *param_values, 844s # void *invocation_hint, 844s # void *marshal_data) 844s # { 844s # g_cclosure_marshal_VOID__VARIANT (closure, 844s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 844s # } 844s # 844s # inline static void 844s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 844s # GClosure *closure, 844s # GValue *return_value, 844s # unsigned int n_param_values, 844s # const GValue *param_values, 844s # void *invocation_hint, 844s # void *marshal_data) 844s # { 844s # g_cclosure_marshal_VOID__STRING (closure, 844s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 844s # } 844s # 844s # inline static void 844s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 844s # GClosure *closure, 844s # GValue *return_value, 844s # unsigned int n_param_values, 844s # const GValue *param_values, 844s # void *invocation_hint, 844s # void *marshal_data) 844s # { 844s # g_cclosure_marshal_VOID__BOXED (closure, 844s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 844s # } 844s # 844s # inline static void 844s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 844s # GClosure *closure, 844s # GValue *return_value, 844s # unsigned int n_param_values, 844s # const GValue *param_values, 844s # void *invocation_hint, 844s # void *marshal_data) 844s # { 844s # g_cclosure_marshal_VOID__BOXED (closure, 844s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 844s # } 844s # 844s # inline static void 844s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 844s # GClosure *closure, 844s # GValue *return_value, 844s # unsigned int n_param_values, 844s # const GValue *param_values, 844s # void *invocation_hint, 844s # void *marshal_data) 844s # { 844s # g_cclosure_marshal_VOID__BOXED (closure, 844s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 844s # } 844s # 844s # inline static void 844s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 844s # GClosure *closure, 844s # GValue *return_value, 844s # unsigned int n_param_values, 844s # const GValue *param_values, 844s # void *invocation_hint, 844s # void *marshal_data) 844s # { 844s # g_cclosure_marshal_VOID__VARIANT (closure, 844s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 844s # } 844s # 844s # 844s # /** 844s # * OrgProjectSignalingIface: 844s # * 844s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 844s # */ 844s # 844s # /** 844s # * OrgProjectSignalingIfaceIface: 844s # * @parent_iface: The parent interface. 844s # * @no_arg_signal: Handler for the #OrgProjectSignalingIface::no-arg-signal signal. 844s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 844s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 844s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 844s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 844s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 844s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 844s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 844s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 844s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 844s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 844s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 844s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 844s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 844s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 844s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 844s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 844s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 844s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 844s # * 844s # * Virtual table for the D-Bus interface org.project.SignalingIface. 844s # */ 844s # 844s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 844s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 844s # 844s # static void 844s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 844s # { 844s # /* GObject signals for received D-Bus signals: */ 844s # /** 844s # * OrgProjectSignalingIface::no-arg-signal: 844s # * @object: A #OrgProjectSignalingIface. 844s # * 844s # * On the client-side, this signal is emitted whenever the D-Bus signal "NoArgSignal" is received. 844s # * 844s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 844s # */ 844s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL] = 844s # g_signal_new ("no-arg-signal", 844s # G_TYPE_FROM_INTERFACE (iface), 844s # G_SIGNAL_RUN_LAST, 844s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, no_arg_signal), 844s # NULL, 844s # NULL, 844s # org_project_signaling_iface_signal_marshal_no_arg_signal, 844s # G_TYPE_NONE, 844s # 0); 844s # 844s # /** 844s # * OrgProjectSignalingIface::single-arg-signal-b: 844s # * @object: A #OrgProjectSignalingIface. 844s # * @arg_an_b: Argument. 844s # * 844s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 844s # * 844s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 844s # */ 844s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 844s # g_signal_new ("single-arg-signal-b", 844s # G_TYPE_FROM_INTERFACE (iface), 844s # G_SIGNAL_RUN_LAST, 844s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 844s # NULL, 844s # NULL, 844s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 844s # G_TYPE_NONE, 844s # 1, G_TYPE_BOOLEAN); 844s # 844s # /** 844s # * OrgProjectSignalingIface::single-arg-signal-y: 844s # * @object: A #OrgProjectSignalingIface. 844s # * @arg_an_y: Argument. 844s # * 844s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 844s # * 844s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 844s # */ 844s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 844s # g_signal_new ("single-arg-signal-y", 844s # G_TYPE_FROM_INTERFACE (iface), 844s # G_SIGNAL_RUN_LAST, 844s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 844s # NULL, 844s # NULL, 844s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 844s # G_TYPE_NONE, 844s # 1, G_TYPE_UCHAR); 844s # 844s # /** 844s # * OrgProjectSignalingIface::single-arg-signal-n: 844s # * @object: A #OrgProjectSignalingIface. 844s # * @arg_an_n: Argument. 844s # * 844s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 844s # * 844s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 844s # */ 844s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 844s # g_signal_new ("single-arg-signal-n", 844s # G_TYPE_FROM_INTERFACE (iface), 844s # G_SIGNAL_RUN_LAST, 844s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 844s # NULL, 844s # NULL, 844s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 844s # G_TYPE_NONE, 844s # 1, G_TYPE_INT); 844s # 844s # /** 844s # * OrgProjectSignalingIface::single-arg-signal-q: 844s # * @object: A #OrgProjectSignalingIface. 844s # * @arg_an_q: Argument. 844s # * 844s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 844s # * 844s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 844s # */ 844s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 844s # g_signal_new ("single-arg-signal-q", 844s # G_TYPE_FROM_INTERFACE (iface), 844s # G_SIGNAL_RUN_LAST, 844s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 844s # NULL, 844s # NULL, 844s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 844s # G_TYPE_NONE, 844s # 1, G_TYPE_UINT); 844s # 844s # /** 844s # * OrgProjectSignalingIface::single-arg-signal-i: 844s # * @object: A #OrgProjectSignalingIface. 844s # * @arg_an_i: Argument. 844s # * 844s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 844s # * 844s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 844s # */ 844s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 844s # g_signal_new ("single-arg-signal-i", 844s # G_TYPE_FROM_INTERFACE (iface), 844s # G_SIGNAL_RUN_LAST, 844s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 844s # NULL, 844s # NULL, 844s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 844s # G_TYPE_NONE, 844s # 1, G_TYPE_INT); 844s # 844s # /** 844s # * OrgProjectSignalingIface::single-arg-signal-u: 844s # * @object: A #OrgProjectSignalingIface. 844s # * @arg_an_u: Argument. 844s # * 844s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 844s # * 844s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 844s # */ 844s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 844s # g_signal_new ("single-arg-signal-u", 844s # G_TYPE_FROM_INTERFACE (iface), 844s # G_SIGNAL_RUN_LAST, 844s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 844s # NULL, 844s # NULL, 844s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 844s # G_TYPE_NONE, 844s # 1, G_TYPE_UINT); 844s # 844s # /** 844s # * OrgProjectSignalingIface::single-arg-signal-x: 844s # * @object: A #OrgProjectSignalingIface. 844s # * @arg_an_x: Argument. 844s # * 844s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 844s # * 844s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 844s # */ 844s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 844s # g_signal_new ("single-arg-signal-x", 844s # G_TYPE_FROM_INTERFACE (iface), 844s # G_SIGNAL_RUN_LAST, 844s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 844s # NULL, 844s # NULL, 844s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 844s # G_TYPE_NONE, 844s # 1, G_TYPE_INT64); 844s # 844s # /** 844s # * OrgProjectSignalingIface::single-arg-signal-t: 844s # * @object: A #OrgProjectSignalingIface. 844s # * @arg_an_t: Argument. 844s # * 844s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 844s # * 844s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 844s # */ 844s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 844s # g_signal_new ("single-arg-signal-t", 844s # G_TYPE_FROM_INTERFACE (iface), 844s # G_SIGNAL_RUN_LAST, 844s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 844s # NULL, 844s # NULL, 844s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 844s # G_TYPE_NONE, 844s # 1, G_TYPE_UINT64); 844s # 844s # /** 844s # * OrgProjectSignalingIface::single-arg-signal-d: 844s # * @object: A #OrgProjectSignalingIface. 844s # * @arg_an_d: Argument. 844s # * 844s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 844s # * 844s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 844s # */ 844s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 844s # g_signal_new ("single-arg-signal-d", 844s # G_TYPE_FROM_INTERFACE (iface), 844s # G_SIGNAL_RUN_LAST, 844s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 844s # NULL, 844s # NULL, 844s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 844s # G_TYPE_NONE, 844s # 1, G_TYPE_DOUBLE); 844s # 844s # /** 844s # * OrgProjectSignalingIface::single-arg-signal-s: 844s # * @object: A #OrgProjectSignalingIface. 844s # * @arg_an_s: Argument. 844s # * 844s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 844s # * 844s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 844s # */ 844s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 844s # g_signal_new ("single-arg-signal-s", 844s # G_TYPE_FROM_INTERFACE (iface), 844s # G_SIGNAL_RUN_LAST, 844s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 844s # NULL, 844s # NULL, 844s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 844s # G_TYPE_NONE, 844s # 1, G_TYPE_STRING); 844s # 844s # /** 844s # * OrgProjectSignalingIface::single-arg-signal-o: 844s # * @object: A #OrgProjectSignalingIface. 844s # * @arg_an_o: Argument. 844s # * 844s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 844s # * 844s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 844s # */ 844s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 844s # g_signal_new ("single-arg-signal-o", 844s # G_TYPE_FROM_INTERFACE (iface), 844s # G_SIGNAL_RUN_LAST, 844s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 844s # NULL, 844s # NULL, 844s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 844s # G_TYPE_NONE, 844s # 1, G_TYPE_STRING); 844s # 844s # /** 844s # * OrgProjectSignalingIface::single-arg-signal-g: 844s # * @object: A #OrgProjectSignalingIface. 844s # * @arg_an_g: Argument. 844s # * 844s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 844s # * 844s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 844s # */ 844s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 844s # g_signal_new ("single-arg-signal-g", 844s # G_TYPE_FROM_INTERFACE (iface), 844s # G_SIGNAL_RUN_LAST, 844s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 844s # NULL, 844s # NULL, 844s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 844s # G_TYPE_NONE, 844s # 1, G_TYPE_STRING); 844s # 844s # /** 844s # * OrgProjectSignalingIface::single-arg-signal-h: 844s # * @object: A #OrgProjectSignalingIface. 844s # * @arg_an_h: Argument. 844s # * 844s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 844s # * 844s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 844s # */ 844s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 844s # g_signal_new ("single-arg-signal-h", 844s # G_TYPE_FROM_INTERFACE (iface), 844s # G_SIGNAL_RUN_LAST, 844s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 844s # NULL, 844s # NULL, 844s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 844s # G_TYPE_NONE, 844s # 1, G_TYPE_VARIANT); 844s # 844s # /** 844s # * OrgProjectSignalingIface::single-arg-signal-ay: 844s # * @object: A #OrgProjectSignalingIface. 844s # * @arg_an_ay: Argument. 844s # * 844s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAY" is received. 844s # * 844s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 844s # */ 844s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 844s # g_signal_new ("single-arg-signal-ay", 844s # G_TYPE_FROM_INTERFACE (iface), 844s # G_SIGNAL_RUN_LAST, 844s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 844s # NULL, 844s # NULL, 844s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 844s # G_TYPE_NONE, 844s # 1, G_TYPE_STRING); 844s # 844s # /** 844s # * OrgProjectSignalingIface::single-arg-signal-as: 844s # * @object: A #OrgProjectSignalingIface. 844s # * @arg_an_as: Argument. 844s # * 844s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAS" is received. 844s # * 844s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 844s # */ 844s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 844s # g_signal_new ("single-arg-signal-as", 844s # G_TYPE_FROM_INTERFACE (iface), 844s # G_SIGNAL_RUN_LAST, 844s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 844s # NULL, 844s # NULL, 844s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 844s # G_TYPE_NONE, 844s # 1, G_TYPE_STRV); 844s # 844s # /** 844s # * OrgProjectSignalingIface::single-arg-signal-ao: 844s # * @object: A #OrgProjectSignalingIface. 844s # * @arg_an_ao: Argument. 844s # * 844s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAO" is received. 844s # * 844s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 844s # */ 844s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 844s # g_signal_new ("single-arg-signal-ao", 844s # G_TYPE_FROM_INTERFACE (iface), 844s # G_SIGNAL_RUN_LAST, 844s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 844s # NULL, 844s # NULL, 844s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 844s # G_TYPE_NONE, 844s # 1, G_TYPE_STRV); 844s # 844s # /** 844s # * OrgProjectSignalingIface::single-arg-signal-aay: 844s # * @object: A #OrgProjectSignalingIface. 844s # * @arg_an_aay: Argument. 844s # * 844s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAAY" is received. 844s # * 844s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 844s # */ 844s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 844s # g_signal_new ("single-arg-signal-aay", 844s # G_TYPE_FROM_INTERFACE (iface), 844s # G_SIGNAL_RUN_LAST, 844s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 844s # NULL, 844s # NULL, 844s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 844s # G_TYPE_NONE, 844s # 1, G_TYPE_STRV); 844s # 844s # /** 844s # * OrgProjectSignalingIface::single-arg-signal-asv: 844s # * @object: A #OrgProjectSignalingIface. 844s # * @arg_an_asv: Argument. 844s # * 844s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalASV" is received. 844s # * 844s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 844s # */ 844s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 844s # g_signal_new ("single-arg-signal-asv", 844s # G_TYPE_FROM_INTERFACE (iface), 844s # G_SIGNAL_RUN_LAST, 844s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 844s # NULL, 844s # NULL, 844s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 844s # G_TYPE_NONE, 844s # 1, G_TYPE_VARIANT); 844s # 844s # } 844s # 844s # /** 844s # * org_project_signaling_iface_emit_no_arg_signal: 844s # * @object: A #OrgProjectSignalingIface. 844s # * 844s # * Emits the "NoArgSignal" D-Bus signal. 844s # */ 844s # void 844s # org_project_signaling_iface_emit_no_arg_signal ( 844s # OrgProjectSignalingIface *object) 844s # { 844s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL], 0); 844s # } 844s # 844s # /** 844s # * org_project_signaling_iface_emit_single_arg_signal_b: 844s # * @object: A #OrgProjectSignalingIface. 844s # * @arg_an_b: Argument to pass with the signal. 844s # * 844s # * Emits the "SingleArgSignalB" D-Bus signal. 844s # */ 844s # void 844s # org_project_signaling_iface_emit_single_arg_signal_b ( 844s # OrgProjectSignalingIface *object, 844s # gboolean arg_an_b) 844s # { 844s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_an_b); 844s # } 844s # 844s # /** 844s # * org_project_signaling_iface_emit_single_arg_signal_y: 844s # * @object: A #OrgProjectSignalingIface. 844s # * @arg_an_y: Argument to pass with the signal. 844s # * 844s # * Emits the "SingleArgSignalY" D-Bus signal. 844s # */ 844s # void 844s # org_project_signaling_iface_emit_single_arg_signal_y ( 844s # OrgProjectSignalingIface *object, 844s # guchar arg_an_y) 844s # { 844s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_an_y); 844s # } 844s # 844s # /** 844s # * org_project_signaling_iface_emit_single_arg_signal_n: 844s # * @object: A #OrgProjectSignalingIface. 844s # * @arg_an_n: Argument to pass with the signal. 844s # * 844s # * Emits the "SingleArgSignalN" D-Bus signal. 844s # */ 844s # void 844s # org_project_signaling_iface_emit_single_arg_signal_n ( 844s # OrgProjectSignalingIface *object, 844s # gint16 arg_an_n) 844s # { 844s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_an_n); 844s # } 844s # 844s # /** 844s # * org_project_signaling_iface_emit_single_arg_signal_q: 844s # * @object: A #OrgProjectSignalingIface. 844s # * @arg_an_q: Argument to pass with the signal. 844s # * 844s # * Emits the "SingleArgSignalQ" D-Bus signal. 844s # */ 844s # void 844s # org_project_signaling_iface_emit_single_arg_signal_q ( 844s # OrgProjectSignalingIface *object, 844s # guint16 arg_an_q) 844s # { 844s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_an_q); 844s # } 844s # 844s # /** 844s # * org_project_signaling_iface_emit_single_arg_signal_i: 844s # * @object: A #OrgProjectSignalingIface. 844s # * @arg_an_i: Argument to pass with the signal. 844s # * 844s # * Emits the "SingleArgSignalI" D-Bus signal. 844s # */ 844s # void 844s # org_project_signaling_iface_emit_single_arg_signal_i ( 844s # OrgProjectSignalingIface *object, 844s # gint arg_an_i) 844s # { 844s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_an_i); 844s # } 844s # 844s # /** 844s # * org_project_signaling_iface_emit_single_arg_signal_u: 844s # * @object: A #OrgProjectSignalingIface. 844s # * @arg_an_u: Argument to pass with the signal. 844s # * 844s # * Emits the "SingleArgSignalU" D-Bus signal. 844s # */ 844s # void 844s # org_project_signaling_iface_emit_single_arg_signal_u ( 844s # OrgProjectSignalingIface *object, 844s # guint arg_an_u) 844s # { 844s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_an_u); 844s # } 844s # 844s # /** 844s # * org_project_signaling_iface_emit_single_arg_signal_x: 844s # * @object: A #OrgProjectSignalingIface. 844s # * @arg_an_x: Argument to pass with the signal. 844s # * 844s # * Emits the "SingleArgSignalX" D-Bus signal. 844s # */ 844s # void 844s # org_project_signaling_iface_emit_single_arg_signal_x ( 844s # OrgProjectSignalingIface *object, 844s # gint64 arg_an_x) 844s # { 844s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_an_x); 844s # } 844s # 844s # /** 844s # * org_project_signaling_iface_emit_single_arg_signal_t: 844s # * @object: A #OrgProjectSignalingIface. 844s # * @arg_an_t: Argument to pass with the signal. 844s # * 844s # * Emits the "SingleArgSignalT" D-Bus signal. 844s # */ 844s # void 844s # org_project_signaling_iface_emit_single_arg_signal_t ( 844s # OrgProjectSignalingIface *object, 844s # guint64 arg_an_t) 844s # { 844s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_an_t); 844s # } 844s # 844s # /** 844s # * org_project_signaling_iface_emit_single_arg_signal_d: 844s # * @object: A #OrgProjectSignalingIface. 844s # * @arg_an_d: Argument to pass with the signal. 844s # * 844s # * Emits the "SingleArgSignalD" D-Bus signal. 844s # */ 844s # void 844s # org_project_signaling_iface_emit_single_arg_signal_d ( 844s # OrgProjectSignalingIface *object, 844s # gdouble arg_an_d) 844s # { 844s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_an_d); 844s # } 844s # 844s # /** 844s # * org_project_signaling_iface_emit_single_arg_signal_s: 844s # * @object: A #OrgProjectSignalingIface. 844s # * @arg_an_s: Argument to pass with the signal. 844s # * 844s # * Emits the "SingleArgSignalS" D-Bus signal. 844s # */ 844s # void 844s # org_project_signaling_iface_emit_single_arg_signal_s ( 844s # OrgProjectSignalingIface *object, 844s # const gchar *arg_an_s) 844s # { 844s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_an_s); 844s # } 844s # 844s # /** 844s # * org_project_signaling_iface_emit_single_arg_signal_o: 844s # * @object: A #OrgProjectSignalingIface. 844s # * @arg_an_o: Argument to pass with the signal. 844s # * 844s # * Emits the "SingleArgSignalO" D-Bus signal. 844s # */ 844s # void 844s # org_project_signaling_iface_emit_single_arg_signal_o ( 844s # OrgProjectSignalingIface *object, 844s # const gchar *arg_an_o) 844s # { 844s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_an_o); 844s # } 844s # 844s # /** 844s # * org_project_signaling_iface_emit_single_arg_signal_g: 844s # * @object: A #OrgProjectSignalingIface. 844s # * @arg_an_g: Argument to pass with the signal. 844s # * 844s # * Emits the "SingleArgSignalG" D-Bus signal. 844s # */ 844s # void 844s # org_project_signaling_iface_emit_single_arg_signal_g ( 844s # OrgProjectSignalingIface *object, 844s # const gchar *arg_an_g) 844s # { 844s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_an_g); 844s # } 844s # 844s # /** 844s # * org_project_signaling_iface_emit_single_arg_signal_h: 844s # * @object: A #OrgProjectSignalingIface. 844s # * @arg_an_h: Argument to pass with the signal. 844s # * 844s # * Emits the "SingleArgSignalH" D-Bus signal. 844s # */ 844s # void 844s # org_project_signaling_iface_emit_single_arg_signal_h ( 844s # OrgProjectSignalingIface *object, 844s # GVariant *arg_an_h) 844s # { 844s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_an_h); 844s # } 844s # 844s # /** 844s # * org_project_signaling_iface_emit_single_arg_signal_ay: 844s # * @object: A #OrgProjectSignalingIface. 844s # * @arg_an_ay: Argument to pass with the signal. 844s # * 844s # * Emits the "SingleArgSignalAY" D-Bus signal. 844s # */ 844s # void 844s # org_project_signaling_iface_emit_single_arg_signal_ay ( 844s # OrgProjectSignalingIface *object, 844s # const gchar *arg_an_ay) 844s # { 844s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_an_ay); 844s # } 844s # 844s # /** 844s # * org_project_signaling_iface_emit_single_arg_signal_as: 844s # * @object: A #OrgProjectSignalingIface. 844s # * @arg_an_as: Argument to pass with the signal. 844s # * 844s # * Emits the "SingleArgSignalAS" D-Bus signal. 844s # */ 844s # void 844s # org_project_signaling_iface_emit_single_arg_signal_as ( 844s # OrgProjectSignalingIface *object, 844s # const gchar *const *arg_an_as) 844s # { 844s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_an_as); 844s # } 844s # 844s # /** 844s # * org_project_signaling_iface_emit_single_arg_signal_ao: 844s # * @object: A #OrgProjectSignalingIface. 844s # * @arg_an_ao: Argument to pass with the signal. 844s # * 844s # * Emits the "SingleArgSignalAO" D-Bus signal. 844s # */ 844s # void 844s # org_project_signaling_iface_emit_single_arg_signal_ao ( 844s # OrgProjectSignalingIface *object, 844s # const gchar *const *arg_an_ao) 844s # { 844s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_an_ao); 844s # } 844s # 844s # /** 844s # * org_project_signaling_iface_emit_single_arg_signal_aay: 844s # * @object: A #OrgProjectSignalingIface. 844s # * @arg_an_aay: Argument to pass with the signal. 844s # * 844s # * Emits the "SingleArgSignalAAY" D-Bus signal. 844s # */ 844s # void 844s # org_project_signaling_iface_emit_single_arg_signal_aay ( 844s # OrgProjectSignalingIface *object, 844s # const gchar *const *arg_an_aay) 844s # { 844s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_an_aay); 844s # } 844s # 844s # /** 844s # * org_project_signaling_iface_emit_single_arg_signal_asv: 844s # * @object: A #OrgProjectSignalingIface. 844s # * @arg_an_asv: Argument to pass with the signal. 844s # * 844s # * Emits the "SingleArgSignalASV" D-Bus signal. 844s # */ 844s # void 844s # org_project_signaling_iface_emit_single_arg_signal_asv ( 844s # OrgProjectSignalingIface *object, 844s # GVariant *arg_an_asv) 844s # { 844s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_an_asv); 844s # } 844s # 844s # /* ------------------------------------------------------------------------ */ 844s # 844s # /** 844s # * OrgProjectSignalingIfaceProxy: 844s # * 844s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 844s # */ 844s # 844s # /** 844s # * OrgProjectSignalingIfaceProxyClass: 844s # * @parent_class: The parent class. 844s # * 844s # * Class structure for #OrgProjectSignalingIfaceProxy. 844s # */ 844s # 844s # struct _OrgProjectSignalingIfaceProxyPrivate 844s # { 844s # GData *qdata; 844s # }; 844s # 844s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 844s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 844s # 844s # #else 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 844s # 844s # #endif 844s # static void 844s # org_project_signaling_iface_proxy_finalize (GObject *object) 844s # { 844s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 844s # g_datalist_clear (&proxy->priv->qdata); 844s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 844s # } 844s # 844s # static void 844s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 844s # guint prop_id G_GNUC_UNUSED, 844s # GValue *value G_GNUC_UNUSED, 844s # GParamSpec *pspec G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void 844s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 844s # guint prop_id G_GNUC_UNUSED, 844s # const GValue *value G_GNUC_UNUSED, 844s # GParamSpec *pspec G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void 844s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 844s # const gchar *sender_name G_GNUC_UNUSED, 844s # const gchar *signal_name, 844s # GVariant *parameters) 844s # { 844s # _ExtendedGDBusSignalInfo *info; 844s # GVariantIter iter; 844s # GVariant *child; 844s # GValue *paramv; 844s # gsize num_params; 844s # gsize n; 844s # guint signal_id; 844s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 844s # if (info == NULL) 844s # return; 844s # num_params = g_variant_n_children (parameters); 844s # paramv = g_new0 (GValue, num_params + 1); 844s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 844s # g_value_set_object (¶mv[0], proxy); 844s # g_variant_iter_init (&iter, parameters); 844s # n = 1; 844s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 844s # { 844s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 844s # if (arg_info->use_gvariant) 844s # { 844s # g_value_init (¶mv[n], G_TYPE_VARIANT); 844s # g_value_set_variant (¶mv[n], child); 844s # n++; 844s # } 844s # else 844s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 844s # g_variant_unref (child); 844s # } 844s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 844s # g_signal_emitv (paramv, signal_id, 0, NULL); 844s # for (n = 0; n < num_params + 1; n++) 844s # g_value_unset (¶mv[n]); 844s # g_free (paramv); 844s # } 844s # 844s # static void 844s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 844s # GVariant *changed_properties, 844s # const gchar *const *invalidated_properties) 844s # { 844s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 844s # guint n; 844s # const gchar *key; 844s # GVariantIter *iter; 844s # _ExtendedGDBusPropertyInfo *info; 844s # g_variant_get (changed_properties, "a{sv}", &iter); 844s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 844s # { 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 844s # g_datalist_remove_data (&proxy->priv->qdata, key); 844s # if (info != NULL) 844s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 844s # } 844s # g_variant_iter_free (iter); 844s # for (n = 0; invalidated_properties[n] != NULL; n++) 844s # { 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 844s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 844s # if (info != NULL) 844s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 844s # } 844s # } 844s # 844s # static void 844s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 844s # { 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 844s # #else 844s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 844s # #endif 844s # 844s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 844s # } 844s # 844s # static void 844s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 844s # { 844s # GObjectClass *gobject_class; 844s # GDBusProxyClass *proxy_class; 844s # 844s # gobject_class = G_OBJECT_CLASS (klass); 844s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 844s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 844s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 844s # 844s # proxy_class = G_DBUS_PROXY_CLASS (klass); 844s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 844s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 844s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 844s # #endif 844s # } 844s # 844s # static void 844s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # /** 844s # * org_project_signaling_iface_proxy_new: 844s # * @connection: A #GDBusConnection. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 844s # * 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 844s # * 844s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 844s # */ 844s # void 844s # org_project_signaling_iface_proxy_new ( 844s # GDBusConnection *connection, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # 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); 844s # } 844s # 844s # /** 844s # * org_project_signaling_iface_proxy_new_finish: 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 844s # * @error: Return location for error or %NULL 844s # * 844s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 844s # * 844s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectSignalingIface * 844s # org_project_signaling_iface_proxy_new_finish ( 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GObject *ret; 844s # GObject *source_object; 844s # source_object = g_async_result_get_source_object (res); 844s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 844s # g_object_unref (source_object); 844s # if (ret != NULL) 844s # return ORG_PROJECT_SIGNALING_IFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # /** 844s # * org_project_signaling_iface_proxy_new_sync: 844s # * @connection: A #GDBusConnection. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL 844s # * 844s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 844s # * 844s # * The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 844s # * 844s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectSignalingIface * 844s # org_project_signaling_iface_proxy_new_sync ( 844s # GDBusConnection *connection, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GInitable *ret; 844s # 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); 844s # if (ret != NULL) 844s # return ORG_PROJECT_SIGNALING_IFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # 844s # /** 844s # * org_project_signaling_iface_proxy_new_for_bus: 844s # * @bus_type: A #GBusType. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: A bus name (well-known or unique). 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 844s # * 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 844s # * 844s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 844s # */ 844s # void 844s # org_project_signaling_iface_proxy_new_for_bus ( 844s # GBusType bus_type, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # 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); 844s # } 844s # 844s # /** 844s # * org_project_signaling_iface_proxy_new_for_bus_finish: 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 844s # * @error: Return location for error or %NULL 844s # * 844s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 844s # * 844s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectSignalingIface * 844s # org_project_signaling_iface_proxy_new_for_bus_finish ( 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GObject *ret; 844s # GObject *source_object; 844s # source_object = g_async_result_get_source_object (res); 844s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 844s # g_object_unref (source_object); 844s # if (ret != NULL) 844s # return ORG_PROJECT_SIGNALING_IFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # /** 844s # * org_project_signaling_iface_proxy_new_for_bus_sync: 844s # * @bus_type: A #GBusType. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: A bus name (well-known or unique). 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL 844s # * 844s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 844s # * 844s # * The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 844s # * 844s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectSignalingIface * 844s # org_project_signaling_iface_proxy_new_for_bus_sync ( 844s # GBusType bus_type, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GInitable *ret; 844s # 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); 844s # if (ret != NULL) 844s # return ORG_PROJECT_SIGNALING_IFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # 844s # /* ------------------------------------------------------------------------ */ 844s # 844s # /** 844s # * OrgProjectSignalingIfaceSkeleton: 844s # * 844s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 844s # */ 844s # 844s # /** 844s # * OrgProjectSignalingIfaceSkeletonClass: 844s # * @parent_class: The parent class. 844s # * 844s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 844s # */ 844s # 844s # struct _OrgProjectSignalingIfaceSkeletonPrivate 844s # { 844s # GValue *properties; 844s # GList *changed_properties; 844s # GSource *changed_properties_idle_source; 844s # GMainContext *context; 844s # GMutex lock; 844s # }; 844s # 844s # static void 844s # _org_project_signaling_iface_skeleton_handle_method_call ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name, 844s # const gchar *method_name, 844s # GVariant *parameters, 844s # GDBusMethodInvocation *invocation, 844s # gpointer user_data) 844s # { 844s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 844s # _ExtendedGDBusMethodInfo *info; 844s # GVariantIter iter; 844s # GVariant *child; 844s # GValue *paramv; 844s # gsize num_params; 844s # guint num_extra; 844s # gsize n; 844s # guint signal_id; 844s # GValue return_value = G_VALUE_INIT; 844s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 844s # g_assert (info != NULL); 844s # num_params = g_variant_n_children (parameters); 844s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 844s # n = 0; 844s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 844s # g_value_set_object (¶mv[n++], skeleton); 844s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 844s # g_value_set_object (¶mv[n++], invocation); 844s # if (info->pass_fdlist) 844s # { 844s # #ifdef G_OS_UNIX 844s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 844s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 844s # #else 844s # g_assert_not_reached (); 844s # #endif 844s # } 844s # g_variant_iter_init (&iter, parameters); 844s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 844s # { 844s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 844s # if (arg_info->use_gvariant) 844s # { 844s # g_value_init (¶mv[n], G_TYPE_VARIANT); 844s # g_value_set_variant (¶mv[n], child); 844s # n++; 844s # } 844s # else 844s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 844s # g_variant_unref (child); 844s # } 844s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 844s # g_value_init (&return_value, G_TYPE_BOOLEAN); 844s # g_signal_emitv (paramv, signal_id, 0, &return_value); 844s # if (!g_value_get_boolean (&return_value)) 844s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 844s # g_value_unset (&return_value); 844s # for (n = 0; n < num_params + num_extra; n++) 844s # g_value_unset (¶mv[n]); 844s # g_free (paramv); 844s # } 844s # 844s # static GVariant * 844s # _org_project_signaling_iface_skeleton_handle_get_property ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name G_GNUC_UNUSED, 844s # const gchar *property_name, 844s # GError **error, 844s # gpointer user_data) 844s # { 844s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 844s # GValue value = G_VALUE_INIT; 844s # GParamSpec *pspec; 844s # _ExtendedGDBusPropertyInfo *info; 844s # GVariant *ret; 844s # ret = NULL; 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 844s # g_assert (info != NULL); 844s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 844s # if (pspec == NULL) 844s # { 844s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 844s # } 844s # else 844s # { 844s # g_value_init (&value, pspec->value_type); 844s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 844s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 844s # g_value_unset (&value); 844s # } 844s # return ret; 844s # } 844s # 844s # static gboolean 844s # _org_project_signaling_iface_skeleton_handle_set_property ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name G_GNUC_UNUSED, 844s # const gchar *property_name, 844s # GVariant *variant, 844s # GError **error, 844s # gpointer user_data) 844s # { 844s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 844s # GValue value = G_VALUE_INIT; 844s # GParamSpec *pspec; 844s # _ExtendedGDBusPropertyInfo *info; 844s # gboolean ret; 844s # ret = FALSE; 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 844s # g_assert (info != NULL); 844s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 844s # if (pspec == NULL) 844s # { 844s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 844s # } 844s # else 844s # { 844s # if (info->use_gvariant) 844s # g_value_set_variant (&value, variant); 844s # else 844s # g_dbus_gvariant_to_gvalue (variant, &value); 844s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 844s # g_value_unset (&value); 844s # ret = TRUE; 844s # } 844s # return ret; 844s # } 844s # 844s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 844s # { 844s # _org_project_signaling_iface_skeleton_handle_method_call, 844s # _org_project_signaling_iface_skeleton_handle_get_property, 844s # _org_project_signaling_iface_skeleton_handle_set_property, 844s # {NULL} 844s # }; 844s # 844s # static GDBusInterfaceInfo * 844s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 844s # { 844s # return org_project_signaling_iface_interface_info (); 844s # } 844s # 844s # static GDBusInterfaceVTable * 844s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 844s # { 844s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 844s # } 844s # 844s # static GVariant * 844s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 844s # { 844s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 844s # 844s # GVariantBuilder builder; 844s # guint n; 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 844s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 844s # #else 844s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 844s # #endif 844s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 844s # goto out; 844s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 844s # { 844s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 844s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 844s # { 844s # GVariant *value; 844s # 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); 844s # if (value != NULL) 844s # { 844s # g_variant_take_ref (value); 844s # g_variant_builder_add (&builder, "{sv}", info->name, value); 844s # g_variant_unref (value); 844s # } 844s # } 844s # } 844s # out: 844s # return g_variant_builder_end (&builder); 844s # } 844s # 844s # static void 844s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void 844s # _org_project_signaling_iface_on_signal_no_arg_signal ( 844s # OrgProjectSignalingIface *object) 844s # { 844s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 844s # 844s # GList *connections, *l; 844s # GVariant *signal_variant; 844s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 844s # 844s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 844s # for (l = connections; l != NULL; l = l->next) 844s # { 844s # GDBusConnection *connection = l->data; 844s # g_dbus_connection_emit_signal (connection, 844s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "NoArgSignal", 844s # signal_variant, NULL); 844s # } 844s # g_variant_unref (signal_variant); 844s # g_list_free_full (connections, g_object_unref); 844s # } 844s # 844s # static void 844s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 844s # OrgProjectSignalingIface *object, 844s # gboolean arg_an_b) 844s # { 844s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 844s # 844s # GList *connections, *l; 844s # GVariant *signal_variant; 844s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 844s # 844s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 844s # arg_an_b)); 844s # for (l = connections; l != NULL; l = l->next) 844s # { 844s # GDBusConnection *connection = l->data; 844s # g_dbus_connection_emit_signal (connection, 844s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 844s # signal_variant, NULL); 844s # } 844s # g_variant_unref (signal_variant); 844s # g_list_free_full (connections, g_object_unref); 844s # } 844s # 844s # static void 844s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 844s # OrgProjectSignalingIface *object, 844s # guchar arg_an_y) 844s # { 844s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 844s # 844s # GList *connections, *l; 844s # GVariant *signal_variant; 844s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 844s # 844s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 844s # arg_an_y)); 844s # for (l = connections; l != NULL; l = l->next) 844s # { 844s # GDBusConnection *connection = l->data; 844s # g_dbus_connection_emit_signal (connection, 844s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 844s # signal_variant, NULL); 844s # } 844s # g_variant_unref (signal_variant); 844s # g_list_free_full (connections, g_object_unref); 844s # } 844s # 844s # static void 844s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 844s # OrgProjectSignalingIface *object, 844s # gint16 arg_an_n) 844s # { 844s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 844s # 844s # GList *connections, *l; 844s # GVariant *signal_variant; 844s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 844s # 844s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 844s # arg_an_n)); 844s # for (l = connections; l != NULL; l = l->next) 844s # { 844s # GDBusConnection *connection = l->data; 844s # g_dbus_connection_emit_signal (connection, 844s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 844s # signal_variant, NULL); 844s # } 844s # g_variant_unref (signal_variant); 844s # g_list_free_full (connections, g_object_unref); 844s # } 844s # 844s # static void 844s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 844s # OrgProjectSignalingIface *object, 844s # guint16 arg_an_q) 844s # { 844s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 844s # 844s # GList *connections, *l; 844s # GVariant *signal_variant; 844s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 844s # 844s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 844s # arg_an_q)); 844s # for (l = connections; l != NULL; l = l->next) 844s # { 844s # GDBusConnection *connection = l->data; 844s # g_dbus_connection_emit_signal (connection, 844s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 844s # signal_variant, NULL); 844s # } 844s # g_variant_unref (signal_variant); 844s # g_list_free_full (connections, g_object_unref); 844s # } 844s # 844s # static void 844s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 844s # OrgProjectSignalingIface *object, 844s # gint arg_an_i) 844s # { 844s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 844s # 844s # GList *connections, *l; 844s # GVariant *signal_variant; 844s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 844s # 844s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 844s # arg_an_i)); 844s # for (l = connections; l != NULL; l = l->next) 844s # { 844s # GDBusConnection *connection = l->data; 844s # g_dbus_connection_emit_signal (connection, 844s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 844s # signal_variant, NULL); 844s # } 844s # g_variant_unref (signal_variant); 844s # g_list_free_full (connections, g_object_unref); 844s # } 844s # 844s # static void 844s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 844s # OrgProjectSignalingIface *object, 844s # guint arg_an_u) 844s # { 844s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 844s # 844s # GList *connections, *l; 844s # GVariant *signal_variant; 844s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 844s # 844s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 844s # arg_an_u)); 844s # for (l = connections; l != NULL; l = l->next) 844s # { 844s # GDBusConnection *connection = l->data; 844s # g_dbus_connection_emit_signal (connection, 844s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 844s # signal_variant, NULL); 844s # } 844s # g_variant_unref (signal_variant); 844s # g_list_free_full (connections, g_object_unref); 844s # } 844s # 844s # static void 844s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 844s # OrgProjectSignalingIface *object, 844s # gint64 arg_an_x) 844s # { 844s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 844s # 844s # GList *connections, *l; 844s # GVariant *signal_variant; 844s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 844s # 844s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 844s # arg_an_x)); 844s # for (l = connections; l != NULL; l = l->next) 844s # { 844s # GDBusConnection *connection = l->data; 844s # g_dbus_connection_emit_signal (connection, 844s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 844s # signal_variant, NULL); 844s # } 844s # g_variant_unref (signal_variant); 844s # g_list_free_full (connections, g_object_unref); 844s # } 844s # 844s # static void 844s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 844s # OrgProjectSignalingIface *object, 844s # guint64 arg_an_t) 844s # { 844s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 844s # 844s # GList *connections, *l; 844s # GVariant *signal_variant; 844s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 844s # 844s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 844s # arg_an_t)); 844s # for (l = connections; l != NULL; l = l->next) 844s # { 844s # GDBusConnection *connection = l->data; 844s # g_dbus_connection_emit_signal (connection, 844s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 844s # signal_variant, NULL); 844s # } 844s # g_variant_unref (signal_variant); 844s # g_list_free_full (connections, g_object_unref); 844s # } 844s # 844s # static void 844s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 844s # OrgProjectSignalingIface *object, 844s # gdouble arg_an_d) 844s # { 844s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 844s # 844s # GList *connections, *l; 844s # GVariant *signal_variant; 844s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 844s # 844s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 844s # arg_an_d)); 844s # for (l = connections; l != NULL; l = l->next) 844s # { 844s # GDBusConnection *connection = l->data; 844s # g_dbus_connection_emit_signal (connection, 844s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 844s # signal_variant, NULL); 844s # } 844s # g_variant_unref (signal_variant); 844s # g_list_free_full (connections, g_object_unref); 844s # } 844s # 844s # static void 844s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 844s # OrgProjectSignalingIface *object, 844s # const gchar *arg_an_s) 844s # { 844s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 844s # 844s # GList *connections, *l; 844s # GVariant *signal_variant; 844s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 844s # 844s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 844s # arg_an_s)); 844s # for (l = connections; l != NULL; l = l->next) 844s # { 844s # GDBusConnection *connection = l->data; 844s # g_dbus_connection_emit_signal (connection, 844s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 844s # signal_variant, NULL); 844s # } 844s # g_variant_unref (signal_variant); 844s # g_list_free_full (connections, g_object_unref); 844s # } 844s # 844s # static void 844s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 844s # OrgProjectSignalingIface *object, 844s # const gchar *arg_an_o) 844s # { 844s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 844s # 844s # GList *connections, *l; 844s # GVariant *signal_variant; 844s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 844s # 844s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 844s # arg_an_o)); 844s # for (l = connections; l != NULL; l = l->next) 844s # { 844s # GDBusConnection *connection = l->data; 844s # g_dbus_connection_emit_signal (connection, 844s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 844s # signal_variant, NULL); 844s # } 844s # g_variant_unref (signal_variant); 844s # g_list_free_full (connections, g_object_unref); 844s # } 844s # 844s # static void 844s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 844s # OrgProjectSignalingIface *object, 844s # const gchar *arg_an_g) 844s # { 844s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 844s # 844s # GList *connections, *l; 844s # GVariant *signal_variant; 844s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 844s # 844s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 844s # arg_an_g)); 844s # for (l = connections; l != NULL; l = l->next) 844s # { 844s # GDBusConnection *connection = l->data; 844s # g_dbus_connection_emit_signal (connection, 844s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 844s # signal_variant, NULL); 844s # } 844s # g_variant_unref (signal_variant); 844s # g_list_free_full (connections, g_object_unref); 844s # } 844s # 844s # static void 844s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 844s # OrgProjectSignalingIface *object, 844s # GVariant *arg_an_h) 844s # { 844s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 844s # 844s # GList *connections, *l; 844s # GVariant *signal_variant; 844s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 844s # 844s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 844s # arg_an_h)); 844s # for (l = connections; l != NULL; l = l->next) 844s # { 844s # GDBusConnection *connection = l->data; 844s # g_dbus_connection_emit_signal (connection, 844s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 844s # signal_variant, NULL); 844s # } 844s # g_variant_unref (signal_variant); 844s # g_list_free_full (connections, g_object_unref); 844s # } 844s # 844s # static void 844s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 844s # OrgProjectSignalingIface *object, 844s # const gchar *arg_an_ay) 844s # { 844s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 844s # 844s # GList *connections, *l; 844s # GVariant *signal_variant; 844s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 844s # 844s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 844s # arg_an_ay)); 844s # for (l = connections; l != NULL; l = l->next) 844s # { 844s # GDBusConnection *connection = l->data; 844s # g_dbus_connection_emit_signal (connection, 844s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAY", 844s # signal_variant, NULL); 844s # } 844s # g_variant_unref (signal_variant); 844s # g_list_free_full (connections, g_object_unref); 844s # } 844s # 844s # static void 844s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 844s # OrgProjectSignalingIface *object, 844s # const gchar *const *arg_an_as) 844s # { 844s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 844s # 844s # GList *connections, *l; 844s # GVariant *signal_variant; 844s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 844s # 844s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 844s # arg_an_as)); 844s # for (l = connections; l != NULL; l = l->next) 844s # { 844s # GDBusConnection *connection = l->data; 844s # g_dbus_connection_emit_signal (connection, 844s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAS", 844s # signal_variant, NULL); 844s # } 844s # g_variant_unref (signal_variant); 844s # g_list_free_full (connections, g_object_unref); 844s # } 844s # 844s # static void 844s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 844s # OrgProjectSignalingIface *object, 844s # const gchar *const *arg_an_ao) 844s # { 844s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 844s # 844s # GList *connections, *l; 844s # GVariant *signal_variant; 844s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 844s # 844s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 844s # arg_an_ao)); 844s # for (l = connections; l != NULL; l = l->next) 844s # { 844s # GDBusConnection *connection = l->data; 844s # g_dbus_connection_emit_signal (connection, 844s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAO", 844s # signal_variant, NULL); 844s # } 844s # g_variant_unref (signal_variant); 844s # g_list_free_full (connections, g_object_unref); 844s # } 844s # 844s # static void 844s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 844s # OrgProjectSignalingIface *object, 844s # const gchar *const *arg_an_aay) 844s # { 844s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 844s # 844s # GList *connections, *l; 844s # GVariant *signal_variant; 844s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 844s # 844s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 844s # arg_an_aay)); 844s # for (l = connections; l != NULL; l = l->next) 844s # { 844s # GDBusConnection *connection = l->data; 844s # g_dbus_connection_emit_signal (connection, 844s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAAY", 844s # signal_variant, NULL); 844s # } 844s # g_variant_unref (signal_variant); 844s # g_list_free_full (connections, g_object_unref); 844s # } 844s # 844s # static void 844s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 844s # OrgProjectSignalingIface *object, 844s # GVariant *arg_an_asv) 844s # { 844s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 844s # 844s # GList *connections, *l; 844s # GVariant *signal_variant; 844s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 844s # 844s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 844s # arg_an_asv)); 844s # for (l = connections; l != NULL; l = l->next) 844s # { 844s # GDBusConnection *connection = l->data; 844s # g_dbus_connection_emit_signal (connection, 844s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalASV", 844s # signal_variant, NULL); 844s # } 844s # g_variant_unref (signal_variant); 844s # g_list_free_full (connections, g_object_unref); 844s # } 844s # 844s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 844s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 844s # 844s # #else 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 844s # 844s # #endif 844s # static void 844s # org_project_signaling_iface_skeleton_finalize (GObject *object) 844s # { 844s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 844s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 844s # if (skeleton->priv->changed_properties_idle_source != NULL) 844s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 844s # g_main_context_unref (skeleton->priv->context); 844s # g_mutex_clear (&skeleton->priv->lock); 844s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 844s # } 844s # 844s # static void 844s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 844s # { 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 844s # #else 844s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 844s # #endif 844s # 844s # g_mutex_init (&skeleton->priv->lock); 844s # skeleton->priv->context = g_main_context_ref_thread_default (); 844s # } 844s # 844s # static void 844s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 844s # { 844s # GObjectClass *gobject_class; 844s # GDBusInterfaceSkeletonClass *skeleton_class; 844s # 844s # gobject_class = G_OBJECT_CLASS (klass); 844s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 844s # 844s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 844s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 844s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 844s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 844s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 844s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 844s # #endif 844s # } 844s # 844s # static void 844s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 844s # { 844s # iface->no_arg_signal = _org_project_signaling_iface_on_signal_no_arg_signal; 844s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 844s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 844s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 844s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 844s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 844s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 844s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 844s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 844s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 844s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 844s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 844s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 844s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 844s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 844s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 844s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 844s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 844s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 844s # } 844s # 844s # /** 844s # * org_project_signaling_iface_skeleton_new: 844s # * 844s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 844s # * 844s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 844s # */ 844s # OrgProjectSignalingIface * 844s # org_project_signaling_iface_skeleton_new (void) 844s # { 844s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 844s # } 844s # Error: 844s ok 21 __main__.TestCodegen.test_generate_signal_id_simple_signal 844s # gdbus-codegen: /usr/bin/gdbus-codegen 844s # tmpdir: /tmp/tmp_h1wx63t 844s # /tmp/tmp_h1wx63t/tmp2ldk3hkv.xml: 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_h1wx63t/tmp2ldk3hkv.xml', '--output', '-', '--body'] 844s # Return code: 0 844s # Output: 844s # /* 844s # * This file is generated by gdbus-codegen, do not modify it. 844s # * 844s # * The license of this code is the same as for the D-Bus interface description 844s # * it was derived from. Note that it links to GLib, so must comply with the 844s # * LGPL linking clauses. 844s # */ 844s # 844s # #ifdef HAVE_CONFIG_H 844s # # include "config.h" 844s # #endif 844s # 844s # #include 844s # #ifdef G_OS_UNIX 844s # # include 844s # #endif 844s # 844s # #ifdef G_ENABLE_DEBUG 844s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 844s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 844s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 844s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 844s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 844s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 844s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 844s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 844s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 844s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 844s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 844s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 844s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 844s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 844s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 844s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 844s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 844s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 844s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 844s # #else /* !G_ENABLE_DEBUG */ 844s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 844s # * Do not access GValues directly in your code. Instead, use the 844s # * g_value_get_*() functions 844s # */ 844s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 844s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 844s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 844s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 844s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 844s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 844s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 844s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 844s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 844s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 844s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 844s # #endif /* !G_ENABLE_DEBUG */ 844s # 844s # typedef struct 844s # { 844s # GDBusArgInfo parent_struct; 844s # gboolean use_gvariant; 844s # } _ExtendedGDBusArgInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusMethodInfo parent_struct; 844s # const gchar *signal_name; 844s # gboolean pass_fdlist; 844s # } _ExtendedGDBusMethodInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusSignalInfo parent_struct; 844s # const gchar *signal_name; 844s # } _ExtendedGDBusSignalInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusPropertyInfo parent_struct; 844s # const gchar *hyphen_name; 844s # guint use_gvariant : 1; 844s # guint emits_changed_signal : 1; 844s # } _ExtendedGDBusPropertyInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusInterfaceInfo parent_struct; 844s # const gchar *hyphen_name; 844s # } _ExtendedGDBusInterfaceInfo; 844s # 844s # typedef struct 844s # { 844s # const _ExtendedGDBusPropertyInfo *info; 844s # guint prop_id; 844s # GValue orig_value; /* the value before the change */ 844s # } ChangedProperty; 844s # 844s # static void 844s # _changed_property_free (ChangedProperty *data) 844s # { 844s # g_value_unset (&data->orig_value); 844s # g_free (data); 844s # } 844s # 844s # static gboolean 844s # _g_strv_equal0 (gchar **a, gchar **b) 844s # { 844s # gboolean ret = FALSE; 844s # guint n; 844s # if (a == NULL && b == NULL) 844s # { 844s # ret = TRUE; 844s # goto out; 844s # } 844s # if (a == NULL || b == NULL) 844s # goto out; 844s # if (g_strv_length (a) != g_strv_length (b)) 844s # goto out; 844s # for (n = 0; a[n] != NULL; n++) 844s # if (g_strcmp0 (a[n], b[n]) != 0) 844s # goto out; 844s # ret = TRUE; 844s # out: 844s # return ret; 844s # } 844s # 844s # static gboolean 844s # _g_variant_equal0 (GVariant *a, GVariant *b) 844s # { 844s # gboolean ret = FALSE; 844s # if (a == NULL && b == NULL) 844s # { 844s # ret = TRUE; 844s # goto out; 844s # } 844s # if (a == NULL || b == NULL) 844s # goto out; 844s # ret = g_variant_equal (a, b); 844s # out: 844s # return ret; 844s # } 844s # 844s # G_GNUC_UNUSED static gboolean 844s # _g_value_equal (const GValue *a, const GValue *b) 844s # { 844s # gboolean ret = FALSE; 844s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 844s # switch (G_VALUE_TYPE (a)) 844s # { 844s # case G_TYPE_BOOLEAN: 844s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 844s # break; 844s # case G_TYPE_UCHAR: 844s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 844s # break; 844s # case G_TYPE_INT: 844s # ret = (g_value_get_int (a) == g_value_get_int (b)); 844s # break; 844s # case G_TYPE_UINT: 844s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 844s # break; 844s # case G_TYPE_INT64: 844s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 844s # break; 844s # case G_TYPE_UINT64: 844s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 844s # break; 844s # case G_TYPE_DOUBLE: 844s # { 844s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 844s # gdouble da = g_value_get_double (a); 844s # gdouble db = g_value_get_double (b); 844s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 844s # } 844s # break; 844s # case G_TYPE_STRING: 844s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 844s # break; 844s # case G_TYPE_VARIANT: 844s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 844s # break; 844s # default: 844s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 844s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 844s # else 844s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 844s # break; 844s # } 844s # return ret; 844s # } 844s # 844s # /* ------------------------------------------------------------------------ 844s # * Code for interface org.project.UsefulInterface 844s # * ------------------------------------------------------------------------ 844s # */ 844s # 844s # /** 844s # * SECTION:OrgProjectUsefulInterface 844s # * @title: OrgProjectUsefulInterface 844s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 844s # * 844s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 844s # */ 844s # 844s # enum 844s # { 844s # _ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL, 844s # }; 844s # 844s # static unsigned _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[1] = { 0 }; 844s # 844s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 844s # 844s # static const _ExtendedGDBusSignalInfo _org_project_useful_interface_signal_info_simple_signal = 844s # { 844s # { 844s # -1, 844s # (gchar *) "SimpleSignal", 844s # NULL, 844s # NULL 844s # }, 844s # "simple-signal" 844s # }; 844s # 844s # static const GDBusSignalInfo * const _org_project_useful_interface_signal_info_pointers[] = 844s # { 844s # &_org_project_useful_interface_signal_info_simple_signal.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 844s # { 844s # { 844s # -1, 844s # (gchar *) "org.project.UsefulInterface", 844s # NULL, 844s # (GDBusSignalInfo **) &_org_project_useful_interface_signal_info_pointers, 844s # NULL, 844s # NULL 844s # }, 844s # "org-project-useful-interface", 844s # }; 844s # 844s # 844s # /** 844s # * org_project_useful_interface_interface_info: 844s # * 844s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 844s # * 844s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 844s # */ 844s # GDBusInterfaceInfo * 844s # org_project_useful_interface_interface_info (void) 844s # { 844s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_override_properties: 844s # * @klass: The class structure for a #GObject derived class. 844s # * @property_id_begin: The property id to assign to the first overridden property. 844s # * 844s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 844s # * The properties are overridden in the order they are defined. 844s # * 844s # * Returns: The last property id. 844s # */ 844s # guint 844s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 844s # { 844s # return property_id_begin - 1; 844s # } 844s # 844s # 844s # inline static void 844s # org_project_useful_interface_signal_marshal_simple_signal ( 844s # GClosure *closure, 844s # GValue *return_value, 844s # unsigned int n_param_values, 844s # const GValue *param_values, 844s # void *invocation_hint, 844s # void *marshal_data) 844s # { 844s # g_cclosure_marshal_VOID__VOID (closure, 844s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 844s # } 844s # 844s # 844s # /** 844s # * OrgProjectUsefulInterface: 844s # * 844s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 844s # */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceIface: 844s # * @parent_iface: The parent interface. 844s # * @simple_signal: Handler for the #OrgProjectUsefulInterface::simple-signal signal. 844s # * 844s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 844s # */ 844s # 844s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 844s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 844s # 844s # static void 844s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 844s # { 844s # /* GObject signals for received D-Bus signals: */ 844s # /** 844s # * OrgProjectUsefulInterface::simple-signal: 844s # * @object: A #OrgProjectUsefulInterface. 844s # * 844s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 844s # * 844s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 844s # */ 844s # _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL] = 844s # g_signal_new ("simple-signal", 844s # G_TYPE_FROM_INTERFACE (iface), 844s # G_SIGNAL_RUN_LAST, 844s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, simple_signal), 844s # NULL, 844s # NULL, 844s # org_project_useful_interface_signal_marshal_simple_signal, 844s # G_TYPE_NONE, 844s # 0); 844s # 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_emit_simple_signal: 844s # * @object: A #OrgProjectUsefulInterface. 844s # * 844s # * Emits the "SimpleSignal" D-Bus signal. 844s # */ 844s # void 844s # org_project_useful_interface_emit_simple_signal ( 844s # OrgProjectUsefulInterface *object) 844s # { 844s # g_signal_emit (object, _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL], 0); 844s # } 844s # 844s # /* ------------------------------------------------------------------------ */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceProxy: 844s # * 844s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 844s # */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceProxyClass: 844s # * @parent_class: The parent class. 844s # * 844s # * Class structure for #OrgProjectUsefulInterfaceProxy. 844s # */ 844s # 844s # struct _OrgProjectUsefulInterfaceProxyPrivate 844s # { 844s # GData *qdata; 844s # }; 844s # 844s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 844s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 844s # 844s # #else 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 844s # 844s # #endif 844s # static void 844s # org_project_useful_interface_proxy_finalize (GObject *object) 844s # { 844s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 844s # g_datalist_clear (&proxy->priv->qdata); 844s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 844s # guint prop_id G_GNUC_UNUSED, 844s # GValue *value G_GNUC_UNUSED, 844s # GParamSpec *pspec G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 844s # guint prop_id G_GNUC_UNUSED, 844s # const GValue *value G_GNUC_UNUSED, 844s # GParamSpec *pspec G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 844s # const gchar *sender_name G_GNUC_UNUSED, 844s # const gchar *signal_name, 844s # GVariant *parameters) 844s # { 844s # _ExtendedGDBusSignalInfo *info; 844s # GVariantIter iter; 844s # GVariant *child; 844s # GValue *paramv; 844s # gsize num_params; 844s # gsize n; 844s # guint signal_id; 844s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 844s # if (info == NULL) 844s # return; 844s # num_params = g_variant_n_children (parameters); 844s # paramv = g_new0 (GValue, num_params + 1); 844s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_value_set_object (¶mv[0], proxy); 844s # g_variant_iter_init (&iter, parameters); 844s # n = 1; 844s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 844s # { 844s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 844s # if (arg_info->use_gvariant) 844s # { 844s # g_value_init (¶mv[n], G_TYPE_VARIANT); 844s # g_value_set_variant (¶mv[n], child); 844s # n++; 844s # } 844s # else 844s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 844s # g_variant_unref (child); 844s # } 844s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_signal_emitv (paramv, signal_id, 0, NULL); 844s # for (n = 0; n < num_params + 1; n++) 844s # g_value_unset (¶mv[n]); 844s # g_free (paramv); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 844s # GVariant *changed_properties, 844s # const gchar *const *invalidated_properties) 844s # { 844s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 844s # guint n; 844s # const gchar *key; 844s # GVariantIter *iter; 844s # _ExtendedGDBusPropertyInfo *info; 844s # g_variant_get (changed_properties, "a{sv}", &iter); 844s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 844s # { 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 844s # g_datalist_remove_data (&proxy->priv->qdata, key); 844s # if (info != NULL) 844s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 844s # } 844s # g_variant_iter_free (iter); 844s # for (n = 0; invalidated_properties[n] != NULL; n++) 844s # { 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 844s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 844s # if (info != NULL) 844s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 844s # } 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 844s # { 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 844s # #else 844s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 844s # #endif 844s # 844s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 844s # { 844s # GObjectClass *gobject_class; 844s # GDBusProxyClass *proxy_class; 844s # 844s # gobject_class = G_OBJECT_CLASS (klass); 844s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 844s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 844s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 844s # 844s # proxy_class = G_DBUS_PROXY_CLASS (klass); 844s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 844s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 844s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 844s # #endif 844s # } 844s # 844s # static void 844s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new: 844s # * @connection: A #GDBusConnection. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 844s # * 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 844s # * 844s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 844s # */ 844s # void 844s # org_project_useful_interface_proxy_new ( 844s # GDBusConnection *connection, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # g_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); 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_finish: 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 844s # * @error: Return location for error or %NULL 844s # * 844s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_finish ( 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GObject *ret; 844s # GObject *source_object; 844s # source_object = g_async_result_get_source_object (res); 844s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 844s # g_object_unref (source_object); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_sync: 844s # * @connection: A #GDBusConnection. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL 844s # * 844s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 844s # * 844s # * The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_sync ( 844s # GDBusConnection *connection, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GInitable *ret; 844s # 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); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_for_bus: 844s # * @bus_type: A #GBusType. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: A bus name (well-known or unique). 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 844s # * 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 844s # * 844s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 844s # */ 844s # void 844s # org_project_useful_interface_proxy_new_for_bus ( 844s # GBusType bus_type, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # g_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); 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_for_bus_finish: 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 844s # * @error: Return location for error or %NULL 844s # * 844s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_for_bus_finish ( 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GObject *ret; 844s # GObject *source_object; 844s # source_object = g_async_result_get_source_object (res); 844s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 844s # g_object_unref (source_object); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_proxy_new_for_bus_sync: 844s # * @bus_type: A #GBusType. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: A bus name (well-known or unique). 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL 844s # * 844s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 844s # * 844s # * The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_proxy_new_for_bus_sync ( 844s # GBusType bus_type, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GInitable *ret; 844s # 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); 844s # if (ret != NULL) 844s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # 844s # /* ------------------------------------------------------------------------ */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceSkeleton: 844s # * 844s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 844s # */ 844s # 844s # /** 844s # * OrgProjectUsefulInterfaceSkeletonClass: 844s # * @parent_class: The parent class. 844s # * 844s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 844s # */ 844s # 844s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 844s # { 844s # GValue *properties; 844s # GList *changed_properties; 844s # GSource *changed_properties_idle_source; 844s # GMainContext *context; 844s # GMutex lock; 844s # }; 844s # 844s # static void 844s # _org_project_useful_interface_skeleton_handle_method_call ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name, 844s # const gchar *method_name, 844s # GVariant *parameters, 844s # GDBusMethodInvocation *invocation, 844s # gpointer user_data) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 844s # _ExtendedGDBusMethodInfo *info; 844s # GVariantIter iter; 844s # GVariant *child; 844s # GValue *paramv; 844s # gsize num_params; 844s # guint num_extra; 844s # gsize n; 844s # guint signal_id; 844s # GValue return_value = G_VALUE_INIT; 844s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 844s # g_assert (info != NULL); 844s # num_params = g_variant_n_children (parameters); 844s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 844s # n = 0; 844s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_value_set_object (¶mv[n++], skeleton); 844s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 844s # g_value_set_object (¶mv[n++], invocation); 844s # if (info->pass_fdlist) 844s # { 844s # #ifdef G_OS_UNIX 844s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 844s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 844s # #else 844s # g_assert_not_reached (); 844s # #endif 844s # } 844s # g_variant_iter_init (&iter, parameters); 844s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 844s # { 844s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 844s # if (arg_info->use_gvariant) 844s # { 844s # g_value_init (¶mv[n], G_TYPE_VARIANT); 844s # g_value_set_variant (¶mv[n], child); 844s # n++; 844s # } 844s # else 844s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 844s # g_variant_unref (child); 844s # } 844s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 844s # g_value_init (&return_value, G_TYPE_BOOLEAN); 844s # g_signal_emitv (paramv, signal_id, 0, &return_value); 844s # if (!g_value_get_boolean (&return_value)) 844s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 844s # g_value_unset (&return_value); 844s # for (n = 0; n < num_params + num_extra; n++) 844s # g_value_unset (¶mv[n]); 844s # g_free (paramv); 844s # } 844s # 844s # static GVariant * 844s # _org_project_useful_interface_skeleton_handle_get_property ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name G_GNUC_UNUSED, 844s # const gchar *property_name, 844s # GError **error, 844s # gpointer user_data) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 844s # GValue value = G_VALUE_INIT; 844s # GParamSpec *pspec; 844s # _ExtendedGDBusPropertyInfo *info; 844s # GVariant *ret; 844s # ret = NULL; 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 844s # g_assert (info != NULL); 844s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 844s # if (pspec == NULL) 844s # { 844s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 844s # } 844s # else 844s # { 844s # g_value_init (&value, pspec->value_type); 844s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 844s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 844s # g_value_unset (&value); 844s # } 844s # return ret; 844s # } 844s # 844s # static gboolean 844s # _org_project_useful_interface_skeleton_handle_set_property ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name G_GNUC_UNUSED, 844s # const gchar *property_name, 844s # GVariant *variant, 844s # GError **error, 844s # gpointer user_data) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 844s # GValue value = G_VALUE_INIT; 844s # GParamSpec *pspec; 844s # _ExtendedGDBusPropertyInfo *info; 844s # gboolean ret; 844s # ret = FALSE; 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 844s # g_assert (info != NULL); 844s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 844s # if (pspec == NULL) 844s # { 844s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 844s # } 844s # else 844s # { 844s # if (info->use_gvariant) 844s # g_value_set_variant (&value, variant); 844s # else 844s # g_dbus_gvariant_to_gvalue (variant, &value); 844s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 844s # g_value_unset (&value); 844s # ret = TRUE; 844s # } 844s # return ret; 844s # } 844s # 844s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 844s # { 844s # _org_project_useful_interface_skeleton_handle_method_call, 844s # _org_project_useful_interface_skeleton_handle_get_property, 844s # _org_project_useful_interface_skeleton_handle_set_property, 844s # {NULL} 844s # }; 844s # 844s # static GDBusInterfaceInfo * 844s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 844s # { 844s # return org_project_useful_interface_interface_info (); 844s # } 844s # 844s # static GDBusInterfaceVTable * 844s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 844s # { 844s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 844s # } 844s # 844s # static GVariant * 844s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 844s # 844s # GVariantBuilder builder; 844s # guint n; 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 844s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 844s # #else 844s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 844s # #endif 844s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 844s # goto out; 844s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 844s # { 844s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 844s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 844s # { 844s # GVariant *value; 844s # 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); 844s # if (value != NULL) 844s # { 844s # g_variant_take_ref (value); 844s # g_variant_builder_add (&builder, "{sv}", info->name, value); 844s # g_variant_unref (value); 844s # } 844s # } 844s # } 844s # out: 844s # return g_variant_builder_end (&builder); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void 844s # _org_project_useful_interface_on_signal_simple_signal ( 844s # OrgProjectUsefulInterface *object) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 844s # 844s # GList *connections, *l; 844s # GVariant *signal_variant; 844s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 844s # 844s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 844s # for (l = connections; l != NULL; l = l->next) 844s # { 844s # GDBusConnection *connection = l->data; 844s # g_dbus_connection_emit_signal (connection, 844s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", "SimpleSignal", 844s # signal_variant, NULL); 844s # } 844s # g_variant_unref (signal_variant); 844s # g_list_free_full (connections, g_object_unref); 844s # } 844s # 844s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 844s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 844s # 844s # #else 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 844s # 844s # #endif 844s # static void 844s # org_project_useful_interface_skeleton_finalize (GObject *object) 844s # { 844s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 844s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 844s # if (skeleton->priv->changed_properties_idle_source != NULL) 844s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 844s # g_main_context_unref (skeleton->priv->context); 844s # g_mutex_clear (&skeleton->priv->lock); 844s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 844s # { 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 844s # #else 844s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 844s # #endif 844s # 844s # g_mutex_init (&skeleton->priv->lock); 844s # skeleton->priv->context = g_main_context_ref_thread_default (); 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 844s # { 844s # GObjectClass *gobject_class; 844s # GDBusInterfaceSkeletonClass *skeleton_class; 844s # 844s # gobject_class = G_OBJECT_CLASS (klass); 844s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 844s # 844s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 844s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 844s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 844s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 844s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 844s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 844s # #endif 844s # } 844s # 844s # static void 844s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface) 844s # { 844s # iface->simple_signal = _org_project_useful_interface_on_signal_simple_signal; 844s # } 844s # 844s # /** 844s # * org_project_useful_interface_skeleton_new: 844s # * 844s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 844s # * 844s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 844s # */ 844s # OrgProjectUsefulInterface * 844s # org_project_useful_interface_skeleton_new (void) 844s # { 844s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 844s # } 844s # 844s # /* ------------------------------------------------------------------------ 844s # * Code for interface org.project.OtherIface 844s # * ------------------------------------------------------------------------ 844s # */ 844s # 844s # /** 844s # * SECTION:OrgProjectOtherIface 844s # * @title: OrgProjectOtherIface 844s # * @short_description: Generated C code for the org.project.OtherIface D-Bus interface 844s # * 844s # * This section contains code for working with the org.project.OtherIface D-Bus interface in C. 844s # */ 844s # 844s # enum 844s # { 844s # _ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL, 844s # }; 844s # 844s # static unsigned _ORG_PROJECT_OTHER_IFACE_SIGNALS[1] = { 0 }; 844s # 844s # /* ---- Introspection data for org.project.OtherIface ---- */ 844s # 844s # static const _ExtendedGDBusSignalInfo _org_project_other_iface_signal_info_simple_signal = 844s # { 844s # { 844s # -1, 844s # (gchar *) "SimpleSignal", 844s # NULL, 844s # NULL 844s # }, 844s # "simple-signal" 844s # }; 844s # 844s # static const GDBusSignalInfo * const _org_project_other_iface_signal_info_pointers[] = 844s # { 844s # &_org_project_other_iface_signal_info_simple_signal.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusInterfaceInfo _org_project_other_iface_interface_info = 844s # { 844s # { 844s # -1, 844s # (gchar *) "org.project.OtherIface", 844s # NULL, 844s # (GDBusSignalInfo **) &_org_project_other_iface_signal_info_pointers, 844s # NULL, 844s # NULL 844s # }, 844s # "org-project-other-iface", 844s # }; 844s # 844s # 844s # /** 844s # * org_project_other_iface_interface_info: 844s # * 844s # * Gets a machine-readable description of the org.project.OtherIface D-Bus interface. 844s # * 844s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 844s # */ 844s # GDBusInterfaceInfo * 844s # org_project_other_iface_interface_info (void) 844s # { 844s # return (GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct; 844s # } 844s # 844s # /** 844s # * org_project_other_iface_override_properties: 844s # * @klass: The class structure for a #GObject derived class. 844s # * @property_id_begin: The property id to assign to the first overridden property. 844s # * 844s # * Overrides all #GObject properties in the #OrgProjectOtherIface interface for a concrete class. 844s # * The properties are overridden in the order they are defined. 844s # * 844s # * Returns: The last property id. 844s # */ 844s # guint 844s # org_project_other_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 844s # { 844s # return property_id_begin - 1; 844s # } 844s # 844s # 844s # inline static void 844s # org_project_other_iface_signal_marshal_simple_signal ( 844s # GClosure *closure, 844s # GValue *return_value, 844s # unsigned int n_param_values, 844s # const GValue *param_values, 844s # void *invocation_hint, 844s # void *marshal_data) 844s # { 844s # g_cclosure_marshal_VOID__VOID (closure, 844s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 844s # } 844s # 844s # 844s # /** 844s # * OrgProjectOtherIface: 844s # * 844s # * Abstract interface type for the D-Bus interface org.project.OtherIface. 844s # */ 844s # 844s # /** 844s # * OrgProjectOtherIfaceIface: 844s # * @parent_iface: The parent interface. 844s # * @simple_signal: Handler for the #OrgProjectOtherIface::simple-signal signal. 844s # * 844s # * Virtual table for the D-Bus interface org.project.OtherIface. 844s # */ 844s # 844s # typedef OrgProjectOtherIfaceIface OrgProjectOtherIfaceInterface; 844s # G_DEFINE_INTERFACE (OrgProjectOtherIface, org_project_other_iface, G_TYPE_OBJECT) 844s # 844s # static void 844s # org_project_other_iface_default_init (OrgProjectOtherIfaceIface *iface) 844s # { 844s # /* GObject signals for received D-Bus signals: */ 844s # /** 844s # * OrgProjectOtherIface::simple-signal: 844s # * @object: A #OrgProjectOtherIface. 844s # * 844s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 844s # * 844s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 844s # */ 844s # _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL] = 844s # g_signal_new ("simple-signal", 844s # G_TYPE_FROM_INTERFACE (iface), 844s # G_SIGNAL_RUN_LAST, 844s # G_STRUCT_OFFSET (OrgProjectOtherIfaceIface, simple_signal), 844s # NULL, 844s # NULL, 844s # org_project_other_iface_signal_marshal_simple_signal, 844s # G_TYPE_NONE, 844s # 0); 844s # 844s # } 844s # 844s # /** 844s # * org_project_other_iface_emit_simple_signal: 844s # * @object: A #OrgProjectOtherIface. 844s # * 844s # * Emits the "SimpleSignal" D-Bus signal. 844s # */ 844s # void 844s # org_project_other_iface_emit_simple_signal ( 844s # OrgProjectOtherIface *object) 844s # { 844s # g_signal_emit (object, _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL], 0); 844s # } 844s # 844s # /* ------------------------------------------------------------------------ */ 844s # 844s # /** 844s # * OrgProjectOtherIfaceProxy: 844s # * 844s # * The #OrgProjectOtherIfaceProxy structure contains only private data and should only be accessed using the provided API. 844s # */ 844s # 844s # /** 844s # * OrgProjectOtherIfaceProxyClass: 844s # * @parent_class: The parent class. 844s # * 844s # * Class structure for #OrgProjectOtherIfaceProxy. 844s # */ 844s # 844s # struct _OrgProjectOtherIfaceProxyPrivate 844s # { 844s # GData *qdata; 844s # }; 844s # 844s # static void org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface); 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 844s # G_ADD_PRIVATE (OrgProjectOtherIfaceProxy) 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 844s # 844s # #else 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 844s # 844s # #endif 844s # static void 844s # org_project_other_iface_proxy_finalize (GObject *object) 844s # { 844s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (object); 844s # g_datalist_clear (&proxy->priv->qdata); 844s # G_OBJECT_CLASS (org_project_other_iface_proxy_parent_class)->finalize (object); 844s # } 844s # 844s # static void 844s # org_project_other_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 844s # guint prop_id G_GNUC_UNUSED, 844s # GValue *value G_GNUC_UNUSED, 844s # GParamSpec *pspec G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void 844s # org_project_other_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 844s # guint prop_id G_GNUC_UNUSED, 844s # const GValue *value G_GNUC_UNUSED, 844s # GParamSpec *pspec G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void 844s # org_project_other_iface_proxy_g_signal (GDBusProxy *proxy, 844s # const gchar *sender_name G_GNUC_UNUSED, 844s # const gchar *signal_name, 844s # GVariant *parameters) 844s # { 844s # _ExtendedGDBusSignalInfo *info; 844s # GVariantIter iter; 844s # GVariant *child; 844s # GValue *paramv; 844s # gsize num_params; 844s # gsize n; 844s # guint signal_id; 844s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, signal_name); 844s # if (info == NULL) 844s # return; 844s # num_params = g_variant_n_children (parameters); 844s # paramv = g_new0 (GValue, num_params + 1); 844s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_IFACE); 844s # g_value_set_object (¶mv[0], proxy); 844s # g_variant_iter_init (&iter, parameters); 844s # n = 1; 844s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 844s # { 844s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 844s # if (arg_info->use_gvariant) 844s # { 844s # g_value_init (¶mv[n], G_TYPE_VARIANT); 844s # g_value_set_variant (¶mv[n], child); 844s # n++; 844s # } 844s # else 844s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 844s # g_variant_unref (child); 844s # } 844s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 844s # g_signal_emitv (paramv, signal_id, 0, NULL); 844s # for (n = 0; n < num_params + 1; n++) 844s # g_value_unset (¶mv[n]); 844s # g_free (paramv); 844s # } 844s # 844s # static void 844s # org_project_other_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 844s # GVariant *changed_properties, 844s # const gchar *const *invalidated_properties) 844s # { 844s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (_proxy); 844s # guint n; 844s # const gchar *key; 844s # GVariantIter *iter; 844s # _ExtendedGDBusPropertyInfo *info; 844s # g_variant_get (changed_properties, "a{sv}", &iter); 844s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 844s # { 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, key); 844s # g_datalist_remove_data (&proxy->priv->qdata, key); 844s # if (info != NULL) 844s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 844s # } 844s # g_variant_iter_free (iter); 844s # for (n = 0; invalidated_properties[n] != NULL; n++) 844s # { 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, invalidated_properties[n]); 844s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 844s # if (info != NULL) 844s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 844s # } 844s # } 844s # 844s # static void 844s # org_project_other_iface_proxy_init (OrgProjectOtherIfaceProxy *proxy) 844s # { 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # proxy->priv = org_project_other_iface_proxy_get_instance_private (proxy); 844s # #else 844s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_IFACE_PROXY, OrgProjectOtherIfaceProxyPrivate); 844s # #endif 844s # 844s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_iface_interface_info ()); 844s # } 844s # 844s # static void 844s # org_project_other_iface_proxy_class_init (OrgProjectOtherIfaceProxyClass *klass) 844s # { 844s # GObjectClass *gobject_class; 844s # GDBusProxyClass *proxy_class; 844s # 844s # gobject_class = G_OBJECT_CLASS (klass); 844s # gobject_class->finalize = org_project_other_iface_proxy_finalize; 844s # gobject_class->get_property = org_project_other_iface_proxy_get_property; 844s # gobject_class->set_property = org_project_other_iface_proxy_set_property; 844s # 844s # proxy_class = G_DBUS_PROXY_CLASS (klass); 844s # proxy_class->g_signal = org_project_other_iface_proxy_g_signal; 844s # proxy_class->g_properties_changed = org_project_other_iface_proxy_g_properties_changed; 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 844s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceProxyPrivate)); 844s # #endif 844s # } 844s # 844s # static void 844s # org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # /** 844s # * org_project_other_iface_proxy_new: 844s # * @connection: A #GDBusConnection. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new() for more details. 844s # * 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_other_iface_proxy_new_finish() to get the result of the operation. 844s # * 844s # * See org_project_other_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 844s # */ 844s # void 844s # org_project_other_iface_proxy_new ( 844s # GDBusConnection *connection, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # 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); 844s # } 844s # 844s # /** 844s # * org_project_other_iface_proxy_new_finish: 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new(). 844s # * @error: Return location for error or %NULL 844s # * 844s # * Finishes an operation started with org_project_other_iface_proxy_new(). 844s # * 844s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectOtherIface * 844s # org_project_other_iface_proxy_new_finish ( 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GObject *ret; 844s # GObject *source_object; 844s # source_object = g_async_result_get_source_object (res); 844s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 844s # g_object_unref (source_object); 844s # if (ret != NULL) 844s # return ORG_PROJECT_OTHER_IFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # /** 844s # * org_project_other_iface_proxy_new_sync: 844s # * @connection: A #GDBusConnection. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL 844s # * 844s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new_sync() for more details. 844s # * 844s # * The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_other_iface_proxy_new() for the asynchronous version of this constructor. 844s # * 844s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectOtherIface * 844s # org_project_other_iface_proxy_new_sync ( 844s # GDBusConnection *connection, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GInitable *ret; 844s # 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); 844s # if (ret != NULL) 844s # return ORG_PROJECT_OTHER_IFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # 844s # /** 844s # * org_project_other_iface_proxy_new_for_bus: 844s # * @bus_type: A #GBusType. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: A bus name (well-known or unique). 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Like org_project_other_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 844s # * 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_other_iface_proxy_new_for_bus_finish() to get the result of the operation. 844s # * 844s # * See org_project_other_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 844s # */ 844s # void 844s # org_project_other_iface_proxy_new_for_bus ( 844s # GBusType bus_type, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # 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); 844s # } 844s # 844s # /** 844s # * org_project_other_iface_proxy_new_for_bus_finish: 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new_for_bus(). 844s # * @error: Return location for error or %NULL 844s # * 844s # * Finishes an operation started with org_project_other_iface_proxy_new_for_bus(). 844s # * 844s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectOtherIface * 844s # org_project_other_iface_proxy_new_for_bus_finish ( 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GObject *ret; 844s # GObject *source_object; 844s # source_object = g_async_result_get_source_object (res); 844s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 844s # g_object_unref (source_object); 844s # if (ret != NULL) 844s # return ORG_PROJECT_OTHER_IFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # /** 844s # * org_project_other_iface_proxy_new_for_bus_sync: 844s # * @bus_type: A #GBusType. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: A bus name (well-known or unique). 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL 844s # * 844s # * Like org_project_other_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 844s # * 844s # * The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_other_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 844s # * 844s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectOtherIface * 844s # org_project_other_iface_proxy_new_for_bus_sync ( 844s # GBusType bus_type, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GInitable *ret; 844s # 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); 844s # if (ret != NULL) 844s # return ORG_PROJECT_OTHER_IFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # 844s # /* ------------------------------------------------------------------------ */ 844s # 844s # /** 844s # * OrgProjectOtherIfaceSkeleton: 844s # * 844s # * The #OrgProjectOtherIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 844s # */ 844s # 844s # /** 844s # * OrgProjectOtherIfaceSkeletonClass: 844s # * @parent_class: The parent class. 844s # * 844s # * Class structure for #OrgProjectOtherIfaceSkeleton. 844s # */ 844s # 844s # struct _OrgProjectOtherIfaceSkeletonPrivate 844s # { 844s # GValue *properties; 844s # GList *changed_properties; 844s # GSource *changed_properties_idle_source; 844s # GMainContext *context; 844s # GMutex lock; 844s # }; 844s # 844s # static void 844s # _org_project_other_iface_skeleton_handle_method_call ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name, 844s # const gchar *method_name, 844s # GVariant *parameters, 844s # GDBusMethodInvocation *invocation, 844s # gpointer user_data) 844s # { 844s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 844s # _ExtendedGDBusMethodInfo *info; 844s # GVariantIter iter; 844s # GVariant *child; 844s # GValue *paramv; 844s # gsize num_params; 844s # guint num_extra; 844s # gsize n; 844s # guint signal_id; 844s # GValue return_value = G_VALUE_INIT; 844s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 844s # g_assert (info != NULL); 844s # num_params = g_variant_n_children (parameters); 844s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 844s # n = 0; 844s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_IFACE); 844s # g_value_set_object (¶mv[n++], skeleton); 844s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 844s # g_value_set_object (¶mv[n++], invocation); 844s # if (info->pass_fdlist) 844s # { 844s # #ifdef G_OS_UNIX 844s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 844s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 844s # #else 844s # g_assert_not_reached (); 844s # #endif 844s # } 844s # g_variant_iter_init (&iter, parameters); 844s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 844s # { 844s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 844s # if (arg_info->use_gvariant) 844s # { 844s # g_value_init (¶mv[n], G_TYPE_VARIANT); 844s # g_value_set_variant (¶mv[n], child); 844s # n++; 844s # } 844s # else 844s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 844s # g_variant_unref (child); 844s # } 844s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 844s # g_value_init (&return_value, G_TYPE_BOOLEAN); 844s # g_signal_emitv (paramv, signal_id, 0, &return_value); 844s # if (!g_value_get_boolean (&return_value)) 844s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 844s # g_value_unset (&return_value); 844s # for (n = 0; n < num_params + num_extra; n++) 844s # g_value_unset (¶mv[n]); 844s # g_free (paramv); 844s # } 844s # 844s # static GVariant * 844s # _org_project_other_iface_skeleton_handle_get_property ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name G_GNUC_UNUSED, 844s # const gchar *property_name, 844s # GError **error, 844s # gpointer user_data) 844s # { 844s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 844s # GValue value = G_VALUE_INIT; 844s # GParamSpec *pspec; 844s # _ExtendedGDBusPropertyInfo *info; 844s # GVariant *ret; 844s # ret = NULL; 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 844s # g_assert (info != NULL); 844s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 844s # if (pspec == NULL) 844s # { 844s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 844s # } 844s # else 844s # { 844s # g_value_init (&value, pspec->value_type); 844s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 844s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 844s # g_value_unset (&value); 844s # } 844s # return ret; 844s # } 844s # 844s # static gboolean 844s # _org_project_other_iface_skeleton_handle_set_property ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name G_GNUC_UNUSED, 844s # const gchar *property_name, 844s # GVariant *variant, 844s # GError **error, 844s # gpointer user_data) 844s # { 844s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 844s # GValue value = G_VALUE_INIT; 844s # GParamSpec *pspec; 844s # _ExtendedGDBusPropertyInfo *info; 844s # gboolean ret; 844s # ret = FALSE; 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 844s # g_assert (info != NULL); 844s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 844s # if (pspec == NULL) 844s # { 844s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 844s # } 844s # else 844s # { 844s # if (info->use_gvariant) 844s # g_value_set_variant (&value, variant); 844s # else 844s # g_dbus_gvariant_to_gvalue (variant, &value); 844s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 844s # g_value_unset (&value); 844s # ret = TRUE; 844s # } 844s # return ret; 844s # } 844s # 844s # static const GDBusInterfaceVTable _org_project_other_iface_skeleton_vtable = 844s # { 844s # _org_project_other_iface_skeleton_handle_method_call, 844s # _org_project_other_iface_skeleton_handle_get_property, 844s # _org_project_other_iface_skeleton_handle_set_property, 844s # {NULL} 844s # }; 844s # 844s # static GDBusInterfaceInfo * 844s # org_project_other_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 844s # { 844s # return org_project_other_iface_interface_info (); 844s # } 844s # 844s # static GDBusInterfaceVTable * 844s # org_project_other_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 844s # { 844s # return (GDBusInterfaceVTable *) &_org_project_other_iface_skeleton_vtable; 844s # } 844s # 844s # static GVariant * 844s # org_project_other_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 844s # { 844s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (_skeleton); 844s # 844s # GVariantBuilder builder; 844s # guint n; 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 844s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 844s # #else 844s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 844s # #endif 844s # if (_org_project_other_iface_interface_info.parent_struct.properties == NULL) 844s # goto out; 844s # for (n = 0; _org_project_other_iface_interface_info.parent_struct.properties[n] != NULL; n++) 844s # { 844s # GDBusPropertyInfo *info = _org_project_other_iface_interface_info.parent_struct.properties[n]; 844s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 844s # { 844s # GVariant *value; 844s # 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); 844s # if (value != NULL) 844s # { 844s # g_variant_take_ref (value); 844s # g_variant_builder_add (&builder, "{sv}", info->name, value); 844s # g_variant_unref (value); 844s # } 844s # } 844s # } 844s # out: 844s # return g_variant_builder_end (&builder); 844s # } 844s # 844s # static void 844s # org_project_other_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void 844s # _org_project_other_iface_on_signal_simple_signal ( 844s # OrgProjectOtherIface *object) 844s # { 844s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 844s # 844s # GList *connections, *l; 844s # GVariant *signal_variant; 844s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 844s # 844s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 844s # for (l = connections; l != NULL; l = l->next) 844s # { 844s # GDBusConnection *connection = l->data; 844s # g_dbus_connection_emit_signal (connection, 844s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherIface", "SimpleSignal", 844s # signal_variant, NULL); 844s # } 844s # g_variant_unref (signal_variant); 844s # g_list_free_full (connections, g_object_unref); 844s # } 844s # 844s # static void org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface); 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 844s # G_ADD_PRIVATE (OrgProjectOtherIfaceSkeleton) 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 844s # 844s # #else 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 844s # 844s # #endif 844s # static void 844s # org_project_other_iface_skeleton_finalize (GObject *object) 844s # { 844s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 844s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 844s # if (skeleton->priv->changed_properties_idle_source != NULL) 844s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 844s # g_main_context_unref (skeleton->priv->context); 844s # g_mutex_clear (&skeleton->priv->lock); 844s # G_OBJECT_CLASS (org_project_other_iface_skeleton_parent_class)->finalize (object); 844s # } 844s # 844s # static void 844s # org_project_other_iface_skeleton_init (OrgProjectOtherIfaceSkeleton *skeleton) 844s # { 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # skeleton->priv = org_project_other_iface_skeleton_get_instance_private (skeleton); 844s # #else 844s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, OrgProjectOtherIfaceSkeletonPrivate); 844s # #endif 844s # 844s # g_mutex_init (&skeleton->priv->lock); 844s # skeleton->priv->context = g_main_context_ref_thread_default (); 844s # } 844s # 844s # static void 844s # org_project_other_iface_skeleton_class_init (OrgProjectOtherIfaceSkeletonClass *klass) 844s # { 844s # GObjectClass *gobject_class; 844s # GDBusInterfaceSkeletonClass *skeleton_class; 844s # 844s # gobject_class = G_OBJECT_CLASS (klass); 844s # gobject_class->finalize = org_project_other_iface_skeleton_finalize; 844s # 844s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 844s # skeleton_class->get_info = org_project_other_iface_skeleton_dbus_interface_get_info; 844s # skeleton_class->get_properties = org_project_other_iface_skeleton_dbus_interface_get_properties; 844s # skeleton_class->flush = org_project_other_iface_skeleton_dbus_interface_flush; 844s # skeleton_class->get_vtable = org_project_other_iface_skeleton_dbus_interface_get_vtable; 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 844s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceSkeletonPrivate)); 844s # #endif 844s # } 844s # 844s # static void 844s # org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface) 844s # { 844s # iface->simple_signal = _org_project_other_iface_on_signal_simple_signal; 844s # } 844s # 844s # /** 844s # * org_project_other_iface_skeleton_new: 844s # * 844s # * Creates a skeleton object for the D-Bus interface org.project.OtherIface. 844s # * 844s # * Returns: (transfer full) (type OrgProjectOtherIfaceSkeleton): The skeleton object. 844s # */ 844s # OrgProjectOtherIface * 844s # org_project_other_iface_skeleton_new (void) 844s # { 844s # return ORG_PROJECT_OTHER_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, NULL)); 844s # } 844s # Error: 844s ok 22 __main__.TestCodegen.test_generate_signals_marshaller_simple_signal 844s # gdbus-codegen: /usr/bin/gdbus-codegen 844s # tmpdir: /tmp/tmpiskfqw1x 844s # /tmp/tmpiskfqw1x/tmpzlde_jkr.xml: 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # 844s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpiskfqw1x/tmpzlde_jkr.xml', '--output', '-', '--body'] 844s # Return code: 0 844s # Output: 844s # /* 844s # * This file is generated by gdbus-codegen, do not modify it. 844s # * 844s # * The license of this code is the same as for the D-Bus interface description 844s # * it was derived from. Note that it links to GLib, so must comply with the 844s # * LGPL linking clauses. 844s # */ 844s # 844s # #ifdef HAVE_CONFIG_H 844s # # include "config.h" 844s # #endif 844s # 844s # #include 844s # #ifdef G_OS_UNIX 844s # # include 844s # #endif 844s # 844s # #ifdef G_ENABLE_DEBUG 844s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 844s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 844s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 844s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 844s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 844s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 844s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 844s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 844s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 844s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 844s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 844s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 844s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 844s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 844s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 844s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 844s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 844s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 844s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 844s # #else /* !G_ENABLE_DEBUG */ 844s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 844s # * Do not access GValues directly in your code. Instead, use the 844s # * g_value_get_*() functions 844s # */ 844s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 844s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 844s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 844s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 844s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 844s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 844s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 844s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 844s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 844s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 844s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 844s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 844s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 844s # #endif /* !G_ENABLE_DEBUG */ 844s # 844s # typedef struct 844s # { 844s # GDBusArgInfo parent_struct; 844s # gboolean use_gvariant; 844s # } _ExtendedGDBusArgInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusMethodInfo parent_struct; 844s # const gchar *signal_name; 844s # gboolean pass_fdlist; 844s # } _ExtendedGDBusMethodInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusSignalInfo parent_struct; 844s # const gchar *signal_name; 844s # } _ExtendedGDBusSignalInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusPropertyInfo parent_struct; 844s # const gchar *hyphen_name; 844s # guint use_gvariant : 1; 844s # guint emits_changed_signal : 1; 844s # } _ExtendedGDBusPropertyInfo; 844s # 844s # typedef struct 844s # { 844s # GDBusInterfaceInfo parent_struct; 844s # const gchar *hyphen_name; 844s # } _ExtendedGDBusInterfaceInfo; 844s # 844s # typedef struct 844s # { 844s # const _ExtendedGDBusPropertyInfo *info; 844s # guint prop_id; 844s # GValue orig_value; /* the value before the change */ 844s # } ChangedProperty; 844s # 844s # static void 844s # _changed_property_free (ChangedProperty *data) 844s # { 844s # g_value_unset (&data->orig_value); 844s # g_free (data); 844s # } 844s # 844s # static gboolean 844s # _g_strv_equal0 (gchar **a, gchar **b) 844s # { 844s # gboolean ret = FALSE; 844s # guint n; 844s # if (a == NULL && b == NULL) 844s # { 844s # ret = TRUE; 844s # goto out; 844s # } 844s # if (a == NULL || b == NULL) 844s # goto out; 844s # if (g_strv_length (a) != g_strv_length (b)) 844s # goto out; 844s # for (n = 0; a[n] != NULL; n++) 844s # if (g_strcmp0 (a[n], b[n]) != 0) 844s # goto out; 844s # ret = TRUE; 844s # out: 844s # return ret; 844s # } 844s # 844s # static gboolean 844s # _g_variant_equal0 (GVariant *a, GVariant *b) 844s # { 844s # gboolean ret = FALSE; 844s # if (a == NULL && b == NULL) 844s # { 844s # ret = TRUE; 844s # goto out; 844s # } 844s # if (a == NULL || b == NULL) 844s # goto out; 844s # ret = g_variant_equal (a, b); 844s # out: 844s # return ret; 844s # } 844s # 844s # G_GNUC_UNUSED static gboolean 844s # _g_value_equal (const GValue *a, const GValue *b) 844s # { 844s # gboolean ret = FALSE; 844s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 844s # switch (G_VALUE_TYPE (a)) 844s # { 844s # case G_TYPE_BOOLEAN: 844s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 844s # break; 844s # case G_TYPE_UCHAR: 844s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 844s # break; 844s # case G_TYPE_INT: 844s # ret = (g_value_get_int (a) == g_value_get_int (b)); 844s # break; 844s # case G_TYPE_UINT: 844s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 844s # break; 844s # case G_TYPE_INT64: 844s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 844s # break; 844s # case G_TYPE_UINT64: 844s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 844s # break; 844s # case G_TYPE_DOUBLE: 844s # { 844s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 844s # gdouble da = g_value_get_double (a); 844s # gdouble db = g_value_get_double (b); 844s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 844s # } 844s # break; 844s # case G_TYPE_STRING: 844s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 844s # break; 844s # case G_TYPE_VARIANT: 844s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 844s # break; 844s # default: 844s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 844s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 844s # else 844s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 844s # break; 844s # } 844s # return ret; 844s # } 844s # 844s # /* ------------------------------------------------------------------------ 844s # * Code for interface org.project.SignalingIface 844s # * ------------------------------------------------------------------------ 844s # */ 844s # 844s # /** 844s # * SECTION:OrgProjectSignalingIface 844s # * @title: OrgProjectSignalingIface 844s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 844s # * 844s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 844s # */ 844s # 844s # enum 844s # { 844s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 844s # }; 844s # 844s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 844s # 844s # /* ---- Introspection data for org.project.SignalingIface ---- */ 844s # 844s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 844s # { 844s # { 844s # -1, 844s # (gchar *) "SimpleSignal", 844s # NULL, 844s # NULL 844s # }, 844s # "simple-signal" 844s # }; 844s # 844s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 844s # { 844s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 844s # { 844s # { 844s # -1, 844s # (gchar *) "org.project.SignalingIface", 844s # NULL, 844s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 844s # NULL, 844s # NULL 844s # }, 844s # "org-project-signaling-iface", 844s # }; 844s # 844s # 844s # /** 844s # * org_project_signaling_iface_interface_info: 844s # * 844s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 844s # * 844s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 844s # */ 844s # GDBusInterfaceInfo * 844s # org_project_signaling_iface_interface_info (void) 844s # { 844s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 844s # } 844s # 844s # /** 844s # * org_project_signaling_iface_override_properties: 844s # * @klass: The class structure for a #GObject derived class. 844s # * @property_id_begin: The property id to assign to the first overridden property. 844s # * 844s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 844s # * The properties are overridden in the order they are defined. 844s # * 844s # * Returns: The last property id. 844s # */ 844s # guint 844s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 844s # { 844s # return property_id_begin - 1; 844s # } 844s # 844s # 844s # inline static void 844s # org_project_signaling_iface_signal_marshal_simple_signal ( 844s # GClosure *closure, 844s # GValue *return_value, 844s # unsigned int n_param_values, 844s # const GValue *param_values, 844s # void *invocation_hint, 844s # void *marshal_data) 844s # { 844s # g_cclosure_marshal_VOID__VOID (closure, 844s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 844s # } 844s # 844s # 844s # /** 844s # * OrgProjectSignalingIface: 844s # * 844s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 844s # */ 844s # 844s # /** 844s # * OrgProjectSignalingIfaceIface: 844s # * @parent_iface: The parent interface. 844s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 844s # * 844s # * Virtual table for the D-Bus interface org.project.SignalingIface. 844s # */ 844s # 844s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 844s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 844s # 844s # static void 844s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 844s # { 844s # /* GObject signals for received D-Bus signals: */ 844s # /** 844s # * OrgProjectSignalingIface::simple-signal: 844s # * @object: A #OrgProjectSignalingIface. 844s # * 844s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 844s # * 844s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 844s # */ 844s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 844s # g_signal_new ("simple-signal", 844s # G_TYPE_FROM_INTERFACE (iface), 844s # G_SIGNAL_RUN_LAST, 844s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 844s # NULL, 844s # NULL, 844s # org_project_signaling_iface_signal_marshal_simple_signal, 844s # G_TYPE_NONE, 844s # 0); 844s # 844s # } 844s # 844s # /** 844s # * org_project_signaling_iface_emit_simple_signal: 844s # * @object: A #OrgProjectSignalingIface. 844s # * 844s # * Emits the "SimpleSignal" D-Bus signal. 844s # */ 844s # void 844s # org_project_signaling_iface_emit_simple_signal ( 844s # OrgProjectSignalingIface *object) 844s # { 844s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 844s # } 844s # 844s # /* ------------------------------------------------------------------------ */ 844s # 844s # /** 844s # * OrgProjectSignalingIfaceProxy: 844s # * 844s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 844s # */ 844s # 844s # /** 844s # * OrgProjectSignalingIfaceProxyClass: 844s # * @parent_class: The parent class. 844s # * 844s # * Class structure for #OrgProjectSignalingIfaceProxy. 844s # */ 844s # 844s # struct _OrgProjectSignalingIfaceProxyPrivate 844s # { 844s # GData *qdata; 844s # }; 844s # 844s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 844s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 844s # 844s # #else 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 844s # 844s # #endif 844s # static void 844s # org_project_signaling_iface_proxy_finalize (GObject *object) 844s # { 844s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 844s # g_datalist_clear (&proxy->priv->qdata); 844s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 844s # } 844s # 844s # static void 844s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 844s # guint prop_id G_GNUC_UNUSED, 844s # GValue *value G_GNUC_UNUSED, 844s # GParamSpec *pspec G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void 844s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 844s # guint prop_id G_GNUC_UNUSED, 844s # const GValue *value G_GNUC_UNUSED, 844s # GParamSpec *pspec G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void 844s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 844s # const gchar *sender_name G_GNUC_UNUSED, 844s # const gchar *signal_name, 844s # GVariant *parameters) 844s # { 844s # _ExtendedGDBusSignalInfo *info; 844s # GVariantIter iter; 844s # GVariant *child; 844s # GValue *paramv; 844s # gsize num_params; 844s # gsize n; 844s # guint signal_id; 844s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 844s # if (info == NULL) 844s # return; 844s # num_params = g_variant_n_children (parameters); 844s # paramv = g_new0 (GValue, num_params + 1); 844s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 844s # g_value_set_object (¶mv[0], proxy); 844s # g_variant_iter_init (&iter, parameters); 844s # n = 1; 844s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 844s # { 844s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 844s # if (arg_info->use_gvariant) 844s # { 844s # g_value_init (¶mv[n], G_TYPE_VARIANT); 844s # g_value_set_variant (¶mv[n], child); 844s # n++; 844s # } 844s # else 844s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 844s # g_variant_unref (child); 844s # } 844s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 844s # g_signal_emitv (paramv, signal_id, 0, NULL); 844s # for (n = 0; n < num_params + 1; n++) 844s # g_value_unset (¶mv[n]); 844s # g_free (paramv); 844s # } 844s # 844s # static void 844s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 844s # GVariant *changed_properties, 844s # const gchar *const *invalidated_properties) 844s # { 844s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 844s # guint n; 844s # const gchar *key; 844s # GVariantIter *iter; 844s # _ExtendedGDBusPropertyInfo *info; 844s # g_variant_get (changed_properties, "a{sv}", &iter); 844s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 844s # { 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 844s # g_datalist_remove_data (&proxy->priv->qdata, key); 844s # if (info != NULL) 844s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 844s # } 844s # g_variant_iter_free (iter); 844s # for (n = 0; invalidated_properties[n] != NULL; n++) 844s # { 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 844s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 844s # if (info != NULL) 844s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 844s # } 844s # } 844s # 844s # static void 844s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 844s # { 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 844s # #else 844s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 844s # #endif 844s # 844s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 844s # } 844s # 844s # static void 844s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 844s # { 844s # GObjectClass *gobject_class; 844s # GDBusProxyClass *proxy_class; 844s # 844s # gobject_class = G_OBJECT_CLASS (klass); 844s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 844s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 844s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 844s # 844s # proxy_class = G_DBUS_PROXY_CLASS (klass); 844s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 844s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 844s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 844s # #endif 844s # } 844s # 844s # static void 844s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # /** 844s # * org_project_signaling_iface_proxy_new: 844s # * @connection: A #GDBusConnection. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 844s # * 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 844s # * 844s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 844s # */ 844s # void 844s # org_project_signaling_iface_proxy_new ( 844s # GDBusConnection *connection, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # 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); 844s # } 844s # 844s # /** 844s # * org_project_signaling_iface_proxy_new_finish: 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 844s # * @error: Return location for error or %NULL 844s # * 844s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 844s # * 844s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectSignalingIface * 844s # org_project_signaling_iface_proxy_new_finish ( 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GObject *ret; 844s # GObject *source_object; 844s # source_object = g_async_result_get_source_object (res); 844s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 844s # g_object_unref (source_object); 844s # if (ret != NULL) 844s # return ORG_PROJECT_SIGNALING_IFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # /** 844s # * org_project_signaling_iface_proxy_new_sync: 844s # * @connection: A #GDBusConnection. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL 844s # * 844s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 844s # * 844s # * The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 844s # * 844s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectSignalingIface * 844s # org_project_signaling_iface_proxy_new_sync ( 844s # GDBusConnection *connection, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GInitable *ret; 844s # 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); 844s # if (ret != NULL) 844s # return ORG_PROJECT_SIGNALING_IFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # 844s # /** 844s # * org_project_signaling_iface_proxy_new_for_bus: 844s # * @bus_type: A #GBusType. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: A bus name (well-known or unique). 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 844s # * 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 844s # * 844s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 844s # */ 844s # void 844s # org_project_signaling_iface_proxy_new_for_bus ( 844s # GBusType bus_type, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # 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); 844s # } 844s # 844s # /** 844s # * org_project_signaling_iface_proxy_new_for_bus_finish: 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 844s # * @error: Return location for error or %NULL 844s # * 844s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 844s # * 844s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectSignalingIface * 844s # org_project_signaling_iface_proxy_new_for_bus_finish ( 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GObject *ret; 844s # GObject *source_object; 844s # source_object = g_async_result_get_source_object (res); 844s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 844s # g_object_unref (source_object); 844s # if (ret != NULL) 844s # return ORG_PROJECT_SIGNALING_IFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # /** 844s # * org_project_signaling_iface_proxy_new_for_bus_sync: 844s # * @bus_type: A #GBusType. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: A bus name (well-known or unique). 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL 844s # * 844s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 844s # * 844s # * The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 844s # * 844s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectSignalingIface * 844s # org_project_signaling_iface_proxy_new_for_bus_sync ( 844s # GBusType bus_type, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GInitable *ret; 844s # 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); 844s # if (ret != NULL) 844s # return ORG_PROJECT_SIGNALING_IFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # 844s # /* ------------------------------------------------------------------------ */ 844s # 844s # /** 844s # * OrgProjectSignalingIfaceSkeleton: 844s # * 844s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 844s # */ 844s # 844s # /** 844s # * OrgProjectSignalingIfaceSkeletonClass: 844s # * @parent_class: The parent class. 844s # * 844s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 844s # */ 844s # 844s # struct _OrgProjectSignalingIfaceSkeletonPrivate 844s # { 844s # GValue *properties; 844s # GList *changed_properties; 844s # GSource *changed_properties_idle_source; 844s # GMainContext *context; 844s # GMutex lock; 844s # }; 844s # 844s # static void 844s # _org_project_signaling_iface_skeleton_handle_method_call ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name, 844s # const gchar *method_name, 844s # GVariant *parameters, 844s # GDBusMethodInvocation *invocation, 844s # gpointer user_data) 844s # { 844s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 844s # _ExtendedGDBusMethodInfo *info; 844s # GVariantIter iter; 844s # GVariant *child; 844s # GValue *paramv; 844s # gsize num_params; 844s # guint num_extra; 844s # gsize n; 844s # guint signal_id; 844s # GValue return_value = G_VALUE_INIT; 844s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 844s # g_assert (info != NULL); 844s # num_params = g_variant_n_children (parameters); 844s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 844s # n = 0; 844s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 844s # g_value_set_object (¶mv[n++], skeleton); 844s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 844s # g_value_set_object (¶mv[n++], invocation); 844s # if (info->pass_fdlist) 844s # { 844s # #ifdef G_OS_UNIX 844s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 844s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 844s # #else 844s # g_assert_not_reached (); 844s # #endif 844s # } 844s # g_variant_iter_init (&iter, parameters); 844s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 844s # { 844s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 844s # if (arg_info->use_gvariant) 844s # { 844s # g_value_init (¶mv[n], G_TYPE_VARIANT); 844s # g_value_set_variant (¶mv[n], child); 844s # n++; 844s # } 844s # else 844s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 844s # g_variant_unref (child); 844s # } 844s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 844s # g_value_init (&return_value, G_TYPE_BOOLEAN); 844s # g_signal_emitv (paramv, signal_id, 0, &return_value); 844s # if (!g_value_get_boolean (&return_value)) 844s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 844s # g_value_unset (&return_value); 844s # for (n = 0; n < num_params + num_extra; n++) 844s # g_value_unset (¶mv[n]); 844s # g_free (paramv); 844s # } 844s # 844s # static GVariant * 844s # _org_project_signaling_iface_skeleton_handle_get_property ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name G_GNUC_UNUSED, 844s # const gchar *property_name, 844s # GError **error, 844s # gpointer user_data) 844s # { 844s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 844s # GValue value = G_VALUE_INIT; 844s # GParamSpec *pspec; 844s # _ExtendedGDBusPropertyInfo *info; 844s # GVariant *ret; 844s # ret = NULL; 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 844s # g_assert (info != NULL); 844s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 844s # if (pspec == NULL) 844s # { 844s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 844s # } 844s # else 844s # { 844s # g_value_init (&value, pspec->value_type); 844s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 844s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 844s # g_value_unset (&value); 844s # } 844s # return ret; 844s # } 844s # 844s # static gboolean 844s # _org_project_signaling_iface_skeleton_handle_set_property ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name G_GNUC_UNUSED, 844s # const gchar *property_name, 844s # GVariant *variant, 844s # GError **error, 844s # gpointer user_data) 844s # { 844s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 844s # GValue value = G_VALUE_INIT; 844s # GParamSpec *pspec; 844s # _ExtendedGDBusPropertyInfo *info; 844s # gboolean ret; 844s # ret = FALSE; 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 844s # g_assert (info != NULL); 844s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 844s # if (pspec == NULL) 844s # { 844s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 844s # } 844s # else 844s # { 844s # if (info->use_gvariant) 844s # g_value_set_variant (&value, variant); 844s # else 844s # g_dbus_gvariant_to_gvalue (variant, &value); 844s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 844s # g_value_unset (&value); 844s # ret = TRUE; 844s # } 844s # return ret; 844s # } 844s # 844s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 844s # { 844s # _org_project_signaling_iface_skeleton_handle_method_call, 844s # _org_project_signaling_iface_skeleton_handle_get_property, 844s # _org_project_signaling_iface_skeleton_handle_set_property, 844s # {NULL} 844s # }; 844s # 844s # static GDBusInterfaceInfo * 844s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 844s # { 844s # return org_project_signaling_iface_interface_info (); 844s # } 844s # 844s # static GDBusInterfaceVTable * 844s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 844s # { 844s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 844s # } 844s # 844s # static GVariant * 844s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 844s # { 844s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 844s # 844s # GVariantBuilder builder; 844s # guint n; 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 844s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 844s # #else 844s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 844s # #endif 844s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 844s # goto out; 844s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 844s # { 844s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 844s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 844s # { 844s # GVariant *value; 844s # 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); 844s # if (value != NULL) 844s # { 844s # g_variant_take_ref (value); 844s # g_variant_builder_add (&builder, "{sv}", info->name, value); 844s # g_variant_unref (value); 844s # } 844s # } 844s # } 844s # out: 844s # return g_variant_builder_end (&builder); 844s # } 844s # 844s # static void 844s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void 844s # _org_project_signaling_iface_on_signal_simple_signal ( 844s # OrgProjectSignalingIface *object) 844s # { 844s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 844s # 844s # GList *connections, *l; 844s # GVariant *signal_variant; 844s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 844s # 844s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 844s # for (l = connections; l != NULL; l = l->next) 844s # { 844s # GDBusConnection *connection = l->data; 844s # g_dbus_connection_emit_signal (connection, 844s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 844s # signal_variant, NULL); 844s # } 844s # g_variant_unref (signal_variant); 844s # g_list_free_full (connections, g_object_unref); 844s # } 844s # 844s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 844s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 844s # 844s # #else 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 844s # 844s # #endif 844s # static void 844s # org_project_signaling_iface_skeleton_finalize (GObject *object) 844s # { 844s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 844s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 844s # if (skeleton->priv->changed_properties_idle_source != NULL) 844s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 844s # g_main_context_unref (skeleton->priv->context); 844s # g_mutex_clear (&skeleton->priv->lock); 844s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 844s # } 844s # 844s # static void 844s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 844s # { 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 844s # #else 844s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 844s # #endif 844s # 844s # g_mutex_init (&skeleton->priv->lock); 844s # skeleton->priv->context = g_main_context_ref_thread_default (); 844s # } 844s # 844s # static void 844s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 844s # { 844s # GObjectClass *gobject_class; 844s # GDBusInterfaceSkeletonClass *skeleton_class; 844s # 844s # gobject_class = G_OBJECT_CLASS (klass); 844s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 844s # 844s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 844s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 844s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 844s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 844s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 844s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 844s # #endif 844s # } 844s # 844s # static void 844s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 844s # { 844s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 844s # } 844s # 844s # /** 844s # * org_project_signaling_iface_skeleton_new: 844s # * 844s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 844s # * 844s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 844s # */ 844s # OrgProjectSignalingIface * 844s # org_project_signaling_iface_skeleton_new (void) 844s # { 844s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 844s # } 844s # 844s # /* ------------------------------------------------------------------------ 844s # * Code for interface org.project.OtherSignalingIface 844s # * ------------------------------------------------------------------------ 844s # */ 844s # 844s # /** 844s # * SECTION:OrgProjectOtherSignalingIface 844s # * @title: OrgProjectOtherSignalingIface 844s # * @short_description: Generated C code for the org.project.OtherSignalingIface D-Bus interface 844s # * 844s # * This section contains code for working with the org.project.OtherSignalingIface D-Bus interface in C. 844s # */ 844s # 844s # enum 844s # { 844s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL, 844s # }; 844s # 844s # static unsigned _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 844s # 844s # /* ---- Introspection data for org.project.OtherSignalingIface ---- */ 844s # 844s # static const _ExtendedGDBusSignalInfo _org_project_other_signaling_iface_signal_info_simple_signal = 844s # { 844s # { 844s # -1, 844s # (gchar *) "SimpleSignal", 844s # NULL, 844s # NULL 844s # }, 844s # "simple-signal" 844s # }; 844s # 844s # static const GDBusSignalInfo * const _org_project_other_signaling_iface_signal_info_pointers[] = 844s # { 844s # &_org_project_other_signaling_iface_signal_info_simple_signal.parent_struct, 844s # NULL 844s # }; 844s # 844s # static const _ExtendedGDBusInterfaceInfo _org_project_other_signaling_iface_interface_info = 844s # { 844s # { 844s # -1, 844s # (gchar *) "org.project.OtherSignalingIface", 844s # NULL, 844s # (GDBusSignalInfo **) &_org_project_other_signaling_iface_signal_info_pointers, 844s # NULL, 844s # NULL 844s # }, 844s # "org-project-other-signaling-iface", 844s # }; 844s # 844s # 844s # /** 844s # * org_project_other_signaling_iface_interface_info: 844s # * 844s # * Gets a machine-readable description of the org.project.OtherSignalingIface D-Bus interface. 844s # * 844s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 844s # */ 844s # GDBusInterfaceInfo * 844s # org_project_other_signaling_iface_interface_info (void) 844s # { 844s # return (GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct; 844s # } 844s # 844s # /** 844s # * org_project_other_signaling_iface_override_properties: 844s # * @klass: The class structure for a #GObject derived class. 844s # * @property_id_begin: The property id to assign to the first overridden property. 844s # * 844s # * Overrides all #GObject properties in the #OrgProjectOtherSignalingIface interface for a concrete class. 844s # * The properties are overridden in the order they are defined. 844s # * 844s # * Returns: The last property id. 844s # */ 844s # guint 844s # org_project_other_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 844s # { 844s # return property_id_begin - 1; 844s # } 844s # 844s # 844s # inline static void 844s # org_project_other_signaling_iface_signal_marshal_simple_signal ( 844s # GClosure *closure, 844s # GValue *return_value, 844s # unsigned int n_param_values, 844s # const GValue *param_values, 844s # void *invocation_hint, 844s # void *marshal_data) 844s # { 844s # g_cclosure_marshal_VOID__VOID (closure, 844s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 844s # } 844s # 844s # 844s # /** 844s # * OrgProjectOtherSignalingIface: 844s # * 844s # * Abstract interface type for the D-Bus interface org.project.OtherSignalingIface. 844s # */ 844s # 844s # /** 844s # * OrgProjectOtherSignalingIfaceIface: 844s # * @parent_iface: The parent interface. 844s # * @simple_signal: Handler for the #OrgProjectOtherSignalingIface::simple-signal signal. 844s # * 844s # * Virtual table for the D-Bus interface org.project.OtherSignalingIface. 844s # */ 844s # 844s # typedef OrgProjectOtherSignalingIfaceIface OrgProjectOtherSignalingIfaceInterface; 844s # G_DEFINE_INTERFACE (OrgProjectOtherSignalingIface, org_project_other_signaling_iface, G_TYPE_OBJECT) 844s # 844s # static void 844s # org_project_other_signaling_iface_default_init (OrgProjectOtherSignalingIfaceIface *iface) 844s # { 844s # /* GObject signals for received D-Bus signals: */ 844s # /** 844s # * OrgProjectOtherSignalingIface::simple-signal: 844s # * @object: A #OrgProjectOtherSignalingIface. 844s # * 844s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 844s # * 844s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 844s # */ 844s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL] = 844s # g_signal_new ("simple-signal", 844s # G_TYPE_FROM_INTERFACE (iface), 844s # G_SIGNAL_RUN_LAST, 844s # G_STRUCT_OFFSET (OrgProjectOtherSignalingIfaceIface, simple_signal), 844s # NULL, 844s # NULL, 844s # org_project_other_signaling_iface_signal_marshal_simple_signal, 844s # G_TYPE_NONE, 844s # 0); 844s # 844s # } 844s # 844s # /** 844s # * org_project_other_signaling_iface_emit_simple_signal: 844s # * @object: A #OrgProjectOtherSignalingIface. 844s # * 844s # * Emits the "SimpleSignal" D-Bus signal. 844s # */ 844s # void 844s # org_project_other_signaling_iface_emit_simple_signal ( 844s # OrgProjectOtherSignalingIface *object) 844s # { 844s # g_signal_emit (object, _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 844s # } 844s # 844s # /* ------------------------------------------------------------------------ */ 844s # 844s # /** 844s # * OrgProjectOtherSignalingIfaceProxy: 844s # * 844s # * The #OrgProjectOtherSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 844s # */ 844s # 844s # /** 844s # * OrgProjectOtherSignalingIfaceProxyClass: 844s # * @parent_class: The parent class. 844s # * 844s # * Class structure for #OrgProjectOtherSignalingIfaceProxy. 844s # */ 844s # 844s # struct _OrgProjectOtherSignalingIfaceProxyPrivate 844s # { 844s # GData *qdata; 844s # }; 844s # 844s # static void org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 844s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceProxy) 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 844s # 844s # #else 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 844s # 844s # #endif 844s # static void 844s # org_project_other_signaling_iface_proxy_finalize (GObject *object) 844s # { 844s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (object); 844s # g_datalist_clear (&proxy->priv->qdata); 844s # G_OBJECT_CLASS (org_project_other_signaling_iface_proxy_parent_class)->finalize (object); 844s # } 844s # 844s # static void 844s # org_project_other_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 844s # guint prop_id G_GNUC_UNUSED, 844s # GValue *value G_GNUC_UNUSED, 844s # GParamSpec *pspec G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void 844s # org_project_other_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 844s # guint prop_id G_GNUC_UNUSED, 844s # const GValue *value G_GNUC_UNUSED, 844s # GParamSpec *pspec G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void 844s # org_project_other_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 844s # const gchar *sender_name G_GNUC_UNUSED, 844s # const gchar *signal_name, 844s # GVariant *parameters) 844s # { 844s # _ExtendedGDBusSignalInfo *info; 844s # GVariantIter iter; 844s # GVariant *child; 844s # GValue *paramv; 844s # gsize num_params; 844s # gsize n; 844s # guint signal_id; 844s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, signal_name); 844s # if (info == NULL) 844s # return; 844s # num_params = g_variant_n_children (parameters); 844s # paramv = g_new0 (GValue, num_params + 1); 844s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 844s # g_value_set_object (¶mv[0], proxy); 844s # g_variant_iter_init (&iter, parameters); 844s # n = 1; 844s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 844s # { 844s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 844s # if (arg_info->use_gvariant) 844s # { 844s # g_value_init (¶mv[n], G_TYPE_VARIANT); 844s # g_value_set_variant (¶mv[n], child); 844s # n++; 844s # } 844s # else 844s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 844s # g_variant_unref (child); 844s # } 844s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 844s # g_signal_emitv (paramv, signal_id, 0, NULL); 844s # for (n = 0; n < num_params + 1; n++) 844s # g_value_unset (¶mv[n]); 844s # g_free (paramv); 844s # } 844s # 844s # static void 844s # org_project_other_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 844s # GVariant *changed_properties, 844s # const gchar *const *invalidated_properties) 844s # { 844s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (_proxy); 844s # guint n; 844s # const gchar *key; 844s # GVariantIter *iter; 844s # _ExtendedGDBusPropertyInfo *info; 844s # g_variant_get (changed_properties, "a{sv}", &iter); 844s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 844s # { 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, key); 844s # g_datalist_remove_data (&proxy->priv->qdata, key); 844s # if (info != NULL) 844s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 844s # } 844s # g_variant_iter_free (iter); 844s # for (n = 0; invalidated_properties[n] != NULL; n++) 844s # { 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 844s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 844s # if (info != NULL) 844s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 844s # } 844s # } 844s # 844s # static void 844s # org_project_other_signaling_iface_proxy_init (OrgProjectOtherSignalingIfaceProxy *proxy) 844s # { 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # proxy->priv = org_project_other_signaling_iface_proxy_get_instance_private (proxy); 844s # #else 844s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY, OrgProjectOtherSignalingIfaceProxyPrivate); 844s # #endif 844s # 844s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_signaling_iface_interface_info ()); 844s # } 844s # 844s # static void 844s # org_project_other_signaling_iface_proxy_class_init (OrgProjectOtherSignalingIfaceProxyClass *klass) 844s # { 844s # GObjectClass *gobject_class; 844s # GDBusProxyClass *proxy_class; 844s # 844s # gobject_class = G_OBJECT_CLASS (klass); 844s # gobject_class->finalize = org_project_other_signaling_iface_proxy_finalize; 844s # gobject_class->get_property = org_project_other_signaling_iface_proxy_get_property; 844s # gobject_class->set_property = org_project_other_signaling_iface_proxy_set_property; 844s # 844s # proxy_class = G_DBUS_PROXY_CLASS (klass); 844s # proxy_class->g_signal = org_project_other_signaling_iface_proxy_g_signal; 844s # proxy_class->g_properties_changed = org_project_other_signaling_iface_proxy_g_properties_changed; 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 844s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceProxyPrivate)); 844s # #endif 844s # } 844s # 844s # static void 844s # org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # /** 844s # * org_project_other_signaling_iface_proxy_new: 844s # * @connection: A #GDBusConnection. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new() for more details. 844s # * 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_other_signaling_iface_proxy_new_finish() to get the result of the operation. 844s # * 844s # * See org_project_other_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 844s # */ 844s # void 844s # org_project_other_signaling_iface_proxy_new ( 844s # GDBusConnection *connection, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # 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); 844s # } 844s # 844s # /** 844s # * org_project_other_signaling_iface_proxy_new_finish: 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new(). 844s # * @error: Return location for error or %NULL 844s # * 844s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new(). 844s # * 844s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectOtherSignalingIface * 844s # org_project_other_signaling_iface_proxy_new_finish ( 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GObject *ret; 844s # GObject *source_object; 844s # source_object = g_async_result_get_source_object (res); 844s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 844s # g_object_unref (source_object); 844s # if (ret != NULL) 844s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # /** 844s # * org_project_other_signaling_iface_proxy_new_sync: 844s # * @connection: A #GDBusConnection. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL 844s # * 844s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new_sync() for more details. 844s # * 844s # * The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_other_signaling_iface_proxy_new() for the asynchronous version of this constructor. 844s # * 844s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectOtherSignalingIface * 844s # org_project_other_signaling_iface_proxy_new_sync ( 844s # GDBusConnection *connection, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GInitable *ret; 844s # 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); 844s # if (ret != NULL) 844s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # 844s # /** 844s # * org_project_other_signaling_iface_proxy_new_for_bus: 844s # * @bus_type: A #GBusType. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: A bus name (well-known or unique). 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 844s # * @user_data: User data to pass to @callback. 844s # * 844s # * Like org_project_other_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 844s # * 844s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 844s # * You can then call org_project_other_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 844s # * 844s # * See org_project_other_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 844s # */ 844s # void 844s # org_project_other_signaling_iface_proxy_new_for_bus ( 844s # GBusType bus_type, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GAsyncReadyCallback callback, 844s # gpointer user_data) 844s # { 844s # 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); 844s # } 844s # 844s # /** 844s # * org_project_other_signaling_iface_proxy_new_for_bus_finish: 844s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new_for_bus(). 844s # * @error: Return location for error or %NULL 844s # * 844s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new_for_bus(). 844s # * 844s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectOtherSignalingIface * 844s # org_project_other_signaling_iface_proxy_new_for_bus_finish ( 844s # GAsyncResult *res, 844s # GError **error) 844s # { 844s # GObject *ret; 844s # GObject *source_object; 844s # source_object = g_async_result_get_source_object (res); 844s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 844s # g_object_unref (source_object); 844s # if (ret != NULL) 844s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # /** 844s # * org_project_other_signaling_iface_proxy_new_for_bus_sync: 844s # * @bus_type: A #GBusType. 844s # * @flags: Flags from the #GDBusProxyFlags enumeration. 844s # * @name: A bus name (well-known or unique). 844s # * @object_path: An object path. 844s # * @cancellable: (nullable): A #GCancellable or %NULL. 844s # * @error: Return location for error or %NULL 844s # * 844s # * Like org_project_other_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 844s # * 844s # * The calling thread is blocked until a reply is received. 844s # * 844s # * See org_project_other_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 844s # * 844s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 844s # */ 844s # OrgProjectOtherSignalingIface * 844s # org_project_other_signaling_iface_proxy_new_for_bus_sync ( 844s # GBusType bus_type, 844s # GDBusProxyFlags flags, 844s # const gchar *name, 844s # const gchar *object_path, 844s # GCancellable *cancellable, 844s # GError **error) 844s # { 844s # GInitable *ret; 844s # 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); 844s # if (ret != NULL) 844s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 844s # else 844s # return NULL; 844s # } 844s # 844s # 844s # /* ------------------------------------------------------------------------ */ 844s # 844s # /** 844s # * OrgProjectOtherSignalingIfaceSkeleton: 844s # * 844s # * The #OrgProjectOtherSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 844s # */ 844s # 844s # /** 844s # * OrgProjectOtherSignalingIfaceSkeletonClass: 844s # * @parent_class: The parent class. 844s # * 844s # * Class structure for #OrgProjectOtherSignalingIfaceSkeleton. 844s # */ 844s # 844s # struct _OrgProjectOtherSignalingIfaceSkeletonPrivate 844s # { 844s # GValue *properties; 844s # GList *changed_properties; 844s # GSource *changed_properties_idle_source; 844s # GMainContext *context; 844s # GMutex lock; 844s # }; 844s # 844s # static void 844s # _org_project_other_signaling_iface_skeleton_handle_method_call ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name, 844s # const gchar *method_name, 844s # GVariant *parameters, 844s # GDBusMethodInvocation *invocation, 844s # gpointer user_data) 844s # { 844s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 844s # _ExtendedGDBusMethodInfo *info; 844s # GVariantIter iter; 844s # GVariant *child; 844s # GValue *paramv; 844s # gsize num_params; 844s # guint num_extra; 844s # gsize n; 844s # guint signal_id; 844s # GValue return_value = G_VALUE_INIT; 844s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 844s # g_assert (info != NULL); 844s # num_params = g_variant_n_children (parameters); 844s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 844s # n = 0; 844s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 844s # g_value_set_object (¶mv[n++], skeleton); 844s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 844s # g_value_set_object (¶mv[n++], invocation); 844s # if (info->pass_fdlist) 844s # { 844s # #ifdef G_OS_UNIX 844s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 844s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 844s # #else 844s # g_assert_not_reached (); 844s # #endif 844s # } 844s # g_variant_iter_init (&iter, parameters); 844s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 844s # { 844s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 844s # if (arg_info->use_gvariant) 844s # { 844s # g_value_init (¶mv[n], G_TYPE_VARIANT); 844s # g_value_set_variant (¶mv[n], child); 844s # n++; 844s # } 844s # else 844s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 844s # g_variant_unref (child); 844s # } 844s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 844s # g_value_init (&return_value, G_TYPE_BOOLEAN); 844s # g_signal_emitv (paramv, signal_id, 0, &return_value); 844s # if (!g_value_get_boolean (&return_value)) 844s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 844s # g_value_unset (&return_value); 844s # for (n = 0; n < num_params + num_extra; n++) 844s # g_value_unset (¶mv[n]); 844s # g_free (paramv); 844s # } 844s # 844s # static GVariant * 844s # _org_project_other_signaling_iface_skeleton_handle_get_property ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name G_GNUC_UNUSED, 844s # const gchar *property_name, 844s # GError **error, 844s # gpointer user_data) 844s # { 844s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 844s # GValue value = G_VALUE_INIT; 844s # GParamSpec *pspec; 844s # _ExtendedGDBusPropertyInfo *info; 844s # GVariant *ret; 844s # ret = NULL; 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 844s # g_assert (info != NULL); 844s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 844s # if (pspec == NULL) 844s # { 844s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 844s # } 844s # else 844s # { 844s # g_value_init (&value, pspec->value_type); 844s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 844s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 844s # g_value_unset (&value); 844s # } 844s # return ret; 844s # } 844s # 844s # static gboolean 844s # _org_project_other_signaling_iface_skeleton_handle_set_property ( 844s # GDBusConnection *connection G_GNUC_UNUSED, 844s # const gchar *sender G_GNUC_UNUSED, 844s # const gchar *object_path G_GNUC_UNUSED, 844s # const gchar *interface_name G_GNUC_UNUSED, 844s # const gchar *property_name, 844s # GVariant *variant, 844s # GError **error, 844s # gpointer user_data) 844s # { 844s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 844s # GValue value = G_VALUE_INIT; 844s # GParamSpec *pspec; 844s # _ExtendedGDBusPropertyInfo *info; 844s # gboolean ret; 844s # ret = FALSE; 844s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 844s # g_assert (info != NULL); 844s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 844s # if (pspec == NULL) 844s # { 844s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 844s # } 844s # else 844s # { 844s # if (info->use_gvariant) 844s # g_value_set_variant (&value, variant); 844s # else 844s # g_dbus_gvariant_to_gvalue (variant, &value); 844s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 844s # g_value_unset (&value); 844s # ret = TRUE; 844s # } 844s # return ret; 844s # } 844s # 844s # static const GDBusInterfaceVTable _org_project_other_signaling_iface_skeleton_vtable = 844s # { 844s # _org_project_other_signaling_iface_skeleton_handle_method_call, 844s # _org_project_other_signaling_iface_skeleton_handle_get_property, 844s # _org_project_other_signaling_iface_skeleton_handle_set_property, 844s # {NULL} 844s # }; 844s # 844s # static GDBusInterfaceInfo * 844s # org_project_other_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 844s # { 844s # return org_project_other_signaling_iface_interface_info (); 844s # } 844s # 844s # static GDBusInterfaceVTable * 844s # org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 844s # { 844s # return (GDBusInterfaceVTable *) &_org_project_other_signaling_iface_skeleton_vtable; 844s # } 844s # 844s # static GVariant * 844s # org_project_other_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 844s # { 844s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (_skeleton); 844s # 844s # GVariantBuilder builder; 844s # guint n; 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 844s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 844s # #else 844s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 844s # #endif 844s # if (_org_project_other_signaling_iface_interface_info.parent_struct.properties == NULL) 844s # goto out; 844s # for (n = 0; _org_project_other_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 844s # { 844s # GDBusPropertyInfo *info = _org_project_other_signaling_iface_interface_info.parent_struct.properties[n]; 844s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 844s # { 844s # GVariant *value; 844s # 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); 844s # if (value != NULL) 844s # { 844s # g_variant_take_ref (value); 844s # g_variant_builder_add (&builder, "{sv}", info->name, value); 844s # g_variant_unref (value); 844s # } 844s # } 844s # } 844s # out: 844s # return g_variant_builder_end (&builder); 844s # } 844s # 844s # static void 844s # org_project_other_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 844s # { 844s # } 844s # 844s # static void 844s # _org_project_other_signaling_iface_on_signal_simple_signal ( 844s # OrgProjectOtherSignalingIface *object) 844s # { 844s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 844s # 844s # GList *connections, *l; 844s # GVariant *signal_variant; 844s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 844s # 844s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 844s # for (l = connections; l != NULL; l = l->next) 844s # { 844s # GDBusConnection *connection = l->data; 844s # g_dbus_connection_emit_signal (connection, 844s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherSignalingIface", "SimpleSignal", 844s # signal_variant, NULL); 844s # } 844s # g_variant_unref (signal_variant); 844s # g_list_free_full (connections, g_object_unref); 844s # } 844s # 844s # static void org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 844s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceSkeleton) 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 844s # 844s # #else 844s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 844s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 844s # 844s # #endif 844s # static void 844s # org_project_other_signaling_iface_skeleton_finalize (GObject *object) 844s # { 844s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 844s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 844s # if (skeleton->priv->changed_properties_idle_source != NULL) 844s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 844s # g_main_context_unref (skeleton->priv->context); 844s # g_mutex_clear (&skeleton->priv->lock); 844s # G_OBJECT_CLASS (org_project_other_signaling_iface_skeleton_parent_class)->finalize (object); 844s # } 844s # 844s # static void 844s # org_project_other_signaling_iface_skeleton_init (OrgProjectOtherSignalingIfaceSkeleton *skeleton) 844s # { 844s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 844s # skeleton->priv = org_project_other_signaling_iface_skeleton_get_instance_private (skeleton); 844s # #else 844s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, OrgProjectOtherSignalingIfaceSkeletonPrivate); 844s # #endif 844s # 844s # g_mutex_init (&skeleton->priv->lock); 844s # skeleton->priv->context = g_main_context_ref_thread_default (); 844s # } 844s # 844s # static void 844s # org_project_other_signaling_iface_skeleton_class_init (OrgProjectOtherSignalingIfaceSkeletonClass *klass) 844s # { 844s # GObjectClass *gobject_class; 844s # GDBusInterfaceSkeletonClass *skeleton_class; 844s # 844s # gobject_class = G_OBJECT_CLASS (klass); 844s # gobject_class->finalize = org_project_other_signaling_iface_skeleton_finalize; 844s # 844s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 844s # skeleton_class->get_info = org_project_other_signaling_iface_skeleton_dbus_interface_get_info; 844s # skeleton_class->get_properties = org_project_other_signaling_iface_skeleton_dbus_interface_get_properties; 844s # skeleton_class->flush = org_project_other_signaling_iface_skeleton_dbus_interface_flush; 844s # skeleton_class->get_vtable = org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable; 844s # 844s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 844s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceSkeletonPrivate)); 844s # #endif 844s # } 844s # 844s # static void 844s # org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface) 844s # { 844s # iface->simple_signal = _org_project_other_signaling_iface_on_signal_simple_signal; 844s # } 844s # 844s # /** 844s # * org_project_other_signaling_iface_skeleton_new: 844s # * 844s # * Creates a skeleton object for the D-Bus interface org.project.OtherSignalingIface. 844s # * 844s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceSkeleton): The skeleton object. 844s # */ 844s # OrgProjectOtherSignalingIface * 844s # org_project_other_signaling_iface_skeleton_new (void) 844s # { 844s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, NULL)); 844s # } 844s # Error: 845s ok 23 __main__.TestCodegen.test_generate_signals_marshaller_single_typed_args 845s # gdbus-codegen: /usr/bin/gdbus-codegen 845s # tmpdir: /tmp/tmp9htticof 845s # /tmp/tmp9htticof/tmpaeitzw9m.xml: 845s # 845s # 845s # 845s # 845s # 845s # 845s # 845s # 845s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9htticof/tmpaeitzw9m.xml', '--output', '-', '--body'] 845s # Return code: 0 845s # Output: 845s # /* 845s # * This file is generated by gdbus-codegen, do not modify it. 845s # * 845s # * The license of this code is the same as for the D-Bus interface description 845s # * it was derived from. Note that it links to GLib, so must comply with the 845s # * LGPL linking clauses. 845s # */ 845s # 845s # #ifdef HAVE_CONFIG_H 845s # # include "config.h" 845s # #endif 845s # 845s # #include 845s # #ifdef G_OS_UNIX 845s # # include 845s # #endif 845s # 845s # #ifdef G_ENABLE_DEBUG 845s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 845s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 845s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 845s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 845s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 845s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 845s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 845s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 845s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 845s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 845s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 845s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 845s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 845s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 845s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 845s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 845s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 845s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 845s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 845s # #else /* !G_ENABLE_DEBUG */ 845s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 845s # * Do not access GValues directly in your code. Instead, use the 845s # * g_value_get_*() functions 845s # */ 845s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 845s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 845s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 845s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 845s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 845s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 845s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 845s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 845s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 845s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 845s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 845s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 845s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 845s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 845s # #endif /* !G_ENABLE_DEBUG */ 845s # 845s # typedef struct 845s # { 845s # GDBusArgInfo parent_struct; 845s # gboolean use_gvariant; 845s # } _ExtendedGDBusArgInfo; 845s # 845s # typedef struct 845s # { 845s # GDBusMethodInfo parent_struct; 845s # const gchar *signal_name; 845s # gboolean pass_fdlist; 845s # } _ExtendedGDBusMethodInfo; 845s # 845s # typedef struct 845s # { 845s # GDBusSignalInfo parent_struct; 845s # const gchar *signal_name; 845s # } _ExtendedGDBusSignalInfo; 845s # 845s # typedef struct 845s # { 845s # GDBusPropertyInfo parent_struct; 845s # const gchar *hyphen_name; 845s # guint use_gvariant : 1; 845s # guint emits_changed_signal : 1; 845s # } _ExtendedGDBusPropertyInfo; 845s # 845s # typedef struct 845s # { 845s # GDBusInterfaceInfo parent_struct; 845s # const gchar *hyphen_name; 845s # } _ExtendedGDBusInterfaceInfo; 845s # 845s # typedef struct 845s # { 845s # const _ExtendedGDBusPropertyInfo *info; 845s # guint prop_id; 845s # GValue orig_value; /* the value before the change */ 845s # } ChangedProperty; 845s # 845s # static void 845s # _changed_property_free (ChangedProperty *data) 845s # { 845s # g_value_unset (&data->orig_value); 845s # g_free (data); 845s # } 845s # 845s # static gboolean 845s # _g_strv_equal0 (gchar **a, gchar **b) 845s # { 845s # gboolean ret = FALSE; 845s # guint n; 845s # if (a == NULL && b == NULL) 845s # { 845s # ret = TRUE; 845s # goto out; 845s # } 845s # if (a == NULL || b == NULL) 845s # goto out; 845s # if (g_strv_length (a) != g_strv_length (b)) 845s # goto out; 845s # for (n = 0; a[n] != NULL; n++) 845s # if (g_strcmp0 (a[n], b[n]) != 0) 845s # goto out; 845s # ret = TRUE; 845s # out: 845s # return ret; 845s # } 845s # 845s # static gboolean 845s # _g_variant_equal0 (GVariant *a, GVariant *b) 845s # { 845s # gboolean ret = FALSE; 845s # if (a == NULL && b == NULL) 845s # { 845s # ret = TRUE; 845s # goto out; 845s # } 845s # if (a == NULL || b == NULL) 845s # goto out; 845s # ret = g_variant_equal (a, b); 845s # out: 845s # return ret; 845s # } 845s # 845s # G_GNUC_UNUSED static gboolean 845s # _g_value_equal (const GValue *a, const GValue *b) 845s # { 845s # gboolean ret = FALSE; 845s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 845s # switch (G_VALUE_TYPE (a)) 845s # { 845s # case G_TYPE_BOOLEAN: 845s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 845s # break; 845s # case G_TYPE_UCHAR: 845s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 845s # break; 845s # case G_TYPE_INT: 845s # ret = (g_value_get_int (a) == g_value_get_int (b)); 845s # break; 845s # case G_TYPE_UINT: 845s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 845s # break; 845s # case G_TYPE_INT64: 845s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 845s # break; 845s # case G_TYPE_UINT64: 845s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 845s # break; 845s # case G_TYPE_DOUBLE: 845s # { 845s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 845s # gdouble da = g_value_get_double (a); 845s # gdouble db = g_value_get_double (b); 845s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 845s # } 845s # break; 845s # case G_TYPE_STRING: 845s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 845s # break; 845s # case G_TYPE_VARIANT: 845s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 845s # break; 845s # default: 845s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 845s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 845s # else 845s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 845s # break; 845s # } 845s # return ret; 845s # } 845s # 845s # /* ------------------------------------------------------------------------ 845s # * Code for interface org.project.SignalingIface 845s # * ------------------------------------------------------------------------ 845s # */ 845s # 845s # /** 845s # * SECTION:OrgProjectSignalingIface 845s # * @title: OrgProjectSignalingIface 845s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 845s # * 845s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 845s # */ 845s # 845s # enum 845s # { 845s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 845s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 845s # }; 845s # 845s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 845s # 845s # /* ---- Introspection data for org.project.SignalingIface ---- */ 845s # 845s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 845s # { 845s # { 845s # -1, 845s # (gchar *) "SimpleSignal", 845s # NULL, 845s # NULL 845s # }, 845s # "simple-signal" 845s # }; 845s # 845s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b = 845s # { 845s # { 845s # -1, 845s # (gchar *) "arg_b", 845s # (gchar *) "b", 845s # NULL 845s # }, 845s # FALSE 845s # }; 845s # 845s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 845s # { 845s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b.parent_struct, 845s # NULL 845s # }; 845s # 845s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 845s # { 845s # { 845s # -1, 845s # (gchar *) "SingleArgSignalB", 845s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 845s # NULL 845s # }, 845s # "single-arg-signal-b" 845s # }; 845s # 845s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 845s # { 845s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 845s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 845s # NULL 845s # }; 845s # 845s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 845s # { 845s # { 845s # -1, 845s # (gchar *) "org.project.SignalingIface", 845s # NULL, 845s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 845s # NULL, 845s # NULL 845s # }, 845s # "org-project-signaling-iface", 845s # }; 845s # 845s # 845s # /** 845s # * org_project_signaling_iface_interface_info: 845s # * 845s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 845s # * 845s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 845s # */ 845s # GDBusInterfaceInfo * 845s # org_project_signaling_iface_interface_info (void) 845s # { 845s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_override_properties: 845s # * @klass: The class structure for a #GObject derived class. 845s # * @property_id_begin: The property id to assign to the first overridden property. 845s # * 845s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 845s # * The properties are overridden in the order they are defined. 845s # * 845s # * Returns: The last property id. 845s # */ 845s # guint 845s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 845s # { 845s # return property_id_begin - 1; 845s # } 845s # 845s # 845s # inline static void 845s # org_project_signaling_iface_signal_marshal_simple_signal ( 845s # GClosure *closure, 845s # GValue *return_value, 845s # unsigned int n_param_values, 845s # const GValue *param_values, 845s # void *invocation_hint, 845s # void *marshal_data) 845s # { 845s # g_cclosure_marshal_VOID__VOID (closure, 845s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 845s # } 845s # 845s # inline static void 845s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 845s # GClosure *closure, 845s # GValue *return_value, 845s # unsigned int n_param_values, 845s # const GValue *param_values, 845s # void *invocation_hint, 845s # void *marshal_data) 845s # { 845s # g_cclosure_marshal_VOID__BOOLEAN (closure, 845s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 845s # } 845s # 845s # 845s # /** 845s # * OrgProjectSignalingIface: 845s # * 845s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 845s # */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceIface: 845s # * @parent_iface: The parent interface. 845s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 845s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 845s # * 845s # * Virtual table for the D-Bus interface org.project.SignalingIface. 845s # */ 845s # 845s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 845s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 845s # 845s # static void 845s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 845s # { 845s # /* GObject signals for received D-Bus signals: */ 845s # /** 845s # * OrgProjectSignalingIface::simple-signal: 845s # * @object: A #OrgProjectSignalingIface. 845s # * 845s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 845s # * 845s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 845s # */ 845s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 845s # g_signal_new ("simple-signal", 845s # G_TYPE_FROM_INTERFACE (iface), 845s # G_SIGNAL_RUN_LAST, 845s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 845s # NULL, 845s # NULL, 845s # org_project_signaling_iface_signal_marshal_simple_signal, 845s # G_TYPE_NONE, 845s # 0); 845s # 845s # /** 845s # * OrgProjectSignalingIface::single-arg-signal-b: 845s # * @object: A #OrgProjectSignalingIface. 845s # * @arg_arg_b: Argument. 845s # * 845s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 845s # * 845s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 845s # */ 845s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 845s # g_signal_new ("single-arg-signal-b", 845s # G_TYPE_FROM_INTERFACE (iface), 845s # G_SIGNAL_RUN_LAST, 845s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 845s # NULL, 845s # NULL, 845s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 845s # G_TYPE_NONE, 845s # 1, G_TYPE_BOOLEAN); 845s # 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_emit_simple_signal: 845s # * @object: A #OrgProjectSignalingIface. 845s # * 845s # * Emits the "SimpleSignal" D-Bus signal. 845s # */ 845s # void 845s # org_project_signaling_iface_emit_simple_signal ( 845s # OrgProjectSignalingIface *object) 845s # { 845s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_emit_single_arg_signal_b: 845s # * @object: A #OrgProjectSignalingIface. 845s # * @arg_arg_b: Argument to pass with the signal. 845s # * 845s # * Emits the "SingleArgSignalB" D-Bus signal. 845s # */ 845s # void 845s # org_project_signaling_iface_emit_single_arg_signal_b ( 845s # OrgProjectSignalingIface *object, 845s # gboolean arg_arg_b) 845s # { 845s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_arg_b); 845s # } 845s # 845s # /* ------------------------------------------------------------------------ */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceProxy: 845s # * 845s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 845s # */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceProxyClass: 845s # * @parent_class: The parent class. 845s # * 845s # * Class structure for #OrgProjectSignalingIfaceProxy. 845s # */ 845s # 845s # struct _OrgProjectSignalingIfaceProxyPrivate 845s # { 845s # GData *qdata; 845s # }; 845s # 845s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 845s # 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 845s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 845s # 845s # #else 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 845s # 845s # #endif 845s # static void 845s # org_project_signaling_iface_proxy_finalize (GObject *object) 845s # { 845s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 845s # g_datalist_clear (&proxy->priv->qdata); 845s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 845s # guint prop_id G_GNUC_UNUSED, 845s # GValue *value G_GNUC_UNUSED, 845s # GParamSpec *pspec G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 845s # guint prop_id G_GNUC_UNUSED, 845s # const GValue *value G_GNUC_UNUSED, 845s # GParamSpec *pspec G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 845s # const gchar *sender_name G_GNUC_UNUSED, 845s # const gchar *signal_name, 845s # GVariant *parameters) 845s # { 845s # _ExtendedGDBusSignalInfo *info; 845s # GVariantIter iter; 845s # GVariant *child; 845s # GValue *paramv; 845s # gsize num_params; 845s # gsize n; 845s # guint signal_id; 845s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 845s # if (info == NULL) 845s # return; 845s # num_params = g_variant_n_children (parameters); 845s # paramv = g_new0 (GValue, num_params + 1); 845s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 845s # g_value_set_object (¶mv[0], proxy); 845s # g_variant_iter_init (&iter, parameters); 845s # n = 1; 845s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 845s # { 845s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 845s # if (arg_info->use_gvariant) 845s # { 845s # g_value_init (¶mv[n], G_TYPE_VARIANT); 845s # g_value_set_variant (¶mv[n], child); 845s # n++; 845s # } 845s # else 845s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 845s # g_variant_unref (child); 845s # } 845s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 845s # g_signal_emitv (paramv, signal_id, 0, NULL); 845s # for (n = 0; n < num_params + 1; n++) 845s # g_value_unset (¶mv[n]); 845s # g_free (paramv); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 845s # GVariant *changed_properties, 845s # const gchar *const *invalidated_properties) 845s # { 845s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 845s # guint n; 845s # const gchar *key; 845s # GVariantIter *iter; 845s # _ExtendedGDBusPropertyInfo *info; 845s # g_variant_get (changed_properties, "a{sv}", &iter); 845s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 845s # { 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 845s # g_datalist_remove_data (&proxy->priv->qdata, key); 845s # if (info != NULL) 845s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 845s # } 845s # g_variant_iter_free (iter); 845s # for (n = 0; invalidated_properties[n] != NULL; n++) 845s # { 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 845s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 845s # if (info != NULL) 845s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 845s # } 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 845s # { 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 845s # #else 845s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 845s # #endif 845s # 845s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 845s # { 845s # GObjectClass *gobject_class; 845s # GDBusProxyClass *proxy_class; 845s # 845s # gobject_class = G_OBJECT_CLASS (klass); 845s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 845s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 845s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 845s # 845s # proxy_class = G_DBUS_PROXY_CLASS (klass); 845s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 845s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 845s # 845s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 845s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 845s # #endif 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new: 845s # * @connection: A #GDBusConnection. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 845s # * @user_data: User data to pass to @callback. 845s # * 845s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 845s # * 845s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 845s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 845s # * 845s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 845s # */ 845s # void 845s # org_project_signaling_iface_proxy_new ( 845s # GDBusConnection *connection, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GAsyncReadyCallback callback, 845s # gpointer user_data) 845s # { 845s # 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); 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_finish: 845s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 845s # * @error: Return location for error or %NULL 845s # * 845s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_proxy_new_finish ( 845s # GAsyncResult *res, 845s # GError **error) 845s # { 845s # GObject *ret; 845s # GObject *source_object; 845s # source_object = g_async_result_get_source_object (res); 845s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 845s # g_object_unref (source_object); 845s # if (ret != NULL) 845s # return ORG_PROJECT_SIGNALING_IFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_sync: 845s # * @connection: A #GDBusConnection. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @error: Return location for error or %NULL 845s # * 845s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 845s # * 845s # * The calling thread is blocked until a reply is received. 845s # * 845s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_proxy_new_sync ( 845s # GDBusConnection *connection, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GError **error) 845s # { 845s # GInitable *ret; 845s # 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); 845s # if (ret != NULL) 845s # return ORG_PROJECT_SIGNALING_IFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_for_bus: 845s # * @bus_type: A #GBusType. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: A bus name (well-known or unique). 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 845s # * @user_data: User data to pass to @callback. 845s # * 845s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 845s # * 845s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 845s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 845s # * 845s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 845s # */ 845s # void 845s # org_project_signaling_iface_proxy_new_for_bus ( 845s # GBusType bus_type, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GAsyncReadyCallback callback, 845s # gpointer user_data) 845s # { 845s # 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); 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_for_bus_finish: 845s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 845s # * @error: Return location for error or %NULL 845s # * 845s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_proxy_new_for_bus_finish ( 845s # GAsyncResult *res, 845s # GError **error) 845s # { 845s # GObject *ret; 845s # GObject *source_object; 845s # source_object = g_async_result_get_source_object (res); 845s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 845s # g_object_unref (source_object); 845s # if (ret != NULL) 845s # return ORG_PROJECT_SIGNALING_IFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_for_bus_sync: 845s # * @bus_type: A #GBusType. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: A bus name (well-known or unique). 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @error: Return location for error or %NULL 845s # * 845s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 845s # * 845s # * The calling thread is blocked until a reply is received. 845s # * 845s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_proxy_new_for_bus_sync ( 845s # GBusType bus_type, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GError **error) 845s # { 845s # GInitable *ret; 845s # 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); 845s # if (ret != NULL) 845s # return ORG_PROJECT_SIGNALING_IFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # 845s # /* ------------------------------------------------------------------------ */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceSkeleton: 845s # * 845s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 845s # */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceSkeletonClass: 845s # * @parent_class: The parent class. 845s # * 845s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 845s # */ 845s # 845s # struct _OrgProjectSignalingIfaceSkeletonPrivate 845s # { 845s # GValue *properties; 845s # GList *changed_properties; 845s # GSource *changed_properties_idle_source; 845s # GMainContext *context; 845s # GMutex lock; 845s # }; 845s # 845s # static void 845s # _org_project_signaling_iface_skeleton_handle_method_call ( 845s # GDBusConnection *connection G_GNUC_UNUSED, 845s # const gchar *sender G_GNUC_UNUSED, 845s # const gchar *object_path G_GNUC_UNUSED, 845s # const gchar *interface_name, 845s # const gchar *method_name, 845s # GVariant *parameters, 845s # GDBusMethodInvocation *invocation, 845s # gpointer user_data) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 845s # _ExtendedGDBusMethodInfo *info; 845s # GVariantIter iter; 845s # GVariant *child; 845s # GValue *paramv; 845s # gsize num_params; 845s # guint num_extra; 845s # gsize n; 845s # guint signal_id; 845s # GValue return_value = G_VALUE_INIT; 845s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 845s # g_assert (info != NULL); 845s # num_params = g_variant_n_children (parameters); 845s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 845s # n = 0; 845s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 845s # g_value_set_object (¶mv[n++], skeleton); 845s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 845s # g_value_set_object (¶mv[n++], invocation); 845s # if (info->pass_fdlist) 845s # { 845s # #ifdef G_OS_UNIX 845s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 845s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 845s # #else 845s # g_assert_not_reached (); 845s # #endif 845s # } 845s # g_variant_iter_init (&iter, parameters); 845s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 845s # { 845s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 845s # if (arg_info->use_gvariant) 845s # { 845s # g_value_init (¶mv[n], G_TYPE_VARIANT); 845s # g_value_set_variant (¶mv[n], child); 845s # n++; 845s # } 845s # else 845s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 845s # g_variant_unref (child); 845s # } 845s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 845s # g_value_init (&return_value, G_TYPE_BOOLEAN); 845s # g_signal_emitv (paramv, signal_id, 0, &return_value); 845s # if (!g_value_get_boolean (&return_value)) 845s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 845s # g_value_unset (&return_value); 845s # for (n = 0; n < num_params + num_extra; n++) 845s # g_value_unset (¶mv[n]); 845s # g_free (paramv); 845s # } 845s # 845s # static GVariant * 845s # _org_project_signaling_iface_skeleton_handle_get_property ( 845s # GDBusConnection *connection G_GNUC_UNUSED, 845s # const gchar *sender G_GNUC_UNUSED, 845s # const gchar *object_path G_GNUC_UNUSED, 845s # const gchar *interface_name G_GNUC_UNUSED, 845s # const gchar *property_name, 845s # GError **error, 845s # gpointer user_data) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 845s # GValue value = G_VALUE_INIT; 845s # GParamSpec *pspec; 845s # _ExtendedGDBusPropertyInfo *info; 845s # GVariant *ret; 845s # ret = NULL; 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 845s # g_assert (info != NULL); 845s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 845s # if (pspec == NULL) 845s # { 845s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 845s # } 845s # else 845s # { 845s # g_value_init (&value, pspec->value_type); 845s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 845s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 845s # g_value_unset (&value); 845s # } 845s # return ret; 845s # } 845s # 845s # static gboolean 845s # _org_project_signaling_iface_skeleton_handle_set_property ( 845s # GDBusConnection *connection G_GNUC_UNUSED, 845s # const gchar *sender G_GNUC_UNUSED, 845s # const gchar *object_path G_GNUC_UNUSED, 845s # const gchar *interface_name G_GNUC_UNUSED, 845s # const gchar *property_name, 845s # GVariant *variant, 845s # GError **error, 845s # gpointer user_data) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 845s # GValue value = G_VALUE_INIT; 845s # GParamSpec *pspec; 845s # _ExtendedGDBusPropertyInfo *info; 845s # gboolean ret; 845s # ret = FALSE; 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 845s # g_assert (info != NULL); 845s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 845s # if (pspec == NULL) 845s # { 845s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 845s # } 845s # else 845s # { 845s # if (info->use_gvariant) 845s # g_value_set_variant (&value, variant); 845s # else 845s # g_dbus_gvariant_to_gvalue (variant, &value); 845s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 845s # g_value_unset (&value); 845s # ret = TRUE; 845s # } 845s # return ret; 845s # } 845s # 845s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 845s # { 845s # _org_project_signaling_iface_skeleton_handle_method_call, 845s # _org_project_signaling_iface_skeleton_handle_get_property, 845s # _org_project_signaling_iface_skeleton_handle_set_property, 845s # {NULL} 845s # }; 845s # 845s # static GDBusInterfaceInfo * 845s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 845s # { 845s # return org_project_signaling_iface_interface_info (); 845s # } 845s # 845s # static GDBusInterfaceVTable * 845s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 845s # { 845s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 845s # } 845s # 845s # static GVariant * 845s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 845s # 845s # GVariantBuilder builder; 845s # guint n; 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 845s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 845s # #else 845s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 845s # #endif 845s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 845s # goto out; 845s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 845s # { 845s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 845s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 845s # { 845s # GVariant *value; 845s # 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); 845s # if (value != NULL) 845s # { 845s # g_variant_take_ref (value); 845s # g_variant_builder_add (&builder, "{sv}", info->name, value); 845s # g_variant_unref (value); 845s # } 845s # } 845s # } 845s # out: 845s # return g_variant_builder_end (&builder); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # static void 845s # _org_project_signaling_iface_on_signal_simple_signal ( 845s # OrgProjectSignalingIface *object) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 845s # 845s # GList *connections, *l; 845s # GVariant *signal_variant; 845s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 845s # 845s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 845s # for (l = connections; l != NULL; l = l->next) 845s # { 845s # GDBusConnection *connection = l->data; 845s # g_dbus_connection_emit_signal (connection, 845s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 845s # signal_variant, NULL); 845s # } 845s # g_variant_unref (signal_variant); 845s # g_list_free_full (connections, g_object_unref); 845s # } 845s # 845s # static void 845s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 845s # OrgProjectSignalingIface *object, 845s # gboolean arg_arg_b) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 845s # 845s # GList *connections, *l; 845s # GVariant *signal_variant; 845s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 845s # 845s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 845s # arg_arg_b)); 845s # for (l = connections; l != NULL; l = l->next) 845s # { 845s # GDBusConnection *connection = l->data; 845s # g_dbus_connection_emit_signal (connection, 845s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 845s # signal_variant, NULL); 845s # } 845s # g_variant_unref (signal_variant); 845s # g_list_free_full (connections, g_object_unref); 845s # } 845s # 845s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 845s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 845s # 845s # #else 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 845s # 845s # #endif 845s # static void 845s # org_project_signaling_iface_skeleton_finalize (GObject *object) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 845s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 845s # if (skeleton->priv->changed_properties_idle_source != NULL) 845s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 845s # g_main_context_unref (skeleton->priv->context); 845s # g_mutex_clear (&skeleton->priv->lock); 845s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 845s # { 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 845s # #else 845s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 845s # #endif 845s # 845s # g_mutex_init (&skeleton->priv->lock); 845s # skeleton->priv->context = g_main_context_ref_thread_default (); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 845s # { 845s # GObjectClass *gobject_class; 845s # GDBusInterfaceSkeletonClass *skeleton_class; 845s # 845s # gobject_class = G_OBJECT_CLASS (klass); 845s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 845s # 845s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 845s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 845s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 845s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 845s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 845s # 845s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 845s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 845s # #endif 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 845s # { 845s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 845s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_skeleton_new: 845s # * 845s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_skeleton_new (void) 845s # { 845s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 845s # } 845s # Error: 845s # 845s # /tmp/tmp9htticof/tmpf5y__y2q.xml: 845s # 845s # 845s # 845s # 845s # 845s # 845s # 845s # 845s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9htticof/tmpf5y__y2q.xml', '--output', '-', '--body'] 845s # Return code: 0 845s # Output: 845s # /* 845s # * This file is generated by gdbus-codegen, do not modify it. 845s # * 845s # * The license of this code is the same as for the D-Bus interface description 845s # * it was derived from. Note that it links to GLib, so must comply with the 845s # * LGPL linking clauses. 845s # */ 845s # 845s # #ifdef HAVE_CONFIG_H 845s # # include "config.h" 845s # #endif 845s # 845s # #include 845s # #ifdef G_OS_UNIX 845s # # include 845s # #endif 845s # 845s # #ifdef G_ENABLE_DEBUG 845s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 845s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 845s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 845s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 845s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 845s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 845s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 845s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 845s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 845s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 845s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 845s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 845s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 845s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 845s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 845s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 845s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 845s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 845s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 845s # #else /* !G_ENABLE_DEBUG */ 845s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 845s # * Do not access GValues directly in your code. Instead, use the 845s # * g_value_get_*() functions 845s # */ 845s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 845s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 845s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 845s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 845s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 845s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 845s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 845s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 845s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 845s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 845s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 845s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 845s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 845s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 845s # #endif /* !G_ENABLE_DEBUG */ 845s # 845s # typedef struct 845s # { 845s # GDBusArgInfo parent_struct; 845s # gboolean use_gvariant; 845s # } _ExtendedGDBusArgInfo; 845s # 845s # typedef struct 845s # { 845s # GDBusMethodInfo parent_struct; 845s # const gchar *signal_name; 845s # gboolean pass_fdlist; 845s # } _ExtendedGDBusMethodInfo; 845s # 845s # typedef struct 845s # { 845s # GDBusSignalInfo parent_struct; 845s # const gchar *signal_name; 845s # } _ExtendedGDBusSignalInfo; 845s # 845s # typedef struct 845s # { 845s # GDBusPropertyInfo parent_struct; 845s # const gchar *hyphen_name; 845s # guint use_gvariant : 1; 845s # guint emits_changed_signal : 1; 845s # } _ExtendedGDBusPropertyInfo; 845s # 845s # typedef struct 845s # { 845s # GDBusInterfaceInfo parent_struct; 845s # const gchar *hyphen_name; 845s # } _ExtendedGDBusInterfaceInfo; 845s # 845s # typedef struct 845s # { 845s # const _ExtendedGDBusPropertyInfo *info; 845s # guint prop_id; 845s # GValue orig_value; /* the value before the change */ 845s # } ChangedProperty; 845s # 845s # static void 845s # _changed_property_free (ChangedProperty *data) 845s # { 845s # g_value_unset (&data->orig_value); 845s # g_free (data); 845s # } 845s # 845s # static gboolean 845s # _g_strv_equal0 (gchar **a, gchar **b) 845s # { 845s # gboolean ret = FALSE; 845s # guint n; 845s # if (a == NULL && b == NULL) 845s # { 845s # ret = TRUE; 845s # goto out; 845s # } 845s # if (a == NULL || b == NULL) 845s # goto out; 845s # if (g_strv_length (a) != g_strv_length (b)) 845s # goto out; 845s # for (n = 0; a[n] != NULL; n++) 845s # if (g_strcmp0 (a[n], b[n]) != 0) 845s # goto out; 845s # ret = TRUE; 845s # out: 845s # return ret; 845s # } 845s # 845s # static gboolean 845s # _g_variant_equal0 (GVariant *a, GVariant *b) 845s # { 845s # gboolean ret = FALSE; 845s # if (a == NULL && b == NULL) 845s # { 845s # ret = TRUE; 845s # goto out; 845s # } 845s # if (a == NULL || b == NULL) 845s # goto out; 845s # ret = g_variant_equal (a, b); 845s # out: 845s # return ret; 845s # } 845s # 845s # G_GNUC_UNUSED static gboolean 845s # _g_value_equal (const GValue *a, const GValue *b) 845s # { 845s # gboolean ret = FALSE; 845s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 845s # switch (G_VALUE_TYPE (a)) 845s # { 845s # case G_TYPE_BOOLEAN: 845s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 845s # break; 845s # case G_TYPE_UCHAR: 845s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 845s # break; 845s # case G_TYPE_INT: 845s # ret = (g_value_get_int (a) == g_value_get_int (b)); 845s # break; 845s # case G_TYPE_UINT: 845s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 845s # break; 845s # case G_TYPE_INT64: 845s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 845s # break; 845s # case G_TYPE_UINT64: 845s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 845s # break; 845s # case G_TYPE_DOUBLE: 845s # { 845s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 845s # gdouble da = g_value_get_double (a); 845s # gdouble db = g_value_get_double (b); 845s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 845s # } 845s # break; 845s # case G_TYPE_STRING: 845s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 845s # break; 845s # case G_TYPE_VARIANT: 845s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 845s # break; 845s # default: 845s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 845s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 845s # else 845s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 845s # break; 845s # } 845s # return ret; 845s # } 845s # 845s # /* ------------------------------------------------------------------------ 845s # * Code for interface org.project.SignalingIface 845s # * ------------------------------------------------------------------------ 845s # */ 845s # 845s # /** 845s # * SECTION:OrgProjectSignalingIface 845s # * @title: OrgProjectSignalingIface 845s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 845s # * 845s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 845s # */ 845s # 845s # enum 845s # { 845s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 845s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 845s # }; 845s # 845s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 845s # 845s # /* ---- Introspection data for org.project.SignalingIface ---- */ 845s # 845s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 845s # { 845s # { 845s # -1, 845s # (gchar *) "SimpleSignal", 845s # NULL, 845s # NULL 845s # }, 845s # "simple-signal" 845s # }; 845s # 845s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y = 845s # { 845s # { 845s # -1, 845s # (gchar *) "arg_y", 845s # (gchar *) "y", 845s # NULL 845s # }, 845s # FALSE 845s # }; 845s # 845s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 845s # { 845s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y.parent_struct, 845s # NULL 845s # }; 845s # 845s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 845s # { 845s # { 845s # -1, 845s # (gchar *) "SingleArgSignalY", 845s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 845s # NULL 845s # }, 845s # "single-arg-signal-y" 845s # }; 845s # 845s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 845s # { 845s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 845s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 845s # NULL 845s # }; 845s # 845s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 845s # { 845s # { 845s # -1, 845s # (gchar *) "org.project.SignalingIface", 845s # NULL, 845s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 845s # NULL, 845s # NULL 845s # }, 845s # "org-project-signaling-iface", 845s # }; 845s # 845s # 845s # /** 845s # * org_project_signaling_iface_interface_info: 845s # * 845s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 845s # * 845s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 845s # */ 845s # GDBusInterfaceInfo * 845s # org_project_signaling_iface_interface_info (void) 845s # { 845s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_override_properties: 845s # * @klass: The class structure for a #GObject derived class. 845s # * @property_id_begin: The property id to assign to the first overridden property. 845s # * 845s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 845s # * The properties are overridden in the order they are defined. 845s # * 845s # * Returns: The last property id. 845s # */ 845s # guint 845s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 845s # { 845s # return property_id_begin - 1; 845s # } 845s # 845s # 845s # inline static void 845s # org_project_signaling_iface_signal_marshal_simple_signal ( 845s # GClosure *closure, 845s # GValue *return_value, 845s # unsigned int n_param_values, 845s # const GValue *param_values, 845s # void *invocation_hint, 845s # void *marshal_data) 845s # { 845s # g_cclosure_marshal_VOID__VOID (closure, 845s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 845s # } 845s # 845s # inline static void 845s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 845s # GClosure *closure, 845s # GValue *return_value, 845s # unsigned int n_param_values, 845s # const GValue *param_values, 845s # void *invocation_hint, 845s # void *marshal_data) 845s # { 845s # g_cclosure_marshal_VOID__UCHAR (closure, 845s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 845s # } 845s # 845s # 845s # /** 845s # * OrgProjectSignalingIface: 845s # * 845s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 845s # */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceIface: 845s # * @parent_iface: The parent interface. 845s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 845s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 845s # * 845s # * Virtual table for the D-Bus interface org.project.SignalingIface. 845s # */ 845s # 845s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 845s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 845s # 845s # static void 845s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 845s # { 845s # /* GObject signals for received D-Bus signals: */ 845s # /** 845s # * OrgProjectSignalingIface::simple-signal: 845s # * @object: A #OrgProjectSignalingIface. 845s # * 845s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 845s # * 845s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 845s # */ 845s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 845s # g_signal_new ("simple-signal", 845s # G_TYPE_FROM_INTERFACE (iface), 845s # G_SIGNAL_RUN_LAST, 845s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 845s # NULL, 845s # NULL, 845s # org_project_signaling_iface_signal_marshal_simple_signal, 845s # G_TYPE_NONE, 845s # 0); 845s # 845s # /** 845s # * OrgProjectSignalingIface::single-arg-signal-y: 845s # * @object: A #OrgProjectSignalingIface. 845s # * @arg_arg_y: Argument. 845s # * 845s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 845s # * 845s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 845s # */ 845s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 845s # g_signal_new ("single-arg-signal-y", 845s # G_TYPE_FROM_INTERFACE (iface), 845s # G_SIGNAL_RUN_LAST, 845s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 845s # NULL, 845s # NULL, 845s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 845s # G_TYPE_NONE, 845s # 1, G_TYPE_UCHAR); 845s # 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_emit_simple_signal: 845s # * @object: A #OrgProjectSignalingIface. 845s # * 845s # * Emits the "SimpleSignal" D-Bus signal. 845s # */ 845s # void 845s # org_project_signaling_iface_emit_simple_signal ( 845s # OrgProjectSignalingIface *object) 845s # { 845s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_emit_single_arg_signal_y: 845s # * @object: A #OrgProjectSignalingIface. 845s # * @arg_arg_y: Argument to pass with the signal. 845s # * 845s # * Emits the "SingleArgSignalY" D-Bus signal. 845s # */ 845s # void 845s # org_project_signaling_iface_emit_single_arg_signal_y ( 845s # OrgProjectSignalingIface *object, 845s # guchar arg_arg_y) 845s # { 845s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_arg_y); 845s # } 845s # 845s # /* ------------------------------------------------------------------------ */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceProxy: 845s # * 845s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 845s # */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceProxyClass: 845s # * @parent_class: The parent class. 845s # * 845s # * Class structure for #OrgProjectSignalingIfaceProxy. 845s # */ 845s # 845s # struct _OrgProjectSignalingIfaceProxyPrivate 845s # { 845s # GData *qdata; 845s # }; 845s # 845s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 845s # 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 845s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 845s # 845s # #else 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 845s # 845s # #endif 845s # static void 845s # org_project_signaling_iface_proxy_finalize (GObject *object) 845s # { 845s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 845s # g_datalist_clear (&proxy->priv->qdata); 845s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 845s # guint prop_id G_GNUC_UNUSED, 845s # GValue *value G_GNUC_UNUSED, 845s # GParamSpec *pspec G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 845s # guint prop_id G_GNUC_UNUSED, 845s # const GValue *value G_GNUC_UNUSED, 845s # GParamSpec *pspec G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 845s # const gchar *sender_name G_GNUC_UNUSED, 845s # const gchar *signal_name, 845s # GVariant *parameters) 845s # { 845s # _ExtendedGDBusSignalInfo *info; 845s # GVariantIter iter; 845s # GVariant *child; 845s # GValue *paramv; 845s # gsize num_params; 845s # gsize n; 845s # guint signal_id; 845s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 845s # if (info == NULL) 845s # return; 845s # num_params = g_variant_n_children (parameters); 845s # paramv = g_new0 (GValue, num_params + 1); 845s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 845s # g_value_set_object (¶mv[0], proxy); 845s # g_variant_iter_init (&iter, parameters); 845s # n = 1; 845s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 845s # { 845s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 845s # if (arg_info->use_gvariant) 845s # { 845s # g_value_init (¶mv[n], G_TYPE_VARIANT); 845s # g_value_set_variant (¶mv[n], child); 845s # n++; 845s # } 845s # else 845s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 845s # g_variant_unref (child); 845s # } 845s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 845s # g_signal_emitv (paramv, signal_id, 0, NULL); 845s # for (n = 0; n < num_params + 1; n++) 845s # g_value_unset (¶mv[n]); 845s # g_free (paramv); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 845s # GVariant *changed_properties, 845s # const gchar *const *invalidated_properties) 845s # { 845s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 845s # guint n; 845s # const gchar *key; 845s # GVariantIter *iter; 845s # _ExtendedGDBusPropertyInfo *info; 845s # g_variant_get (changed_properties, "a{sv}", &iter); 845s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 845s # { 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 845s # g_datalist_remove_data (&proxy->priv->qdata, key); 845s # if (info != NULL) 845s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 845s # } 845s # g_variant_iter_free (iter); 845s # for (n = 0; invalidated_properties[n] != NULL; n++) 845s # { 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 845s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 845s # if (info != NULL) 845s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 845s # } 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 845s # { 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 845s # #else 845s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 845s # #endif 845s # 845s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 845s # { 845s # GObjectClass *gobject_class; 845s # GDBusProxyClass *proxy_class; 845s # 845s # gobject_class = G_OBJECT_CLASS (klass); 845s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 845s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 845s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 845s # 845s # proxy_class = G_DBUS_PROXY_CLASS (klass); 845s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 845s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 845s # 845s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 845s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 845s # #endif 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new: 845s # * @connection: A #GDBusConnection. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 845s # * @user_data: User data to pass to @callback. 845s # * 845s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 845s # * 845s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 845s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 845s # * 845s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 845s # */ 845s # void 845s # org_project_signaling_iface_proxy_new ( 845s # GDBusConnection *connection, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GAsyncReadyCallback callback, 845s # gpointer user_data) 845s # { 845s # 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); 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_finish: 845s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 845s # * @error: Return location for error or %NULL 845s # * 845s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_proxy_new_finish ( 845s # GAsyncResult *res, 845s # GError **error) 845s # { 845s # GObject *ret; 845s # GObject *source_object; 845s # source_object = g_async_result_get_source_object (res); 845s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 845s # g_object_unref (source_object); 845s # if (ret != NULL) 845s # return ORG_PROJECT_SIGNALING_IFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_sync: 845s # * @connection: A #GDBusConnection. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @error: Return location for error or %NULL 845s # * 845s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 845s # * 845s # * The calling thread is blocked until a reply is received. 845s # * 845s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_proxy_new_sync ( 845s # GDBusConnection *connection, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GError **error) 845s # { 845s # GInitable *ret; 845s # 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); 845s # if (ret != NULL) 845s # return ORG_PROJECT_SIGNALING_IFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_for_bus: 845s # * @bus_type: A #GBusType. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: A bus name (well-known or unique). 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 845s # * @user_data: User data to pass to @callback. 845s # * 845s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 845s # * 845s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 845s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 845s # * 845s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 845s # */ 845s # void 845s # org_project_signaling_iface_proxy_new_for_bus ( 845s # GBusType bus_type, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GAsyncReadyCallback callback, 845s # gpointer user_data) 845s # { 845s # 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); 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_for_bus_finish: 845s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 845s # * @error: Return location for error or %NULL 845s # * 845s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_proxy_new_for_bus_finish ( 845s # GAsyncResult *res, 845s # GError **error) 845s # { 845s # GObject *ret; 845s # GObject *source_object; 845s # source_object = g_async_result_get_source_object (res); 845s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 845s # g_object_unref (source_object); 845s # if (ret != NULL) 845s # return ORG_PROJECT_SIGNALING_IFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_for_bus_sync: 845s # * @bus_type: A #GBusType. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: A bus name (well-known or unique). 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @error: Return location for error or %NULL 845s # * 845s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 845s # * 845s # * The calling thread is blocked until a reply is received. 845s # * 845s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_proxy_new_for_bus_sync ( 845s # GBusType bus_type, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GError **error) 845s # { 845s # GInitable *ret; 845s # 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); 845s # if (ret != NULL) 845s # return ORG_PROJECT_SIGNALING_IFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # 845s # /* ------------------------------------------------------------------------ */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceSkeleton: 845s # * 845s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 845s # */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceSkeletonClass: 845s # * @parent_class: The parent class. 845s # * 845s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 845s # */ 845s # 845s # struct _OrgProjectSignalingIfaceSkeletonPrivate 845s # { 845s # GValue *properties; 845s # GList *changed_properties; 845s # GSource *changed_properties_idle_source; 845s # GMainContext *context; 845s # GMutex lock; 845s # }; 845s # 845s # static void 845s # _org_project_signaling_iface_skeleton_handle_method_call ( 845s # GDBusConnection *connection G_GNUC_UNUSED, 845s # const gchar *sender G_GNUC_UNUSED, 845s # const gchar *object_path G_GNUC_UNUSED, 845s # const gchar *interface_name, 845s # const gchar *method_name, 845s # GVariant *parameters, 845s # GDBusMethodInvocation *invocation, 845s # gpointer user_data) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 845s # _ExtendedGDBusMethodInfo *info; 845s # GVariantIter iter; 845s # GVariant *child; 845s # GValue *paramv; 845s # gsize num_params; 845s # guint num_extra; 845s # gsize n; 845s # guint signal_id; 845s # GValue return_value = G_VALUE_INIT; 845s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 845s # g_assert (info != NULL); 845s # num_params = g_variant_n_children (parameters); 845s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 845s # n = 0; 845s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 845s # g_value_set_object (¶mv[n++], skeleton); 845s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 845s # g_value_set_object (¶mv[n++], invocation); 845s # if (info->pass_fdlist) 845s # { 845s # #ifdef G_OS_UNIX 845s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 845s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 845s # #else 845s # g_assert_not_reached (); 845s # #endif 845s # } 845s # g_variant_iter_init (&iter, parameters); 845s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 845s # { 845s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 845s # if (arg_info->use_gvariant) 845s # { 845s # g_value_init (¶mv[n], G_TYPE_VARIANT); 845s # g_value_set_variant (¶mv[n], child); 845s # n++; 845s # } 845s # else 845s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 845s # g_variant_unref (child); 845s # } 845s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 845s # g_value_init (&return_value, G_TYPE_BOOLEAN); 845s # g_signal_emitv (paramv, signal_id, 0, &return_value); 845s # if (!g_value_get_boolean (&return_value)) 845s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 845s # g_value_unset (&return_value); 845s # for (n = 0; n < num_params + num_extra; n++) 845s # g_value_unset (¶mv[n]); 845s # g_free (paramv); 845s # } 845s # 845s # static GVariant * 845s # _org_project_signaling_iface_skeleton_handle_get_property ( 845s # GDBusConnection *connection G_GNUC_UNUSED, 845s # const gchar *sender G_GNUC_UNUSED, 845s # const gchar *object_path G_GNUC_UNUSED, 845s # const gchar *interface_name G_GNUC_UNUSED, 845s # const gchar *property_name, 845s # GError **error, 845s # gpointer user_data) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 845s # GValue value = G_VALUE_INIT; 845s # GParamSpec *pspec; 845s # _ExtendedGDBusPropertyInfo *info; 845s # GVariant *ret; 845s # ret = NULL; 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 845s # g_assert (info != NULL); 845s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 845s # if (pspec == NULL) 845s # { 845s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 845s # } 845s # else 845s # { 845s # g_value_init (&value, pspec->value_type); 845s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 845s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 845s # g_value_unset (&value); 845s # } 845s # return ret; 845s # } 845s # 845s # static gboolean 845s # _org_project_signaling_iface_skeleton_handle_set_property ( 845s # GDBusConnection *connection G_GNUC_UNUSED, 845s # const gchar *sender G_GNUC_UNUSED, 845s # const gchar *object_path G_GNUC_UNUSED, 845s # const gchar *interface_name G_GNUC_UNUSED, 845s # const gchar *property_name, 845s # GVariant *variant, 845s # GError **error, 845s # gpointer user_data) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 845s # GValue value = G_VALUE_INIT; 845s # GParamSpec *pspec; 845s # _ExtendedGDBusPropertyInfo *info; 845s # gboolean ret; 845s # ret = FALSE; 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 845s # g_assert (info != NULL); 845s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 845s # if (pspec == NULL) 845s # { 845s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 845s # } 845s # else 845s # { 845s # if (info->use_gvariant) 845s # g_value_set_variant (&value, variant); 845s # else 845s # g_dbus_gvariant_to_gvalue (variant, &value); 845s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 845s # g_value_unset (&value); 845s # ret = TRUE; 845s # } 845s # return ret; 845s # } 845s # 845s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 845s # { 845s # _org_project_signaling_iface_skeleton_handle_method_call, 845s # _org_project_signaling_iface_skeleton_handle_get_property, 845s # _org_project_signaling_iface_skeleton_handle_set_property, 845s # {NULL} 845s # }; 845s # 845s # static GDBusInterfaceInfo * 845s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 845s # { 845s # return org_project_signaling_iface_interface_info (); 845s # } 845s # 845s # static GDBusInterfaceVTable * 845s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 845s # { 845s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 845s # } 845s # 845s # static GVariant * 845s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 845s # 845s # GVariantBuilder builder; 845s # guint n; 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 845s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 845s # #else 845s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 845s # #endif 845s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 845s # goto out; 845s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 845s # { 845s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 845s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 845s # { 845s # GVariant *value; 845s # 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); 845s # if (value != NULL) 845s # { 845s # g_variant_take_ref (value); 845s # g_variant_builder_add (&builder, "{sv}", info->name, value); 845s # g_variant_unref (value); 845s # } 845s # } 845s # } 845s # out: 845s # return g_variant_builder_end (&builder); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # static void 845s # _org_project_signaling_iface_on_signal_simple_signal ( 845s # OrgProjectSignalingIface *object) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 845s # 845s # GList *connections, *l; 845s # GVariant *signal_variant; 845s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 845s # 845s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 845s # for (l = connections; l != NULL; l = l->next) 845s # { 845s # GDBusConnection *connection = l->data; 845s # g_dbus_connection_emit_signal (connection, 845s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 845s # signal_variant, NULL); 845s # } 845s # g_variant_unref (signal_variant); 845s # g_list_free_full (connections, g_object_unref); 845s # } 845s # 845s # static void 845s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 845s # OrgProjectSignalingIface *object, 845s # guchar arg_arg_y) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 845s # 845s # GList *connections, *l; 845s # GVariant *signal_variant; 845s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 845s # 845s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 845s # arg_arg_y)); 845s # for (l = connections; l != NULL; l = l->next) 845s # { 845s # GDBusConnection *connection = l->data; 845s # g_dbus_connection_emit_signal (connection, 845s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 845s # signal_variant, NULL); 845s # } 845s # g_variant_unref (signal_variant); 845s # g_list_free_full (connections, g_object_unref); 845s # } 845s # 845s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 845s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 845s # 845s # #else 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 845s # 845s # #endif 845s # static void 845s # org_project_signaling_iface_skeleton_finalize (GObject *object) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 845s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 845s # if (skeleton->priv->changed_properties_idle_source != NULL) 845s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 845s # g_main_context_unref (skeleton->priv->context); 845s # g_mutex_clear (&skeleton->priv->lock); 845s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 845s # { 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 845s # #else 845s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 845s # #endif 845s # 845s # g_mutex_init (&skeleton->priv->lock); 845s # skeleton->priv->context = g_main_context_ref_thread_default (); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 845s # { 845s # GObjectClass *gobject_class; 845s # GDBusInterfaceSkeletonClass *skeleton_class; 845s # 845s # gobject_class = G_OBJECT_CLASS (klass); 845s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 845s # 845s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 845s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 845s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 845s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 845s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 845s # 845s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 845s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 845s # #endif 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 845s # { 845s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 845s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_skeleton_new: 845s # * 845s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_skeleton_new (void) 845s # { 845s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 845s # } 845s # Error: 845s # 845s # /tmp/tmp9htticof/tmpcwm75769.xml: 845s # 845s # 845s # 845s # 845s # 845s # 845s # 845s # 845s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9htticof/tmpcwm75769.xml', '--output', '-', '--body'] 845s # Return code: 0 845s # Output: 845s # /* 845s # * This file is generated by gdbus-codegen, do not modify it. 845s # * 845s # * The license of this code is the same as for the D-Bus interface description 845s # * it was derived from. Note that it links to GLib, so must comply with the 845s # * LGPL linking clauses. 845s # */ 845s # 845s # #ifdef HAVE_CONFIG_H 845s # # include "config.h" 845s # #endif 845s # 845s # #include 845s # #ifdef G_OS_UNIX 845s # # include 845s # #endif 845s # 845s # #ifdef G_ENABLE_DEBUG 845s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 845s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 845s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 845s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 845s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 845s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 845s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 845s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 845s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 845s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 845s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 845s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 845s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 845s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 845s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 845s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 845s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 845s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 845s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 845s # #else /* !G_ENABLE_DEBUG */ 845s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 845s # * Do not access GValues directly in your code. Instead, use the 845s # * g_value_get_*() functions 845s # */ 845s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 845s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 845s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 845s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 845s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 845s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 845s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 845s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 845s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 845s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 845s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 845s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 845s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 845s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 845s # #endif /* !G_ENABLE_DEBUG */ 845s # 845s # typedef struct 845s # { 845s # GDBusArgInfo parent_struct; 845s # gboolean use_gvariant; 845s # } _ExtendedGDBusArgInfo; 845s # 845s # typedef struct 845s # { 845s # GDBusMethodInfo parent_struct; 845s # const gchar *signal_name; 845s # gboolean pass_fdlist; 845s # } _ExtendedGDBusMethodInfo; 845s # 845s # typedef struct 845s # { 845s # GDBusSignalInfo parent_struct; 845s # const gchar *signal_name; 845s # } _ExtendedGDBusSignalInfo; 845s # 845s # typedef struct 845s # { 845s # GDBusPropertyInfo parent_struct; 845s # const gchar *hyphen_name; 845s # guint use_gvariant : 1; 845s # guint emits_changed_signal : 1; 845s # } _ExtendedGDBusPropertyInfo; 845s # 845s # typedef struct 845s # { 845s # GDBusInterfaceInfo parent_struct; 845s # const gchar *hyphen_name; 845s # } _ExtendedGDBusInterfaceInfo; 845s # 845s # typedef struct 845s # { 845s # const _ExtendedGDBusPropertyInfo *info; 845s # guint prop_id; 845s # GValue orig_value; /* the value before the change */ 845s # } ChangedProperty; 845s # 845s # static void 845s # _changed_property_free (ChangedProperty *data) 845s # { 845s # g_value_unset (&data->orig_value); 845s # g_free (data); 845s # } 845s # 845s # static gboolean 845s # _g_strv_equal0 (gchar **a, gchar **b) 845s # { 845s # gboolean ret = FALSE; 845s # guint n; 845s # if (a == NULL && b == NULL) 845s # { 845s # ret = TRUE; 845s # goto out; 845s # } 845s # if (a == NULL || b == NULL) 845s # goto out; 845s # if (g_strv_length (a) != g_strv_length (b)) 845s # goto out; 845s # for (n = 0; a[n] != NULL; n++) 845s # if (g_strcmp0 (a[n], b[n]) != 0) 845s # goto out; 845s # ret = TRUE; 845s # out: 845s # return ret; 845s # } 845s # 845s # static gboolean 845s # _g_variant_equal0 (GVariant *a, GVariant *b) 845s # { 845s # gboolean ret = FALSE; 845s # if (a == NULL && b == NULL) 845s # { 845s # ret = TRUE; 845s # goto out; 845s # } 845s # if (a == NULL || b == NULL) 845s # goto out; 845s # ret = g_variant_equal (a, b); 845s # out: 845s # return ret; 845s # } 845s # 845s # G_GNUC_UNUSED static gboolean 845s # _g_value_equal (const GValue *a, const GValue *b) 845s # { 845s # gboolean ret = FALSE; 845s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 845s # switch (G_VALUE_TYPE (a)) 845s # { 845s # case G_TYPE_BOOLEAN: 845s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 845s # break; 845s # case G_TYPE_UCHAR: 845s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 845s # break; 845s # case G_TYPE_INT: 845s # ret = (g_value_get_int (a) == g_value_get_int (b)); 845s # break; 845s # case G_TYPE_UINT: 845s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 845s # break; 845s # case G_TYPE_INT64: 845s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 845s # break; 845s # case G_TYPE_UINT64: 845s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 845s # break; 845s # case G_TYPE_DOUBLE: 845s # { 845s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 845s # gdouble da = g_value_get_double (a); 845s # gdouble db = g_value_get_double (b); 845s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 845s # } 845s # break; 845s # case G_TYPE_STRING: 845s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 845s # break; 845s # case G_TYPE_VARIANT: 845s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 845s # break; 845s # default: 845s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 845s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 845s # else 845s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 845s # break; 845s # } 845s # return ret; 845s # } 845s # 845s # /* ------------------------------------------------------------------------ 845s # * Code for interface org.project.SignalingIface 845s # * ------------------------------------------------------------------------ 845s # */ 845s # 845s # /** 845s # * SECTION:OrgProjectSignalingIface 845s # * @title: OrgProjectSignalingIface 845s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 845s # * 845s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 845s # */ 845s # 845s # enum 845s # { 845s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 845s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 845s # }; 845s # 845s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 845s # 845s # /* ---- Introspection data for org.project.SignalingIface ---- */ 845s # 845s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 845s # { 845s # { 845s # -1, 845s # (gchar *) "SimpleSignal", 845s # NULL, 845s # NULL 845s # }, 845s # "simple-signal" 845s # }; 845s # 845s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n = 845s # { 845s # { 845s # -1, 845s # (gchar *) "arg_n", 845s # (gchar *) "n", 845s # NULL 845s # }, 845s # FALSE 845s # }; 845s # 845s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 845s # { 845s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n.parent_struct, 845s # NULL 845s # }; 845s # 845s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 845s # { 845s # { 845s # -1, 845s # (gchar *) "SingleArgSignalN", 845s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 845s # NULL 845s # }, 845s # "single-arg-signal-n" 845s # }; 845s # 845s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 845s # { 845s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 845s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 845s # NULL 845s # }; 845s # 845s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 845s # { 845s # { 845s # -1, 845s # (gchar *) "org.project.SignalingIface", 845s # NULL, 845s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 845s # NULL, 845s # NULL 845s # }, 845s # "org-project-signaling-iface", 845s # }; 845s # 845s # 845s # /** 845s # * org_project_signaling_iface_interface_info: 845s # * 845s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 845s # * 845s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 845s # */ 845s # GDBusInterfaceInfo * 845s # org_project_signaling_iface_interface_info (void) 845s # { 845s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_override_properties: 845s # * @klass: The class structure for a #GObject derived class. 845s # * @property_id_begin: The property id to assign to the first overridden property. 845s # * 845s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 845s # * The properties are overridden in the order they are defined. 845s # * 845s # * Returns: The last property id. 845s # */ 845s # guint 845s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 845s # { 845s # return property_id_begin - 1; 845s # } 845s # 845s # 845s # inline static void 845s # org_project_signaling_iface_signal_marshal_simple_signal ( 845s # GClosure *closure, 845s # GValue *return_value, 845s # unsigned int n_param_values, 845s # const GValue *param_values, 845s # void *invocation_hint, 845s # void *marshal_data) 845s # { 845s # g_cclosure_marshal_VOID__VOID (closure, 845s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 845s # } 845s # 845s # inline static void 845s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 845s # GClosure *closure, 845s # GValue *return_value, 845s # unsigned int n_param_values, 845s # const GValue *param_values, 845s # void *invocation_hint, 845s # void *marshal_data) 845s # { 845s # g_cclosure_marshal_VOID__INT (closure, 845s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 845s # } 845s # 845s # 845s # /** 845s # * OrgProjectSignalingIface: 845s # * 845s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 845s # */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceIface: 845s # * @parent_iface: The parent interface. 845s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 845s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 845s # * 845s # * Virtual table for the D-Bus interface org.project.SignalingIface. 845s # */ 845s # 845s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 845s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 845s # 845s # static void 845s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 845s # { 845s # /* GObject signals for received D-Bus signals: */ 845s # /** 845s # * OrgProjectSignalingIface::simple-signal: 845s # * @object: A #OrgProjectSignalingIface. 845s # * 845s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 845s # * 845s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 845s # */ 845s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 845s # g_signal_new ("simple-signal", 845s # G_TYPE_FROM_INTERFACE (iface), 845s # G_SIGNAL_RUN_LAST, 845s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 845s # NULL, 845s # NULL, 845s # org_project_signaling_iface_signal_marshal_simple_signal, 845s # G_TYPE_NONE, 845s # 0); 845s # 845s # /** 845s # * OrgProjectSignalingIface::single-arg-signal-n: 845s # * @object: A #OrgProjectSignalingIface. 845s # * @arg_arg_n: Argument. 845s # * 845s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 845s # * 845s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 845s # */ 845s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 845s # g_signal_new ("single-arg-signal-n", 845s # G_TYPE_FROM_INTERFACE (iface), 845s # G_SIGNAL_RUN_LAST, 845s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 845s # NULL, 845s # NULL, 845s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 845s # G_TYPE_NONE, 845s # 1, G_TYPE_INT); 845s # 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_emit_simple_signal: 845s # * @object: A #OrgProjectSignalingIface. 845s # * 845s # * Emits the "SimpleSignal" D-Bus signal. 845s # */ 845s # void 845s # org_project_signaling_iface_emit_simple_signal ( 845s # OrgProjectSignalingIface *object) 845s # { 845s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_emit_single_arg_signal_n: 845s # * @object: A #OrgProjectSignalingIface. 845s # * @arg_arg_n: Argument to pass with the signal. 845s # * 845s # * Emits the "SingleArgSignalN" D-Bus signal. 845s # */ 845s # void 845s # org_project_signaling_iface_emit_single_arg_signal_n ( 845s # OrgProjectSignalingIface *object, 845s # gint16 arg_arg_n) 845s # { 845s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_arg_n); 845s # } 845s # 845s # /* ------------------------------------------------------------------------ */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceProxy: 845s # * 845s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 845s # */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceProxyClass: 845s # * @parent_class: The parent class. 845s # * 845s # * Class structure for #OrgProjectSignalingIfaceProxy. 845s # */ 845s # 845s # struct _OrgProjectSignalingIfaceProxyPrivate 845s # { 845s # GData *qdata; 845s # }; 845s # 845s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 845s # 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 845s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 845s # 845s # #else 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 845s # 845s # #endif 845s # static void 845s # org_project_signaling_iface_proxy_finalize (GObject *object) 845s # { 845s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 845s # g_datalist_clear (&proxy->priv->qdata); 845s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 845s # guint prop_id G_GNUC_UNUSED, 845s # GValue *value G_GNUC_UNUSED, 845s # GParamSpec *pspec G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 845s # guint prop_id G_GNUC_UNUSED, 845s # const GValue *value G_GNUC_UNUSED, 845s # GParamSpec *pspec G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 845s # const gchar *sender_name G_GNUC_UNUSED, 845s # const gchar *signal_name, 845s # GVariant *parameters) 845s # { 845s # _ExtendedGDBusSignalInfo *info; 845s # GVariantIter iter; 845s # GVariant *child; 845s # GValue *paramv; 845s # gsize num_params; 845s # gsize n; 845s # guint signal_id; 845s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 845s # if (info == NULL) 845s # return; 845s # num_params = g_variant_n_children (parameters); 845s # paramv = g_new0 (GValue, num_params + 1); 845s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 845s # g_value_set_object (¶mv[0], proxy); 845s # g_variant_iter_init (&iter, parameters); 845s # n = 1; 845s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 845s # { 845s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 845s # if (arg_info->use_gvariant) 845s # { 845s # g_value_init (¶mv[n], G_TYPE_VARIANT); 845s # g_value_set_variant (¶mv[n], child); 845s # n++; 845s # } 845s # else 845s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 845s # g_variant_unref (child); 845s # } 845s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 845s # g_signal_emitv (paramv, signal_id, 0, NULL); 845s # for (n = 0; n < num_params + 1; n++) 845s # g_value_unset (¶mv[n]); 845s # g_free (paramv); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 845s # GVariant *changed_properties, 845s # const gchar *const *invalidated_properties) 845s # { 845s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 845s # guint n; 845s # const gchar *key; 845s # GVariantIter *iter; 845s # _ExtendedGDBusPropertyInfo *info; 845s # g_variant_get (changed_properties, "a{sv}", &iter); 845s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 845s # { 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 845s # g_datalist_remove_data (&proxy->priv->qdata, key); 845s # if (info != NULL) 845s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 845s # } 845s # g_variant_iter_free (iter); 845s # for (n = 0; invalidated_properties[n] != NULL; n++) 845s # { 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 845s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 845s # if (info != NULL) 845s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 845s # } 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 845s # { 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 845s # #else 845s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 845s # #endif 845s # 845s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 845s # { 845s # GObjectClass *gobject_class; 845s # GDBusProxyClass *proxy_class; 845s # 845s # gobject_class = G_OBJECT_CLASS (klass); 845s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 845s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 845s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 845s # 845s # proxy_class = G_DBUS_PROXY_CLASS (klass); 845s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 845s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 845s # 845s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 845s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 845s # #endif 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new: 845s # * @connection: A #GDBusConnection. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 845s # * @user_data: User data to pass to @callback. 845s # * 845s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 845s # * 845s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 845s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 845s # * 845s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 845s # */ 845s # void 845s # org_project_signaling_iface_proxy_new ( 845s # GDBusConnection *connection, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GAsyncReadyCallback callback, 845s # gpointer user_data) 845s # { 845s # 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); 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_finish: 845s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 845s # * @error: Return location for error or %NULL 845s # * 845s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_proxy_new_finish ( 845s # GAsyncResult *res, 845s # GError **error) 845s # { 845s # GObject *ret; 845s # GObject *source_object; 845s # source_object = g_async_result_get_source_object (res); 845s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 845s # g_object_unref (source_object); 845s # if (ret != NULL) 845s # return ORG_PROJECT_SIGNALING_IFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_sync: 845s # * @connection: A #GDBusConnection. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @error: Return location for error or %NULL 845s # * 845s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 845s # * 845s # * The calling thread is blocked until a reply is received. 845s # * 845s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_proxy_new_sync ( 845s # GDBusConnection *connection, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GError **error) 845s # { 845s # GInitable *ret; 845s # 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); 845s # if (ret != NULL) 845s # return ORG_PROJECT_SIGNALING_IFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_for_bus: 845s # * @bus_type: A #GBusType. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: A bus name (well-known or unique). 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 845s # * @user_data: User data to pass to @callback. 845s # * 845s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 845s # * 845s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 845s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 845s # * 845s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 845s # */ 845s # void 845s # org_project_signaling_iface_proxy_new_for_bus ( 845s # GBusType bus_type, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GAsyncReadyCallback callback, 845s # gpointer user_data) 845s # { 845s # 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); 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_for_bus_finish: 845s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 845s # * @error: Return location for error or %NULL 845s # * 845s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_proxy_new_for_bus_finish ( 845s # GAsyncResult *res, 845s # GError **error) 845s # { 845s # GObject *ret; 845s # GObject *source_object; 845s # source_object = g_async_result_get_source_object (res); 845s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 845s # g_object_unref (source_object); 845s # if (ret != NULL) 845s # return ORG_PROJECT_SIGNALING_IFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_for_bus_sync: 845s # * @bus_type: A #GBusType. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: A bus name (well-known or unique). 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @error: Return location for error or %NULL 845s # * 845s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 845s # * 845s # * The calling thread is blocked until a reply is received. 845s # * 845s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_proxy_new_for_bus_sync ( 845s # GBusType bus_type, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GError **error) 845s # { 845s # GInitable *ret; 845s # 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); 845s # if (ret != NULL) 845s # return ORG_PROJECT_SIGNALING_IFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # 845s # /* ------------------------------------------------------------------------ */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceSkeleton: 845s # * 845s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 845s # */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceSkeletonClass: 845s # * @parent_class: The parent class. 845s # * 845s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 845s # */ 845s # 845s # struct _OrgProjectSignalingIfaceSkeletonPrivate 845s # { 845s # GValue *properties; 845s # GList *changed_properties; 845s # GSource *changed_properties_idle_source; 845s # GMainContext *context; 845s # GMutex lock; 845s # }; 845s # 845s # static void 845s # _org_project_signaling_iface_skeleton_handle_method_call ( 845s # GDBusConnection *connection G_GNUC_UNUSED, 845s # const gchar *sender G_GNUC_UNUSED, 845s # const gchar *object_path G_GNUC_UNUSED, 845s # const gchar *interface_name, 845s # const gchar *method_name, 845s # GVariant *parameters, 845s # GDBusMethodInvocation *invocation, 845s # gpointer user_data) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 845s # _ExtendedGDBusMethodInfo *info; 845s # GVariantIter iter; 845s # GVariant *child; 845s # GValue *paramv; 845s # gsize num_params; 845s # guint num_extra; 845s # gsize n; 845s # guint signal_id; 845s # GValue return_value = G_VALUE_INIT; 845s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 845s # g_assert (info != NULL); 845s # num_params = g_variant_n_children (parameters); 845s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 845s # n = 0; 845s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 845s # g_value_set_object (¶mv[n++], skeleton); 845s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 845s # g_value_set_object (¶mv[n++], invocation); 845s # if (info->pass_fdlist) 845s # { 845s # #ifdef G_OS_UNIX 845s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 845s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 845s # #else 845s # g_assert_not_reached (); 845s # #endif 845s # } 845s # g_variant_iter_init (&iter, parameters); 845s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 845s # { 845s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 845s # if (arg_info->use_gvariant) 845s # { 845s # g_value_init (¶mv[n], G_TYPE_VARIANT); 845s # g_value_set_variant (¶mv[n], child); 845s # n++; 845s # } 845s # else 845s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 845s # g_variant_unref (child); 845s # } 845s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 845s # g_value_init (&return_value, G_TYPE_BOOLEAN); 845s # g_signal_emitv (paramv, signal_id, 0, &return_value); 845s # if (!g_value_get_boolean (&return_value)) 845s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 845s # g_value_unset (&return_value); 845s # for (n = 0; n < num_params + num_extra; n++) 845s # g_value_unset (¶mv[n]); 845s # g_free (paramv); 845s # } 845s # 845s # static GVariant * 845s # _org_project_signaling_iface_skeleton_handle_get_property ( 845s # GDBusConnection *connection G_GNUC_UNUSED, 845s # const gchar *sender G_GNUC_UNUSED, 845s # const gchar *object_path G_GNUC_UNUSED, 845s # const gchar *interface_name G_GNUC_UNUSED, 845s # const gchar *property_name, 845s # GError **error, 845s # gpointer user_data) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 845s # GValue value = G_VALUE_INIT; 845s # GParamSpec *pspec; 845s # _ExtendedGDBusPropertyInfo *info; 845s # GVariant *ret; 845s # ret = NULL; 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 845s # g_assert (info != NULL); 845s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 845s # if (pspec == NULL) 845s # { 845s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 845s # } 845s # else 845s # { 845s # g_value_init (&value, pspec->value_type); 845s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 845s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 845s # g_value_unset (&value); 845s # } 845s # return ret; 845s # } 845s # 845s # static gboolean 845s # _org_project_signaling_iface_skeleton_handle_set_property ( 845s # GDBusConnection *connection G_GNUC_UNUSED, 845s # const gchar *sender G_GNUC_UNUSED, 845s # const gchar *object_path G_GNUC_UNUSED, 845s # const gchar *interface_name G_GNUC_UNUSED, 845s # const gchar *property_name, 845s # GVariant *variant, 845s # GError **error, 845s # gpointer user_data) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 845s # GValue value = G_VALUE_INIT; 845s # GParamSpec *pspec; 845s # _ExtendedGDBusPropertyInfo *info; 845s # gboolean ret; 845s # ret = FALSE; 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 845s # g_assert (info != NULL); 845s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 845s # if (pspec == NULL) 845s # { 845s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 845s # } 845s # else 845s # { 845s # if (info->use_gvariant) 845s # g_value_set_variant (&value, variant); 845s # else 845s # g_dbus_gvariant_to_gvalue (variant, &value); 845s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 845s # g_value_unset (&value); 845s # ret = TRUE; 845s # } 845s # return ret; 845s # } 845s # 845s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 845s # { 845s # _org_project_signaling_iface_skeleton_handle_method_call, 845s # _org_project_signaling_iface_skeleton_handle_get_property, 845s # _org_project_signaling_iface_skeleton_handle_set_property, 845s # {NULL} 845s # }; 845s # 845s # static GDBusInterfaceInfo * 845s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 845s # { 845s # return org_project_signaling_iface_interface_info (); 845s # } 845s # 845s # static GDBusInterfaceVTable * 845s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 845s # { 845s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 845s # } 845s # 845s # static GVariant * 845s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 845s # 845s # GVariantBuilder builder; 845s # guint n; 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 845s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 845s # #else 845s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 845s # #endif 845s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 845s # goto out; 845s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 845s # { 845s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 845s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 845s # { 845s # GVariant *value; 845s # 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); 845s # if (value != NULL) 845s # { 845s # g_variant_take_ref (value); 845s # g_variant_builder_add (&builder, "{sv}", info->name, value); 845s # g_variant_unref (value); 845s # } 845s # } 845s # } 845s # out: 845s # return g_variant_builder_end (&builder); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # static void 845s # _org_project_signaling_iface_on_signal_simple_signal ( 845s # OrgProjectSignalingIface *object) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 845s # 845s # GList *connections, *l; 845s # GVariant *signal_variant; 845s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 845s # 845s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 845s # for (l = connections; l != NULL; l = l->next) 845s # { 845s # GDBusConnection *connection = l->data; 845s # g_dbus_connection_emit_signal (connection, 845s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 845s # signal_variant, NULL); 845s # } 845s # g_variant_unref (signal_variant); 845s # g_list_free_full (connections, g_object_unref); 845s # } 845s # 845s # static void 845s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 845s # OrgProjectSignalingIface *object, 845s # gint16 arg_arg_n) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 845s # 845s # GList *connections, *l; 845s # GVariant *signal_variant; 845s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 845s # 845s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 845s # arg_arg_n)); 845s # for (l = connections; l != NULL; l = l->next) 845s # { 845s # GDBusConnection *connection = l->data; 845s # g_dbus_connection_emit_signal (connection, 845s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 845s # signal_variant, NULL); 845s # } 845s # g_variant_unref (signal_variant); 845s # g_list_free_full (connections, g_object_unref); 845s # } 845s # 845s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 845s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 845s # 845s # #else 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 845s # 845s # #endif 845s # static void 845s # org_project_signaling_iface_skeleton_finalize (GObject *object) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 845s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 845s # if (skeleton->priv->changed_properties_idle_source != NULL) 845s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 845s # g_main_context_unref (skeleton->priv->context); 845s # g_mutex_clear (&skeleton->priv->lock); 845s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 845s # { 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 845s # #else 845s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 845s # #endif 845s # 845s # g_mutex_init (&skeleton->priv->lock); 845s # skeleton->priv->context = g_main_context_ref_thread_default (); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 845s # { 845s # GObjectClass *gobject_class; 845s # GDBusInterfaceSkeletonClass *skeleton_class; 845s # 845s # gobject_class = G_OBJECT_CLASS (klass); 845s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 845s # 845s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 845s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 845s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 845s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 845s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 845s # 845s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 845s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 845s # #endif 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 845s # { 845s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 845s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_skeleton_new: 845s # * 845s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_skeleton_new (void) 845s # { 845s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 845s # } 845s # Error: 845s # 845s # /tmp/tmp9htticof/tmpubpvmg_e.xml: 845s # 845s # 845s # 845s # 845s # 845s # 845s # 845s # 845s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9htticof/tmpubpvmg_e.xml', '--output', '-', '--body'] 845s # Return code: 0 845s # Output: 845s # /* 845s # * This file is generated by gdbus-codegen, do not modify it. 845s # * 845s # * The license of this code is the same as for the D-Bus interface description 845s # * it was derived from. Note that it links to GLib, so must comply with the 845s # * LGPL linking clauses. 845s # */ 845s # 845s # #ifdef HAVE_CONFIG_H 845s # # include "config.h" 845s # #endif 845s # 845s # #include 845s # #ifdef G_OS_UNIX 845s # # include 845s # #endif 845s # 845s # #ifdef G_ENABLE_DEBUG 845s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 845s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 845s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 845s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 845s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 845s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 845s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 845s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 845s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 845s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 845s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 845s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 845s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 845s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 845s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 845s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 845s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 845s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 845s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 845s # #else /* !G_ENABLE_DEBUG */ 845s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 845s # * Do not access GValues directly in your code. Instead, use the 845s # * g_value_get_*() functions 845s # */ 845s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 845s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 845s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 845s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 845s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 845s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 845s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 845s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 845s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 845s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 845s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 845s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 845s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 845s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 845s # #endif /* !G_ENABLE_DEBUG */ 845s # 845s # typedef struct 845s # { 845s # GDBusArgInfo parent_struct; 845s # gboolean use_gvariant; 845s # } _ExtendedGDBusArgInfo; 845s # 845s # typedef struct 845s # { 845s # GDBusMethodInfo parent_struct; 845s # const gchar *signal_name; 845s # gboolean pass_fdlist; 845s # } _ExtendedGDBusMethodInfo; 845s # 845s # typedef struct 845s # { 845s # GDBusSignalInfo parent_struct; 845s # const gchar *signal_name; 845s # } _ExtendedGDBusSignalInfo; 845s # 845s # typedef struct 845s # { 845s # GDBusPropertyInfo parent_struct; 845s # const gchar *hyphen_name; 845s # guint use_gvariant : 1; 845s # guint emits_changed_signal : 1; 845s # } _ExtendedGDBusPropertyInfo; 845s # 845s # typedef struct 845s # { 845s # GDBusInterfaceInfo parent_struct; 845s # const gchar *hyphen_name; 845s # } _ExtendedGDBusInterfaceInfo; 845s # 845s # typedef struct 845s # { 845s # const _ExtendedGDBusPropertyInfo *info; 845s # guint prop_id; 845s # GValue orig_value; /* the value before the change */ 845s # } ChangedProperty; 845s # 845s # static void 845s # _changed_property_free (ChangedProperty *data) 845s # { 845s # g_value_unset (&data->orig_value); 845s # g_free (data); 845s # } 845s # 845s # static gboolean 845s # _g_strv_equal0 (gchar **a, gchar **b) 845s # { 845s # gboolean ret = FALSE; 845s # guint n; 845s # if (a == NULL && b == NULL) 845s # { 845s # ret = TRUE; 845s # goto out; 845s # } 845s # if (a == NULL || b == NULL) 845s # goto out; 845s # if (g_strv_length (a) != g_strv_length (b)) 845s # goto out; 845s # for (n = 0; a[n] != NULL; n++) 845s # if (g_strcmp0 (a[n], b[n]) != 0) 845s # goto out; 845s # ret = TRUE; 845s # out: 845s # return ret; 845s # } 845s # 845s # static gboolean 845s # _g_variant_equal0 (GVariant *a, GVariant *b) 845s # { 845s # gboolean ret = FALSE; 845s # if (a == NULL && b == NULL) 845s # { 845s # ret = TRUE; 845s # goto out; 845s # } 845s # if (a == NULL || b == NULL) 845s # goto out; 845s # ret = g_variant_equal (a, b); 845s # out: 845s # return ret; 845s # } 845s # 845s # G_GNUC_UNUSED static gboolean 845s # _g_value_equal (const GValue *a, const GValue *b) 845s # { 845s # gboolean ret = FALSE; 845s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 845s # switch (G_VALUE_TYPE (a)) 845s # { 845s # case G_TYPE_BOOLEAN: 845s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 845s # break; 845s # case G_TYPE_UCHAR: 845s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 845s # break; 845s # case G_TYPE_INT: 845s # ret = (g_value_get_int (a) == g_value_get_int (b)); 845s # break; 845s # case G_TYPE_UINT: 845s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 845s # break; 845s # case G_TYPE_INT64: 845s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 845s # break; 845s # case G_TYPE_UINT64: 845s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 845s # break; 845s # case G_TYPE_DOUBLE: 845s # { 845s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 845s # gdouble da = g_value_get_double (a); 845s # gdouble db = g_value_get_double (b); 845s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 845s # } 845s # break; 845s # case G_TYPE_STRING: 845s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 845s # break; 845s # case G_TYPE_VARIANT: 845s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 845s # break; 845s # default: 845s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 845s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 845s # else 845s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 845s # break; 845s # } 845s # return ret; 845s # } 845s # 845s # /* ------------------------------------------------------------------------ 845s # * Code for interface org.project.SignalingIface 845s # * ------------------------------------------------------------------------ 845s # */ 845s # 845s # /** 845s # * SECTION:OrgProjectSignalingIface 845s # * @title: OrgProjectSignalingIface 845s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 845s # * 845s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 845s # */ 845s # 845s # enum 845s # { 845s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 845s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 845s # }; 845s # 845s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 845s # 845s # /* ---- Introspection data for org.project.SignalingIface ---- */ 845s # 845s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 845s # { 845s # { 845s # -1, 845s # (gchar *) "SimpleSignal", 845s # NULL, 845s # NULL 845s # }, 845s # "simple-signal" 845s # }; 845s # 845s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q = 845s # { 845s # { 845s # -1, 845s # (gchar *) "arg_q", 845s # (gchar *) "q", 845s # NULL 845s # }, 845s # FALSE 845s # }; 845s # 845s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 845s # { 845s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q.parent_struct, 845s # NULL 845s # }; 845s # 845s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 845s # { 845s # { 845s # -1, 845s # (gchar *) "SingleArgSignalQ", 845s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 845s # NULL 845s # }, 845s # "single-arg-signal-q" 845s # }; 845s # 845s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 845s # { 845s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 845s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 845s # NULL 845s # }; 845s # 845s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 845s # { 845s # { 845s # -1, 845s # (gchar *) "org.project.SignalingIface", 845s # NULL, 845s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 845s # NULL, 845s # NULL 845s # }, 845s # "org-project-signaling-iface", 845s # }; 845s # 845s # 845s # /** 845s # * org_project_signaling_iface_interface_info: 845s # * 845s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 845s # * 845s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 845s # */ 845s # GDBusInterfaceInfo * 845s # org_project_signaling_iface_interface_info (void) 845s # { 845s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_override_properties: 845s # * @klass: The class structure for a #GObject derived class. 845s # * @property_id_begin: The property id to assign to the first overridden property. 845s # * 845s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 845s # * The properties are overridden in the order they are defined. 845s # * 845s # * Returns: The last property id. 845s # */ 845s # guint 845s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 845s # { 845s # return property_id_begin - 1; 845s # } 845s # 845s # 845s # inline static void 845s # org_project_signaling_iface_signal_marshal_simple_signal ( 845s # GClosure *closure, 845s # GValue *return_value, 845s # unsigned int n_param_values, 845s # const GValue *param_values, 845s # void *invocation_hint, 845s # void *marshal_data) 845s # { 845s # g_cclosure_marshal_VOID__VOID (closure, 845s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 845s # } 845s # 845s # inline static void 845s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 845s # GClosure *closure, 845s # GValue *return_value, 845s # unsigned int n_param_values, 845s # const GValue *param_values, 845s # void *invocation_hint, 845s # void *marshal_data) 845s # { 845s # g_cclosure_marshal_VOID__UINT (closure, 845s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 845s # } 845s # 845s # 845s # /** 845s # * OrgProjectSignalingIface: 845s # * 845s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 845s # */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceIface: 845s # * @parent_iface: The parent interface. 845s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 845s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 845s # * 845s # * Virtual table for the D-Bus interface org.project.SignalingIface. 845s # */ 845s # 845s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 845s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 845s # 845s # static void 845s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 845s # { 845s # /* GObject signals for received D-Bus signals: */ 845s # /** 845s # * OrgProjectSignalingIface::simple-signal: 845s # * @object: A #OrgProjectSignalingIface. 845s # * 845s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 845s # * 845s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 845s # */ 845s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 845s # g_signal_new ("simple-signal", 845s # G_TYPE_FROM_INTERFACE (iface), 845s # G_SIGNAL_RUN_LAST, 845s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 845s # NULL, 845s # NULL, 845s # org_project_signaling_iface_signal_marshal_simple_signal, 845s # G_TYPE_NONE, 845s # 0); 845s # 845s # /** 845s # * OrgProjectSignalingIface::single-arg-signal-q: 845s # * @object: A #OrgProjectSignalingIface. 845s # * @arg_arg_q: Argument. 845s # * 845s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 845s # * 845s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 845s # */ 845s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 845s # g_signal_new ("single-arg-signal-q", 845s # G_TYPE_FROM_INTERFACE (iface), 845s # G_SIGNAL_RUN_LAST, 845s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 845s # NULL, 845s # NULL, 845s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 845s # G_TYPE_NONE, 845s # 1, G_TYPE_UINT); 845s # 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_emit_simple_signal: 845s # * @object: A #OrgProjectSignalingIface. 845s # * 845s # * Emits the "SimpleSignal" D-Bus signal. 845s # */ 845s # void 845s # org_project_signaling_iface_emit_simple_signal ( 845s # OrgProjectSignalingIface *object) 845s # { 845s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_emit_single_arg_signal_q: 845s # * @object: A #OrgProjectSignalingIface. 845s # * @arg_arg_q: Argument to pass with the signal. 845s # * 845s # * Emits the "SingleArgSignalQ" D-Bus signal. 845s # */ 845s # void 845s # org_project_signaling_iface_emit_single_arg_signal_q ( 845s # OrgProjectSignalingIface *object, 845s # guint16 arg_arg_q) 845s # { 845s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_arg_q); 845s # } 845s # 845s # /* ------------------------------------------------------------------------ */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceProxy: 845s # * 845s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 845s # */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceProxyClass: 845s # * @parent_class: The parent class. 845s # * 845s # * Class structure for #OrgProjectSignalingIfaceProxy. 845s # */ 845s # 845s # struct _OrgProjectSignalingIfaceProxyPrivate 845s # { 845s # GData *qdata; 845s # }; 845s # 845s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 845s # 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 845s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 845s # 845s # #else 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 845s # 845s # #endif 845s # static void 845s # org_project_signaling_iface_proxy_finalize (GObject *object) 845s # { 845s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 845s # g_datalist_clear (&proxy->priv->qdata); 845s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 845s # guint prop_id G_GNUC_UNUSED, 845s # GValue *value G_GNUC_UNUSED, 845s # GParamSpec *pspec G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 845s # guint prop_id G_GNUC_UNUSED, 845s # const GValue *value G_GNUC_UNUSED, 845s # GParamSpec *pspec G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 845s # const gchar *sender_name G_GNUC_UNUSED, 845s # const gchar *signal_name, 845s # GVariant *parameters) 845s # { 845s # _ExtendedGDBusSignalInfo *info; 845s # GVariantIter iter; 845s # GVariant *child; 845s # GValue *paramv; 845s # gsize num_params; 845s # gsize n; 845s # guint signal_id; 845s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 845s # if (info == NULL) 845s # return; 845s # num_params = g_variant_n_children (parameters); 845s # paramv = g_new0 (GValue, num_params + 1); 845s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 845s # g_value_set_object (¶mv[0], proxy); 845s # g_variant_iter_init (&iter, parameters); 845s # n = 1; 845s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 845s # { 845s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 845s # if (arg_info->use_gvariant) 845s # { 845s # g_value_init (¶mv[n], G_TYPE_VARIANT); 845s # g_value_set_variant (¶mv[n], child); 845s # n++; 845s # } 845s # else 845s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 845s # g_variant_unref (child); 845s # } 845s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 845s # g_signal_emitv (paramv, signal_id, 0, NULL); 845s # for (n = 0; n < num_params + 1; n++) 845s # g_value_unset (¶mv[n]); 845s # g_free (paramv); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 845s # GVariant *changed_properties, 845s # const gchar *const *invalidated_properties) 845s # { 845s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 845s # guint n; 845s # const gchar *key; 845s # GVariantIter *iter; 845s # _ExtendedGDBusPropertyInfo *info; 845s # g_variant_get (changed_properties, "a{sv}", &iter); 845s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 845s # { 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 845s # g_datalist_remove_data (&proxy->priv->qdata, key); 845s # if (info != NULL) 845s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 845s # } 845s # g_variant_iter_free (iter); 845s # for (n = 0; invalidated_properties[n] != NULL; n++) 845s # { 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 845s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 845s # if (info != NULL) 845s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 845s # } 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 845s # { 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 845s # #else 845s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 845s # #endif 845s # 845s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 845s # { 845s # GObjectClass *gobject_class; 845s # GDBusProxyClass *proxy_class; 845s # 845s # gobject_class = G_OBJECT_CLASS (klass); 845s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 845s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 845s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 845s # 845s # proxy_class = G_DBUS_PROXY_CLASS (klass); 845s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 845s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 845s # 845s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 845s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 845s # #endif 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new: 845s # * @connection: A #GDBusConnection. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 845s # * @user_data: User data to pass to @callback. 845s # * 845s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 845s # * 845s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 845s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 845s # * 845s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 845s # */ 845s # void 845s # org_project_signaling_iface_proxy_new ( 845s # GDBusConnection *connection, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GAsyncReadyCallback callback, 845s # gpointer user_data) 845s # { 845s # 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); 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_finish: 845s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 845s # * @error: Return location for error or %NULL 845s # * 845s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_proxy_new_finish ( 845s # GAsyncResult *res, 845s # GError **error) 845s # { 845s # GObject *ret; 845s # GObject *source_object; 845s # source_object = g_async_result_get_source_object (res); 845s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 845s # g_object_unref (source_object); 845s # if (ret != NULL) 845s # return ORG_PROJECT_SIGNALING_IFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_sync: 845s # * @connection: A #GDBusConnection. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @error: Return location for error or %NULL 845s # * 845s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 845s # * 845s # * The calling thread is blocked until a reply is received. 845s # * 845s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_proxy_new_sync ( 845s # GDBusConnection *connection, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GError **error) 845s # { 845s # GInitable *ret; 845s # 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); 845s # if (ret != NULL) 845s # return ORG_PROJECT_SIGNALING_IFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_for_bus: 845s # * @bus_type: A #GBusType. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: A bus name (well-known or unique). 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 845s # * @user_data: User data to pass to @callback. 845s # * 845s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 845s # * 845s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 845s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 845s # * 845s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 845s # */ 845s # void 845s # org_project_signaling_iface_proxy_new_for_bus ( 845s # GBusType bus_type, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GAsyncReadyCallback callback, 845s # gpointer user_data) 845s # { 845s # 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); 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_for_bus_finish: 845s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 845s # * @error: Return location for error or %NULL 845s # * 845s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_proxy_new_for_bus_finish ( 845s # GAsyncResult *res, 845s # GError **error) 845s # { 845s # GObject *ret; 845s # GObject *source_object; 845s # source_object = g_async_result_get_source_object (res); 845s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 845s # g_object_unref (source_object); 845s # if (ret != NULL) 845s # return ORG_PROJECT_SIGNALING_IFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_for_bus_sync: 845s # * @bus_type: A #GBusType. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: A bus name (well-known or unique). 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @error: Return location for error or %NULL 845s # * 845s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 845s # * 845s # * The calling thread is blocked until a reply is received. 845s # * 845s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_proxy_new_for_bus_sync ( 845s # GBusType bus_type, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GError **error) 845s # { 845s # GInitable *ret; 845s # 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); 845s # if (ret != NULL) 845s # return ORG_PROJECT_SIGNALING_IFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # 845s # /* ------------------------------------------------------------------------ */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceSkeleton: 845s # * 845s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 845s # */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceSkeletonClass: 845s # * @parent_class: The parent class. 845s # * 845s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 845s # */ 845s # 845s # struct _OrgProjectSignalingIfaceSkeletonPrivate 845s # { 845s # GValue *properties; 845s # GList *changed_properties; 845s # GSource *changed_properties_idle_source; 845s # GMainContext *context; 845s # GMutex lock; 845s # }; 845s # 845s # static void 845s # _org_project_signaling_iface_skeleton_handle_method_call ( 845s # GDBusConnection *connection G_GNUC_UNUSED, 845s # const gchar *sender G_GNUC_UNUSED, 845s # const gchar *object_path G_GNUC_UNUSED, 845s # const gchar *interface_name, 845s # const gchar *method_name, 845s # GVariant *parameters, 845s # GDBusMethodInvocation *invocation, 845s # gpointer user_data) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 845s # _ExtendedGDBusMethodInfo *info; 845s # GVariantIter iter; 845s # GVariant *child; 845s # GValue *paramv; 845s # gsize num_params; 845s # guint num_extra; 845s # gsize n; 845s # guint signal_id; 845s # GValue return_value = G_VALUE_INIT; 845s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 845s # g_assert (info != NULL); 845s # num_params = g_variant_n_children (parameters); 845s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 845s # n = 0; 845s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 845s # g_value_set_object (¶mv[n++], skeleton); 845s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 845s # g_value_set_object (¶mv[n++], invocation); 845s # if (info->pass_fdlist) 845s # { 845s # #ifdef G_OS_UNIX 845s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 845s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 845s # #else 845s # g_assert_not_reached (); 845s # #endif 845s # } 845s # g_variant_iter_init (&iter, parameters); 845s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 845s # { 845s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 845s # if (arg_info->use_gvariant) 845s # { 845s # g_value_init (¶mv[n], G_TYPE_VARIANT); 845s # g_value_set_variant (¶mv[n], child); 845s # n++; 845s # } 845s # else 845s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 845s # g_variant_unref (child); 845s # } 845s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 845s # g_value_init (&return_value, G_TYPE_BOOLEAN); 845s # g_signal_emitv (paramv, signal_id, 0, &return_value); 845s # if (!g_value_get_boolean (&return_value)) 845s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 845s # g_value_unset (&return_value); 845s # for (n = 0; n < num_params + num_extra; n++) 845s # g_value_unset (¶mv[n]); 845s # g_free (paramv); 845s # } 845s # 845s # static GVariant * 845s # _org_project_signaling_iface_skeleton_handle_get_property ( 845s # GDBusConnection *connection G_GNUC_UNUSED, 845s # const gchar *sender G_GNUC_UNUSED, 845s # const gchar *object_path G_GNUC_UNUSED, 845s # const gchar *interface_name G_GNUC_UNUSED, 845s # const gchar *property_name, 845s # GError **error, 845s # gpointer user_data) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 845s # GValue value = G_VALUE_INIT; 845s # GParamSpec *pspec; 845s # _ExtendedGDBusPropertyInfo *info; 845s # GVariant *ret; 845s # ret = NULL; 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 845s # g_assert (info != NULL); 845s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 845s # if (pspec == NULL) 845s # { 845s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 845s # } 845s # else 845s # { 845s # g_value_init (&value, pspec->value_type); 845s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 845s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 845s # g_value_unset (&value); 845s # } 845s # return ret; 845s # } 845s # 845s # static gboolean 845s # _org_project_signaling_iface_skeleton_handle_set_property ( 845s # GDBusConnection *connection G_GNUC_UNUSED, 845s # const gchar *sender G_GNUC_UNUSED, 845s # const gchar *object_path G_GNUC_UNUSED, 845s # const gchar *interface_name G_GNUC_UNUSED, 845s # const gchar *property_name, 845s # GVariant *variant, 845s # GError **error, 845s # gpointer user_data) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 845s # GValue value = G_VALUE_INIT; 845s # GParamSpec *pspec; 845s # _ExtendedGDBusPropertyInfo *info; 845s # gboolean ret; 845s # ret = FALSE; 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 845s # g_assert (info != NULL); 845s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 845s # if (pspec == NULL) 845s # { 845s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 845s # } 845s # else 845s # { 845s # if (info->use_gvariant) 845s # g_value_set_variant (&value, variant); 845s # else 845s # g_dbus_gvariant_to_gvalue (variant, &value); 845s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 845s # g_value_unset (&value); 845s # ret = TRUE; 845s # } 845s # return ret; 845s # } 845s # 845s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 845s # { 845s # _org_project_signaling_iface_skeleton_handle_method_call, 845s # _org_project_signaling_iface_skeleton_handle_get_property, 845s # _org_project_signaling_iface_skeleton_handle_set_property, 845s # {NULL} 845s # }; 845s # 845s # static GDBusInterfaceInfo * 845s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 845s # { 845s # return org_project_signaling_iface_interface_info (); 845s # } 845s # 845s # static GDBusInterfaceVTable * 845s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 845s # { 845s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 845s # } 845s # 845s # static GVariant * 845s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 845s # 845s # GVariantBuilder builder; 845s # guint n; 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 845s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 845s # #else 845s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 845s # #endif 845s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 845s # goto out; 845s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 845s # { 845s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 845s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 845s # { 845s # GVariant *value; 845s # 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); 845s # if (value != NULL) 845s # { 845s # g_variant_take_ref (value); 845s # g_variant_builder_add (&builder, "{sv}", info->name, value); 845s # g_variant_unref (value); 845s # } 845s # } 845s # } 845s # out: 845s # return g_variant_builder_end (&builder); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # static void 845s # _org_project_signaling_iface_on_signal_simple_signal ( 845s # OrgProjectSignalingIface *object) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 845s # 845s # GList *connections, *l; 845s # GVariant *signal_variant; 845s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 845s # 845s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 845s # for (l = connections; l != NULL; l = l->next) 845s # { 845s # GDBusConnection *connection = l->data; 845s # g_dbus_connection_emit_signal (connection, 845s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 845s # signal_variant, NULL); 845s # } 845s # g_variant_unref (signal_variant); 845s # g_list_free_full (connections, g_object_unref); 845s # } 845s # 845s # static void 845s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 845s # OrgProjectSignalingIface *object, 845s # guint16 arg_arg_q) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 845s # 845s # GList *connections, *l; 845s # GVariant *signal_variant; 845s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 845s # 845s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 845s # arg_arg_q)); 845s # for (l = connections; l != NULL; l = l->next) 845s # { 845s # GDBusConnection *connection = l->data; 845s # g_dbus_connection_emit_signal (connection, 845s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 845s # signal_variant, NULL); 845s # } 845s # g_variant_unref (signal_variant); 845s # g_list_free_full (connections, g_object_unref); 845s # } 845s # 845s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 845s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 845s # 845s # #else 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 845s # 845s # #endif 845s # static void 845s # org_project_signaling_iface_skeleton_finalize (GObject *object) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 845s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 845s # if (skeleton->priv->changed_properties_idle_source != NULL) 845s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 845s # g_main_context_unref (skeleton->priv->context); 845s # g_mutex_clear (&skeleton->priv->lock); 845s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 845s # { 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 845s # #else 845s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 845s # #endif 845s # 845s # g_mutex_init (&skeleton->priv->lock); 845s # skeleton->priv->context = g_main_context_ref_thread_default (); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 845s # { 845s # GObjectClass *gobject_class; 845s # GDBusInterfaceSkeletonClass *skeleton_class; 845s # 845s # gobject_class = G_OBJECT_CLASS (klass); 845s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 845s # 845s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 845s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 845s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 845s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 845s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 845s # 845s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 845s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 845s # #endif 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 845s # { 845s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 845s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_skeleton_new: 845s # * 845s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_skeleton_new (void) 845s # { 845s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 845s # } 845s # Error: 845s # 845s # /tmp/tmp9htticof/tmpxx3u9c9i.xml: 845s # 845s # 845s # 845s # 845s # 845s # 845s # 845s # 845s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9htticof/tmpxx3u9c9i.xml', '--output', '-', '--body'] 845s # Return code: 0 845s # Output: 845s # /* 845s # * This file is generated by gdbus-codegen, do not modify it. 845s # * 845s # * The license of this code is the same as for the D-Bus interface description 845s # * it was derived from. Note that it links to GLib, so must comply with the 845s # * LGPL linking clauses. 845s # */ 845s # 845s # #ifdef HAVE_CONFIG_H 845s # # include "config.h" 845s # #endif 845s # 845s # #include 845s # #ifdef G_OS_UNIX 845s # # include 845s # #endif 845s # 845s # #ifdef G_ENABLE_DEBUG 845s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 845s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 845s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 845s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 845s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 845s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 845s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 845s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 845s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 845s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 845s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 845s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 845s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 845s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 845s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 845s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 845s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 845s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 845s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 845s # #else /* !G_ENABLE_DEBUG */ 845s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 845s # * Do not access GValues directly in your code. Instead, use the 845s # * g_value_get_*() functions 845s # */ 845s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 845s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 845s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 845s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 845s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 845s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 845s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 845s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 845s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 845s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 845s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 845s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 845s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 845s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 845s # #endif /* !G_ENABLE_DEBUG */ 845s # 845s # typedef struct 845s # { 845s # GDBusArgInfo parent_struct; 845s # gboolean use_gvariant; 845s # } _ExtendedGDBusArgInfo; 845s # 845s # typedef struct 845s # { 845s # GDBusMethodInfo parent_struct; 845s # const gchar *signal_name; 845s # gboolean pass_fdlist; 845s # } _ExtendedGDBusMethodInfo; 845s # 845s # typedef struct 845s # { 845s # GDBusSignalInfo parent_struct; 845s # const gchar *signal_name; 845s # } _ExtendedGDBusSignalInfo; 845s # 845s # typedef struct 845s # { 845s # GDBusPropertyInfo parent_struct; 845s # const gchar *hyphen_name; 845s # guint use_gvariant : 1; 845s # guint emits_changed_signal : 1; 845s # } _ExtendedGDBusPropertyInfo; 845s # 845s # typedef struct 845s # { 845s # GDBusInterfaceInfo parent_struct; 845s # const gchar *hyphen_name; 845s # } _ExtendedGDBusInterfaceInfo; 845s # 845s # typedef struct 845s # { 845s # const _ExtendedGDBusPropertyInfo *info; 845s # guint prop_id; 845s # GValue orig_value; /* the value before the change */ 845s # } ChangedProperty; 845s # 845s # static void 845s # _changed_property_free (ChangedProperty *data) 845s # { 845s # g_value_unset (&data->orig_value); 845s # g_free (data); 845s # } 845s # 845s # static gboolean 845s # _g_strv_equal0 (gchar **a, gchar **b) 845s # { 845s # gboolean ret = FALSE; 845s # guint n; 845s # if (a == NULL && b == NULL) 845s # { 845s # ret = TRUE; 845s # goto out; 845s # } 845s # if (a == NULL || b == NULL) 845s # goto out; 845s # if (g_strv_length (a) != g_strv_length (b)) 845s # goto out; 845s # for (n = 0; a[n] != NULL; n++) 845s # if (g_strcmp0 (a[n], b[n]) != 0) 845s # goto out; 845s # ret = TRUE; 845s # out: 845s # return ret; 845s # } 845s # 845s # static gboolean 845s # _g_variant_equal0 (GVariant *a, GVariant *b) 845s # { 845s # gboolean ret = FALSE; 845s # if (a == NULL && b == NULL) 845s # { 845s # ret = TRUE; 845s # goto out; 845s # } 845s # if (a == NULL || b == NULL) 845s # goto out; 845s # ret = g_variant_equal (a, b); 845s # out: 845s # return ret; 845s # } 845s # 845s # G_GNUC_UNUSED static gboolean 845s # _g_value_equal (const GValue *a, const GValue *b) 845s # { 845s # gboolean ret = FALSE; 845s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 845s # switch (G_VALUE_TYPE (a)) 845s # { 845s # case G_TYPE_BOOLEAN: 845s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 845s # break; 845s # case G_TYPE_UCHAR: 845s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 845s # break; 845s # case G_TYPE_INT: 845s # ret = (g_value_get_int (a) == g_value_get_int (b)); 845s # break; 845s # case G_TYPE_UINT: 845s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 845s # break; 845s # case G_TYPE_INT64: 845s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 845s # break; 845s # case G_TYPE_UINT64: 845s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 845s # break; 845s # case G_TYPE_DOUBLE: 845s # { 845s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 845s # gdouble da = g_value_get_double (a); 845s # gdouble db = g_value_get_double (b); 845s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 845s # } 845s # break; 845s # case G_TYPE_STRING: 845s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 845s # break; 845s # case G_TYPE_VARIANT: 845s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 845s # break; 845s # default: 845s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 845s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 845s # else 845s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 845s # break; 845s # } 845s # return ret; 845s # } 845s # 845s # /* ------------------------------------------------------------------------ 845s # * Code for interface org.project.SignalingIface 845s # * ------------------------------------------------------------------------ 845s # */ 845s # 845s # /** 845s # * SECTION:OrgProjectSignalingIface 845s # * @title: OrgProjectSignalingIface 845s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 845s # * 845s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 845s # */ 845s # 845s # enum 845s # { 845s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 845s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 845s # }; 845s # 845s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 845s # 845s # /* ---- Introspection data for org.project.SignalingIface ---- */ 845s # 845s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 845s # { 845s # { 845s # -1, 845s # (gchar *) "SimpleSignal", 845s # NULL, 845s # NULL 845s # }, 845s # "simple-signal" 845s # }; 845s # 845s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i = 845s # { 845s # { 845s # -1, 845s # (gchar *) "arg_i", 845s # (gchar *) "i", 845s # NULL 845s # }, 845s # FALSE 845s # }; 845s # 845s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 845s # { 845s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i.parent_struct, 845s # NULL 845s # }; 845s # 845s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 845s # { 845s # { 845s # -1, 845s # (gchar *) "SingleArgSignalI", 845s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 845s # NULL 845s # }, 845s # "single-arg-signal-i" 845s # }; 845s # 845s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 845s # { 845s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 845s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 845s # NULL 845s # }; 845s # 845s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 845s # { 845s # { 845s # -1, 845s # (gchar *) "org.project.SignalingIface", 845s # NULL, 845s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 845s # NULL, 845s # NULL 845s # }, 845s # "org-project-signaling-iface", 845s # }; 845s # 845s # 845s # /** 845s # * org_project_signaling_iface_interface_info: 845s # * 845s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 845s # * 845s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 845s # */ 845s # GDBusInterfaceInfo * 845s # org_project_signaling_iface_interface_info (void) 845s # { 845s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_override_properties: 845s # * @klass: The class structure for a #GObject derived class. 845s # * @property_id_begin: The property id to assign to the first overridden property. 845s # * 845s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 845s # * The properties are overridden in the order they are defined. 845s # * 845s # * Returns: The last property id. 845s # */ 845s # guint 845s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 845s # { 845s # return property_id_begin - 1; 845s # } 845s # 845s # 845s # inline static void 845s # org_project_signaling_iface_signal_marshal_simple_signal ( 845s # GClosure *closure, 845s # GValue *return_value, 845s # unsigned int n_param_values, 845s # const GValue *param_values, 845s # void *invocation_hint, 845s # void *marshal_data) 845s # { 845s # g_cclosure_marshal_VOID__VOID (closure, 845s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 845s # } 845s # 845s # inline static void 845s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 845s # GClosure *closure, 845s # GValue *return_value, 845s # unsigned int n_param_values, 845s # const GValue *param_values, 845s # void *invocation_hint, 845s # void *marshal_data) 845s # { 845s # g_cclosure_marshal_VOID__INT (closure, 845s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 845s # } 845s # 845s # 845s # /** 845s # * OrgProjectSignalingIface: 845s # * 845s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 845s # */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceIface: 845s # * @parent_iface: The parent interface. 845s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 845s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 845s # * 845s # * Virtual table for the D-Bus interface org.project.SignalingIface. 845s # */ 845s # 845s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 845s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 845s # 845s # static void 845s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 845s # { 845s # /* GObject signals for received D-Bus signals: */ 845s # /** 845s # * OrgProjectSignalingIface::simple-signal: 845s # * @object: A #OrgProjectSignalingIface. 845s # * 845s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 845s # * 845s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 845s # */ 845s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 845s # g_signal_new ("simple-signal", 845s # G_TYPE_FROM_INTERFACE (iface), 845s # G_SIGNAL_RUN_LAST, 845s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 845s # NULL, 845s # NULL, 845s # org_project_signaling_iface_signal_marshal_simple_signal, 845s # G_TYPE_NONE, 845s # 0); 845s # 845s # /** 845s # * OrgProjectSignalingIface::single-arg-signal-i: 845s # * @object: A #OrgProjectSignalingIface. 845s # * @arg_arg_i: Argument. 845s # * 845s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 845s # * 845s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 845s # */ 845s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 845s # g_signal_new ("single-arg-signal-i", 845s # G_TYPE_FROM_INTERFACE (iface), 845s # G_SIGNAL_RUN_LAST, 845s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 845s # NULL, 845s # NULL, 845s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 845s # G_TYPE_NONE, 845s # 1, G_TYPE_INT); 845s # 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_emit_simple_signal: 845s # * @object: A #OrgProjectSignalingIface. 845s # * 845s # * Emits the "SimpleSignal" D-Bus signal. 845s # */ 845s # void 845s # org_project_signaling_iface_emit_simple_signal ( 845s # OrgProjectSignalingIface *object) 845s # { 845s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_emit_single_arg_signal_i: 845s # * @object: A #OrgProjectSignalingIface. 845s # * @arg_arg_i: Argument to pass with the signal. 845s # * 845s # * Emits the "SingleArgSignalI" D-Bus signal. 845s # */ 845s # void 845s # org_project_signaling_iface_emit_single_arg_signal_i ( 845s # OrgProjectSignalingIface *object, 845s # gint arg_arg_i) 845s # { 845s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_arg_i); 845s # } 845s # 845s # /* ------------------------------------------------------------------------ */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceProxy: 845s # * 845s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 845s # */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceProxyClass: 845s # * @parent_class: The parent class. 845s # * 845s # * Class structure for #OrgProjectSignalingIfaceProxy. 845s # */ 845s # 845s # struct _OrgProjectSignalingIfaceProxyPrivate 845s # { 845s # GData *qdata; 845s # }; 845s # 845s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 845s # 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 845s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 845s # 845s # #else 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 845s # 845s # #endif 845s # static void 845s # org_project_signaling_iface_proxy_finalize (GObject *object) 845s # { 845s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 845s # g_datalist_clear (&proxy->priv->qdata); 845s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 845s # guint prop_id G_GNUC_UNUSED, 845s # GValue *value G_GNUC_UNUSED, 845s # GParamSpec *pspec G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 845s # guint prop_id G_GNUC_UNUSED, 845s # const GValue *value G_GNUC_UNUSED, 845s # GParamSpec *pspec G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 845s # const gchar *sender_name G_GNUC_UNUSED, 845s # const gchar *signal_name, 845s # GVariant *parameters) 845s # { 845s # _ExtendedGDBusSignalInfo *info; 845s # GVariantIter iter; 845s # GVariant *child; 845s # GValue *paramv; 845s # gsize num_params; 845s # gsize n; 845s # guint signal_id; 845s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 845s # if (info == NULL) 845s # return; 845s # num_params = g_variant_n_children (parameters); 845s # paramv = g_new0 (GValue, num_params + 1); 845s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 845s # g_value_set_object (¶mv[0], proxy); 845s # g_variant_iter_init (&iter, parameters); 845s # n = 1; 845s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 845s # { 845s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 845s # if (arg_info->use_gvariant) 845s # { 845s # g_value_init (¶mv[n], G_TYPE_VARIANT); 845s # g_value_set_variant (¶mv[n], child); 845s # n++; 845s # } 845s # else 845s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 845s # g_variant_unref (child); 845s # } 845s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 845s # g_signal_emitv (paramv, signal_id, 0, NULL); 845s # for (n = 0; n < num_params + 1; n++) 845s # g_value_unset (¶mv[n]); 845s # g_free (paramv); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 845s # GVariant *changed_properties, 845s # const gchar *const *invalidated_properties) 845s # { 845s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 845s # guint n; 845s # const gchar *key; 845s # GVariantIter *iter; 845s # _ExtendedGDBusPropertyInfo *info; 845s # g_variant_get (changed_properties, "a{sv}", &iter); 845s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 845s # { 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 845s # g_datalist_remove_data (&proxy->priv->qdata, key); 845s # if (info != NULL) 845s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 845s # } 845s # g_variant_iter_free (iter); 845s # for (n = 0; invalidated_properties[n] != NULL; n++) 845s # { 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 845s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 845s # if (info != NULL) 845s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 845s # } 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 845s # { 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 845s # #else 845s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 845s # #endif 845s # 845s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 845s # { 845s # GObjectClass *gobject_class; 845s # GDBusProxyClass *proxy_class; 845s # 845s # gobject_class = G_OBJECT_CLASS (klass); 845s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 845s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 845s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 845s # 845s # proxy_class = G_DBUS_PROXY_CLASS (klass); 845s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 845s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 845s # 845s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 845s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 845s # #endif 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new: 845s # * @connection: A #GDBusConnection. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 845s # * @user_data: User data to pass to @callback. 845s # * 845s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 845s # * 845s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 845s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 845s # * 845s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 845s # */ 845s # void 845s # org_project_signaling_iface_proxy_new ( 845s # GDBusConnection *connection, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GAsyncReadyCallback callback, 845s # gpointer user_data) 845s # { 845s # 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); 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_finish: 845s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 845s # * @error: Return location for error or %NULL 845s # * 845s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_proxy_new_finish ( 845s # GAsyncResult *res, 845s # GError **error) 845s # { 845s # GObject *ret; 845s # GObject *source_object; 845s # source_object = g_async_result_get_source_object (res); 845s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 845s # g_object_unref (source_object); 845s # if (ret != NULL) 845s # return ORG_PROJECT_SIGNALING_IFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_sync: 845s # * @connection: A #GDBusConnection. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @error: Return location for error or %NULL 845s # * 845s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 845s # * 845s # * The calling thread is blocked until a reply is received. 845s # * 845s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_proxy_new_sync ( 845s # GDBusConnection *connection, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GError **error) 845s # { 845s # GInitable *ret; 845s # 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); 845s # if (ret != NULL) 845s # return ORG_PROJECT_SIGNALING_IFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_for_bus: 845s # * @bus_type: A #GBusType. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: A bus name (well-known or unique). 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 845s # * @user_data: User data to pass to @callback. 845s # * 845s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 845s # * 845s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 845s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 845s # * 845s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 845s # */ 845s # void 845s # org_project_signaling_iface_proxy_new_for_bus ( 845s # GBusType bus_type, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GAsyncReadyCallback callback, 845s # gpointer user_data) 845s # { 845s # 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); 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_for_bus_finish: 845s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 845s # * @error: Return location for error or %NULL 845s # * 845s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_proxy_new_for_bus_finish ( 845s # GAsyncResult *res, 845s # GError **error) 845s # { 845s # GObject *ret; 845s # GObject *source_object; 845s # source_object = g_async_result_get_source_object (res); 845s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 845s # g_object_unref (source_object); 845s # if (ret != NULL) 845s # return ORG_PROJECT_SIGNALING_IFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_for_bus_sync: 845s # * @bus_type: A #GBusType. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: A bus name (well-known or unique). 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @error: Return location for error or %NULL 845s # * 845s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 845s # * 845s # * The calling thread is blocked until a reply is received. 845s # * 845s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_proxy_new_for_bus_sync ( 845s # GBusType bus_type, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GError **error) 845s # { 845s # GInitable *ret; 845s # 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); 845s # if (ret != NULL) 845s # return ORG_PROJECT_SIGNALING_IFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # 845s # /* ------------------------------------------------------------------------ */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceSkeleton: 845s # * 845s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 845s # */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceSkeletonClass: 845s # * @parent_class: The parent class. 845s # * 845s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 845s # */ 845s # 845s # struct _OrgProjectSignalingIfaceSkeletonPrivate 845s # { 845s # GValue *properties; 845s # GList *changed_properties; 845s # GSource *changed_properties_idle_source; 845s # GMainContext *context; 845s # GMutex lock; 845s # }; 845s # 845s # static void 845s # _org_project_signaling_iface_skeleton_handle_method_call ( 845s # GDBusConnection *connection G_GNUC_UNUSED, 845s # const gchar *sender G_GNUC_UNUSED, 845s # const gchar *object_path G_GNUC_UNUSED, 845s # const gchar *interface_name, 845s # const gchar *method_name, 845s # GVariant *parameters, 845s # GDBusMethodInvocation *invocation, 845s # gpointer user_data) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 845s # _ExtendedGDBusMethodInfo *info; 845s # GVariantIter iter; 845s # GVariant *child; 845s # GValue *paramv; 845s # gsize num_params; 845s # guint num_extra; 845s # gsize n; 845s # guint signal_id; 845s # GValue return_value = G_VALUE_INIT; 845s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 845s # g_assert (info != NULL); 845s # num_params = g_variant_n_children (parameters); 845s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 845s # n = 0; 845s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 845s # g_value_set_object (¶mv[n++], skeleton); 845s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 845s # g_value_set_object (¶mv[n++], invocation); 845s # if (info->pass_fdlist) 845s # { 845s # #ifdef G_OS_UNIX 845s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 845s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 845s # #else 845s # g_assert_not_reached (); 845s # #endif 845s # } 845s # g_variant_iter_init (&iter, parameters); 845s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 845s # { 845s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 845s # if (arg_info->use_gvariant) 845s # { 845s # g_value_init (¶mv[n], G_TYPE_VARIANT); 845s # g_value_set_variant (¶mv[n], child); 845s # n++; 845s # } 845s # else 845s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 845s # g_variant_unref (child); 845s # } 845s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 845s # g_value_init (&return_value, G_TYPE_BOOLEAN); 845s # g_signal_emitv (paramv, signal_id, 0, &return_value); 845s # if (!g_value_get_boolean (&return_value)) 845s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 845s # g_value_unset (&return_value); 845s # for (n = 0; n < num_params + num_extra; n++) 845s # g_value_unset (¶mv[n]); 845s # g_free (paramv); 845s # } 845s # 845s # static GVariant * 845s # _org_project_signaling_iface_skeleton_handle_get_property ( 845s # GDBusConnection *connection G_GNUC_UNUSED, 845s # const gchar *sender G_GNUC_UNUSED, 845s # const gchar *object_path G_GNUC_UNUSED, 845s # const gchar *interface_name G_GNUC_UNUSED, 845s # const gchar *property_name, 845s # GError **error, 845s # gpointer user_data) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 845s # GValue value = G_VALUE_INIT; 845s # GParamSpec *pspec; 845s # _ExtendedGDBusPropertyInfo *info; 845s # GVariant *ret; 845s # ret = NULL; 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 845s # g_assert (info != NULL); 845s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 845s # if (pspec == NULL) 845s # { 845s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 845s # } 845s # else 845s # { 845s # g_value_init (&value, pspec->value_type); 845s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 845s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 845s # g_value_unset (&value); 845s # } 845s # return ret; 845s # } 845s # 845s # static gboolean 845s # _org_project_signaling_iface_skeleton_handle_set_property ( 845s # GDBusConnection *connection G_GNUC_UNUSED, 845s # const gchar *sender G_GNUC_UNUSED, 845s # const gchar *object_path G_GNUC_UNUSED, 845s # const gchar *interface_name G_GNUC_UNUSED, 845s # const gchar *property_name, 845s # GVariant *variant, 845s # GError **error, 845s # gpointer user_data) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 845s # GValue value = G_VALUE_INIT; 845s # GParamSpec *pspec; 845s # _ExtendedGDBusPropertyInfo *info; 845s # gboolean ret; 845s # ret = FALSE; 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 845s # g_assert (info != NULL); 845s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 845s # if (pspec == NULL) 845s # { 845s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 845s # } 845s # else 845s # { 845s # if (info->use_gvariant) 845s # g_value_set_variant (&value, variant); 845s # else 845s # g_dbus_gvariant_to_gvalue (variant, &value); 845s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 845s # g_value_unset (&value); 845s # ret = TRUE; 845s # } 845s # return ret; 845s # } 845s # 845s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 845s # { 845s # _org_project_signaling_iface_skeleton_handle_method_call, 845s # _org_project_signaling_iface_skeleton_handle_get_property, 845s # _org_project_signaling_iface_skeleton_handle_set_property, 845s # {NULL} 845s # }; 845s # 845s # static GDBusInterfaceInfo * 845s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 845s # { 845s # return org_project_signaling_iface_interface_info (); 845s # } 845s # 845s # static GDBusInterfaceVTable * 845s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 845s # { 845s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 845s # } 845s # 845s # static GVariant * 845s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 845s # 845s # GVariantBuilder builder; 845s # guint n; 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 845s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 845s # #else 845s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 845s # #endif 845s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 845s # goto out; 845s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 845s # { 845s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 845s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 845s # { 845s # GVariant *value; 845s # 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); 845s # if (value != NULL) 845s # { 845s # g_variant_take_ref (value); 845s # g_variant_builder_add (&builder, "{sv}", info->name, value); 845s # g_variant_unref (value); 845s # } 845s # } 845s # } 845s # out: 845s # return g_variant_builder_end (&builder); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # static void 845s # _org_project_signaling_iface_on_signal_simple_signal ( 845s # OrgProjectSignalingIface *object) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 845s # 845s # GList *connections, *l; 845s # GVariant *signal_variant; 845s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 845s # 845s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 845s # for (l = connections; l != NULL; l = l->next) 845s # { 845s # GDBusConnection *connection = l->data; 845s # g_dbus_connection_emit_signal (connection, 845s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 845s # signal_variant, NULL); 845s # } 845s # g_variant_unref (signal_variant); 845s # g_list_free_full (connections, g_object_unref); 845s # } 845s # 845s # static void 845s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 845s # OrgProjectSignalingIface *object, 845s # gint arg_arg_i) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 845s # 845s # GList *connections, *l; 845s # GVariant *signal_variant; 845s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 845s # 845s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 845s # arg_arg_i)); 845s # for (l = connections; l != NULL; l = l->next) 845s # { 845s # GDBusConnection *connection = l->data; 845s # g_dbus_connection_emit_signal (connection, 845s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 845s # signal_variant, NULL); 845s # } 845s # g_variant_unref (signal_variant); 845s # g_list_free_full (connections, g_object_unref); 845s # } 845s # 845s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 845s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 845s # 845s # #else 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 845s # 845s # #endif 845s # static void 845s # org_project_signaling_iface_skeleton_finalize (GObject *object) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 845s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 845s # if (skeleton->priv->changed_properties_idle_source != NULL) 845s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 845s # g_main_context_unref (skeleton->priv->context); 845s # g_mutex_clear (&skeleton->priv->lock); 845s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 845s # { 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 845s # #else 845s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 845s # #endif 845s # 845s # g_mutex_init (&skeleton->priv->lock); 845s # skeleton->priv->context = g_main_context_ref_thread_default (); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 845s # { 845s # GObjectClass *gobject_class; 845s # GDBusInterfaceSkeletonClass *skeleton_class; 845s # 845s # gobject_class = G_OBJECT_CLASS (klass); 845s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 845s # 845s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 845s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 845s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 845s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 845s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 845s # 845s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 845s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 845s # #endif 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 845s # { 845s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 845s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_skeleton_new: 845s # * 845s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_skeleton_new (void) 845s # { 845s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 845s # } 845s # Error: 845s # 845s # /tmp/tmp9htticof/tmpa7kjb89r.xml: 845s # 845s # 845s # 845s # 845s # 845s # 845s # 845s # 845s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9htticof/tmpa7kjb89r.xml', '--output', '-', '--body'] 845s # Return code: 0 845s # Output: 845s # /* 845s # * This file is generated by gdbus-codegen, do not modify it. 845s # * 845s # * The license of this code is the same as for the D-Bus interface description 845s # * it was derived from. Note that it links to GLib, so must comply with the 845s # * LGPL linking clauses. 845s # */ 845s # 845s # #ifdef HAVE_CONFIG_H 845s # # include "config.h" 845s # #endif 845s # 845s # #include 845s # #ifdef G_OS_UNIX 845s # # include 845s # #endif 845s # 845s # #ifdef G_ENABLE_DEBUG 845s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 845s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 845s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 845s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 845s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 845s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 845s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 845s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 845s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 845s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 845s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 845s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 845s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 845s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 845s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 845s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 845s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 845s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 845s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 845s # #else /* !G_ENABLE_DEBUG */ 845s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 845s # * Do not access GValues directly in your code. Instead, use the 845s # * g_value_get_*() functions 845s # */ 845s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 845s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 845s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 845s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 845s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 845s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 845s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 845s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 845s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 845s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 845s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 845s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 845s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 845s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 845s # #endif /* !G_ENABLE_DEBUG */ 845s # 845s # typedef struct 845s # { 845s # GDBusArgInfo parent_struct; 845s # gboolean use_gvariant; 845s # } _ExtendedGDBusArgInfo; 845s # 845s # typedef struct 845s # { 845s # GDBusMethodInfo parent_struct; 845s # const gchar *signal_name; 845s # gboolean pass_fdlist; 845s # } _ExtendedGDBusMethodInfo; 845s # 845s # typedef struct 845s # { 845s # GDBusSignalInfo parent_struct; 845s # const gchar *signal_name; 845s # } _ExtendedGDBusSignalInfo; 845s # 845s # typedef struct 845s # { 845s # GDBusPropertyInfo parent_struct; 845s # const gchar *hyphen_name; 845s # guint use_gvariant : 1; 845s # guint emits_changed_signal : 1; 845s # } _ExtendedGDBusPropertyInfo; 845s # 845s # typedef struct 845s # { 845s # GDBusInterfaceInfo parent_struct; 845s # const gchar *hyphen_name; 845s # } _ExtendedGDBusInterfaceInfo; 845s # 845s # typedef struct 845s # { 845s # const _ExtendedGDBusPropertyInfo *info; 845s # guint prop_id; 845s # GValue orig_value; /* the value before the change */ 845s # } ChangedProperty; 845s # 845s # static void 845s # _changed_property_free (ChangedProperty *data) 845s # { 845s # g_value_unset (&data->orig_value); 845s # g_free (data); 845s # } 845s # 845s # static gboolean 845s # _g_strv_equal0 (gchar **a, gchar **b) 845s # { 845s # gboolean ret = FALSE; 845s # guint n; 845s # if (a == NULL && b == NULL) 845s # { 845s # ret = TRUE; 845s # goto out; 845s # } 845s # if (a == NULL || b == NULL) 845s # goto out; 845s # if (g_strv_length (a) != g_strv_length (b)) 845s # goto out; 845s # for (n = 0; a[n] != NULL; n++) 845s # if (g_strcmp0 (a[n], b[n]) != 0) 845s # goto out; 845s # ret = TRUE; 845s # out: 845s # return ret; 845s # } 845s # 845s # static gboolean 845s # _g_variant_equal0 (GVariant *a, GVariant *b) 845s # { 845s # gboolean ret = FALSE; 845s # if (a == NULL && b == NULL) 845s # { 845s # ret = TRUE; 845s # goto out; 845s # } 845s # if (a == NULL || b == NULL) 845s # goto out; 845s # ret = g_variant_equal (a, b); 845s # out: 845s # return ret; 845s # } 845s # 845s # G_GNUC_UNUSED static gboolean 845s # _g_value_equal (const GValue *a, const GValue *b) 845s # { 845s # gboolean ret = FALSE; 845s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 845s # switch (G_VALUE_TYPE (a)) 845s # { 845s # case G_TYPE_BOOLEAN: 845s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 845s # break; 845s # case G_TYPE_UCHAR: 845s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 845s # break; 845s # case G_TYPE_INT: 845s # ret = (g_value_get_int (a) == g_value_get_int (b)); 845s # break; 845s # case G_TYPE_UINT: 845s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 845s # break; 845s # case G_TYPE_INT64: 845s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 845s # break; 845s # case G_TYPE_UINT64: 845s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 845s # break; 845s # case G_TYPE_DOUBLE: 845s # { 845s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 845s # gdouble da = g_value_get_double (a); 845s # gdouble db = g_value_get_double (b); 845s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 845s # } 845s # break; 845s # case G_TYPE_STRING: 845s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 845s # break; 845s # case G_TYPE_VARIANT: 845s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 845s # break; 845s # default: 845s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 845s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 845s # else 845s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 845s # break; 845s # } 845s # return ret; 845s # } 845s # 845s # /* ------------------------------------------------------------------------ 845s # * Code for interface org.project.SignalingIface 845s # * ------------------------------------------------------------------------ 845s # */ 845s # 845s # /** 845s # * SECTION:OrgProjectSignalingIface 845s # * @title: OrgProjectSignalingIface 845s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 845s # * 845s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 845s # */ 845s # 845s # enum 845s # { 845s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 845s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 845s # }; 845s # 845s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 845s # 845s # /* ---- Introspection data for org.project.SignalingIface ---- */ 845s # 845s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 845s # { 845s # { 845s # -1, 845s # (gchar *) "SimpleSignal", 845s # NULL, 845s # NULL 845s # }, 845s # "simple-signal" 845s # }; 845s # 845s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u = 845s # { 845s # { 845s # -1, 845s # (gchar *) "arg_u", 845s # (gchar *) "u", 845s # NULL 845s # }, 845s # FALSE 845s # }; 845s # 845s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 845s # { 845s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u.parent_struct, 845s # NULL 845s # }; 845s # 845s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 845s # { 845s # { 845s # -1, 845s # (gchar *) "SingleArgSignalU", 845s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 845s # NULL 845s # }, 845s # "single-arg-signal-u" 845s # }; 845s # 845s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 845s # { 845s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 845s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 845s # NULL 845s # }; 845s # 845s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 845s # { 845s # { 845s # -1, 845s # (gchar *) "org.project.SignalingIface", 845s # NULL, 845s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 845s # NULL, 845s # NULL 845s # }, 845s # "org-project-signaling-iface", 845s # }; 845s # 845s # 845s # /** 845s # * org_project_signaling_iface_interface_info: 845s # * 845s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 845s # * 845s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 845s # */ 845s # GDBusInterfaceInfo * 845s # org_project_signaling_iface_interface_info (void) 845s # { 845s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_override_properties: 845s # * @klass: The class structure for a #GObject derived class. 845s # * @property_id_begin: The property id to assign to the first overridden property. 845s # * 845s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 845s # * The properties are overridden in the order they are defined. 845s # * 845s # * Returns: The last property id. 845s # */ 845s # guint 845s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 845s # { 845s # return property_id_begin - 1; 845s # } 845s # 845s # 845s # inline static void 845s # org_project_signaling_iface_signal_marshal_simple_signal ( 845s # GClosure *closure, 845s # GValue *return_value, 845s # unsigned int n_param_values, 845s # const GValue *param_values, 845s # void *invocation_hint, 845s # void *marshal_data) 845s # { 845s # g_cclosure_marshal_VOID__VOID (closure, 845s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 845s # } 845s # 845s # inline static void 845s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 845s # GClosure *closure, 845s # GValue *return_value, 845s # unsigned int n_param_values, 845s # const GValue *param_values, 845s # void *invocation_hint, 845s # void *marshal_data) 845s # { 845s # g_cclosure_marshal_VOID__UINT (closure, 845s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 845s # } 845s # 845s # 845s # /** 845s # * OrgProjectSignalingIface: 845s # * 845s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 845s # */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceIface: 845s # * @parent_iface: The parent interface. 845s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 845s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 845s # * 845s # * Virtual table for the D-Bus interface org.project.SignalingIface. 845s # */ 845s # 845s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 845s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 845s # 845s # static void 845s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 845s # { 845s # /* GObject signals for received D-Bus signals: */ 845s # /** 845s # * OrgProjectSignalingIface::simple-signal: 845s # * @object: A #OrgProjectSignalingIface. 845s # * 845s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 845s # * 845s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 845s # */ 845s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 845s # g_signal_new ("simple-signal", 845s # G_TYPE_FROM_INTERFACE (iface), 845s # G_SIGNAL_RUN_LAST, 845s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 845s # NULL, 845s # NULL, 845s # org_project_signaling_iface_signal_marshal_simple_signal, 845s # G_TYPE_NONE, 845s # 0); 845s # 845s # /** 845s # * OrgProjectSignalingIface::single-arg-signal-u: 845s # * @object: A #OrgProjectSignalingIface. 845s # * @arg_arg_u: Argument. 845s # * 845s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 845s # * 845s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 845s # */ 845s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 845s # g_signal_new ("single-arg-signal-u", 845s # G_TYPE_FROM_INTERFACE (iface), 845s # G_SIGNAL_RUN_LAST, 845s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 845s # NULL, 845s # NULL, 845s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 845s # G_TYPE_NONE, 845s # 1, G_TYPE_UINT); 845s # 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_emit_simple_signal: 845s # * @object: A #OrgProjectSignalingIface. 845s # * 845s # * Emits the "SimpleSignal" D-Bus signal. 845s # */ 845s # void 845s # org_project_signaling_iface_emit_simple_signal ( 845s # OrgProjectSignalingIface *object) 845s # { 845s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_emit_single_arg_signal_u: 845s # * @object: A #OrgProjectSignalingIface. 845s # * @arg_arg_u: Argument to pass with the signal. 845s # * 845s # * Emits the "SingleArgSignalU" D-Bus signal. 845s # */ 845s # void 845s # org_project_signaling_iface_emit_single_arg_signal_u ( 845s # OrgProjectSignalingIface *object, 845s # guint arg_arg_u) 845s # { 845s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_arg_u); 845s # } 845s # 845s # /* ------------------------------------------------------------------------ */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceProxy: 845s # * 845s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 845s # */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceProxyClass: 845s # * @parent_class: The parent class. 845s # * 845s # * Class structure for #OrgProjectSignalingIfaceProxy. 845s # */ 845s # 845s # struct _OrgProjectSignalingIfaceProxyPrivate 845s # { 845s # GData *qdata; 845s # }; 845s # 845s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 845s # 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 845s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 845s # 845s # #else 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 845s # 845s # #endif 845s # static void 845s # org_project_signaling_iface_proxy_finalize (GObject *object) 845s # { 845s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 845s # g_datalist_clear (&proxy->priv->qdata); 845s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 845s # guint prop_id G_GNUC_UNUSED, 845s # GValue *value G_GNUC_UNUSED, 845s # GParamSpec *pspec G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 845s # guint prop_id G_GNUC_UNUSED, 845s # const GValue *value G_GNUC_UNUSED, 845s # GParamSpec *pspec G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 845s # const gchar *sender_name G_GNUC_UNUSED, 845s # const gchar *signal_name, 845s # GVariant *parameters) 845s # { 845s # _ExtendedGDBusSignalInfo *info; 845s # GVariantIter iter; 845s # GVariant *child; 845s # GValue *paramv; 845s # gsize num_params; 845s # gsize n; 845s # guint signal_id; 845s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 845s # if (info == NULL) 845s # return; 845s # num_params = g_variant_n_children (parameters); 845s # paramv = g_new0 (GValue, num_params + 1); 845s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 845s # g_value_set_object (¶mv[0], proxy); 845s # g_variant_iter_init (&iter, parameters); 845s # n = 1; 845s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 845s # { 845s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 845s # if (arg_info->use_gvariant) 845s # { 845s # g_value_init (¶mv[n], G_TYPE_VARIANT); 845s # g_value_set_variant (¶mv[n], child); 845s # n++; 845s # } 845s # else 845s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 845s # g_variant_unref (child); 845s # } 845s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 845s # g_signal_emitv (paramv, signal_id, 0, NULL); 845s # for (n = 0; n < num_params + 1; n++) 845s # g_value_unset (¶mv[n]); 845s # g_free (paramv); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 845s # GVariant *changed_properties, 845s # const gchar *const *invalidated_properties) 845s # { 845s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 845s # guint n; 845s # const gchar *key; 845s # GVariantIter *iter; 845s # _ExtendedGDBusPropertyInfo *info; 845s # g_variant_get (changed_properties, "a{sv}", &iter); 845s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 845s # { 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 845s # g_datalist_remove_data (&proxy->priv->qdata, key); 845s # if (info != NULL) 845s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 845s # } 845s # g_variant_iter_free (iter); 845s # for (n = 0; invalidated_properties[n] != NULL; n++) 845s # { 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 845s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 845s # if (info != NULL) 845s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 845s # } 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 845s # { 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 845s # #else 845s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 845s # #endif 845s # 845s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 845s # { 845s # GObjectClass *gobject_class; 845s # GDBusProxyClass *proxy_class; 845s # 845s # gobject_class = G_OBJECT_CLASS (klass); 845s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 845s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 845s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 845s # 845s # proxy_class = G_DBUS_PROXY_CLASS (klass); 845s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 845s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 845s # 845s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 845s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 845s # #endif 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new: 845s # * @connection: A #GDBusConnection. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 845s # * @user_data: User data to pass to @callback. 845s # * 845s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 845s # * 845s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 845s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 845s # * 845s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 845s # */ 845s # void 845s # org_project_signaling_iface_proxy_new ( 845s # GDBusConnection *connection, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GAsyncReadyCallback callback, 845s # gpointer user_data) 845s # { 845s # 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); 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_finish: 845s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 845s # * @error: Return location for error or %NULL 845s # * 845s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_proxy_new_finish ( 845s # GAsyncResult *res, 845s # GError **error) 845s # { 845s # GObject *ret; 845s # GObject *source_object; 845s # source_object = g_async_result_get_source_object (res); 845s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 845s # g_object_unref (source_object); 845s # if (ret != NULL) 845s # return ORG_PROJECT_SIGNALING_IFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_sync: 845s # * @connection: A #GDBusConnection. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @error: Return location for error or %NULL 845s # * 845s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 845s # * 845s # * The calling thread is blocked until a reply is received. 845s # * 845s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_proxy_new_sync ( 845s # GDBusConnection *connection, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GError **error) 845s # { 845s # GInitable *ret; 845s # 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); 845s # if (ret != NULL) 845s # return ORG_PROJECT_SIGNALING_IFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_for_bus: 845s # * @bus_type: A #GBusType. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: A bus name (well-known or unique). 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 845s # * @user_data: User data to pass to @callback. 845s # * 845s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 845s # * 845s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 845s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 845s # * 845s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 845s # */ 845s # void 845s # org_project_signaling_iface_proxy_new_for_bus ( 845s # GBusType bus_type, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GAsyncReadyCallback callback, 845s # gpointer user_data) 845s # { 845s # 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); 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_for_bus_finish: 845s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 845s # * @error: Return location for error or %NULL 845s # * 845s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_proxy_new_for_bus_finish ( 845s # GAsyncResult *res, 845s # GError **error) 845s # { 845s # GObject *ret; 845s # GObject *source_object; 845s # source_object = g_async_result_get_source_object (res); 845s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 845s # g_object_unref (source_object); 845s # if (ret != NULL) 845s # return ORG_PROJECT_SIGNALING_IFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_for_bus_sync: 845s # * @bus_type: A #GBusType. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: A bus name (well-known or unique). 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @error: Return location for error or %NULL 845s # * 845s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 845s # * 845s # * The calling thread is blocked until a reply is received. 845s # * 845s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_proxy_new_for_bus_sync ( 845s # GBusType bus_type, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GError **error) 845s # { 845s # GInitable *ret; 845s # 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); 845s # if (ret != NULL) 845s # return ORG_PROJECT_SIGNALING_IFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # 845s # /* ------------------------------------------------------------------------ */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceSkeleton: 845s # * 845s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 845s # */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceSkeletonClass: 845s # * @parent_class: The parent class. 845s # * 845s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 845s # */ 845s # 845s # struct _OrgProjectSignalingIfaceSkeletonPrivate 845s # { 845s # GValue *properties; 845s # GList *changed_properties; 845s # GSource *changed_properties_idle_source; 845s # GMainContext *context; 845s # GMutex lock; 845s # }; 845s # 845s # static void 845s # _org_project_signaling_iface_skeleton_handle_method_call ( 845s # GDBusConnection *connection G_GNUC_UNUSED, 845s # const gchar *sender G_GNUC_UNUSED, 845s # const gchar *object_path G_GNUC_UNUSED, 845s # const gchar *interface_name, 845s # const gchar *method_name, 845s # GVariant *parameters, 845s # GDBusMethodInvocation *invocation, 845s # gpointer user_data) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 845s # _ExtendedGDBusMethodInfo *info; 845s # GVariantIter iter; 845s # GVariant *child; 845s # GValue *paramv; 845s # gsize num_params; 845s # guint num_extra; 845s # gsize n; 845s # guint signal_id; 845s # GValue return_value = G_VALUE_INIT; 845s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 845s # g_assert (info != NULL); 845s # num_params = g_variant_n_children (parameters); 845s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 845s # n = 0; 845s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 845s # g_value_set_object (¶mv[n++], skeleton); 845s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 845s # g_value_set_object (¶mv[n++], invocation); 845s # if (info->pass_fdlist) 845s # { 845s # #ifdef G_OS_UNIX 845s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 845s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 845s # #else 845s # g_assert_not_reached (); 845s # #endif 845s # } 845s # g_variant_iter_init (&iter, parameters); 845s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 845s # { 845s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 845s # if (arg_info->use_gvariant) 845s # { 845s # g_value_init (¶mv[n], G_TYPE_VARIANT); 845s # g_value_set_variant (¶mv[n], child); 845s # n++; 845s # } 845s # else 845s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 845s # g_variant_unref (child); 845s # } 845s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 845s # g_value_init (&return_value, G_TYPE_BOOLEAN); 845s # g_signal_emitv (paramv, signal_id, 0, &return_value); 845s # if (!g_value_get_boolean (&return_value)) 845s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 845s # g_value_unset (&return_value); 845s # for (n = 0; n < num_params + num_extra; n++) 845s # g_value_unset (¶mv[n]); 845s # g_free (paramv); 845s # } 845s # 845s # static GVariant * 845s # _org_project_signaling_iface_skeleton_handle_get_property ( 845s # GDBusConnection *connection G_GNUC_UNUSED, 845s # const gchar *sender G_GNUC_UNUSED, 845s # const gchar *object_path G_GNUC_UNUSED, 845s # const gchar *interface_name G_GNUC_UNUSED, 845s # const gchar *property_name, 845s # GError **error, 845s # gpointer user_data) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 845s # GValue value = G_VALUE_INIT; 845s # GParamSpec *pspec; 845s # _ExtendedGDBusPropertyInfo *info; 845s # GVariant *ret; 845s # ret = NULL; 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 845s # g_assert (info != NULL); 845s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 845s # if (pspec == NULL) 845s # { 845s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 845s # } 845s # else 845s # { 845s # g_value_init (&value, pspec->value_type); 845s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 845s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 845s # g_value_unset (&value); 845s # } 845s # return ret; 845s # } 845s # 845s # static gboolean 845s # _org_project_signaling_iface_skeleton_handle_set_property ( 845s # GDBusConnection *connection G_GNUC_UNUSED, 845s # const gchar *sender G_GNUC_UNUSED, 845s # const gchar *object_path G_GNUC_UNUSED, 845s # const gchar *interface_name G_GNUC_UNUSED, 845s # const gchar *property_name, 845s # GVariant *variant, 845s # GError **error, 845s # gpointer user_data) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 845s # GValue value = G_VALUE_INIT; 845s # GParamSpec *pspec; 845s # _ExtendedGDBusPropertyInfo *info; 845s # gboolean ret; 845s # ret = FALSE; 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 845s # g_assert (info != NULL); 845s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 845s # if (pspec == NULL) 845s # { 845s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 845s # } 845s # else 845s # { 845s # if (info->use_gvariant) 845s # g_value_set_variant (&value, variant); 845s # else 845s # g_dbus_gvariant_to_gvalue (variant, &value); 845s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 845s # g_value_unset (&value); 845s # ret = TRUE; 845s # } 845s # return ret; 845s # } 845s # 845s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 845s # { 845s # _org_project_signaling_iface_skeleton_handle_method_call, 845s # _org_project_signaling_iface_skeleton_handle_get_property, 845s # _org_project_signaling_iface_skeleton_handle_set_property, 845s # {NULL} 845s # }; 845s # 845s # static GDBusInterfaceInfo * 845s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 845s # { 845s # return org_project_signaling_iface_interface_info (); 845s # } 845s # 845s # static GDBusInterfaceVTable * 845s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 845s # { 845s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 845s # } 845s # 845s # static GVariant * 845s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 845s # 845s # GVariantBuilder builder; 845s # guint n; 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 845s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 845s # #else 845s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 845s # #endif 845s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 845s # goto out; 845s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 845s # { 845s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 845s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 845s # { 845s # GVariant *value; 845s # 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); 845s # if (value != NULL) 845s # { 845s # g_variant_take_ref (value); 845s # g_variant_builder_add (&builder, "{sv}", info->name, value); 845s # g_variant_unref (value); 845s # } 845s # } 845s # } 845s # out: 845s # return g_variant_builder_end (&builder); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # static void 845s # _org_project_signaling_iface_on_signal_simple_signal ( 845s # OrgProjectSignalingIface *object) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 845s # 845s # GList *connections, *l; 845s # GVariant *signal_variant; 845s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 845s # 845s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 845s # for (l = connections; l != NULL; l = l->next) 845s # { 845s # GDBusConnection *connection = l->data; 845s # g_dbus_connection_emit_signal (connection, 845s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 845s # signal_variant, NULL); 845s # } 845s # g_variant_unref (signal_variant); 845s # g_list_free_full (connections, g_object_unref); 845s # } 845s # 845s # static void 845s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 845s # OrgProjectSignalingIface *object, 845s # guint arg_arg_u) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 845s # 845s # GList *connections, *l; 845s # GVariant *signal_variant; 845s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 845s # 845s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 845s # arg_arg_u)); 845s # for (l = connections; l != NULL; l = l->next) 845s # { 845s # GDBusConnection *connection = l->data; 845s # g_dbus_connection_emit_signal (connection, 845s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 845s # signal_variant, NULL); 845s # } 845s # g_variant_unref (signal_variant); 845s # g_list_free_full (connections, g_object_unref); 845s # } 845s # 845s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 845s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 845s # 845s # #else 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 845s # 845s # #endif 845s # static void 845s # org_project_signaling_iface_skeleton_finalize (GObject *object) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 845s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 845s # if (skeleton->priv->changed_properties_idle_source != NULL) 845s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 845s # g_main_context_unref (skeleton->priv->context); 845s # g_mutex_clear (&skeleton->priv->lock); 845s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 845s # { 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 845s # #else 845s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 845s # #endif 845s # 845s # g_mutex_init (&skeleton->priv->lock); 845s # skeleton->priv->context = g_main_context_ref_thread_default (); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 845s # { 845s # GObjectClass *gobject_class; 845s # GDBusInterfaceSkeletonClass *skeleton_class; 845s # 845s # gobject_class = G_OBJECT_CLASS (klass); 845s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 845s # 845s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 845s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 845s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 845s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 845s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 845s # 845s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 845s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 845s # #endif 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 845s # { 845s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 845s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_skeleton_new: 845s # * 845s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_skeleton_new (void) 845s # { 845s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 845s # } 845s # Error: 845s # 845s # /tmp/tmp9htticof/tmp1ens5o8p.xml: 845s # 845s # 845s # 845s # 845s # 845s # 845s # 845s # 845s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9htticof/tmp1ens5o8p.xml', '--output', '-', '--body'] 845s # Return code: 0 845s # Output: 845s # /* 845s # * This file is generated by gdbus-codegen, do not modify it. 845s # * 845s # * The license of this code is the same as for the D-Bus interface description 845s # * it was derived from. Note that it links to GLib, so must comply with the 845s # * LGPL linking clauses. 845s # */ 845s # 845s # #ifdef HAVE_CONFIG_H 845s # # include "config.h" 845s # #endif 845s # 845s # #include 845s # #ifdef G_OS_UNIX 845s # # include 845s # #endif 845s # 845s # #ifdef G_ENABLE_DEBUG 845s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 845s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 845s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 845s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 845s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 845s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 845s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 845s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 845s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 845s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 845s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 845s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 845s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 845s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 845s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 845s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 845s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 845s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 845s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 845s # #else /* !G_ENABLE_DEBUG */ 845s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 845s # * Do not access GValues directly in your code. Instead, use the 845s # * g_value_get_*() functions 845s # */ 845s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 845s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 845s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 845s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 845s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 845s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 845s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 845s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 845s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 845s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 845s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 845s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 845s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 845s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 845s # #endif /* !G_ENABLE_DEBUG */ 845s # 845s # typedef struct 845s # { 845s # GDBusArgInfo parent_struct; 845s # gboolean use_gvariant; 845s # } _ExtendedGDBusArgInfo; 845s # 845s # typedef struct 845s # { 845s # GDBusMethodInfo parent_struct; 845s # const gchar *signal_name; 845s # gboolean pass_fdlist; 845s # } _ExtendedGDBusMethodInfo; 845s # 845s # typedef struct 845s # { 845s # GDBusSignalInfo parent_struct; 845s # const gchar *signal_name; 845s # } _ExtendedGDBusSignalInfo; 845s # 845s # typedef struct 845s # { 845s # GDBusPropertyInfo parent_struct; 845s # const gchar *hyphen_name; 845s # guint use_gvariant : 1; 845s # guint emits_changed_signal : 1; 845s # } _ExtendedGDBusPropertyInfo; 845s # 845s # typedef struct 845s # { 845s # GDBusInterfaceInfo parent_struct; 845s # const gchar *hyphen_name; 845s # } _ExtendedGDBusInterfaceInfo; 845s # 845s # typedef struct 845s # { 845s # const _ExtendedGDBusPropertyInfo *info; 845s # guint prop_id; 845s # GValue orig_value; /* the value before the change */ 845s # } ChangedProperty; 845s # 845s # static void 845s # _changed_property_free (ChangedProperty *data) 845s # { 845s # g_value_unset (&data->orig_value); 845s # g_free (data); 845s # } 845s # 845s # static gboolean 845s # _g_strv_equal0 (gchar **a, gchar **b) 845s # { 845s # gboolean ret = FALSE; 845s # guint n; 845s # if (a == NULL && b == NULL) 845s # { 845s # ret = TRUE; 845s # goto out; 845s # } 845s # if (a == NULL || b == NULL) 845s # goto out; 845s # if (g_strv_length (a) != g_strv_length (b)) 845s # goto out; 845s # for (n = 0; a[n] != NULL; n++) 845s # if (g_strcmp0 (a[n], b[n]) != 0) 845s # goto out; 845s # ret = TRUE; 845s # out: 845s # return ret; 845s # } 845s # 845s # static gboolean 845s # _g_variant_equal0 (GVariant *a, GVariant *b) 845s # { 845s # gboolean ret = FALSE; 845s # if (a == NULL && b == NULL) 845s # { 845s # ret = TRUE; 845s # goto out; 845s # } 845s # if (a == NULL || b == NULL) 845s # goto out; 845s # ret = g_variant_equal (a, b); 845s # out: 845s # return ret; 845s # } 845s # 845s # G_GNUC_UNUSED static gboolean 845s # _g_value_equal (const GValue *a, const GValue *b) 845s # { 845s # gboolean ret = FALSE; 845s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 845s # switch (G_VALUE_TYPE (a)) 845s # { 845s # case G_TYPE_BOOLEAN: 845s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 845s # break; 845s # case G_TYPE_UCHAR: 845s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 845s # break; 845s # case G_TYPE_INT: 845s # ret = (g_value_get_int (a) == g_value_get_int (b)); 845s # break; 845s # case G_TYPE_UINT: 845s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 845s # break; 845s # case G_TYPE_INT64: 845s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 845s # break; 845s # case G_TYPE_UINT64: 845s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 845s # break; 845s # case G_TYPE_DOUBLE: 845s # { 845s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 845s # gdouble da = g_value_get_double (a); 845s # gdouble db = g_value_get_double (b); 845s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 845s # } 845s # break; 845s # case G_TYPE_STRING: 845s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 845s # break; 845s # case G_TYPE_VARIANT: 845s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 845s # break; 845s # default: 845s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 845s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 845s # else 845s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 845s # break; 845s # } 845s # return ret; 845s # } 845s # 845s # static void 845s # _g_dbus_codegen_marshal_VOID__INT64 ( 845s # GClosure *closure, 845s # GValue *return_value G_GNUC_UNUSED, 845s # unsigned int n_param_values, 845s # const GValue *param_values, 845s # void *invocation_hint G_GNUC_UNUSED, 845s # void *marshal_data) 845s # { 845s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 845s # (void *data1, 845s # gint64 arg_arg_x, 845s # void *data2); 845s # _GDbusCodegenMarshalVoid_Int64Func callback; 845s # GCClosure *cc = (GCClosure*) closure; 845s # void *data1, *data2; 845s # 845s # g_return_if_fail (n_param_values == 2); 845s # 845s # if (G_CCLOSURE_SWAP_DATA (closure)) 845s # { 845s # data1 = closure->data; 845s # data2 = g_value_peek_pointer (param_values + 0); 845s # } 845s # else 845s # { 845s # data1 = g_value_peek_pointer (param_values + 0); 845s # data2 = closure->data; 845s # } 845s # 845s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 845s # (marshal_data ? marshal_data : cc->callback); 845s # 845s # callback (data1, 845s # g_marshal_value_peek_int64 (param_values + 1), 845s # data2); 845s # } 845s # 845s # /* ------------------------------------------------------------------------ 845s # * Code for interface org.project.SignalingIface 845s # * ------------------------------------------------------------------------ 845s # */ 845s # 845s # /** 845s # * SECTION:OrgProjectSignalingIface 845s # * @title: OrgProjectSignalingIface 845s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 845s # * 845s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 845s # */ 845s # 845s # enum 845s # { 845s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 845s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 845s # }; 845s # 845s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 845s # 845s # /* ---- Introspection data for org.project.SignalingIface ---- */ 845s # 845s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 845s # { 845s # { 845s # -1, 845s # (gchar *) "SimpleSignal", 845s # NULL, 845s # NULL 845s # }, 845s # "simple-signal" 845s # }; 845s # 845s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x = 845s # { 845s # { 845s # -1, 845s # (gchar *) "arg_x", 845s # (gchar *) "x", 845s # NULL 845s # }, 845s # FALSE 845s # }; 845s # 845s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 845s # { 845s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x.parent_struct, 845s # NULL 845s # }; 845s # 845s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 845s # { 845s # { 845s # -1, 845s # (gchar *) "SingleArgSignalX", 845s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 845s # NULL 845s # }, 845s # "single-arg-signal-x" 845s # }; 845s # 845s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 845s # { 845s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 845s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 845s # NULL 845s # }; 845s # 845s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 845s # { 845s # { 845s # -1, 845s # (gchar *) "org.project.SignalingIface", 845s # NULL, 845s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 845s # NULL, 845s # NULL 845s # }, 845s # "org-project-signaling-iface", 845s # }; 845s # 845s # 845s # /** 845s # * org_project_signaling_iface_interface_info: 845s # * 845s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 845s # * 845s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 845s # */ 845s # GDBusInterfaceInfo * 845s # org_project_signaling_iface_interface_info (void) 845s # { 845s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_override_properties: 845s # * @klass: The class structure for a #GObject derived class. 845s # * @property_id_begin: The property id to assign to the first overridden property. 845s # * 845s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 845s # * The properties are overridden in the order they are defined. 845s # * 845s # * Returns: The last property id. 845s # */ 845s # guint 845s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 845s # { 845s # return property_id_begin - 1; 845s # } 845s # 845s # 845s # inline static void 845s # org_project_signaling_iface_signal_marshal_simple_signal ( 845s # GClosure *closure, 845s # GValue *return_value, 845s # unsigned int n_param_values, 845s # const GValue *param_values, 845s # void *invocation_hint, 845s # void *marshal_data) 845s # { 845s # g_cclosure_marshal_VOID__VOID (closure, 845s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 845s # } 845s # 845s # inline static void 845s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 845s # GClosure *closure, 845s # GValue *return_value, 845s # unsigned int n_param_values, 845s # const GValue *param_values, 845s # void *invocation_hint, 845s # void *marshal_data) 845s # { 845s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 845s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 845s # } 845s # 845s # 845s # /** 845s # * OrgProjectSignalingIface: 845s # * 845s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 845s # */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceIface: 845s # * @parent_iface: The parent interface. 845s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 845s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 845s # * 845s # * Virtual table for the D-Bus interface org.project.SignalingIface. 845s # */ 845s # 845s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 845s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 845s # 845s # static void 845s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 845s # { 845s # /* GObject signals for received D-Bus signals: */ 845s # /** 845s # * OrgProjectSignalingIface::simple-signal: 845s # * @object: A #OrgProjectSignalingIface. 845s # * 845s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 845s # * 845s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 845s # */ 845s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 845s # g_signal_new ("simple-signal", 845s # G_TYPE_FROM_INTERFACE (iface), 845s # G_SIGNAL_RUN_LAST, 845s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 845s # NULL, 845s # NULL, 845s # org_project_signaling_iface_signal_marshal_simple_signal, 845s # G_TYPE_NONE, 845s # 0); 845s # 845s # /** 845s # * OrgProjectSignalingIface::single-arg-signal-x: 845s # * @object: A #OrgProjectSignalingIface. 845s # * @arg_arg_x: Argument. 845s # * 845s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 845s # * 845s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 845s # */ 845s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 845s # g_signal_new ("single-arg-signal-x", 845s # G_TYPE_FROM_INTERFACE (iface), 845s # G_SIGNAL_RUN_LAST, 845s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 845s # NULL, 845s # NULL, 845s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 845s # G_TYPE_NONE, 845s # 1, G_TYPE_INT64); 845s # 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_emit_simple_signal: 845s # * @object: A #OrgProjectSignalingIface. 845s # * 845s # * Emits the "SimpleSignal" D-Bus signal. 845s # */ 845s # void 845s # org_project_signaling_iface_emit_simple_signal ( 845s # OrgProjectSignalingIface *object) 845s # { 845s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_emit_single_arg_signal_x: 845s # * @object: A #OrgProjectSignalingIface. 845s # * @arg_arg_x: Argument to pass with the signal. 845s # * 845s # * Emits the "SingleArgSignalX" D-Bus signal. 845s # */ 845s # void 845s # org_project_signaling_iface_emit_single_arg_signal_x ( 845s # OrgProjectSignalingIface *object, 845s # gint64 arg_arg_x) 845s # { 845s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_arg_x); 845s # } 845s # 845s # /* ------------------------------------------------------------------------ */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceProxy: 845s # * 845s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 845s # */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceProxyClass: 845s # * @parent_class: The parent class. 845s # * 845s # * Class structure for #OrgProjectSignalingIfaceProxy. 845s # */ 845s # 845s # struct _OrgProjectSignalingIfaceProxyPrivate 845s # { 845s # GData *qdata; 845s # }; 845s # 845s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 845s # 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 845s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 845s # 845s # #else 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 845s # 845s # #endif 845s # static void 845s # org_project_signaling_iface_proxy_finalize (GObject *object) 845s # { 845s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 845s # g_datalist_clear (&proxy->priv->qdata); 845s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 845s # guint prop_id G_GNUC_UNUSED, 845s # GValue *value G_GNUC_UNUSED, 845s # GParamSpec *pspec G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 845s # guint prop_id G_GNUC_UNUSED, 845s # const GValue *value G_GNUC_UNUSED, 845s # GParamSpec *pspec G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 845s # const gchar *sender_name G_GNUC_UNUSED, 845s # const gchar *signal_name, 845s # GVariant *parameters) 845s # { 845s # _ExtendedGDBusSignalInfo *info; 845s # GVariantIter iter; 845s # GVariant *child; 845s # GValue *paramv; 845s # gsize num_params; 845s # gsize n; 845s # guint signal_id; 845s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 845s # if (info == NULL) 845s # return; 845s # num_params = g_variant_n_children (parameters); 845s # paramv = g_new0 (GValue, num_params + 1); 845s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 845s # g_value_set_object (¶mv[0], proxy); 845s # g_variant_iter_init (&iter, parameters); 845s # n = 1; 845s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 845s # { 845s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 845s # if (arg_info->use_gvariant) 845s # { 845s # g_value_init (¶mv[n], G_TYPE_VARIANT); 845s # g_value_set_variant (¶mv[n], child); 845s # n++; 845s # } 845s # else 845s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 845s # g_variant_unref (child); 845s # } 845s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 845s # g_signal_emitv (paramv, signal_id, 0, NULL); 845s # for (n = 0; n < num_params + 1; n++) 845s # g_value_unset (¶mv[n]); 845s # g_free (paramv); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 845s # GVariant *changed_properties, 845s # const gchar *const *invalidated_properties) 845s # { 845s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 845s # guint n; 845s # const gchar *key; 845s # GVariantIter *iter; 845s # _ExtendedGDBusPropertyInfo *info; 845s # g_variant_get (changed_properties, "a{sv}", &iter); 845s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 845s # { 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 845s # g_datalist_remove_data (&proxy->priv->qdata, key); 845s # if (info != NULL) 845s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 845s # } 845s # g_variant_iter_free (iter); 845s # for (n = 0; invalidated_properties[n] != NULL; n++) 845s # { 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 845s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 845s # if (info != NULL) 845s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 845s # } 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 845s # { 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 845s # #else 845s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 845s # #endif 845s # 845s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 845s # { 845s # GObjectClass *gobject_class; 845s # GDBusProxyClass *proxy_class; 845s # 845s # gobject_class = G_OBJECT_CLASS (klass); 845s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 845s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 845s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 845s # 845s # proxy_class = G_DBUS_PROXY_CLASS (klass); 845s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 845s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 845s # 845s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 845s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 845s # #endif 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new: 845s # * @connection: A #GDBusConnection. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 845s # * @user_data: User data to pass to @callback. 845s # * 845s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 845s # * 845s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 845s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 845s # * 845s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 845s # */ 845s # void 845s # org_project_signaling_iface_proxy_new ( 845s # GDBusConnection *connection, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GAsyncReadyCallback callback, 845s # gpointer user_data) 845s # { 845s # 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); 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_finish: 845s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 845s # * @error: Return location for error or %NULL 845s # * 845s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_proxy_new_finish ( 845s # GAsyncResult *res, 845s # GError **error) 845s # { 845s # GObject *ret; 845s # GObject *source_object; 845s # source_object = g_async_result_get_source_object (res); 845s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 845s # g_object_unref (source_object); 845s # if (ret != NULL) 845s # return ORG_PROJECT_SIGNALING_IFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_sync: 845s # * @connection: A #GDBusConnection. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @error: Return location for error or %NULL 845s # * 845s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 845s # * 845s # * The calling thread is blocked until a reply is received. 845s # * 845s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_proxy_new_sync ( 845s # GDBusConnection *connection, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GError **error) 845s # { 845s # GInitable *ret; 845s # 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); 845s # if (ret != NULL) 845s # return ORG_PROJECT_SIGNALING_IFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_for_bus: 845s # * @bus_type: A #GBusType. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: A bus name (well-known or unique). 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 845s # * @user_data: User data to pass to @callback. 845s # * 845s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 845s # * 845s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 845s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 845s # * 845s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 845s # */ 845s # void 845s # org_project_signaling_iface_proxy_new_for_bus ( 845s # GBusType bus_type, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GAsyncReadyCallback callback, 845s # gpointer user_data) 845s # { 845s # 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); 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_for_bus_finish: 845s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 845s # * @error: Return location for error or %NULL 845s # * 845s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_proxy_new_for_bus_finish ( 845s # GAsyncResult *res, 845s # GError **error) 845s # { 845s # GObject *ret; 845s # GObject *source_object; 845s # source_object = g_async_result_get_source_object (res); 845s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 845s # g_object_unref (source_object); 845s # if (ret != NULL) 845s # return ORG_PROJECT_SIGNALING_IFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_for_bus_sync: 845s # * @bus_type: A #GBusType. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: A bus name (well-known or unique). 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @error: Return location for error or %NULL 845s # * 845s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 845s # * 845s # * The calling thread is blocked until a reply is received. 845s # * 845s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_proxy_new_for_bus_sync ( 845s # GBusType bus_type, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GError **error) 845s # { 845s # GInitable *ret; 845s # 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); 845s # if (ret != NULL) 845s # return ORG_PROJECT_SIGNALING_IFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # 845s # /* ------------------------------------------------------------------------ */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceSkeleton: 845s # * 845s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 845s # */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceSkeletonClass: 845s # * @parent_class: The parent class. 845s # * 845s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 845s # */ 845s # 845s # struct _OrgProjectSignalingIfaceSkeletonPrivate 845s # { 845s # GValue *properties; 845s # GList *changed_properties; 845s # GSource *changed_properties_idle_source; 845s # GMainContext *context; 845s # GMutex lock; 845s # }; 845s # 845s # static void 845s # _org_project_signaling_iface_skeleton_handle_method_call ( 845s # GDBusConnection *connection G_GNUC_UNUSED, 845s # const gchar *sender G_GNUC_UNUSED, 845s # const gchar *object_path G_GNUC_UNUSED, 845s # const gchar *interface_name, 845s # const gchar *method_name, 845s # GVariant *parameters, 845s # GDBusMethodInvocation *invocation, 845s # gpointer user_data) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 845s # _ExtendedGDBusMethodInfo *info; 845s # GVariantIter iter; 845s # GVariant *child; 845s # GValue *paramv; 845s # gsize num_params; 845s # guint num_extra; 845s # gsize n; 845s # guint signal_id; 845s # GValue return_value = G_VALUE_INIT; 845s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 845s # g_assert (info != NULL); 845s # num_params = g_variant_n_children (parameters); 845s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 845s # n = 0; 845s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 845s # g_value_set_object (¶mv[n++], skeleton); 845s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 845s # g_value_set_object (¶mv[n++], invocation); 845s # if (info->pass_fdlist) 845s # { 845s # #ifdef G_OS_UNIX 845s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 845s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 845s # #else 845s # g_assert_not_reached (); 845s # #endif 845s # } 845s # g_variant_iter_init (&iter, parameters); 845s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 845s # { 845s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 845s # if (arg_info->use_gvariant) 845s # { 845s # g_value_init (¶mv[n], G_TYPE_VARIANT); 845s # g_value_set_variant (¶mv[n], child); 845s # n++; 845s # } 845s # else 845s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 845s # g_variant_unref (child); 845s # } 845s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 845s # g_value_init (&return_value, G_TYPE_BOOLEAN); 845s # g_signal_emitv (paramv, signal_id, 0, &return_value); 845s # if (!g_value_get_boolean (&return_value)) 845s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 845s # g_value_unset (&return_value); 845s # for (n = 0; n < num_params + num_extra; n++) 845s # g_value_unset (¶mv[n]); 845s # g_free (paramv); 845s # } 845s # 845s # static GVariant * 845s # _org_project_signaling_iface_skeleton_handle_get_property ( 845s # GDBusConnection *connection G_GNUC_UNUSED, 845s # const gchar *sender G_GNUC_UNUSED, 845s # const gchar *object_path G_GNUC_UNUSED, 845s # const gchar *interface_name G_GNUC_UNUSED, 845s # const gchar *property_name, 845s # GError **error, 845s # gpointer user_data) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 845s # GValue value = G_VALUE_INIT; 845s # GParamSpec *pspec; 845s # _ExtendedGDBusPropertyInfo *info; 845s # GVariant *ret; 845s # ret = NULL; 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 845s # g_assert (info != NULL); 845s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 845s # if (pspec == NULL) 845s # { 845s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 845s # } 845s # else 845s # { 845s # g_value_init (&value, pspec->value_type); 845s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 845s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 845s # g_value_unset (&value); 845s # } 845s # return ret; 845s # } 845s # 845s # static gboolean 845s # _org_project_signaling_iface_skeleton_handle_set_property ( 845s # GDBusConnection *connection G_GNUC_UNUSED, 845s # const gchar *sender G_GNUC_UNUSED, 845s # const gchar *object_path G_GNUC_UNUSED, 845s # const gchar *interface_name G_GNUC_UNUSED, 845s # const gchar *property_name, 845s # GVariant *variant, 845s # GError **error, 845s # gpointer user_data) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 845s # GValue value = G_VALUE_INIT; 845s # GParamSpec *pspec; 845s # _ExtendedGDBusPropertyInfo *info; 845s # gboolean ret; 845s # ret = FALSE; 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 845s # g_assert (info != NULL); 845s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 845s # if (pspec == NULL) 845s # { 845s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 845s # } 845s # else 845s # { 845s # if (info->use_gvariant) 845s # g_value_set_variant (&value, variant); 845s # else 845s # g_dbus_gvariant_to_gvalue (variant, &value); 845s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 845s # g_value_unset (&value); 845s # ret = TRUE; 845s # } 845s # return ret; 845s # } 845s # 845s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 845s # { 845s # _org_project_signaling_iface_skeleton_handle_method_call, 845s # _org_project_signaling_iface_skeleton_handle_get_property, 845s # _org_project_signaling_iface_skeleton_handle_set_property, 845s # {NULL} 845s # }; 845s # 845s # static GDBusInterfaceInfo * 845s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 845s # { 845s # return org_project_signaling_iface_interface_info (); 845s # } 845s # 845s # static GDBusInterfaceVTable * 845s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 845s # { 845s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 845s # } 845s # 845s # static GVariant * 845s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 845s # 845s # GVariantBuilder builder; 845s # guint n; 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 845s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 845s # #else 845s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 845s # #endif 845s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 845s # goto out; 845s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 845s # { 845s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 845s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 845s # { 845s # GVariant *value; 845s # 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); 845s # if (value != NULL) 845s # { 845s # g_variant_take_ref (value); 845s # g_variant_builder_add (&builder, "{sv}", info->name, value); 845s # g_variant_unref (value); 845s # } 845s # } 845s # } 845s # out: 845s # return g_variant_builder_end (&builder); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # static void 845s # _org_project_signaling_iface_on_signal_simple_signal ( 845s # OrgProjectSignalingIface *object) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 845s # 845s # GList *connections, *l; 845s # GVariant *signal_variant; 845s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 845s # 845s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 845s # for (l = connections; l != NULL; l = l->next) 845s # { 845s # GDBusConnection *connection = l->data; 845s # g_dbus_connection_emit_signal (connection, 845s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 845s # signal_variant, NULL); 845s # } 845s # g_variant_unref (signal_variant); 845s # g_list_free_full (connections, g_object_unref); 845s # } 845s # 845s # static void 845s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 845s # OrgProjectSignalingIface *object, 845s # gint64 arg_arg_x) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 845s # 845s # GList *connections, *l; 845s # GVariant *signal_variant; 845s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 845s # 845s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 845s # arg_arg_x)); 845s # for (l = connections; l != NULL; l = l->next) 845s # { 845s # GDBusConnection *connection = l->data; 845s # g_dbus_connection_emit_signal (connection, 845s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 845s # signal_variant, NULL); 845s # } 845s # g_variant_unref (signal_variant); 845s # g_list_free_full (connections, g_object_unref); 845s # } 845s # 845s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 845s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 845s # 845s # #else 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 845s # 845s # #endif 845s # static void 845s # org_project_signaling_iface_skeleton_finalize (GObject *object) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 845s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 845s # if (skeleton->priv->changed_properties_idle_source != NULL) 845s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 845s # g_main_context_unref (skeleton->priv->context); 845s # g_mutex_clear (&skeleton->priv->lock); 845s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 845s # { 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 845s # #else 845s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 845s # #endif 845s # 845s # g_mutex_init (&skeleton->priv->lock); 845s # skeleton->priv->context = g_main_context_ref_thread_default (); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 845s # { 845s # GObjectClass *gobject_class; 845s # GDBusInterfaceSkeletonClass *skeleton_class; 845s # 845s # gobject_class = G_OBJECT_CLASS (klass); 845s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 845s # 845s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 845s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 845s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 845s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 845s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 845s # 845s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 845s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 845s # #endif 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 845s # { 845s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 845s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_skeleton_new: 845s # * 845s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_skeleton_new (void) 845s # { 845s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 845s # } 845s # Error: 845s # 845s # /tmp/tmp9htticof/tmp7dfq8jqe.xml: 845s # 845s # 845s # 845s # 845s # 845s # 845s # 845s # 845s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9htticof/tmp7dfq8jqe.xml', '--output', '-', '--body'] 845s # Return code: 0 845s # Output: 845s # /* 845s # * This file is generated by gdbus-codegen, do not modify it. 845s # * 845s # * The license of this code is the same as for the D-Bus interface description 845s # * it was derived from. Note that it links to GLib, so must comply with the 845s # * LGPL linking clauses. 845s # */ 845s # 845s # #ifdef HAVE_CONFIG_H 845s # # include "config.h" 845s # #endif 845s # 845s # #include 845s # #ifdef G_OS_UNIX 845s # # include 845s # #endif 845s # 845s # #ifdef G_ENABLE_DEBUG 845s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 845s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 845s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 845s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 845s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 845s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 845s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 845s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 845s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 845s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 845s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 845s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 845s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 845s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 845s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 845s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 845s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 845s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 845s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 845s # #else /* !G_ENABLE_DEBUG */ 845s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 845s # * Do not access GValues directly in your code. Instead, use the 845s # * g_value_get_*() functions 845s # */ 845s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 845s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 845s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 845s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 845s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 845s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 845s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 845s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 845s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 845s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 845s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 845s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 845s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 845s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 845s # #endif /* !G_ENABLE_DEBUG */ 845s # 845s # typedef struct 845s # { 845s # GDBusArgInfo parent_struct; 845s # gboolean use_gvariant; 845s # } _ExtendedGDBusArgInfo; 845s # 845s # typedef struct 845s # { 845s # GDBusMethodInfo parent_struct; 845s # const gchar *signal_name; 845s # gboolean pass_fdlist; 845s # } _ExtendedGDBusMethodInfo; 845s # 845s # typedef struct 845s # { 845s # GDBusSignalInfo parent_struct; 845s # const gchar *signal_name; 845s # } _ExtendedGDBusSignalInfo; 845s # 845s # typedef struct 845s # { 845s # GDBusPropertyInfo parent_struct; 845s # const gchar *hyphen_name; 845s # guint use_gvariant : 1; 845s # guint emits_changed_signal : 1; 845s # } _ExtendedGDBusPropertyInfo; 845s # 845s # typedef struct 845s # { 845s # GDBusInterfaceInfo parent_struct; 845s # const gchar *hyphen_name; 845s # } _ExtendedGDBusInterfaceInfo; 845s # 845s # typedef struct 845s # { 845s # const _ExtendedGDBusPropertyInfo *info; 845s # guint prop_id; 845s # GValue orig_value; /* the value before the change */ 845s # } ChangedProperty; 845s # 845s # static void 845s # _changed_property_free (ChangedProperty *data) 845s # { 845s # g_value_unset (&data->orig_value); 845s # g_free (data); 845s # } 845s # 845s # static gboolean 845s # _g_strv_equal0 (gchar **a, gchar **b) 845s # { 845s # gboolean ret = FALSE; 845s # guint n; 845s # if (a == NULL && b == NULL) 845s # { 845s # ret = TRUE; 845s # goto out; 845s # } 845s # if (a == NULL || b == NULL) 845s # goto out; 845s # if (g_strv_length (a) != g_strv_length (b)) 845s # goto out; 845s # for (n = 0; a[n] != NULL; n++) 845s # if (g_strcmp0 (a[n], b[n]) != 0) 845s # goto out; 845s # ret = TRUE; 845s # out: 845s # return ret; 845s # } 845s # 845s # static gboolean 845s # _g_variant_equal0 (GVariant *a, GVariant *b) 845s # { 845s # gboolean ret = FALSE; 845s # if (a == NULL && b == NULL) 845s # { 845s # ret = TRUE; 845s # goto out; 845s # } 845s # if (a == NULL || b == NULL) 845s # goto out; 845s # ret = g_variant_equal (a, b); 845s # out: 845s # return ret; 845s # } 845s # 845s # G_GNUC_UNUSED static gboolean 845s # _g_value_equal (const GValue *a, const GValue *b) 845s # { 845s # gboolean ret = FALSE; 845s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 845s # switch (G_VALUE_TYPE (a)) 845s # { 845s # case G_TYPE_BOOLEAN: 845s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 845s # break; 845s # case G_TYPE_UCHAR: 845s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 845s # break; 845s # case G_TYPE_INT: 845s # ret = (g_value_get_int (a) == g_value_get_int (b)); 845s # break; 845s # case G_TYPE_UINT: 845s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 845s # break; 845s # case G_TYPE_INT64: 845s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 845s # break; 845s # case G_TYPE_UINT64: 845s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 845s # break; 845s # case G_TYPE_DOUBLE: 845s # { 845s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 845s # gdouble da = g_value_get_double (a); 845s # gdouble db = g_value_get_double (b); 845s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 845s # } 845s # break; 845s # case G_TYPE_STRING: 845s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 845s # break; 845s # case G_TYPE_VARIANT: 845s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 845s # break; 845s # default: 845s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 845s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 845s # else 845s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 845s # break; 845s # } 845s # return ret; 845s # } 845s # 845s # static void 845s # _g_dbus_codegen_marshal_VOID__UINT64 ( 845s # GClosure *closure, 845s # GValue *return_value G_GNUC_UNUSED, 845s # unsigned int n_param_values, 845s # const GValue *param_values, 845s # void *invocation_hint G_GNUC_UNUSED, 845s # void *marshal_data) 845s # { 845s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 845s # (void *data1, 845s # guint64 arg_arg_t, 845s # void *data2); 845s # _GDbusCodegenMarshalVoid_Uint64Func callback; 845s # GCClosure *cc = (GCClosure*) closure; 845s # void *data1, *data2; 845s # 845s # g_return_if_fail (n_param_values == 2); 845s # 845s # if (G_CCLOSURE_SWAP_DATA (closure)) 845s # { 845s # data1 = closure->data; 845s # data2 = g_value_peek_pointer (param_values + 0); 845s # } 845s # else 845s # { 845s # data1 = g_value_peek_pointer (param_values + 0); 845s # data2 = closure->data; 845s # } 845s # 845s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 845s # (marshal_data ? marshal_data : cc->callback); 845s # 845s # callback (data1, 845s # g_marshal_value_peek_uint64 (param_values + 1), 845s # data2); 845s # } 845s # 845s # /* ------------------------------------------------------------------------ 845s # * Code for interface org.project.SignalingIface 845s # * ------------------------------------------------------------------------ 845s # */ 845s # 845s # /** 845s # * SECTION:OrgProjectSignalingIface 845s # * @title: OrgProjectSignalingIface 845s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 845s # * 845s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 845s # */ 845s # 845s # enum 845s # { 845s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 845s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 845s # }; 845s # 845s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 845s # 845s # /* ---- Introspection data for org.project.SignalingIface ---- */ 845s # 845s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 845s # { 845s # { 845s # -1, 845s # (gchar *) "SimpleSignal", 845s # NULL, 845s # NULL 845s # }, 845s # "simple-signal" 845s # }; 845s # 845s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t = 845s # { 845s # { 845s # -1, 845s # (gchar *) "arg_t", 845s # (gchar *) "t", 845s # NULL 845s # }, 845s # FALSE 845s # }; 845s # 845s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 845s # { 845s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t.parent_struct, 845s # NULL 845s # }; 845s # 845s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 845s # { 845s # { 845s # -1, 845s # (gchar *) "SingleArgSignalT", 845s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 845s # NULL 845s # }, 845s # "single-arg-signal-t" 845s # }; 845s # 845s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 845s # { 845s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 845s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 845s # NULL 845s # }; 845s # 845s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 845s # { 845s # { 845s # -1, 845s # (gchar *) "org.project.SignalingIface", 845s # NULL, 845s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 845s # NULL, 845s # NULL 845s # }, 845s # "org-project-signaling-iface", 845s # }; 845s # 845s # 845s # /** 845s # * org_project_signaling_iface_interface_info: 845s # * 845s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 845s # * 845s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 845s # */ 845s # GDBusInterfaceInfo * 845s # org_project_signaling_iface_interface_info (void) 845s # { 845s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_override_properties: 845s # * @klass: The class structure for a #GObject derived class. 845s # * @property_id_begin: The property id to assign to the first overridden property. 845s # * 845s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 845s # * The properties are overridden in the order they are defined. 845s # * 845s # * Returns: The last property id. 845s # */ 845s # guint 845s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 845s # { 845s # return property_id_begin - 1; 845s # } 845s # 845s # 845s # inline static void 845s # org_project_signaling_iface_signal_marshal_simple_signal ( 845s # GClosure *closure, 845s # GValue *return_value, 845s # unsigned int n_param_values, 845s # const GValue *param_values, 845s # void *invocation_hint, 845s # void *marshal_data) 845s # { 845s # g_cclosure_marshal_VOID__VOID (closure, 845s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 845s # } 845s # 845s # inline static void 845s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 845s # GClosure *closure, 845s # GValue *return_value, 845s # unsigned int n_param_values, 845s # const GValue *param_values, 845s # void *invocation_hint, 845s # void *marshal_data) 845s # { 845s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 845s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 845s # } 845s # 845s # 845s # /** 845s # * OrgProjectSignalingIface: 845s # * 845s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 845s # */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceIface: 845s # * @parent_iface: The parent interface. 845s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 845s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 845s # * 845s # * Virtual table for the D-Bus interface org.project.SignalingIface. 845s # */ 845s # 845s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 845s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 845s # 845s # static void 845s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 845s # { 845s # /* GObject signals for received D-Bus signals: */ 845s # /** 845s # * OrgProjectSignalingIface::simple-signal: 845s # * @object: A #OrgProjectSignalingIface. 845s # * 845s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 845s # * 845s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 845s # */ 845s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 845s # g_signal_new ("simple-signal", 845s # G_TYPE_FROM_INTERFACE (iface), 845s # G_SIGNAL_RUN_LAST, 845s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 845s # NULL, 845s # NULL, 845s # org_project_signaling_iface_signal_marshal_simple_signal, 845s # G_TYPE_NONE, 845s # 0); 845s # 845s # /** 845s # * OrgProjectSignalingIface::single-arg-signal-t: 845s # * @object: A #OrgProjectSignalingIface. 845s # * @arg_arg_t: Argument. 845s # * 845s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 845s # * 845s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 845s # */ 845s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 845s # g_signal_new ("single-arg-signal-t", 845s # G_TYPE_FROM_INTERFACE (iface), 845s # G_SIGNAL_RUN_LAST, 845s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 845s # NULL, 845s # NULL, 845s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 845s # G_TYPE_NONE, 845s # 1, G_TYPE_UINT64); 845s # 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_emit_simple_signal: 845s # * @object: A #OrgProjectSignalingIface. 845s # * 845s # * Emits the "SimpleSignal" D-Bus signal. 845s # */ 845s # void 845s # org_project_signaling_iface_emit_simple_signal ( 845s # OrgProjectSignalingIface *object) 845s # { 845s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_emit_single_arg_signal_t: 845s # * @object: A #OrgProjectSignalingIface. 845s # * @arg_arg_t: Argument to pass with the signal. 845s # * 845s # * Emits the "SingleArgSignalT" D-Bus signal. 845s # */ 845s # void 845s # org_project_signaling_iface_emit_single_arg_signal_t ( 845s # OrgProjectSignalingIface *object, 845s # guint64 arg_arg_t) 845s # { 845s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_arg_t); 845s # } 845s # 845s # /* ------------------------------------------------------------------------ */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceProxy: 845s # * 845s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 845s # */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceProxyClass: 845s # * @parent_class: The parent class. 845s # * 845s # * Class structure for #OrgProjectSignalingIfaceProxy. 845s # */ 845s # 845s # struct _OrgProjectSignalingIfaceProxyPrivate 845s # { 845s # GData *qdata; 845s # }; 845s # 845s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 845s # 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 845s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 845s # 845s # #else 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 845s # 845s # #endif 845s # static void 845s # org_project_signaling_iface_proxy_finalize (GObject *object) 845s # { 845s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 845s # g_datalist_clear (&proxy->priv->qdata); 845s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 845s # guint prop_id G_GNUC_UNUSED, 845s # GValue *value G_GNUC_UNUSED, 845s # GParamSpec *pspec G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 845s # guint prop_id G_GNUC_UNUSED, 845s # const GValue *value G_GNUC_UNUSED, 845s # GParamSpec *pspec G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 845s # const gchar *sender_name G_GNUC_UNUSED, 845s # const gchar *signal_name, 845s # GVariant *parameters) 845s # { 845s # _ExtendedGDBusSignalInfo *info; 845s # GVariantIter iter; 845s # GVariant *child; 845s # GValue *paramv; 845s # gsize num_params; 845s # gsize n; 845s # guint signal_id; 845s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 845s # if (info == NULL) 845s # return; 845s # num_params = g_variant_n_children (parameters); 845s # paramv = g_new0 (GValue, num_params + 1); 845s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 845s # g_value_set_object (¶mv[0], proxy); 845s # g_variant_iter_init (&iter, parameters); 845s # n = 1; 845s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 845s # { 845s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 845s # if (arg_info->use_gvariant) 845s # { 845s # g_value_init (¶mv[n], G_TYPE_VARIANT); 845s # g_value_set_variant (¶mv[n], child); 845s # n++; 845s # } 845s # else 845s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 845s # g_variant_unref (child); 845s # } 845s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 845s # g_signal_emitv (paramv, signal_id, 0, NULL); 845s # for (n = 0; n < num_params + 1; n++) 845s # g_value_unset (¶mv[n]); 845s # g_free (paramv); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 845s # GVariant *changed_properties, 845s # const gchar *const *invalidated_properties) 845s # { 845s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 845s # guint n; 845s # const gchar *key; 845s # GVariantIter *iter; 845s # _ExtendedGDBusPropertyInfo *info; 845s # g_variant_get (changed_properties, "a{sv}", &iter); 845s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 845s # { 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 845s # g_datalist_remove_data (&proxy->priv->qdata, key); 845s # if (info != NULL) 845s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 845s # } 845s # g_variant_iter_free (iter); 845s # for (n = 0; invalidated_properties[n] != NULL; n++) 845s # { 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 845s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 845s # if (info != NULL) 845s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 845s # } 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 845s # { 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 845s # #else 845s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 845s # #endif 845s # 845s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 845s # { 845s # GObjectClass *gobject_class; 845s # GDBusProxyClass *proxy_class; 845s # 845s # gobject_class = G_OBJECT_CLASS (klass); 845s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 845s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 845s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 845s # 845s # proxy_class = G_DBUS_PROXY_CLASS (klass); 845s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 845s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 845s # 845s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 845s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 845s # #endif 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new: 845s # * @connection: A #GDBusConnection. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 845s # * @user_data: User data to pass to @callback. 845s # * 845s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 845s # * 845s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 845s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 845s # * 845s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 845s # */ 845s # void 845s # org_project_signaling_iface_proxy_new ( 845s # GDBusConnection *connection, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GAsyncReadyCallback callback, 845s # gpointer user_data) 845s # { 845s # 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); 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_finish: 845s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 845s # * @error: Return location for error or %NULL 845s # * 845s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_proxy_new_finish ( 845s # GAsyncResult *res, 845s # GError **error) 845s # { 845s # GObject *ret; 845s # GObject *source_object; 845s # source_object = g_async_result_get_source_object (res); 845s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 845s # g_object_unref (source_object); 845s # if (ret != NULL) 845s # return ORG_PROJECT_SIGNALING_IFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_sync: 845s # * @connection: A #GDBusConnection. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @error: Return location for error or %NULL 845s # * 845s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 845s # * 845s # * The calling thread is blocked until a reply is received. 845s # * 845s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_proxy_new_sync ( 845s # GDBusConnection *connection, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GError **error) 845s # { 845s # GInitable *ret; 845s # 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); 845s # if (ret != NULL) 845s # return ORG_PROJECT_SIGNALING_IFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_for_bus: 845s # * @bus_type: A #GBusType. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: A bus name (well-known or unique). 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 845s # * @user_data: User data to pass to @callback. 845s # * 845s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 845s # * 845s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 845s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 845s # * 845s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 845s # */ 845s # void 845s # org_project_signaling_iface_proxy_new_for_bus ( 845s # GBusType bus_type, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GAsyncReadyCallback callback, 845s # gpointer user_data) 845s # { 845s # 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); 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_for_bus_finish: 845s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 845s # * @error: Return location for error or %NULL 845s # * 845s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_proxy_new_for_bus_finish ( 845s # GAsyncResult *res, 845s # GError **error) 845s # { 845s # GObject *ret; 845s # GObject *source_object; 845s # source_object = g_async_result_get_source_object (res); 845s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 845s # g_object_unref (source_object); 845s # if (ret != NULL) 845s # return ORG_PROJECT_SIGNALING_IFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_for_bus_sync: 845s # * @bus_type: A #GBusType. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: A bus name (well-known or unique). 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @error: Return location for error or %NULL 845s # * 845s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 845s # * 845s # * The calling thread is blocked until a reply is received. 845s # * 845s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_proxy_new_for_bus_sync ( 845s # GBusType bus_type, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GError **error) 845s # { 845s # GInitable *ret; 845s # 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); 845s # if (ret != NULL) 845s # return ORG_PROJECT_SIGNALING_IFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # 845s # /* ------------------------------------------------------------------------ */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceSkeleton: 845s # * 845s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 845s # */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceSkeletonClass: 845s # * @parent_class: The parent class. 845s # * 845s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 845s # */ 845s # 845s # struct _OrgProjectSignalingIfaceSkeletonPrivate 845s # { 845s # GValue *properties; 845s # GList *changed_properties; 845s # GSource *changed_properties_idle_source; 845s # GMainContext *context; 845s # GMutex lock; 845s # }; 845s # 845s # static void 845s # _org_project_signaling_iface_skeleton_handle_method_call ( 845s # GDBusConnection *connection G_GNUC_UNUSED, 845s # const gchar *sender G_GNUC_UNUSED, 845s # const gchar *object_path G_GNUC_UNUSED, 845s # const gchar *interface_name, 845s # const gchar *method_name, 845s # GVariant *parameters, 845s # GDBusMethodInvocation *invocation, 845s # gpointer user_data) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 845s # _ExtendedGDBusMethodInfo *info; 845s # GVariantIter iter; 845s # GVariant *child; 845s # GValue *paramv; 845s # gsize num_params; 845s # guint num_extra; 845s # gsize n; 845s # guint signal_id; 845s # GValue return_value = G_VALUE_INIT; 845s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 845s # g_assert (info != NULL); 845s # num_params = g_variant_n_children (parameters); 845s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 845s # n = 0; 845s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 845s # g_value_set_object (¶mv[n++], skeleton); 845s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 845s # g_value_set_object (¶mv[n++], invocation); 845s # if (info->pass_fdlist) 845s # { 845s # #ifdef G_OS_UNIX 845s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 845s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 845s # #else 845s # g_assert_not_reached (); 845s # #endif 845s # } 845s # g_variant_iter_init (&iter, parameters); 845s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 845s # { 845s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 845s # if (arg_info->use_gvariant) 845s # { 845s # g_value_init (¶mv[n], G_TYPE_VARIANT); 845s # g_value_set_variant (¶mv[n], child); 845s # n++; 845s # } 845s # else 845s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 845s # g_variant_unref (child); 845s # } 845s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 845s # g_value_init (&return_value, G_TYPE_BOOLEAN); 845s # g_signal_emitv (paramv, signal_id, 0, &return_value); 845s # if (!g_value_get_boolean (&return_value)) 845s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 845s # g_value_unset (&return_value); 845s # for (n = 0; n < num_params + num_extra; n++) 845s # g_value_unset (¶mv[n]); 845s # g_free (paramv); 845s # } 845s # 845s # static GVariant * 845s # _org_project_signaling_iface_skeleton_handle_get_property ( 845s # GDBusConnection *connection G_GNUC_UNUSED, 845s # const gchar *sender G_GNUC_UNUSED, 845s # const gchar *object_path G_GNUC_UNUSED, 845s # const gchar *interface_name G_GNUC_UNUSED, 845s # const gchar *property_name, 845s # GError **error, 845s # gpointer user_data) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 845s # GValue value = G_VALUE_INIT; 845s # GParamSpec *pspec; 845s # _ExtendedGDBusPropertyInfo *info; 845s # GVariant *ret; 845s # ret = NULL; 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 845s # g_assert (info != NULL); 845s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 845s # if (pspec == NULL) 845s # { 845s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 845s # } 845s # else 845s # { 845s # g_value_init (&value, pspec->value_type); 845s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 845s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 845s # g_value_unset (&value); 845s # } 845s # return ret; 845s # } 845s # 845s # static gboolean 845s # _org_project_signaling_iface_skeleton_handle_set_property ( 845s # GDBusConnection *connection G_GNUC_UNUSED, 845s # const gchar *sender G_GNUC_UNUSED, 845s # const gchar *object_path G_GNUC_UNUSED, 845s # const gchar *interface_name G_GNUC_UNUSED, 845s # const gchar *property_name, 845s # GVariant *variant, 845s # GError **error, 845s # gpointer user_data) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 845s # GValue value = G_VALUE_INIT; 845s # GParamSpec *pspec; 845s # _ExtendedGDBusPropertyInfo *info; 845s # gboolean ret; 845s # ret = FALSE; 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 845s # g_assert (info != NULL); 845s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 845s # if (pspec == NULL) 845s # { 845s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 845s # } 845s # else 845s # { 845s # if (info->use_gvariant) 845s # g_value_set_variant (&value, variant); 845s # else 845s # g_dbus_gvariant_to_gvalue (variant, &value); 845s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 845s # g_value_unset (&value); 845s # ret = TRUE; 845s # } 845s # return ret; 845s # } 845s # 845s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 845s # { 845s # _org_project_signaling_iface_skeleton_handle_method_call, 845s # _org_project_signaling_iface_skeleton_handle_get_property, 845s # _org_project_signaling_iface_skeleton_handle_set_property, 845s # {NULL} 845s # }; 845s # 845s # static GDBusInterfaceInfo * 845s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 845s # { 845s # return org_project_signaling_iface_interface_info (); 845s # } 845s # 845s # static GDBusInterfaceVTable * 845s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 845s # { 845s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 845s # } 845s # 845s # static GVariant * 845s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 845s # 845s # GVariantBuilder builder; 845s # guint n; 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 845s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 845s # #else 845s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 845s # #endif 845s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 845s # goto out; 845s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 845s # { 845s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 845s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 845s # { 845s # GVariant *value; 845s # 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); 845s # if (value != NULL) 845s # { 845s # g_variant_take_ref (value); 845s # g_variant_builder_add (&builder, "{sv}", info->name, value); 845s # g_variant_unref (value); 845s # } 845s # } 845s # } 845s # out: 845s # return g_variant_builder_end (&builder); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # static void 845s # _org_project_signaling_iface_on_signal_simple_signal ( 845s # OrgProjectSignalingIface *object) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 845s # 845s # GList *connections, *l; 845s # GVariant *signal_variant; 845s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 845s # 845s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 845s # for (l = connections; l != NULL; l = l->next) 845s # { 845s # GDBusConnection *connection = l->data; 845s # g_dbus_connection_emit_signal (connection, 845s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 845s # signal_variant, NULL); 845s # } 845s # g_variant_unref (signal_variant); 845s # g_list_free_full (connections, g_object_unref); 845s # } 845s # 845s # static void 845s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 845s # OrgProjectSignalingIface *object, 845s # guint64 arg_arg_t) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 845s # 845s # GList *connections, *l; 845s # GVariant *signal_variant; 845s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 845s # 845s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 845s # arg_arg_t)); 845s # for (l = connections; l != NULL; l = l->next) 845s # { 845s # GDBusConnection *connection = l->data; 845s # g_dbus_connection_emit_signal (connection, 845s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 845s # signal_variant, NULL); 845s # } 845s # g_variant_unref (signal_variant); 845s # g_list_free_full (connections, g_object_unref); 845s # } 845s # 845s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 845s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 845s # 845s # #else 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 845s # 845s # #endif 845s # static void 845s # org_project_signaling_iface_skeleton_finalize (GObject *object) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 845s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 845s # if (skeleton->priv->changed_properties_idle_source != NULL) 845s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 845s # g_main_context_unref (skeleton->priv->context); 845s # g_mutex_clear (&skeleton->priv->lock); 845s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 845s # { 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 845s # #else 845s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 845s # #endif 845s # 845s # g_mutex_init (&skeleton->priv->lock); 845s # skeleton->priv->context = g_main_context_ref_thread_default (); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 845s # { 845s # GObjectClass *gobject_class; 845s # GDBusInterfaceSkeletonClass *skeleton_class; 845s # 845s # gobject_class = G_OBJECT_CLASS (klass); 845s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 845s # 845s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 845s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 845s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 845s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 845s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 845s # 845s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 845s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 845s # #endif 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 845s # { 845s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 845s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_skeleton_new: 845s # * 845s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_skeleton_new (void) 845s # { 845s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 845s # } 845s # Error: 845s # 845s # /tmp/tmp9htticof/tmp443386cp.xml: 845s # 845s # 845s # 845s # 845s # 845s # 845s # 845s # 845s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9htticof/tmp443386cp.xml', '--output', '-', '--body'] 845s # Return code: 0 845s # Output: 845s # /* 845s # * This file is generated by gdbus-codegen, do not modify it. 845s # * 845s # * The license of this code is the same as for the D-Bus interface description 845s # * it was derived from. Note that it links to GLib, so must comply with the 845s # * LGPL linking clauses. 845s # */ 845s # 845s # #ifdef HAVE_CONFIG_H 845s # # include "config.h" 845s # #endif 845s # 845s # #include 845s # #ifdef G_OS_UNIX 845s # # include 845s # #endif 845s # 845s # #ifdef G_ENABLE_DEBUG 845s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 845s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 845s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 845s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 845s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 845s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 845s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 845s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 845s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 845s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 845s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 845s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 845s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 845s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 845s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 845s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 845s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 845s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 845s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 845s # #else /* !G_ENABLE_DEBUG */ 845s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 845s # * Do not access GValues directly in your code. Instead, use the 845s # * g_value_get_*() functions 845s # */ 845s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 845s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 845s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 845s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 845s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 845s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 845s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 845s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 845s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 845s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 845s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 845s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 845s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 845s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 845s # #endif /* !G_ENABLE_DEBUG */ 845s # 845s # typedef struct 845s # { 845s # GDBusArgInfo parent_struct; 845s # gboolean use_gvariant; 845s # } _ExtendedGDBusArgInfo; 845s # 845s # typedef struct 845s # { 845s # GDBusMethodInfo parent_struct; 845s # const gchar *signal_name; 845s # gboolean pass_fdlist; 845s # } _ExtendedGDBusMethodInfo; 845s # 845s # typedef struct 845s # { 845s # GDBusSignalInfo parent_struct; 845s # const gchar *signal_name; 845s # } _ExtendedGDBusSignalInfo; 845s # 845s # typedef struct 845s # { 845s # GDBusPropertyInfo parent_struct; 845s # const gchar *hyphen_name; 845s # guint use_gvariant : 1; 845s # guint emits_changed_signal : 1; 845s # } _ExtendedGDBusPropertyInfo; 845s # 845s # typedef struct 845s # { 845s # GDBusInterfaceInfo parent_struct; 845s # const gchar *hyphen_name; 845s # } _ExtendedGDBusInterfaceInfo; 845s # 845s # typedef struct 845s # { 845s # const _ExtendedGDBusPropertyInfo *info; 845s # guint prop_id; 845s # GValue orig_value; /* the value before the change */ 845s # } ChangedProperty; 845s # 845s # static void 845s # _changed_property_free (ChangedProperty *data) 845s # { 845s # g_value_unset (&data->orig_value); 845s # g_free (data); 845s # } 845s # 845s # static gboolean 845s # _g_strv_equal0 (gchar **a, gchar **b) 845s # { 845s # gboolean ret = FALSE; 845s # guint n; 845s # if (a == NULL && b == NULL) 845s # { 845s # ret = TRUE; 845s # goto out; 845s # } 845s # if (a == NULL || b == NULL) 845s # goto out; 845s # if (g_strv_length (a) != g_strv_length (b)) 845s # goto out; 845s # for (n = 0; a[n] != NULL; n++) 845s # if (g_strcmp0 (a[n], b[n]) != 0) 845s # goto out; 845s # ret = TRUE; 845s # out: 845s # return ret; 845s # } 845s # 845s # static gboolean 845s # _g_variant_equal0 (GVariant *a, GVariant *b) 845s # { 845s # gboolean ret = FALSE; 845s # if (a == NULL && b == NULL) 845s # { 845s # ret = TRUE; 845s # goto out; 845s # } 845s # if (a == NULL || b == NULL) 845s # goto out; 845s # ret = g_variant_equal (a, b); 845s # out: 845s # return ret; 845s # } 845s # 845s # G_GNUC_UNUSED static gboolean 845s # _g_value_equal (const GValue *a, const GValue *b) 845s # { 845s # gboolean ret = FALSE; 845s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 845s # switch (G_VALUE_TYPE (a)) 845s # { 845s # case G_TYPE_BOOLEAN: 845s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 845s # break; 845s # case G_TYPE_UCHAR: 845s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 845s # break; 845s # case G_TYPE_INT: 845s # ret = (g_value_get_int (a) == g_value_get_int (b)); 845s # break; 845s # case G_TYPE_UINT: 845s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 845s # break; 845s # case G_TYPE_INT64: 845s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 845s # break; 845s # case G_TYPE_UINT64: 845s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 845s # break; 845s # case G_TYPE_DOUBLE: 845s # { 845s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 845s # gdouble da = g_value_get_double (a); 845s # gdouble db = g_value_get_double (b); 845s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 845s # } 845s # break; 845s # case G_TYPE_STRING: 845s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 845s # break; 845s # case G_TYPE_VARIANT: 845s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 845s # break; 845s # default: 845s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 845s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 845s # else 845s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 845s # break; 845s # } 845s # return ret; 845s # } 845s # 845s # /* ------------------------------------------------------------------------ 845s # * Code for interface org.project.SignalingIface 845s # * ------------------------------------------------------------------------ 845s # */ 845s # 845s # /** 845s # * SECTION:OrgProjectSignalingIface 845s # * @title: OrgProjectSignalingIface 845s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 845s # * 845s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 845s # */ 845s # 845s # enum 845s # { 845s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 845s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 845s # }; 845s # 845s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 845s # 845s # /* ---- Introspection data for org.project.SignalingIface ---- */ 845s # 845s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 845s # { 845s # { 845s # -1, 845s # (gchar *) "SimpleSignal", 845s # NULL, 845s # NULL 845s # }, 845s # "simple-signal" 845s # }; 845s # 845s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d = 845s # { 845s # { 845s # -1, 845s # (gchar *) "arg_d", 845s # (gchar *) "d", 845s # NULL 845s # }, 845s # FALSE 845s # }; 845s # 845s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 845s # { 845s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d.parent_struct, 845s # NULL 845s # }; 845s # 845s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 845s # { 845s # { 845s # -1, 845s # (gchar *) "SingleArgSignalD", 845s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 845s # NULL 845s # }, 845s # "single-arg-signal-d" 845s # }; 845s # 845s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 845s # { 845s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 845s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 845s # NULL 845s # }; 845s # 845s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 845s # { 845s # { 845s # -1, 845s # (gchar *) "org.project.SignalingIface", 845s # NULL, 845s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 845s # NULL, 845s # NULL 845s # }, 845s # "org-project-signaling-iface", 845s # }; 845s # 845s # 845s # /** 845s # * org_project_signaling_iface_interface_info: 845s # * 845s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 845s # * 845s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 845s # */ 845s # GDBusInterfaceInfo * 845s # org_project_signaling_iface_interface_info (void) 845s # { 845s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_override_properties: 845s # * @klass: The class structure for a #GObject derived class. 845s # * @property_id_begin: The property id to assign to the first overridden property. 845s # * 845s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 845s # * The properties are overridden in the order they are defined. 845s # * 845s # * Returns: The last property id. 845s # */ 845s # guint 845s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 845s # { 845s # return property_id_begin - 1; 845s # } 845s # 845s # 845s # inline static void 845s # org_project_signaling_iface_signal_marshal_simple_signal ( 845s # GClosure *closure, 845s # GValue *return_value, 845s # unsigned int n_param_values, 845s # const GValue *param_values, 845s # void *invocation_hint, 845s # void *marshal_data) 845s # { 845s # g_cclosure_marshal_VOID__VOID (closure, 845s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 845s # } 845s # 845s # inline static void 845s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 845s # GClosure *closure, 845s # GValue *return_value, 845s # unsigned int n_param_values, 845s # const GValue *param_values, 845s # void *invocation_hint, 845s # void *marshal_data) 845s # { 845s # g_cclosure_marshal_VOID__DOUBLE (closure, 845s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 845s # } 845s # 845s # 845s # /** 845s # * OrgProjectSignalingIface: 845s # * 845s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 845s # */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceIface: 845s # * @parent_iface: The parent interface. 845s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 845s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 845s # * 845s # * Virtual table for the D-Bus interface org.project.SignalingIface. 845s # */ 845s # 845s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 845s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 845s # 845s # static void 845s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 845s # { 845s # /* GObject signals for received D-Bus signals: */ 845s # /** 845s # * OrgProjectSignalingIface::simple-signal: 845s # * @object: A #OrgProjectSignalingIface. 845s # * 845s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 845s # * 845s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 845s # */ 845s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 845s # g_signal_new ("simple-signal", 845s # G_TYPE_FROM_INTERFACE (iface), 845s # G_SIGNAL_RUN_LAST, 845s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 845s # NULL, 845s # NULL, 845s # org_project_signaling_iface_signal_marshal_simple_signal, 845s # G_TYPE_NONE, 845s # 0); 845s # 845s # /** 845s # * OrgProjectSignalingIface::single-arg-signal-d: 845s # * @object: A #OrgProjectSignalingIface. 845s # * @arg_arg_d: Argument. 845s # * 845s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 845s # * 845s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 845s # */ 845s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 845s # g_signal_new ("single-arg-signal-d", 845s # G_TYPE_FROM_INTERFACE (iface), 845s # G_SIGNAL_RUN_LAST, 845s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 845s # NULL, 845s # NULL, 845s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 845s # G_TYPE_NONE, 845s # 1, G_TYPE_DOUBLE); 845s # 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_emit_simple_signal: 845s # * @object: A #OrgProjectSignalingIface. 845s # * 845s # * Emits the "SimpleSignal" D-Bus signal. 845s # */ 845s # void 845s # org_project_signaling_iface_emit_simple_signal ( 845s # OrgProjectSignalingIface *object) 845s # { 845s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_emit_single_arg_signal_d: 845s # * @object: A #OrgProjectSignalingIface. 845s # * @arg_arg_d: Argument to pass with the signal. 845s # * 845s # * Emits the "SingleArgSignalD" D-Bus signal. 845s # */ 845s # void 845s # org_project_signaling_iface_emit_single_arg_signal_d ( 845s # OrgProjectSignalingIface *object, 845s # gdouble arg_arg_d) 845s # { 845s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_arg_d); 845s # } 845s # 845s # /* ------------------------------------------------------------------------ */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceProxy: 845s # * 845s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 845s # */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceProxyClass: 845s # * @parent_class: The parent class. 845s # * 845s # * Class structure for #OrgProjectSignalingIfaceProxy. 845s # */ 845s # 845s # struct _OrgProjectSignalingIfaceProxyPrivate 845s # { 845s # GData *qdata; 845s # }; 845s # 845s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 845s # 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 845s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 845s # 845s # #else 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 845s # 845s # #endif 845s # static void 845s # org_project_signaling_iface_proxy_finalize (GObject *object) 845s # { 845s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 845s # g_datalist_clear (&proxy->priv->qdata); 845s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 845s # guint prop_id G_GNUC_UNUSED, 845s # GValue *value G_GNUC_UNUSED, 845s # GParamSpec *pspec G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 845s # guint prop_id G_GNUC_UNUSED, 845s # const GValue *value G_GNUC_UNUSED, 845s # GParamSpec *pspec G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 845s # const gchar *sender_name G_GNUC_UNUSED, 845s # const gchar *signal_name, 845s # GVariant *parameters) 845s # { 845s # _ExtendedGDBusSignalInfo *info; 845s # GVariantIter iter; 845s # GVariant *child; 845s # GValue *paramv; 845s # gsize num_params; 845s # gsize n; 845s # guint signal_id; 845s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 845s # if (info == NULL) 845s # return; 845s # num_params = g_variant_n_children (parameters); 845s # paramv = g_new0 (GValue, num_params + 1); 845s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 845s # g_value_set_object (¶mv[0], proxy); 845s # g_variant_iter_init (&iter, parameters); 845s # n = 1; 845s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 845s # { 845s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 845s # if (arg_info->use_gvariant) 845s # { 845s # g_value_init (¶mv[n], G_TYPE_VARIANT); 845s # g_value_set_variant (¶mv[n], child); 845s # n++; 845s # } 845s # else 845s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 845s # g_variant_unref (child); 845s # } 845s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 845s # g_signal_emitv (paramv, signal_id, 0, NULL); 845s # for (n = 0; n < num_params + 1; n++) 845s # g_value_unset (¶mv[n]); 845s # g_free (paramv); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 845s # GVariant *changed_properties, 845s # const gchar *const *invalidated_properties) 845s # { 845s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 845s # guint n; 845s # const gchar *key; 845s # GVariantIter *iter; 845s # _ExtendedGDBusPropertyInfo *info; 845s # g_variant_get (changed_properties, "a{sv}", &iter); 845s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 845s # { 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 845s # g_datalist_remove_data (&proxy->priv->qdata, key); 845s # if (info != NULL) 845s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 845s # } 845s # g_variant_iter_free (iter); 845s # for (n = 0; invalidated_properties[n] != NULL; n++) 845s # { 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 845s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 845s # if (info != NULL) 845s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 845s # } 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 845s # { 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 845s # #else 845s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 845s # #endif 845s # 845s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 845s # { 845s # GObjectClass *gobject_class; 845s # GDBusProxyClass *proxy_class; 845s # 845s # gobject_class = G_OBJECT_CLASS (klass); 845s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 845s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 845s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 845s # 845s # proxy_class = G_DBUS_PROXY_CLASS (klass); 845s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 845s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 845s # 845s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 845s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 845s # #endif 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new: 845s # * @connection: A #GDBusConnection. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 845s # * @user_data: User data to pass to @callback. 845s # * 845s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 845s # * 845s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 845s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 845s # * 845s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 845s # */ 845s # void 845s # org_project_signaling_iface_proxy_new ( 845s # GDBusConnection *connection, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GAsyncReadyCallback callback, 845s # gpointer user_data) 845s # { 845s # 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); 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_finish: 845s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 845s # * @error: Return location for error or %NULL 845s # * 845s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_proxy_new_finish ( 845s # GAsyncResult *res, 845s # GError **error) 845s # { 845s # GObject *ret; 845s # GObject *source_object; 845s # source_object = g_async_result_get_source_object (res); 845s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 845s # g_object_unref (source_object); 845s # if (ret != NULL) 845s # return ORG_PROJECT_SIGNALING_IFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_sync: 845s # * @connection: A #GDBusConnection. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @error: Return location for error or %NULL 845s # * 845s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 845s # * 845s # * The calling thread is blocked until a reply is received. 845s # * 845s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_proxy_new_sync ( 845s # GDBusConnection *connection, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GError **error) 845s # { 845s # GInitable *ret; 845s # 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); 845s # if (ret != NULL) 845s # return ORG_PROJECT_SIGNALING_IFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_for_bus: 845s # * @bus_type: A #GBusType. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: A bus name (well-known or unique). 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 845s # * @user_data: User data to pass to @callback. 845s # * 845s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 845s # * 845s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 845s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 845s # * 845s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 845s # */ 845s # void 845s # org_project_signaling_iface_proxy_new_for_bus ( 845s # GBusType bus_type, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GAsyncReadyCallback callback, 845s # gpointer user_data) 845s # { 845s # 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); 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_for_bus_finish: 845s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 845s # * @error: Return location for error or %NULL 845s # * 845s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_proxy_new_for_bus_finish ( 845s # GAsyncResult *res, 845s # GError **error) 845s # { 845s # GObject *ret; 845s # GObject *source_object; 845s # source_object = g_async_result_get_source_object (res); 845s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 845s # g_object_unref (source_object); 845s # if (ret != NULL) 845s # return ORG_PROJECT_SIGNALING_IFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_for_bus_sync: 845s # * @bus_type: A #GBusType. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: A bus name (well-known or unique). 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @error: Return location for error or %NULL 845s # * 845s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 845s # * 845s # * The calling thread is blocked until a reply is received. 845s # * 845s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_proxy_new_for_bus_sync ( 845s # GBusType bus_type, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GError **error) 845s # { 845s # GInitable *ret; 845s # 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); 845s # if (ret != NULL) 845s # return ORG_PROJECT_SIGNALING_IFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # 845s # /* ------------------------------------------------------------------------ */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceSkeleton: 845s # * 845s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 845s # */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceSkeletonClass: 845s # * @parent_class: The parent class. 845s # * 845s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 845s # */ 845s # 845s # struct _OrgProjectSignalingIfaceSkeletonPrivate 845s # { 845s # GValue *properties; 845s # GList *changed_properties; 845s # GSource *changed_properties_idle_source; 845s # GMainContext *context; 845s # GMutex lock; 845s # }; 845s # 845s # static void 845s # _org_project_signaling_iface_skeleton_handle_method_call ( 845s # GDBusConnection *connection G_GNUC_UNUSED, 845s # const gchar *sender G_GNUC_UNUSED, 845s # const gchar *object_path G_GNUC_UNUSED, 845s # const gchar *interface_name, 845s # const gchar *method_name, 845s # GVariant *parameters, 845s # GDBusMethodInvocation *invocation, 845s # gpointer user_data) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 845s # _ExtendedGDBusMethodInfo *info; 845s # GVariantIter iter; 845s # GVariant *child; 845s # GValue *paramv; 845s # gsize num_params; 845s # guint num_extra; 845s # gsize n; 845s # guint signal_id; 845s # GValue return_value = G_VALUE_INIT; 845s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 845s # g_assert (info != NULL); 845s # num_params = g_variant_n_children (parameters); 845s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 845s # n = 0; 845s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 845s # g_value_set_object (¶mv[n++], skeleton); 845s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 845s # g_value_set_object (¶mv[n++], invocation); 845s # if (info->pass_fdlist) 845s # { 845s # #ifdef G_OS_UNIX 845s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 845s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 845s # #else 845s # g_assert_not_reached (); 845s # #endif 845s # } 845s # g_variant_iter_init (&iter, parameters); 845s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 845s # { 845s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 845s # if (arg_info->use_gvariant) 845s # { 845s # g_value_init (¶mv[n], G_TYPE_VARIANT); 845s # g_value_set_variant (¶mv[n], child); 845s # n++; 845s # } 845s # else 845s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 845s # g_variant_unref (child); 845s # } 845s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 845s # g_value_init (&return_value, G_TYPE_BOOLEAN); 845s # g_signal_emitv (paramv, signal_id, 0, &return_value); 845s # if (!g_value_get_boolean (&return_value)) 845s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 845s # g_value_unset (&return_value); 845s # for (n = 0; n < num_params + num_extra; n++) 845s # g_value_unset (¶mv[n]); 845s # g_free (paramv); 845s # } 845s # 845s # static GVariant * 845s # _org_project_signaling_iface_skeleton_handle_get_property ( 845s # GDBusConnection *connection G_GNUC_UNUSED, 845s # const gchar *sender G_GNUC_UNUSED, 845s # const gchar *object_path G_GNUC_UNUSED, 845s # const gchar *interface_name G_GNUC_UNUSED, 845s # const gchar *property_name, 845s # GError **error, 845s # gpointer user_data) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 845s # GValue value = G_VALUE_INIT; 845s # GParamSpec *pspec; 845s # _ExtendedGDBusPropertyInfo *info; 845s # GVariant *ret; 845s # ret = NULL; 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 845s # g_assert (info != NULL); 845s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 845s # if (pspec == NULL) 845s # { 845s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 845s # } 845s # else 845s # { 845s # g_value_init (&value, pspec->value_type); 845s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 845s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 845s # g_value_unset (&value); 845s # } 845s # return ret; 845s # } 845s # 845s # static gboolean 845s # _org_project_signaling_iface_skeleton_handle_set_property ( 845s # GDBusConnection *connection G_GNUC_UNUSED, 845s # const gchar *sender G_GNUC_UNUSED, 845s # const gchar *object_path G_GNUC_UNUSED, 845s # const gchar *interface_name G_GNUC_UNUSED, 845s # const gchar *property_name, 845s # GVariant *variant, 845s # GError **error, 845s # gpointer user_data) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 845s # GValue value = G_VALUE_INIT; 845s # GParamSpec *pspec; 845s # _ExtendedGDBusPropertyInfo *info; 845s # gboolean ret; 845s # ret = FALSE; 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 845s # g_assert (info != NULL); 845s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 845s # if (pspec == NULL) 845s # { 845s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 845s # } 845s # else 845s # { 845s # if (info->use_gvariant) 845s # g_value_set_variant (&value, variant); 845s # else 845s # g_dbus_gvariant_to_gvalue (variant, &value); 845s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 845s # g_value_unset (&value); 845s # ret = TRUE; 845s # } 845s # return ret; 845s # } 845s # 845s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 845s # { 845s # _org_project_signaling_iface_skeleton_handle_method_call, 845s # _org_project_signaling_iface_skeleton_handle_get_property, 845s # _org_project_signaling_iface_skeleton_handle_set_property, 845s # {NULL} 845s # }; 845s # 845s # static GDBusInterfaceInfo * 845s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 845s # { 845s # return org_project_signaling_iface_interface_info (); 845s # } 845s # 845s # static GDBusInterfaceVTable * 845s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 845s # { 845s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 845s # } 845s # 845s # static GVariant * 845s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 845s # 845s # GVariantBuilder builder; 845s # guint n; 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 845s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 845s # #else 845s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 845s # #endif 845s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 845s # goto out; 845s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 845s # { 845s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 845s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 845s # { 845s # GVariant *value; 845s # 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); 845s # if (value != NULL) 845s # { 845s # g_variant_take_ref (value); 845s # g_variant_builder_add (&builder, "{sv}", info->name, value); 845s # g_variant_unref (value); 845s # } 845s # } 845s # } 845s # out: 845s # return g_variant_builder_end (&builder); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # static void 845s # _org_project_signaling_iface_on_signal_simple_signal ( 845s # OrgProjectSignalingIface *object) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 845s # 845s # GList *connections, *l; 845s # GVariant *signal_variant; 845s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 845s # 845s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 845s # for (l = connections; l != NULL; l = l->next) 845s # { 845s # GDBusConnection *connection = l->data; 845s # g_dbus_connection_emit_signal (connection, 845s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 845s # signal_variant, NULL); 845s # } 845s # g_variant_unref (signal_variant); 845s # g_list_free_full (connections, g_object_unref); 845s # } 845s # 845s # static void 845s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 845s # OrgProjectSignalingIface *object, 845s # gdouble arg_arg_d) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 845s # 845s # GList *connections, *l; 845s # GVariant *signal_variant; 845s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 845s # 845s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 845s # arg_arg_d)); 845s # for (l = connections; l != NULL; l = l->next) 845s # { 845s # GDBusConnection *connection = l->data; 845s # g_dbus_connection_emit_signal (connection, 845s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 845s # signal_variant, NULL); 845s # } 845s # g_variant_unref (signal_variant); 845s # g_list_free_full (connections, g_object_unref); 845s # } 845s # 845s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 845s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 845s # 845s # #else 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 845s # 845s # #endif 845s # static void 845s # org_project_signaling_iface_skeleton_finalize (GObject *object) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 845s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 845s # if (skeleton->priv->changed_properties_idle_source != NULL) 845s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 845s # g_main_context_unref (skeleton->priv->context); 845s # g_mutex_clear (&skeleton->priv->lock); 845s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 845s # { 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 845s # #else 845s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 845s # #endif 845s # 845s # g_mutex_init (&skeleton->priv->lock); 845s # skeleton->priv->context = g_main_context_ref_thread_default (); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 845s # { 845s # GObjectClass *gobject_class; 845s # GDBusInterfaceSkeletonClass *skeleton_class; 845s # 845s # gobject_class = G_OBJECT_CLASS (klass); 845s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 845s # 845s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 845s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 845s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 845s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 845s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 845s # 845s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 845s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 845s # #endif 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 845s # { 845s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 845s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_skeleton_new: 845s # * 845s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_skeleton_new (void) 845s # { 845s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 845s # } 845s # Error: 845s # 845s # /tmp/tmp9htticof/tmpy69gsvpd.xml: 845s # 845s # 845s # 845s # 845s # 845s # 845s # 845s # 845s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9htticof/tmpy69gsvpd.xml', '--output', '-', '--body'] 845s # Return code: 0 845s # Output: 845s # /* 845s # * This file is generated by gdbus-codegen, do not modify it. 845s # * 845s # * The license of this code is the same as for the D-Bus interface description 845s # * it was derived from. Note that it links to GLib, so must comply with the 845s # * LGPL linking clauses. 845s # */ 845s # 845s # #ifdef HAVE_CONFIG_H 845s # # include "config.h" 845s # #endif 845s # 845s # #include 845s # #ifdef G_OS_UNIX 845s # # include 845s # #endif 845s # 845s # #ifdef G_ENABLE_DEBUG 845s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 845s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 845s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 845s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 845s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 845s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 845s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 845s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 845s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 845s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 845s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 845s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 845s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 845s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 845s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 845s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 845s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 845s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 845s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 845s # #else /* !G_ENABLE_DEBUG */ 845s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 845s # * Do not access GValues directly in your code. Instead, use the 845s # * g_value_get_*() functions 845s # */ 845s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 845s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 845s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 845s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 845s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 845s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 845s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 845s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 845s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 845s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 845s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 845s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 845s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 845s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 845s # #endif /* !G_ENABLE_DEBUG */ 845s # 845s # typedef struct 845s # { 845s # GDBusArgInfo parent_struct; 845s # gboolean use_gvariant; 845s # } _ExtendedGDBusArgInfo; 845s # 845s # typedef struct 845s # { 845s # GDBusMethodInfo parent_struct; 845s # const gchar *signal_name; 845s # gboolean pass_fdlist; 845s # } _ExtendedGDBusMethodInfo; 845s # 845s # typedef struct 845s # { 845s # GDBusSignalInfo parent_struct; 845s # const gchar *signal_name; 845s # } _ExtendedGDBusSignalInfo; 845s # 845s # typedef struct 845s # { 845s # GDBusPropertyInfo parent_struct; 845s # const gchar *hyphen_name; 845s # guint use_gvariant : 1; 845s # guint emits_changed_signal : 1; 845s # } _ExtendedGDBusPropertyInfo; 845s # 845s # typedef struct 845s # { 845s # GDBusInterfaceInfo parent_struct; 845s # const gchar *hyphen_name; 845s # } _ExtendedGDBusInterfaceInfo; 845s # 845s # typedef struct 845s # { 845s # const _ExtendedGDBusPropertyInfo *info; 845s # guint prop_id; 845s # GValue orig_value; /* the value before the change */ 845s # } ChangedProperty; 845s # 845s # static void 845s # _changed_property_free (ChangedProperty *data) 845s # { 845s # g_value_unset (&data->orig_value); 845s # g_free (data); 845s # } 845s # 845s # static gboolean 845s # _g_strv_equal0 (gchar **a, gchar **b) 845s # { 845s # gboolean ret = FALSE; 845s # guint n; 845s # if (a == NULL && b == NULL) 845s # { 845s # ret = TRUE; 845s # goto out; 845s # } 845s # if (a == NULL || b == NULL) 845s # goto out; 845s # if (g_strv_length (a) != g_strv_length (b)) 845s # goto out; 845s # for (n = 0; a[n] != NULL; n++) 845s # if (g_strcmp0 (a[n], b[n]) != 0) 845s # goto out; 845s # ret = TRUE; 845s # out: 845s # return ret; 845s # } 845s # 845s # static gboolean 845s # _g_variant_equal0 (GVariant *a, GVariant *b) 845s # { 845s # gboolean ret = FALSE; 845s # if (a == NULL && b == NULL) 845s # { 845s # ret = TRUE; 845s # goto out; 845s # } 845s # if (a == NULL || b == NULL) 845s # goto out; 845s # ret = g_variant_equal (a, b); 845s # out: 845s # return ret; 845s # } 845s # 845s # G_GNUC_UNUSED static gboolean 845s # _g_value_equal (const GValue *a, const GValue *b) 845s # { 845s # gboolean ret = FALSE; 845s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 845s # switch (G_VALUE_TYPE (a)) 845s # { 845s # case G_TYPE_BOOLEAN: 845s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 845s # break; 845s # case G_TYPE_UCHAR: 845s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 845s # break; 845s # case G_TYPE_INT: 845s # ret = (g_value_get_int (a) == g_value_get_int (b)); 845s # break; 845s # case G_TYPE_UINT: 845s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 845s # break; 845s # case G_TYPE_INT64: 845s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 845s # break; 845s # case G_TYPE_UINT64: 845s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 845s # break; 845s # case G_TYPE_DOUBLE: 845s # { 845s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 845s # gdouble da = g_value_get_double (a); 845s # gdouble db = g_value_get_double (b); 845s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 845s # } 845s # break; 845s # case G_TYPE_STRING: 845s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 845s # break; 845s # case G_TYPE_VARIANT: 845s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 845s # break; 845s # default: 845s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 845s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 845s # else 845s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 845s # break; 845s # } 845s # return ret; 845s # } 845s # 845s # /* ------------------------------------------------------------------------ 845s # * Code for interface org.project.SignalingIface 845s # * ------------------------------------------------------------------------ 845s # */ 845s # 845s # /** 845s # * SECTION:OrgProjectSignalingIface 845s # * @title: OrgProjectSignalingIface 845s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 845s # * 845s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 845s # */ 845s # 845s # enum 845s # { 845s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 845s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 845s # }; 845s # 845s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 845s # 845s # /* ---- Introspection data for org.project.SignalingIface ---- */ 845s # 845s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 845s # { 845s # { 845s # -1, 845s # (gchar *) "SimpleSignal", 845s # NULL, 845s # NULL 845s # }, 845s # "simple-signal" 845s # }; 845s # 845s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s = 845s # { 845s # { 845s # -1, 845s # (gchar *) "arg_s", 845s # (gchar *) "s", 845s # NULL 845s # }, 845s # FALSE 845s # }; 845s # 845s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 845s # { 845s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s.parent_struct, 845s # NULL 845s # }; 845s # 845s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 845s # { 845s # { 845s # -1, 845s # (gchar *) "SingleArgSignalS", 845s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 845s # NULL 845s # }, 845s # "single-arg-signal-s" 845s # }; 845s # 845s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 845s # { 845s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 845s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 845s # NULL 845s # }; 845s # 845s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 845s # { 845s # { 845s # -1, 845s # (gchar *) "org.project.SignalingIface", 845s # NULL, 845s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 845s # NULL, 845s # NULL 845s # }, 845s # "org-project-signaling-iface", 845s # }; 845s # 845s # 845s # /** 845s # * org_project_signaling_iface_interface_info: 845s # * 845s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 845s # * 845s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 845s # */ 845s # GDBusInterfaceInfo * 845s # org_project_signaling_iface_interface_info (void) 845s # { 845s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_override_properties: 845s # * @klass: The class structure for a #GObject derived class. 845s # * @property_id_begin: The property id to assign to the first overridden property. 845s # * 845s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 845s # * The properties are overridden in the order they are defined. 845s # * 845s # * Returns: The last property id. 845s # */ 845s # guint 845s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 845s # { 845s # return property_id_begin - 1; 845s # } 845s # 845s # 845s # inline static void 845s # org_project_signaling_iface_signal_marshal_simple_signal ( 845s # GClosure *closure, 845s # GValue *return_value, 845s # unsigned int n_param_values, 845s # const GValue *param_values, 845s # void *invocation_hint, 845s # void *marshal_data) 845s # { 845s # g_cclosure_marshal_VOID__VOID (closure, 845s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 845s # } 845s # 845s # inline static void 845s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 845s # GClosure *closure, 845s # GValue *return_value, 845s # unsigned int n_param_values, 845s # const GValue *param_values, 845s # void *invocation_hint, 845s # void *marshal_data) 845s # { 845s # g_cclosure_marshal_VOID__STRING (closure, 845s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 845s # } 845s # 845s # 845s # /** 845s # * OrgProjectSignalingIface: 845s # * 845s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 845s # */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceIface: 845s # * @parent_iface: The parent interface. 845s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 845s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 845s # * 845s # * Virtual table for the D-Bus interface org.project.SignalingIface. 845s # */ 845s # 845s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 845s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 845s # 845s # static void 845s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 845s # { 845s # /* GObject signals for received D-Bus signals: */ 845s # /** 845s # * OrgProjectSignalingIface::simple-signal: 845s # * @object: A #OrgProjectSignalingIface. 845s # * 845s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 845s # * 845s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 845s # */ 845s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 845s # g_signal_new ("simple-signal", 845s # G_TYPE_FROM_INTERFACE (iface), 845s # G_SIGNAL_RUN_LAST, 845s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 845s # NULL, 845s # NULL, 845s # org_project_signaling_iface_signal_marshal_simple_signal, 845s # G_TYPE_NONE, 845s # 0); 845s # 845s # /** 845s # * OrgProjectSignalingIface::single-arg-signal-s: 845s # * @object: A #OrgProjectSignalingIface. 845s # * @arg_arg_s: Argument. 845s # * 845s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 845s # * 845s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 845s # */ 845s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 845s # g_signal_new ("single-arg-signal-s", 845s # G_TYPE_FROM_INTERFACE (iface), 845s # G_SIGNAL_RUN_LAST, 845s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 845s # NULL, 845s # NULL, 845s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 845s # G_TYPE_NONE, 845s # 1, G_TYPE_STRING); 845s # 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_emit_simple_signal: 845s # * @object: A #OrgProjectSignalingIface. 845s # * 845s # * Emits the "SimpleSignal" D-Bus signal. 845s # */ 845s # void 845s # org_project_signaling_iface_emit_simple_signal ( 845s # OrgProjectSignalingIface *object) 845s # { 845s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_emit_single_arg_signal_s: 845s # * @object: A #OrgProjectSignalingIface. 845s # * @arg_arg_s: Argument to pass with the signal. 845s # * 845s # * Emits the "SingleArgSignalS" D-Bus signal. 845s # */ 845s # void 845s # org_project_signaling_iface_emit_single_arg_signal_s ( 845s # OrgProjectSignalingIface *object, 845s # const gchar *arg_arg_s) 845s # { 845s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_arg_s); 845s # } 845s # 845s # /* ------------------------------------------------------------------------ */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceProxy: 845s # * 845s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 845s # */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceProxyClass: 845s # * @parent_class: The parent class. 845s # * 845s # * Class structure for #OrgProjectSignalingIfaceProxy. 845s # */ 845s # 845s # struct _OrgProjectSignalingIfaceProxyPrivate 845s # { 845s # GData *qdata; 845s # }; 845s # 845s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 845s # 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 845s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 845s # 845s # #else 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 845s # 845s # #endif 845s # static void 845s # org_project_signaling_iface_proxy_finalize (GObject *object) 845s # { 845s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 845s # g_datalist_clear (&proxy->priv->qdata); 845s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 845s # guint prop_id G_GNUC_UNUSED, 845s # GValue *value G_GNUC_UNUSED, 845s # GParamSpec *pspec G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 845s # guint prop_id G_GNUC_UNUSED, 845s # const GValue *value G_GNUC_UNUSED, 845s # GParamSpec *pspec G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 845s # const gchar *sender_name G_GNUC_UNUSED, 845s # const gchar *signal_name, 845s # GVariant *parameters) 845s # { 845s # _ExtendedGDBusSignalInfo *info; 845s # GVariantIter iter; 845s # GVariant *child; 845s # GValue *paramv; 845s # gsize num_params; 845s # gsize n; 845s # guint signal_id; 845s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 845s # if (info == NULL) 845s # return; 845s # num_params = g_variant_n_children (parameters); 845s # paramv = g_new0 (GValue, num_params + 1); 845s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 845s # g_value_set_object (¶mv[0], proxy); 845s # g_variant_iter_init (&iter, parameters); 845s # n = 1; 845s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 845s # { 845s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 845s # if (arg_info->use_gvariant) 845s # { 845s # g_value_init (¶mv[n], G_TYPE_VARIANT); 845s # g_value_set_variant (¶mv[n], child); 845s # n++; 845s # } 845s # else 845s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 845s # g_variant_unref (child); 845s # } 845s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 845s # g_signal_emitv (paramv, signal_id, 0, NULL); 845s # for (n = 0; n < num_params + 1; n++) 845s # g_value_unset (¶mv[n]); 845s # g_free (paramv); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 845s # GVariant *changed_properties, 845s # const gchar *const *invalidated_properties) 845s # { 845s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 845s # guint n; 845s # const gchar *key; 845s # GVariantIter *iter; 845s # _ExtendedGDBusPropertyInfo *info; 845s # g_variant_get (changed_properties, "a{sv}", &iter); 845s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 845s # { 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 845s # g_datalist_remove_data (&proxy->priv->qdata, key); 845s # if (info != NULL) 845s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 845s # } 845s # g_variant_iter_free (iter); 845s # for (n = 0; invalidated_properties[n] != NULL; n++) 845s # { 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 845s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 845s # if (info != NULL) 845s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 845s # } 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 845s # { 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 845s # #else 845s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 845s # #endif 845s # 845s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 845s # { 845s # GObjectClass *gobject_class; 845s # GDBusProxyClass *proxy_class; 845s # 845s # gobject_class = G_OBJECT_CLASS (klass); 845s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 845s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 845s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 845s # 845s # proxy_class = G_DBUS_PROXY_CLASS (klass); 845s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 845s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 845s # 845s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 845s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 845s # #endif 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new: 845s # * @connection: A #GDBusConnection. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 845s # * @user_data: User data to pass to @callback. 845s # * 845s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 845s # * 845s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 845s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 845s # * 845s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 845s # */ 845s # void 845s # org_project_signaling_iface_proxy_new ( 845s # GDBusConnection *connection, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GAsyncReadyCallback callback, 845s # gpointer user_data) 845s # { 845s # 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); 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_finish: 845s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 845s # * @error: Return location for error or %NULL 845s # * 845s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_proxy_new_finish ( 845s # GAsyncResult *res, 845s # GError **error) 845s # { 845s # GObject *ret; 845s # GObject *source_object; 845s # source_object = g_async_result_get_source_object (res); 845s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 845s # g_object_unref (source_object); 845s # if (ret != NULL) 845s # return ORG_PROJECT_SIGNALING_IFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_sync: 845s # * @connection: A #GDBusConnection. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @error: Return location for error or %NULL 845s # * 845s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 845s # * 845s # * The calling thread is blocked until a reply is received. 845s # * 845s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_proxy_new_sync ( 845s # GDBusConnection *connection, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GError **error) 845s # { 845s # GInitable *ret; 845s # 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); 845s # if (ret != NULL) 845s # return ORG_PROJECT_SIGNALING_IFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_for_bus: 845s # * @bus_type: A #GBusType. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: A bus name (well-known or unique). 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 845s # * @user_data: User data to pass to @callback. 845s # * 845s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 845s # * 845s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 845s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 845s # * 845s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 845s # */ 845s # void 845s # org_project_signaling_iface_proxy_new_for_bus ( 845s # GBusType bus_type, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GAsyncReadyCallback callback, 845s # gpointer user_data) 845s # { 845s # 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); 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_for_bus_finish: 845s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 845s # * @error: Return location for error or %NULL 845s # * 845s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_proxy_new_for_bus_finish ( 845s # GAsyncResult *res, 845s # GError **error) 845s # { 845s # GObject *ret; 845s # GObject *source_object; 845s # source_object = g_async_result_get_source_object (res); 845s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 845s # g_object_unref (source_object); 845s # if (ret != NULL) 845s # return ORG_PROJECT_SIGNALING_IFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_for_bus_sync: 845s # * @bus_type: A #GBusType. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: A bus name (well-known or unique). 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @error: Return location for error or %NULL 845s # * 845s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 845s # * 845s # * The calling thread is blocked until a reply is received. 845s # * 845s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_proxy_new_for_bus_sync ( 845s # GBusType bus_type, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GError **error) 845s # { 845s # GInitable *ret; 845s # 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); 845s # if (ret != NULL) 845s # return ORG_PROJECT_SIGNALING_IFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # 845s # /* ------------------------------------------------------------------------ */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceSkeleton: 845s # * 845s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 845s # */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceSkeletonClass: 845s # * @parent_class: The parent class. 845s # * 845s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 845s # */ 845s # 845s # struct _OrgProjectSignalingIfaceSkeletonPrivate 845s # { 845s # GValue *properties; 845s # GList *changed_properties; 845s # GSource *changed_properties_idle_source; 845s # GMainContext *context; 845s # GMutex lock; 845s # }; 845s # 845s # static void 845s # _org_project_signaling_iface_skeleton_handle_method_call ( 845s # GDBusConnection *connection G_GNUC_UNUSED, 845s # const gchar *sender G_GNUC_UNUSED, 845s # const gchar *object_path G_GNUC_UNUSED, 845s # const gchar *interface_name, 845s # const gchar *method_name, 845s # GVariant *parameters, 845s # GDBusMethodInvocation *invocation, 845s # gpointer user_data) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 845s # _ExtendedGDBusMethodInfo *info; 845s # GVariantIter iter; 845s # GVariant *child; 845s # GValue *paramv; 845s # gsize num_params; 845s # guint num_extra; 845s # gsize n; 845s # guint signal_id; 845s # GValue return_value = G_VALUE_INIT; 845s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 845s # g_assert (info != NULL); 845s # num_params = g_variant_n_children (parameters); 845s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 845s # n = 0; 845s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 845s # g_value_set_object (¶mv[n++], skeleton); 845s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 845s # g_value_set_object (¶mv[n++], invocation); 845s # if (info->pass_fdlist) 845s # { 845s # #ifdef G_OS_UNIX 845s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 845s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 845s # #else 845s # g_assert_not_reached (); 845s # #endif 845s # } 845s # g_variant_iter_init (&iter, parameters); 845s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 845s # { 845s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 845s # if (arg_info->use_gvariant) 845s # { 845s # g_value_init (¶mv[n], G_TYPE_VARIANT); 845s # g_value_set_variant (¶mv[n], child); 845s # n++; 845s # } 845s # else 845s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 845s # g_variant_unref (child); 845s # } 845s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 845s # g_value_init (&return_value, G_TYPE_BOOLEAN); 845s # g_signal_emitv (paramv, signal_id, 0, &return_value); 845s # if (!g_value_get_boolean (&return_value)) 845s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 845s # g_value_unset (&return_value); 845s # for (n = 0; n < num_params + num_extra; n++) 845s # g_value_unset (¶mv[n]); 845s # g_free (paramv); 845s # } 845s # 845s # static GVariant * 845s # _org_project_signaling_iface_skeleton_handle_get_property ( 845s # GDBusConnection *connection G_GNUC_UNUSED, 845s # const gchar *sender G_GNUC_UNUSED, 845s # const gchar *object_path G_GNUC_UNUSED, 845s # const gchar *interface_name G_GNUC_UNUSED, 845s # const gchar *property_name, 845s # GError **error, 845s # gpointer user_data) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 845s # GValue value = G_VALUE_INIT; 845s # GParamSpec *pspec; 845s # _ExtendedGDBusPropertyInfo *info; 845s # GVariant *ret; 845s # ret = NULL; 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 845s # g_assert (info != NULL); 845s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 845s # if (pspec == NULL) 845s # { 845s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 845s # } 845s # else 845s # { 845s # g_value_init (&value, pspec->value_type); 845s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 845s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 845s # g_value_unset (&value); 845s # } 845s # return ret; 845s # } 845s # 845s # static gboolean 845s # _org_project_signaling_iface_skeleton_handle_set_property ( 845s # GDBusConnection *connection G_GNUC_UNUSED, 845s # const gchar *sender G_GNUC_UNUSED, 845s # const gchar *object_path G_GNUC_UNUSED, 845s # const gchar *interface_name G_GNUC_UNUSED, 845s # const gchar *property_name, 845s # GVariant *variant, 845s # GError **error, 845s # gpointer user_data) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 845s # GValue value = G_VALUE_INIT; 845s # GParamSpec *pspec; 845s # _ExtendedGDBusPropertyInfo *info; 845s # gboolean ret; 845s # ret = FALSE; 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 845s # g_assert (info != NULL); 845s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 845s # if (pspec == NULL) 845s # { 845s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 845s # } 845s # else 845s # { 845s # if (info->use_gvariant) 845s # g_value_set_variant (&value, variant); 845s # else 845s # g_dbus_gvariant_to_gvalue (variant, &value); 845s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 845s # g_value_unset (&value); 845s # ret = TRUE; 845s # } 845s # return ret; 845s # } 845s # 845s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 845s # { 845s # _org_project_signaling_iface_skeleton_handle_method_call, 845s # _org_project_signaling_iface_skeleton_handle_get_property, 845s # _org_project_signaling_iface_skeleton_handle_set_property, 845s # {NULL} 845s # }; 845s # 845s # static GDBusInterfaceInfo * 845s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 845s # { 845s # return org_project_signaling_iface_interface_info (); 845s # } 845s # 845s # static GDBusInterfaceVTable * 845s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 845s # { 845s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 845s # } 845s # 845s # static GVariant * 845s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 845s # 845s # GVariantBuilder builder; 845s # guint n; 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 845s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 845s # #else 845s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 845s # #endif 845s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 845s # goto out; 845s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 845s # { 845s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 845s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 845s # { 845s # GVariant *value; 845s # 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); 845s # if (value != NULL) 845s # { 845s # g_variant_take_ref (value); 845s # g_variant_builder_add (&builder, "{sv}", info->name, value); 845s # g_variant_unref (value); 845s # } 845s # } 845s # } 845s # out: 845s # return g_variant_builder_end (&builder); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # static void 845s # _org_project_signaling_iface_on_signal_simple_signal ( 845s # OrgProjectSignalingIface *object) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 845s # 845s # GList *connections, *l; 845s # GVariant *signal_variant; 845s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 845s # 845s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 845s # for (l = connections; l != NULL; l = l->next) 845s # { 845s # GDBusConnection *connection = l->data; 845s # g_dbus_connection_emit_signal (connection, 845s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 845s # signal_variant, NULL); 845s # } 845s # g_variant_unref (signal_variant); 845s # g_list_free_full (connections, g_object_unref); 845s # } 845s # 845s # static void 845s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 845s # OrgProjectSignalingIface *object, 845s # const gchar *arg_arg_s) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 845s # 845s # GList *connections, *l; 845s # GVariant *signal_variant; 845s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 845s # 845s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 845s # arg_arg_s)); 845s # for (l = connections; l != NULL; l = l->next) 845s # { 845s # GDBusConnection *connection = l->data; 845s # g_dbus_connection_emit_signal (connection, 845s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 845s # signal_variant, NULL); 845s # } 845s # g_variant_unref (signal_variant); 845s # g_list_free_full (connections, g_object_unref); 845s # } 845s # 845s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 845s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 845s # 845s # #else 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 845s # 845s # #endif 845s # static void 845s # org_project_signaling_iface_skeleton_finalize (GObject *object) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 845s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 845s # if (skeleton->priv->changed_properties_idle_source != NULL) 845s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 845s # g_main_context_unref (skeleton->priv->context); 845s # g_mutex_clear (&skeleton->priv->lock); 845s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 845s # { 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 845s # #else 845s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 845s # #endif 845s # 845s # g_mutex_init (&skeleton->priv->lock); 845s # skeleton->priv->context = g_main_context_ref_thread_default (); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 845s # { 845s # GObjectClass *gobject_class; 845s # GDBusInterfaceSkeletonClass *skeleton_class; 845s # 845s # gobject_class = G_OBJECT_CLASS (klass); 845s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 845s # 845s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 845s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 845s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 845s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 845s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 845s # 845s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 845s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 845s # #endif 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 845s # { 845s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 845s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_skeleton_new: 845s # * 845s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_skeleton_new (void) 845s # { 845s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 845s # } 845s # Error: 845s # 845s # /tmp/tmp9htticof/tmplgmpm2eh.xml: 845s # 845s # 845s # 845s # 845s # 845s # 845s # 845s # 845s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9htticof/tmplgmpm2eh.xml', '--output', '-', '--body'] 845s # Return code: 0 845s # Output: 845s # /* 845s # * This file is generated by gdbus-codegen, do not modify it. 845s # * 845s # * The license of this code is the same as for the D-Bus interface description 845s # * it was derived from. Note that it links to GLib, so must comply with the 845s # * LGPL linking clauses. 845s # */ 845s # 845s # #ifdef HAVE_CONFIG_H 845s # # include "config.h" 845s # #endif 845s # 845s # #include 845s # #ifdef G_OS_UNIX 845s # # include 845s # #endif 845s # 845s # #ifdef G_ENABLE_DEBUG 845s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 845s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 845s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 845s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 845s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 845s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 845s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 845s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 845s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 845s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 845s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 845s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 845s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 845s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 845s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 845s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 845s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 845s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 845s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 845s # #else /* !G_ENABLE_DEBUG */ 845s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 845s # * Do not access GValues directly in your code. Instead, use the 845s # * g_value_get_*() functions 845s # */ 845s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 845s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 845s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 845s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 845s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 845s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 845s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 845s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 845s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 845s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 845s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 845s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 845s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 845s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 845s # #endif /* !G_ENABLE_DEBUG */ 845s # 845s # typedef struct 845s # { 845s # GDBusArgInfo parent_struct; 845s # gboolean use_gvariant; 845s # } _ExtendedGDBusArgInfo; 845s # 845s # typedef struct 845s # { 845s # GDBusMethodInfo parent_struct; 845s # const gchar *signal_name; 845s # gboolean pass_fdlist; 845s # } _ExtendedGDBusMethodInfo; 845s # 845s # typedef struct 845s # { 845s # GDBusSignalInfo parent_struct; 845s # const gchar *signal_name; 845s # } _ExtendedGDBusSignalInfo; 845s # 845s # typedef struct 845s # { 845s # GDBusPropertyInfo parent_struct; 845s # const gchar *hyphen_name; 845s # guint use_gvariant : 1; 845s # guint emits_changed_signal : 1; 845s # } _ExtendedGDBusPropertyInfo; 845s # 845s # typedef struct 845s # { 845s # GDBusInterfaceInfo parent_struct; 845s # const gchar *hyphen_name; 845s # } _ExtendedGDBusInterfaceInfo; 845s # 845s # typedef struct 845s # { 845s # const _ExtendedGDBusPropertyInfo *info; 845s # guint prop_id; 845s # GValue orig_value; /* the value before the change */ 845s # } ChangedProperty; 845s # 845s # static void 845s # _changed_property_free (ChangedProperty *data) 845s # { 845s # g_value_unset (&data->orig_value); 845s # g_free (data); 845s # } 845s # 845s # static gboolean 845s # _g_strv_equal0 (gchar **a, gchar **b) 845s # { 845s # gboolean ret = FALSE; 845s # guint n; 845s # if (a == NULL && b == NULL) 845s # { 845s # ret = TRUE; 845s # goto out; 845s # } 845s # if (a == NULL || b == NULL) 845s # goto out; 845s # if (g_strv_length (a) != g_strv_length (b)) 845s # goto out; 845s # for (n = 0; a[n] != NULL; n++) 845s # if (g_strcmp0 (a[n], b[n]) != 0) 845s # goto out; 845s # ret = TRUE; 845s # out: 845s # return ret; 845s # } 845s # 845s # static gboolean 845s # _g_variant_equal0 (GVariant *a, GVariant *b) 845s # { 845s # gboolean ret = FALSE; 845s # if (a == NULL && b == NULL) 845s # { 845s # ret = TRUE; 845s # goto out; 845s # } 845s # if (a == NULL || b == NULL) 845s # goto out; 845s # ret = g_variant_equal (a, b); 845s # out: 845s # return ret; 845s # } 845s # 845s # G_GNUC_UNUSED static gboolean 845s # _g_value_equal (const GValue *a, const GValue *b) 845s # { 845s # gboolean ret = FALSE; 845s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 845s # switch (G_VALUE_TYPE (a)) 845s # { 845s # case G_TYPE_BOOLEAN: 845s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 845s # break; 845s # case G_TYPE_UCHAR: 845s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 845s # break; 845s # case G_TYPE_INT: 845s # ret = (g_value_get_int (a) == g_value_get_int (b)); 845s # break; 845s # case G_TYPE_UINT: 845s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 845s # break; 845s # case G_TYPE_INT64: 845s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 845s # break; 845s # case G_TYPE_UINT64: 845s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 845s # break; 845s # case G_TYPE_DOUBLE: 845s # { 845s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 845s # gdouble da = g_value_get_double (a); 845s # gdouble db = g_value_get_double (b); 845s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 845s # } 845s # break; 845s # case G_TYPE_STRING: 845s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 845s # break; 845s # case G_TYPE_VARIANT: 845s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 845s # break; 845s # default: 845s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 845s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 845s # else 845s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 845s # break; 845s # } 845s # return ret; 845s # } 845s # 845s # /* ------------------------------------------------------------------------ 845s # * Code for interface org.project.SignalingIface 845s # * ------------------------------------------------------------------------ 845s # */ 845s # 845s # /** 845s # * SECTION:OrgProjectSignalingIface 845s # * @title: OrgProjectSignalingIface 845s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 845s # * 845s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 845s # */ 845s # 845s # enum 845s # { 845s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 845s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 845s # }; 845s # 845s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 845s # 845s # /* ---- Introspection data for org.project.SignalingIface ---- */ 845s # 845s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 845s # { 845s # { 845s # -1, 845s # (gchar *) "SimpleSignal", 845s # NULL, 845s # NULL 845s # }, 845s # "simple-signal" 845s # }; 845s # 845s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o = 845s # { 845s # { 845s # -1, 845s # (gchar *) "arg_o", 845s # (gchar *) "o", 845s # NULL 845s # }, 845s # FALSE 845s # }; 845s # 845s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 845s # { 845s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o.parent_struct, 845s # NULL 845s # }; 845s # 845s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 845s # { 845s # { 845s # -1, 845s # (gchar *) "SingleArgSignalO", 845s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 845s # NULL 845s # }, 845s # "single-arg-signal-o" 845s # }; 845s # 845s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 845s # { 845s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 845s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 845s # NULL 845s # }; 845s # 845s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 845s # { 845s # { 845s # -1, 845s # (gchar *) "org.project.SignalingIface", 845s # NULL, 845s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 845s # NULL, 845s # NULL 845s # }, 845s # "org-project-signaling-iface", 845s # }; 845s # 845s # 845s # /** 845s # * org_project_signaling_iface_interface_info: 845s # * 845s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 845s # * 845s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 845s # */ 845s # GDBusInterfaceInfo * 845s # org_project_signaling_iface_interface_info (void) 845s # { 845s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_override_properties: 845s # * @klass: The class structure for a #GObject derived class. 845s # * @property_id_begin: The property id to assign to the first overridden property. 845s # * 845s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 845s # * The properties are overridden in the order they are defined. 845s # * 845s # * Returns: The last property id. 845s # */ 845s # guint 845s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 845s # { 845s # return property_id_begin - 1; 845s # } 845s # 845s # 845s # inline static void 845s # org_project_signaling_iface_signal_marshal_simple_signal ( 845s # GClosure *closure, 845s # GValue *return_value, 845s # unsigned int n_param_values, 845s # const GValue *param_values, 845s # void *invocation_hint, 845s # void *marshal_data) 845s # { 845s # g_cclosure_marshal_VOID__VOID (closure, 845s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 845s # } 845s # 845s # inline static void 845s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 845s # GClosure *closure, 845s # GValue *return_value, 845s # unsigned int n_param_values, 845s # const GValue *param_values, 845s # void *invocation_hint, 845s # void *marshal_data) 845s # { 845s # g_cclosure_marshal_VOID__STRING (closure, 845s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 845s # } 845s # 845s # 845s # /** 845s # * OrgProjectSignalingIface: 845s # * 845s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 845s # */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceIface: 845s # * @parent_iface: The parent interface. 845s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 845s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 845s # * 845s # * Virtual table for the D-Bus interface org.project.SignalingIface. 845s # */ 845s # 845s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 845s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 845s # 845s # static void 845s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 845s # { 845s # /* GObject signals for received D-Bus signals: */ 845s # /** 845s # * OrgProjectSignalingIface::simple-signal: 845s # * @object: A #OrgProjectSignalingIface. 845s # * 845s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 845s # * 845s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 845s # */ 845s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 845s # g_signal_new ("simple-signal", 845s # G_TYPE_FROM_INTERFACE (iface), 845s # G_SIGNAL_RUN_LAST, 845s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 845s # NULL, 845s # NULL, 845s # org_project_signaling_iface_signal_marshal_simple_signal, 845s # G_TYPE_NONE, 845s # 0); 845s # 845s # /** 845s # * OrgProjectSignalingIface::single-arg-signal-o: 845s # * @object: A #OrgProjectSignalingIface. 845s # * @arg_arg_o: Argument. 845s # * 845s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 845s # * 845s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 845s # */ 845s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 845s # g_signal_new ("single-arg-signal-o", 845s # G_TYPE_FROM_INTERFACE (iface), 845s # G_SIGNAL_RUN_LAST, 845s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 845s # NULL, 845s # NULL, 845s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 845s # G_TYPE_NONE, 845s # 1, G_TYPE_STRING); 845s # 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_emit_simple_signal: 845s # * @object: A #OrgProjectSignalingIface. 845s # * 845s # * Emits the "SimpleSignal" D-Bus signal. 845s # */ 845s # void 845s # org_project_signaling_iface_emit_simple_signal ( 845s # OrgProjectSignalingIface *object) 845s # { 845s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_emit_single_arg_signal_o: 845s # * @object: A #OrgProjectSignalingIface. 845s # * @arg_arg_o: Argument to pass with the signal. 845s # * 845s # * Emits the "SingleArgSignalO" D-Bus signal. 845s # */ 845s # void 845s # org_project_signaling_iface_emit_single_arg_signal_o ( 845s # OrgProjectSignalingIface *object, 845s # const gchar *arg_arg_o) 845s # { 845s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_arg_o); 845s # } 845s # 845s # /* ------------------------------------------------------------------------ */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceProxy: 845s # * 845s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 845s # */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceProxyClass: 845s # * @parent_class: The parent class. 845s # * 845s # * Class structure for #OrgProjectSignalingIfaceProxy. 845s # */ 845s # 845s # struct _OrgProjectSignalingIfaceProxyPrivate 845s # { 845s # GData *qdata; 845s # }; 845s # 845s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 845s # 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 845s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 845s # 845s # #else 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 845s # 845s # #endif 845s # static void 845s # org_project_signaling_iface_proxy_finalize (GObject *object) 845s # { 845s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 845s # g_datalist_clear (&proxy->priv->qdata); 845s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 845s # guint prop_id G_GNUC_UNUSED, 845s # GValue *value G_GNUC_UNUSED, 845s # GParamSpec *pspec G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 845s # guint prop_id G_GNUC_UNUSED, 845s # const GValue *value G_GNUC_UNUSED, 845s # GParamSpec *pspec G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 845s # const gchar *sender_name G_GNUC_UNUSED, 845s # const gchar *signal_name, 845s # GVariant *parameters) 845s # { 845s # _ExtendedGDBusSignalInfo *info; 845s # GVariantIter iter; 845s # GVariant *child; 845s # GValue *paramv; 845s # gsize num_params; 845s # gsize n; 845s # guint signal_id; 845s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 845s # if (info == NULL) 845s # return; 845s # num_params = g_variant_n_children (parameters); 845s # paramv = g_new0 (GValue, num_params + 1); 845s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 845s # g_value_set_object (¶mv[0], proxy); 845s # g_variant_iter_init (&iter, parameters); 845s # n = 1; 845s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 845s # { 845s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 845s # if (arg_info->use_gvariant) 845s # { 845s # g_value_init (¶mv[n], G_TYPE_VARIANT); 845s # g_value_set_variant (¶mv[n], child); 845s # n++; 845s # } 845s # else 845s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 845s # g_variant_unref (child); 845s # } 845s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 845s # g_signal_emitv (paramv, signal_id, 0, NULL); 845s # for (n = 0; n < num_params + 1; n++) 845s # g_value_unset (¶mv[n]); 845s # g_free (paramv); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 845s # GVariant *changed_properties, 845s # const gchar *const *invalidated_properties) 845s # { 845s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 845s # guint n; 845s # const gchar *key; 845s # GVariantIter *iter; 845s # _ExtendedGDBusPropertyInfo *info; 845s # g_variant_get (changed_properties, "a{sv}", &iter); 845s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 845s # { 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 845s # g_datalist_remove_data (&proxy->priv->qdata, key); 845s # if (info != NULL) 845s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 845s # } 845s # g_variant_iter_free (iter); 845s # for (n = 0; invalidated_properties[n] != NULL; n++) 845s # { 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 845s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 845s # if (info != NULL) 845s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 845s # } 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 845s # { 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 845s # #else 845s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 845s # #endif 845s # 845s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 845s # { 845s # GObjectClass *gobject_class; 845s # GDBusProxyClass *proxy_class; 845s # 845s # gobject_class = G_OBJECT_CLASS (klass); 845s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 845s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 845s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 845s # 845s # proxy_class = G_DBUS_PROXY_CLASS (klass); 845s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 845s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 845s # 845s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 845s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 845s # #endif 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new: 845s # * @connection: A #GDBusConnection. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 845s # * @user_data: User data to pass to @callback. 845s # * 845s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 845s # * 845s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 845s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 845s # * 845s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 845s # */ 845s # void 845s # org_project_signaling_iface_proxy_new ( 845s # GDBusConnection *connection, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GAsyncReadyCallback callback, 845s # gpointer user_data) 845s # { 845s # 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); 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_finish: 845s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 845s # * @error: Return location for error or %NULL 845s # * 845s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_proxy_new_finish ( 845s # GAsyncResult *res, 845s # GError **error) 845s # { 845s # GObject *ret; 845s # GObject *source_object; 845s # source_object = g_async_result_get_source_object (res); 845s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 845s # g_object_unref (source_object); 845s # if (ret != NULL) 845s # return ORG_PROJECT_SIGNALING_IFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_sync: 845s # * @connection: A #GDBusConnection. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @error: Return location for error or %NULL 845s # * 845s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 845s # * 845s # * The calling thread is blocked until a reply is received. 845s # * 845s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_proxy_new_sync ( 845s # GDBusConnection *connection, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GError **error) 845s # { 845s # GInitable *ret; 845s # 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); 845s # if (ret != NULL) 845s # return ORG_PROJECT_SIGNALING_IFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_for_bus: 845s # * @bus_type: A #GBusType. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: A bus name (well-known or unique). 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 845s # * @user_data: User data to pass to @callback. 845s # * 845s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 845s # * 845s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 845s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 845s # * 845s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 845s # */ 845s # void 845s # org_project_signaling_iface_proxy_new_for_bus ( 845s # GBusType bus_type, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GAsyncReadyCallback callback, 845s # gpointer user_data) 845s # { 845s # 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); 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_for_bus_finish: 845s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 845s # * @error: Return location for error or %NULL 845s # * 845s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_proxy_new_for_bus_finish ( 845s # GAsyncResult *res, 845s # GError **error) 845s # { 845s # GObject *ret; 845s # GObject *source_object; 845s # source_object = g_async_result_get_source_object (res); 845s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 845s # g_object_unref (source_object); 845s # if (ret != NULL) 845s # return ORG_PROJECT_SIGNALING_IFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_for_bus_sync: 845s # * @bus_type: A #GBusType. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: A bus name (well-known or unique). 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @error: Return location for error or %NULL 845s # * 845s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 845s # * 845s # * The calling thread is blocked until a reply is received. 845s # * 845s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_proxy_new_for_bus_sync ( 845s # GBusType bus_type, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GError **error) 845s # { 845s # GInitable *ret; 845s # 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); 845s # if (ret != NULL) 845s # return ORG_PROJECT_SIGNALING_IFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # 845s # /* ------------------------------------------------------------------------ */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceSkeleton: 845s # * 845s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 845s # */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceSkeletonClass: 845s # * @parent_class: The parent class. 845s # * 845s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 845s # */ 845s # 845s # struct _OrgProjectSignalingIfaceSkeletonPrivate 845s # { 845s # GValue *properties; 845s # GList *changed_properties; 845s # GSource *changed_properties_idle_source; 845s # GMainContext *context; 845s # GMutex lock; 845s # }; 845s # 845s # static void 845s # _org_project_signaling_iface_skeleton_handle_method_call ( 845s # GDBusConnection *connection G_GNUC_UNUSED, 845s # const gchar *sender G_GNUC_UNUSED, 845s # const gchar *object_path G_GNUC_UNUSED, 845s # const gchar *interface_name, 845s # const gchar *method_name, 845s # GVariant *parameters, 845s # GDBusMethodInvocation *invocation, 845s # gpointer user_data) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 845s # _ExtendedGDBusMethodInfo *info; 845s # GVariantIter iter; 845s # GVariant *child; 845s # GValue *paramv; 845s # gsize num_params; 845s # guint num_extra; 845s # gsize n; 845s # guint signal_id; 845s # GValue return_value = G_VALUE_INIT; 845s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 845s # g_assert (info != NULL); 845s # num_params = g_variant_n_children (parameters); 845s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 845s # n = 0; 845s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 845s # g_value_set_object (¶mv[n++], skeleton); 845s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 845s # g_value_set_object (¶mv[n++], invocation); 845s # if (info->pass_fdlist) 845s # { 845s # #ifdef G_OS_UNIX 845s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 845s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 845s # #else 845s # g_assert_not_reached (); 845s # #endif 845s # } 845s # g_variant_iter_init (&iter, parameters); 845s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 845s # { 845s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 845s # if (arg_info->use_gvariant) 845s # { 845s # g_value_init (¶mv[n], G_TYPE_VARIANT); 845s # g_value_set_variant (¶mv[n], child); 845s # n++; 845s # } 845s # else 845s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 845s # g_variant_unref (child); 845s # } 845s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 845s # g_value_init (&return_value, G_TYPE_BOOLEAN); 845s # g_signal_emitv (paramv, signal_id, 0, &return_value); 845s # if (!g_value_get_boolean (&return_value)) 845s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 845s # g_value_unset (&return_value); 845s # for (n = 0; n < num_params + num_extra; n++) 845s # g_value_unset (¶mv[n]); 845s # g_free (paramv); 845s # } 845s # 845s # static GVariant * 845s # _org_project_signaling_iface_skeleton_handle_get_property ( 845s # GDBusConnection *connection G_GNUC_UNUSED, 845s # const gchar *sender G_GNUC_UNUSED, 845s # const gchar *object_path G_GNUC_UNUSED, 845s # const gchar *interface_name G_GNUC_UNUSED, 845s # const gchar *property_name, 845s # GError **error, 845s # gpointer user_data) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 845s # GValue value = G_VALUE_INIT; 845s # GParamSpec *pspec; 845s # _ExtendedGDBusPropertyInfo *info; 845s # GVariant *ret; 845s # ret = NULL; 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 845s # g_assert (info != NULL); 845s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 845s # if (pspec == NULL) 845s # { 845s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 845s # } 845s # else 845s # { 845s # g_value_init (&value, pspec->value_type); 845s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 845s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 845s # g_value_unset (&value); 845s # } 845s # return ret; 845s # } 845s # 845s # static gboolean 845s # _org_project_signaling_iface_skeleton_handle_set_property ( 845s # GDBusConnection *connection G_GNUC_UNUSED, 845s # const gchar *sender G_GNUC_UNUSED, 845s # const gchar *object_path G_GNUC_UNUSED, 845s # const gchar *interface_name G_GNUC_UNUSED, 845s # const gchar *property_name, 845s # GVariant *variant, 845s # GError **error, 845s # gpointer user_data) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 845s # GValue value = G_VALUE_INIT; 845s # GParamSpec *pspec; 845s # _ExtendedGDBusPropertyInfo *info; 845s # gboolean ret; 845s # ret = FALSE; 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 845s # g_assert (info != NULL); 845s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 845s # if (pspec == NULL) 845s # { 845s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 845s # } 845s # else 845s # { 845s # if (info->use_gvariant) 845s # g_value_set_variant (&value, variant); 845s # else 845s # g_dbus_gvariant_to_gvalue (variant, &value); 845s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 845s # g_value_unset (&value); 845s # ret = TRUE; 845s # } 845s # return ret; 845s # } 845s # 845s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 845s # { 845s # _org_project_signaling_iface_skeleton_handle_method_call, 845s # _org_project_signaling_iface_skeleton_handle_get_property, 845s # _org_project_signaling_iface_skeleton_handle_set_property, 845s # {NULL} 845s # }; 845s # 845s # static GDBusInterfaceInfo * 845s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 845s # { 845s # return org_project_signaling_iface_interface_info (); 845s # } 845s # 845s # static GDBusInterfaceVTable * 845s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 845s # { 845s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 845s # } 845s # 845s # static GVariant * 845s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 845s # 845s # GVariantBuilder builder; 845s # guint n; 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 845s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 845s # #else 845s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 845s # #endif 845s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 845s # goto out; 845s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 845s # { 845s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 845s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 845s # { 845s # GVariant *value; 845s # 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); 845s # if (value != NULL) 845s # { 845s # g_variant_take_ref (value); 845s # g_variant_builder_add (&builder, "{sv}", info->name, value); 845s # g_variant_unref (value); 845s # } 845s # } 845s # } 845s # out: 845s # return g_variant_builder_end (&builder); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # static void 845s # _org_project_signaling_iface_on_signal_simple_signal ( 845s # OrgProjectSignalingIface *object) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 845s # 845s # GList *connections, *l; 845s # GVariant *signal_variant; 845s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 845s # 845s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 845s # for (l = connections; l != NULL; l = l->next) 845s # { 845s # GDBusConnection *connection = l->data; 845s # g_dbus_connection_emit_signal (connection, 845s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 845s # signal_variant, NULL); 845s # } 845s # g_variant_unref (signal_variant); 845s # g_list_free_full (connections, g_object_unref); 845s # } 845s # 845s # static void 845s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 845s # OrgProjectSignalingIface *object, 845s # const gchar *arg_arg_o) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 845s # 845s # GList *connections, *l; 845s # GVariant *signal_variant; 845s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 845s # 845s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 845s # arg_arg_o)); 845s # for (l = connections; l != NULL; l = l->next) 845s # { 845s # GDBusConnection *connection = l->data; 845s # g_dbus_connection_emit_signal (connection, 845s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 845s # signal_variant, NULL); 845s # } 845s # g_variant_unref (signal_variant); 845s # g_list_free_full (connections, g_object_unref); 845s # } 845s # 845s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 845s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 845s # 845s # #else 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 845s # 845s # #endif 845s # static void 845s # org_project_signaling_iface_skeleton_finalize (GObject *object) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 845s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 845s # if (skeleton->priv->changed_properties_idle_source != NULL) 845s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 845s # g_main_context_unref (skeleton->priv->context); 845s # g_mutex_clear (&skeleton->priv->lock); 845s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 845s # { 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 845s # #else 845s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 845s # #endif 845s # 845s # g_mutex_init (&skeleton->priv->lock); 845s # skeleton->priv->context = g_main_context_ref_thread_default (); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 845s # { 845s # GObjectClass *gobject_class; 845s # GDBusInterfaceSkeletonClass *skeleton_class; 845s # 845s # gobject_class = G_OBJECT_CLASS (klass); 845s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 845s # 845s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 845s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 845s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 845s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 845s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 845s # 845s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 845s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 845s # #endif 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 845s # { 845s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 845s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_skeleton_new: 845s # * 845s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_skeleton_new (void) 845s # { 845s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 845s # } 845s # Error: 845s # 845s # /tmp/tmp9htticof/tmpjf_z1yds.xml: 845s # 845s # 845s # 845s # 845s # 845s # 845s # 845s # 845s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9htticof/tmpjf_z1yds.xml', '--output', '-', '--body'] 845s # Return code: 0 845s # Output: 845s # /* 845s # * This file is generated by gdbus-codegen, do not modify it. 845s # * 845s # * The license of this code is the same as for the D-Bus interface description 845s # * it was derived from. Note that it links to GLib, so must comply with the 845s # * LGPL linking clauses. 845s # */ 845s # 845s # #ifdef HAVE_CONFIG_H 845s # # include "config.h" 845s # #endif 845s # 845s # #include 845s # #ifdef G_OS_UNIX 845s # # include 845s # #endif 845s # 845s # #ifdef G_ENABLE_DEBUG 845s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 845s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 845s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 845s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 845s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 845s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 845s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 845s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 845s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 845s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 845s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 845s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 845s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 845s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 845s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 845s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 845s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 845s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 845s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 845s # #else /* !G_ENABLE_DEBUG */ 845s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 845s # * Do not access GValues directly in your code. Instead, use the 845s # * g_value_get_*() functions 845s # */ 845s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 845s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 845s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 845s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 845s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 845s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 845s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 845s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 845s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 845s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 845s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 845s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 845s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 845s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 845s # #endif /* !G_ENABLE_DEBUG */ 845s # 845s # typedef struct 845s # { 845s # GDBusArgInfo parent_struct; 845s # gboolean use_gvariant; 845s # } _ExtendedGDBusArgInfo; 845s # 845s # typedef struct 845s # { 845s # GDBusMethodInfo parent_struct; 845s # const gchar *signal_name; 845s # gboolean pass_fdlist; 845s # } _ExtendedGDBusMethodInfo; 845s # 845s # typedef struct 845s # { 845s # GDBusSignalInfo parent_struct; 845s # const gchar *signal_name; 845s # } _ExtendedGDBusSignalInfo; 845s # 845s # typedef struct 845s # { 845s # GDBusPropertyInfo parent_struct; 845s # const gchar *hyphen_name; 845s # guint use_gvariant : 1; 845s # guint emits_changed_signal : 1; 845s # } _ExtendedGDBusPropertyInfo; 845s # 845s # typedef struct 845s # { 845s # GDBusInterfaceInfo parent_struct; 845s # const gchar *hyphen_name; 845s # } _ExtendedGDBusInterfaceInfo; 845s # 845s # typedef struct 845s # { 845s # const _ExtendedGDBusPropertyInfo *info; 845s # guint prop_id; 845s # GValue orig_value; /* the value before the change */ 845s # } ChangedProperty; 845s # 845s # static void 845s # _changed_property_free (ChangedProperty *data) 845s # { 845s # g_value_unset (&data->orig_value); 845s # g_free (data); 845s # } 845s # 845s # static gboolean 845s # _g_strv_equal0 (gchar **a, gchar **b) 845s # { 845s # gboolean ret = FALSE; 845s # guint n; 845s # if (a == NULL && b == NULL) 845s # { 845s # ret = TRUE; 845s # goto out; 845s # } 845s # if (a == NULL || b == NULL) 845s # goto out; 845s # if (g_strv_length (a) != g_strv_length (b)) 845s # goto out; 845s # for (n = 0; a[n] != NULL; n++) 845s # if (g_strcmp0 (a[n], b[n]) != 0) 845s # goto out; 845s # ret = TRUE; 845s # out: 845s # return ret; 845s # } 845s # 845s # static gboolean 845s # _g_variant_equal0 (GVariant *a, GVariant *b) 845s # { 845s # gboolean ret = FALSE; 845s # if (a == NULL && b == NULL) 845s # { 845s # ret = TRUE; 845s # goto out; 845s # } 845s # if (a == NULL || b == NULL) 845s # goto out; 845s # ret = g_variant_equal (a, b); 845s # out: 845s # return ret; 845s # } 845s # 845s # G_GNUC_UNUSED static gboolean 845s # _g_value_equal (const GValue *a, const GValue *b) 845s # { 845s # gboolean ret = FALSE; 845s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 845s # switch (G_VALUE_TYPE (a)) 845s # { 845s # case G_TYPE_BOOLEAN: 845s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 845s # break; 845s # case G_TYPE_UCHAR: 845s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 845s # break; 845s # case G_TYPE_INT: 845s # ret = (g_value_get_int (a) == g_value_get_int (b)); 845s # break; 845s # case G_TYPE_UINT: 845s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 845s # break; 845s # case G_TYPE_INT64: 845s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 845s # break; 845s # case G_TYPE_UINT64: 845s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 845s # break; 845s # case G_TYPE_DOUBLE: 845s # { 845s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 845s # gdouble da = g_value_get_double (a); 845s # gdouble db = g_value_get_double (b); 845s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 845s # } 845s # break; 845s # case G_TYPE_STRING: 845s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 845s # break; 845s # case G_TYPE_VARIANT: 845s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 845s # break; 845s # default: 845s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 845s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 845s # else 845s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 845s # break; 845s # } 845s # return ret; 845s # } 845s # 845s # /* ------------------------------------------------------------------------ 845s # * Code for interface org.project.SignalingIface 845s # * ------------------------------------------------------------------------ 845s # */ 845s # 845s # /** 845s # * SECTION:OrgProjectSignalingIface 845s # * @title: OrgProjectSignalingIface 845s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 845s # * 845s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 845s # */ 845s # 845s # enum 845s # { 845s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 845s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 845s # }; 845s # 845s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 845s # 845s # /* ---- Introspection data for org.project.SignalingIface ---- */ 845s # 845s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 845s # { 845s # { 845s # -1, 845s # (gchar *) "SimpleSignal", 845s # NULL, 845s # NULL 845s # }, 845s # "simple-signal" 845s # }; 845s # 845s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g = 845s # { 845s # { 845s # -1, 845s # (gchar *) "arg_g", 845s # (gchar *) "g", 845s # NULL 845s # }, 845s # FALSE 845s # }; 845s # 845s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 845s # { 845s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g.parent_struct, 845s # NULL 845s # }; 845s # 845s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 845s # { 845s # { 845s # -1, 845s # (gchar *) "SingleArgSignalG", 845s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 845s # NULL 845s # }, 845s # "single-arg-signal-g" 845s # }; 845s # 845s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 845s # { 845s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 845s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 845s # NULL 845s # }; 845s # 845s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 845s # { 845s # { 845s # -1, 845s # (gchar *) "org.project.SignalingIface", 845s # NULL, 845s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 845s # NULL, 845s # NULL 845s # }, 845s # "org-project-signaling-iface", 845s # }; 845s # 845s # 845s # /** 845s # * org_project_signaling_iface_interface_info: 845s # * 845s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 845s # * 845s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 845s # */ 845s # GDBusInterfaceInfo * 845s # org_project_signaling_iface_interface_info (void) 845s # { 845s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_override_properties: 845s # * @klass: The class structure for a #GObject derived class. 845s # * @property_id_begin: The property id to assign to the first overridden property. 845s # * 845s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 845s # * The properties are overridden in the order they are defined. 845s # * 845s # * Returns: The last property id. 845s # */ 845s # guint 845s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 845s # { 845s # return property_id_begin - 1; 845s # } 845s # 845s # 845s # inline static void 845s # org_project_signaling_iface_signal_marshal_simple_signal ( 845s # GClosure *closure, 845s # GValue *return_value, 845s # unsigned int n_param_values, 845s # const GValue *param_values, 845s # void *invocation_hint, 845s # void *marshal_data) 845s # { 845s # g_cclosure_marshal_VOID__VOID (closure, 845s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 845s # } 845s # 845s # inline static void 845s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 845s # GClosure *closure, 845s # GValue *return_value, 845s # unsigned int n_param_values, 845s # const GValue *param_values, 845s # void *invocation_hint, 845s # void *marshal_data) 845s # { 845s # g_cclosure_marshal_VOID__STRING (closure, 845s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 845s # } 845s # 845s # 845s # /** 845s # * OrgProjectSignalingIface: 845s # * 845s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 845s # */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceIface: 845s # * @parent_iface: The parent interface. 845s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 845s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 845s # * 845s # * Virtual table for the D-Bus interface org.project.SignalingIface. 845s # */ 845s # 845s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 845s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 845s # 845s # static void 845s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 845s # { 845s # /* GObject signals for received D-Bus signals: */ 845s # /** 845s # * OrgProjectSignalingIface::simple-signal: 845s # * @object: A #OrgProjectSignalingIface. 845s # * 845s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 845s # * 845s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 845s # */ 845s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 845s # g_signal_new ("simple-signal", 845s # G_TYPE_FROM_INTERFACE (iface), 845s # G_SIGNAL_RUN_LAST, 845s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 845s # NULL, 845s # NULL, 845s # org_project_signaling_iface_signal_marshal_simple_signal, 845s # G_TYPE_NONE, 845s # 0); 845s # 845s # /** 845s # * OrgProjectSignalingIface::single-arg-signal-g: 845s # * @object: A #OrgProjectSignalingIface. 845s # * @arg_arg_g: Argument. 845s # * 845s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 845s # * 845s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 845s # */ 845s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 845s # g_signal_new ("single-arg-signal-g", 845s # G_TYPE_FROM_INTERFACE (iface), 845s # G_SIGNAL_RUN_LAST, 845s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 845s # NULL, 845s # NULL, 845s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 845s # G_TYPE_NONE, 845s # 1, G_TYPE_STRING); 845s # 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_emit_simple_signal: 845s # * @object: A #OrgProjectSignalingIface. 845s # * 845s # * Emits the "SimpleSignal" D-Bus signal. 845s # */ 845s # void 845s # org_project_signaling_iface_emit_simple_signal ( 845s # OrgProjectSignalingIface *object) 845s # { 845s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_emit_single_arg_signal_g: 845s # * @object: A #OrgProjectSignalingIface. 845s # * @arg_arg_g: Argument to pass with the signal. 845s # * 845s # * Emits the "SingleArgSignalG" D-Bus signal. 845s # */ 845s # void 845s # org_project_signaling_iface_emit_single_arg_signal_g ( 845s # OrgProjectSignalingIface *object, 845s # const gchar *arg_arg_g) 845s # { 845s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_arg_g); 845s # } 845s # 845s # /* ------------------------------------------------------------------------ */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceProxy: 845s # * 845s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 845s # */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceProxyClass: 845s # * @parent_class: The parent class. 845s # * 845s # * Class structure for #OrgProjectSignalingIfaceProxy. 845s # */ 845s # 845s # struct _OrgProjectSignalingIfaceProxyPrivate 845s # { 845s # GData *qdata; 845s # }; 845s # 845s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 845s # 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 845s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 845s # 845s # #else 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 845s # 845s # #endif 845s # static void 845s # org_project_signaling_iface_proxy_finalize (GObject *object) 845s # { 845s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 845s # g_datalist_clear (&proxy->priv->qdata); 845s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 845s # guint prop_id G_GNUC_UNUSED, 845s # GValue *value G_GNUC_UNUSED, 845s # GParamSpec *pspec G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 845s # guint prop_id G_GNUC_UNUSED, 845s # const GValue *value G_GNUC_UNUSED, 845s # GParamSpec *pspec G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 845s # const gchar *sender_name G_GNUC_UNUSED, 845s # const gchar *signal_name, 845s # GVariant *parameters) 845s # { 845s # _ExtendedGDBusSignalInfo *info; 845s # GVariantIter iter; 845s # GVariant *child; 845s # GValue *paramv; 845s # gsize num_params; 845s # gsize n; 845s # guint signal_id; 845s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 845s # if (info == NULL) 845s # return; 845s # num_params = g_variant_n_children (parameters); 845s # paramv = g_new0 (GValue, num_params + 1); 845s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 845s # g_value_set_object (¶mv[0], proxy); 845s # g_variant_iter_init (&iter, parameters); 845s # n = 1; 845s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 845s # { 845s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 845s # if (arg_info->use_gvariant) 845s # { 845s # g_value_init (¶mv[n], G_TYPE_VARIANT); 845s # g_value_set_variant (¶mv[n], child); 845s # n++; 845s # } 845s # else 845s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 845s # g_variant_unref (child); 845s # } 845s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 845s # g_signal_emitv (paramv, signal_id, 0, NULL); 845s # for (n = 0; n < num_params + 1; n++) 845s # g_value_unset (¶mv[n]); 845s # g_free (paramv); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 845s # GVariant *changed_properties, 845s # const gchar *const *invalidated_properties) 845s # { 845s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 845s # guint n; 845s # const gchar *key; 845s # GVariantIter *iter; 845s # _ExtendedGDBusPropertyInfo *info; 845s # g_variant_get (changed_properties, "a{sv}", &iter); 845s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 845s # { 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 845s # g_datalist_remove_data (&proxy->priv->qdata, key); 845s # if (info != NULL) 845s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 845s # } 845s # g_variant_iter_free (iter); 845s # for (n = 0; invalidated_properties[n] != NULL; n++) 845s # { 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 845s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 845s # if (info != NULL) 845s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 845s # } 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 845s # { 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 845s # #else 845s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 845s # #endif 845s # 845s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 845s # { 845s # GObjectClass *gobject_class; 845s # GDBusProxyClass *proxy_class; 845s # 845s # gobject_class = G_OBJECT_CLASS (klass); 845s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 845s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 845s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 845s # 845s # proxy_class = G_DBUS_PROXY_CLASS (klass); 845s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 845s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 845s # 845s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 845s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 845s # #endif 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new: 845s # * @connection: A #GDBusConnection. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 845s # * @user_data: User data to pass to @callback. 845s # * 845s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 845s # * 845s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 845s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 845s # * 845s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 845s # */ 845s # void 845s # org_project_signaling_iface_proxy_new ( 845s # GDBusConnection *connection, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GAsyncReadyCallback callback, 845s # gpointer user_data) 845s # { 845s # 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); 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_finish: 845s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 845s # * @error: Return location for error or %NULL 845s # * 845s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_proxy_new_finish ( 845s # GAsyncResult *res, 845s # GError **error) 845s # { 845s # GObject *ret; 845s # GObject *source_object; 845s # source_object = g_async_result_get_source_object (res); 845s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 845s # g_object_unref (source_object); 845s # if (ret != NULL) 845s # return ORG_PROJECT_SIGNALING_IFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_sync: 845s # * @connection: A #GDBusConnection. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @error: Return location for error or %NULL 845s # * 845s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 845s # * 845s # * The calling thread is blocked until a reply is received. 845s # * 845s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_proxy_new_sync ( 845s # GDBusConnection *connection, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GError **error) 845s # { 845s # GInitable *ret; 845s # 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); 845s # if (ret != NULL) 845s # return ORG_PROJECT_SIGNALING_IFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_for_bus: 845s # * @bus_type: A #GBusType. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: A bus name (well-known or unique). 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 845s # * @user_data: User data to pass to @callback. 845s # * 845s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 845s # * 845s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 845s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 845s # * 845s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 845s # */ 845s # void 845s # org_project_signaling_iface_proxy_new_for_bus ( 845s # GBusType bus_type, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GAsyncReadyCallback callback, 845s # gpointer user_data) 845s # { 845s # 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); 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_for_bus_finish: 845s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 845s # * @error: Return location for error or %NULL 845s # * 845s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_proxy_new_for_bus_finish ( 845s # GAsyncResult *res, 845s # GError **error) 845s # { 845s # GObject *ret; 845s # GObject *source_object; 845s # source_object = g_async_result_get_source_object (res); 845s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 845s # g_object_unref (source_object); 845s # if (ret != NULL) 845s # return ORG_PROJECT_SIGNALING_IFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_for_bus_sync: 845s # * @bus_type: A #GBusType. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: A bus name (well-known or unique). 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @error: Return location for error or %NULL 845s # * 845s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 845s # * 845s # * The calling thread is blocked until a reply is received. 845s # * 845s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_proxy_new_for_bus_sync ( 845s # GBusType bus_type, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GError **error) 845s # { 845s # GInitable *ret; 845s # 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); 845s # if (ret != NULL) 845s # return ORG_PROJECT_SIGNALING_IFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # 845s # /* ------------------------------------------------------------------------ */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceSkeleton: 845s # * 845s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 845s # */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceSkeletonClass: 845s # * @parent_class: The parent class. 845s # * 845s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 845s # */ 845s # 845s # struct _OrgProjectSignalingIfaceSkeletonPrivate 845s # { 845s # GValue *properties; 845s # GList *changed_properties; 845s # GSource *changed_properties_idle_source; 845s # GMainContext *context; 845s # GMutex lock; 845s # }; 845s # 845s # static void 845s # _org_project_signaling_iface_skeleton_handle_method_call ( 845s # GDBusConnection *connection G_GNUC_UNUSED, 845s # const gchar *sender G_GNUC_UNUSED, 845s # const gchar *object_path G_GNUC_UNUSED, 845s # const gchar *interface_name, 845s # const gchar *method_name, 845s # GVariant *parameters, 845s # GDBusMethodInvocation *invocation, 845s # gpointer user_data) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 845s # _ExtendedGDBusMethodInfo *info; 845s # GVariantIter iter; 845s # GVariant *child; 845s # GValue *paramv; 845s # gsize num_params; 845s # guint num_extra; 845s # gsize n; 845s # guint signal_id; 845s # GValue return_value = G_VALUE_INIT; 845s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 845s # g_assert (info != NULL); 845s # num_params = g_variant_n_children (parameters); 845s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 845s # n = 0; 845s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 845s # g_value_set_object (¶mv[n++], skeleton); 845s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 845s # g_value_set_object (¶mv[n++], invocation); 845s # if (info->pass_fdlist) 845s # { 845s # #ifdef G_OS_UNIX 845s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 845s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 845s # #else 845s # g_assert_not_reached (); 845s # #endif 845s # } 845s # g_variant_iter_init (&iter, parameters); 845s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 845s # { 845s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 845s # if (arg_info->use_gvariant) 845s # { 845s # g_value_init (¶mv[n], G_TYPE_VARIANT); 845s # g_value_set_variant (¶mv[n], child); 845s # n++; 845s # } 845s # else 845s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 845s # g_variant_unref (child); 845s # } 845s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 845s # g_value_init (&return_value, G_TYPE_BOOLEAN); 845s # g_signal_emitv (paramv, signal_id, 0, &return_value); 845s # if (!g_value_get_boolean (&return_value)) 845s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 845s # g_value_unset (&return_value); 845s # for (n = 0; n < num_params + num_extra; n++) 845s # g_value_unset (¶mv[n]); 845s # g_free (paramv); 845s # } 845s # 845s # static GVariant * 845s # _org_project_signaling_iface_skeleton_handle_get_property ( 845s # GDBusConnection *connection G_GNUC_UNUSED, 845s # const gchar *sender G_GNUC_UNUSED, 845s # const gchar *object_path G_GNUC_UNUSED, 845s # const gchar *interface_name G_GNUC_UNUSED, 845s # const gchar *property_name, 845s # GError **error, 845s # gpointer user_data) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 845s # GValue value = G_VALUE_INIT; 845s # GParamSpec *pspec; 845s # _ExtendedGDBusPropertyInfo *info; 845s # GVariant *ret; 845s # ret = NULL; 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 845s # g_assert (info != NULL); 845s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 845s # if (pspec == NULL) 845s # { 845s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 845s # } 845s # else 845s # { 845s # g_value_init (&value, pspec->value_type); 845s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 845s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 845s # g_value_unset (&value); 845s # } 845s # return ret; 845s # } 845s # 845s # static gboolean 845s # _org_project_signaling_iface_skeleton_handle_set_property ( 845s # GDBusConnection *connection G_GNUC_UNUSED, 845s # const gchar *sender G_GNUC_UNUSED, 845s # const gchar *object_path G_GNUC_UNUSED, 845s # const gchar *interface_name G_GNUC_UNUSED, 845s # const gchar *property_name, 845s # GVariant *variant, 845s # GError **error, 845s # gpointer user_data) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 845s # GValue value = G_VALUE_INIT; 845s # GParamSpec *pspec; 845s # _ExtendedGDBusPropertyInfo *info; 845s # gboolean ret; 845s # ret = FALSE; 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 845s # g_assert (info != NULL); 845s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 845s # if (pspec == NULL) 845s # { 845s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 845s # } 845s # else 845s # { 845s # if (info->use_gvariant) 845s # g_value_set_variant (&value, variant); 845s # else 845s # g_dbus_gvariant_to_gvalue (variant, &value); 845s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 845s # g_value_unset (&value); 845s # ret = TRUE; 845s # } 845s # return ret; 845s # } 845s # 845s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 845s # { 845s # _org_project_signaling_iface_skeleton_handle_method_call, 845s # _org_project_signaling_iface_skeleton_handle_get_property, 845s # _org_project_signaling_iface_skeleton_handle_set_property, 845s # {NULL} 845s # }; 845s # 845s # static GDBusInterfaceInfo * 845s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 845s # { 845s # return org_project_signaling_iface_interface_info (); 845s # } 845s # 845s # static GDBusInterfaceVTable * 845s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 845s # { 845s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 845s # } 845s # 845s # static GVariant * 845s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 845s # 845s # GVariantBuilder builder; 845s # guint n; 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 845s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 845s # #else 845s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 845s # #endif 845s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 845s # goto out; 845s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 845s # { 845s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 845s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 845s # { 845s # GVariant *value; 845s # 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); 845s # if (value != NULL) 845s # { 845s # g_variant_take_ref (value); 845s # g_variant_builder_add (&builder, "{sv}", info->name, value); 845s # g_variant_unref (value); 845s # } 845s # } 845s # } 845s # out: 845s # return g_variant_builder_end (&builder); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # static void 845s # _org_project_signaling_iface_on_signal_simple_signal ( 845s # OrgProjectSignalingIface *object) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 845s # 845s # GList *connections, *l; 845s # GVariant *signal_variant; 845s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 845s # 845s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 845s # for (l = connections; l != NULL; l = l->next) 845s # { 845s # GDBusConnection *connection = l->data; 845s # g_dbus_connection_emit_signal (connection, 845s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 845s # signal_variant, NULL); 845s # } 845s # g_variant_unref (signal_variant); 845s # g_list_free_full (connections, g_object_unref); 845s # } 845s # 845s # static void 845s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 845s # OrgProjectSignalingIface *object, 845s # const gchar *arg_arg_g) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 845s # 845s # GList *connections, *l; 845s # GVariant *signal_variant; 845s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 845s # 845s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 845s # arg_arg_g)); 845s # for (l = connections; l != NULL; l = l->next) 845s # { 845s # GDBusConnection *connection = l->data; 845s # g_dbus_connection_emit_signal (connection, 845s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 845s # signal_variant, NULL); 845s # } 845s # g_variant_unref (signal_variant); 845s # g_list_free_full (connections, g_object_unref); 845s # } 845s # 845s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 845s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 845s # 845s # #else 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 845s # 845s # #endif 845s # static void 845s # org_project_signaling_iface_skeleton_finalize (GObject *object) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 845s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 845s # if (skeleton->priv->changed_properties_idle_source != NULL) 845s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 845s # g_main_context_unref (skeleton->priv->context); 845s # g_mutex_clear (&skeleton->priv->lock); 845s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 845s # { 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 845s # #else 845s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 845s # #endif 845s # 845s # g_mutex_init (&skeleton->priv->lock); 845s # skeleton->priv->context = g_main_context_ref_thread_default (); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 845s # { 845s # GObjectClass *gobject_class; 845s # GDBusInterfaceSkeletonClass *skeleton_class; 845s # 845s # gobject_class = G_OBJECT_CLASS (klass); 845s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 845s # 845s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 845s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 845s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 845s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 845s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 845s # 845s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 845s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 845s # #endif 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 845s # { 845s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 845s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_skeleton_new: 845s # * 845s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_skeleton_new (void) 845s # { 845s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 845s # } 845s # Error: 845s # 845s # /tmp/tmp9htticof/tmp210tltwb.xml: 845s # 845s # 845s # 845s # 845s # 845s # 845s # 845s # 845s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9htticof/tmp210tltwb.xml', '--output', '-', '--body'] 845s # Return code: 0 845s # Output: 845s # /* 845s # * This file is generated by gdbus-codegen, do not modify it. 845s # * 845s # * The license of this code is the same as for the D-Bus interface description 845s # * it was derived from. Note that it links to GLib, so must comply with the 845s # * LGPL linking clauses. 845s # */ 845s # 845s # #ifdef HAVE_CONFIG_H 845s # # include "config.h" 845s # #endif 845s # 845s # #include 845s # #ifdef G_OS_UNIX 845s # # include 845s # #endif 845s # 845s # #ifdef G_ENABLE_DEBUG 845s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 845s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 845s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 845s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 845s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 845s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 845s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 845s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 845s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 845s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 845s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 845s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 845s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 845s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 845s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 845s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 845s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 845s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 845s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 845s # #else /* !G_ENABLE_DEBUG */ 845s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 845s # * Do not access GValues directly in your code. Instead, use the 845s # * g_value_get_*() functions 845s # */ 845s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 845s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 845s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 845s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 845s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 845s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 845s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 845s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 845s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 845s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 845s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 845s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 845s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 845s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 845s # #endif /* !G_ENABLE_DEBUG */ 845s # 845s # typedef struct 845s # { 845s # GDBusArgInfo parent_struct; 845s # gboolean use_gvariant; 845s # } _ExtendedGDBusArgInfo; 845s # 845s # typedef struct 845s # { 845s # GDBusMethodInfo parent_struct; 845s # const gchar *signal_name; 845s # gboolean pass_fdlist; 845s # } _ExtendedGDBusMethodInfo; 845s # 845s # typedef struct 845s # { 845s # GDBusSignalInfo parent_struct; 845s # const gchar *signal_name; 845s # } _ExtendedGDBusSignalInfo; 845s # 845s # typedef struct 845s # { 845s # GDBusPropertyInfo parent_struct; 845s # const gchar *hyphen_name; 845s # guint use_gvariant : 1; 845s # guint emits_changed_signal : 1; 845s # } _ExtendedGDBusPropertyInfo; 845s # 845s # typedef struct 845s # { 845s # GDBusInterfaceInfo parent_struct; 845s # const gchar *hyphen_name; 845s # } _ExtendedGDBusInterfaceInfo; 845s # 845s # typedef struct 845s # { 845s # const _ExtendedGDBusPropertyInfo *info; 845s # guint prop_id; 845s # GValue orig_value; /* the value before the change */ 845s # } ChangedProperty; 845s # 845s # static void 845s # _changed_property_free (ChangedProperty *data) 845s # { 845s # g_value_unset (&data->orig_value); 845s # g_free (data); 845s # } 845s # 845s # static gboolean 845s # _g_strv_equal0 (gchar **a, gchar **b) 845s # { 845s # gboolean ret = FALSE; 845s # guint n; 845s # if (a == NULL && b == NULL) 845s # { 845s # ret = TRUE; 845s # goto out; 845s # } 845s # if (a == NULL || b == NULL) 845s # goto out; 845s # if (g_strv_length (a) != g_strv_length (b)) 845s # goto out; 845s # for (n = 0; a[n] != NULL; n++) 845s # if (g_strcmp0 (a[n], b[n]) != 0) 845s # goto out; 845s # ret = TRUE; 845s # out: 845s # return ret; 845s # } 845s # 845s # static gboolean 845s # _g_variant_equal0 (GVariant *a, GVariant *b) 845s # { 845s # gboolean ret = FALSE; 845s # if (a == NULL && b == NULL) 845s # { 845s # ret = TRUE; 845s # goto out; 845s # } 845s # if (a == NULL || b == NULL) 845s # goto out; 845s # ret = g_variant_equal (a, b); 845s # out: 845s # return ret; 845s # } 845s # 845s # G_GNUC_UNUSED static gboolean 845s # _g_value_equal (const GValue *a, const GValue *b) 845s # { 845s # gboolean ret = FALSE; 845s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 845s # switch (G_VALUE_TYPE (a)) 845s # { 845s # case G_TYPE_BOOLEAN: 845s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 845s # break; 845s # case G_TYPE_UCHAR: 845s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 845s # break; 845s # case G_TYPE_INT: 845s # ret = (g_value_get_int (a) == g_value_get_int (b)); 845s # break; 845s # case G_TYPE_UINT: 845s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 845s # break; 845s # case G_TYPE_INT64: 845s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 845s # break; 845s # case G_TYPE_UINT64: 845s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 845s # break; 845s # case G_TYPE_DOUBLE: 845s # { 845s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 845s # gdouble da = g_value_get_double (a); 845s # gdouble db = g_value_get_double (b); 845s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 845s # } 845s # break; 845s # case G_TYPE_STRING: 845s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 845s # break; 845s # case G_TYPE_VARIANT: 845s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 845s # break; 845s # default: 845s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 845s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 845s # else 845s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 845s # break; 845s # } 845s # return ret; 845s # } 845s # 845s # /* ------------------------------------------------------------------------ 845s # * Code for interface org.project.SignalingIface 845s # * ------------------------------------------------------------------------ 845s # */ 845s # 845s # /** 845s # * SECTION:OrgProjectSignalingIface 845s # * @title: OrgProjectSignalingIface 845s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 845s # * 845s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 845s # */ 845s # 845s # enum 845s # { 845s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 845s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 845s # }; 845s # 845s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 845s # 845s # /* ---- Introspection data for org.project.SignalingIface ---- */ 845s # 845s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 845s # { 845s # { 845s # -1, 845s # (gchar *) "SimpleSignal", 845s # NULL, 845s # NULL 845s # }, 845s # "simple-signal" 845s # }; 845s # 845s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h = 845s # { 845s # { 845s # -1, 845s # (gchar *) "arg_h", 845s # (gchar *) "h", 845s # NULL 845s # }, 845s # FALSE 845s # }; 845s # 845s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 845s # { 845s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h.parent_struct, 845s # NULL 845s # }; 845s # 845s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 845s # { 845s # { 845s # -1, 845s # (gchar *) "SingleArgSignalH", 845s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 845s # NULL 845s # }, 845s # "single-arg-signal-h" 845s # }; 845s # 845s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 845s # { 845s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 845s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 845s # NULL 845s # }; 845s # 845s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 845s # { 845s # { 845s # -1, 845s # (gchar *) "org.project.SignalingIface", 845s # NULL, 845s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 845s # NULL, 845s # NULL 845s # }, 845s # "org-project-signaling-iface", 845s # }; 845s # 845s # 845s # /** 845s # * org_project_signaling_iface_interface_info: 845s # * 845s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 845s # * 845s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 845s # */ 845s # GDBusInterfaceInfo * 845s # org_project_signaling_iface_interface_info (void) 845s # { 845s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_override_properties: 845s # * @klass: The class structure for a #GObject derived class. 845s # * @property_id_begin: The property id to assign to the first overridden property. 845s # * 845s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 845s # * The properties are overridden in the order they are defined. 845s # * 845s # * Returns: The last property id. 845s # */ 845s # guint 845s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 845s # { 845s # return property_id_begin - 1; 845s # } 845s # 845s # 845s # inline static void 845s # org_project_signaling_iface_signal_marshal_simple_signal ( 845s # GClosure *closure, 845s # GValue *return_value, 845s # unsigned int n_param_values, 845s # const GValue *param_values, 845s # void *invocation_hint, 845s # void *marshal_data) 845s # { 845s # g_cclosure_marshal_VOID__VOID (closure, 845s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 845s # } 845s # 845s # inline static void 845s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 845s # GClosure *closure, 845s # GValue *return_value, 845s # unsigned int n_param_values, 845s # const GValue *param_values, 845s # void *invocation_hint, 845s # void *marshal_data) 845s # { 845s # g_cclosure_marshal_VOID__VARIANT (closure, 845s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 845s # } 845s # 845s # 845s # /** 845s # * OrgProjectSignalingIface: 845s # * 845s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 845s # */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceIface: 845s # * @parent_iface: The parent interface. 845s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 845s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 845s # * 845s # * Virtual table for the D-Bus interface org.project.SignalingIface. 845s # */ 845s # 845s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 845s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 845s # 845s # static void 845s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 845s # { 845s # /* GObject signals for received D-Bus signals: */ 845s # /** 845s # * OrgProjectSignalingIface::simple-signal: 845s # * @object: A #OrgProjectSignalingIface. 845s # * 845s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 845s # * 845s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 845s # */ 845s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 845s # g_signal_new ("simple-signal", 845s # G_TYPE_FROM_INTERFACE (iface), 845s # G_SIGNAL_RUN_LAST, 845s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 845s # NULL, 845s # NULL, 845s # org_project_signaling_iface_signal_marshal_simple_signal, 845s # G_TYPE_NONE, 845s # 0); 845s # 845s # /** 845s # * OrgProjectSignalingIface::single-arg-signal-h: 845s # * @object: A #OrgProjectSignalingIface. 845s # * @arg_arg_h: Argument. 845s # * 845s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 845s # * 845s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 845s # */ 845s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 845s # g_signal_new ("single-arg-signal-h", 845s # G_TYPE_FROM_INTERFACE (iface), 845s # G_SIGNAL_RUN_LAST, 845s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 845s # NULL, 845s # NULL, 845s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 845s # G_TYPE_NONE, 845s # 1, G_TYPE_VARIANT); 845s # 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_emit_simple_signal: 845s # * @object: A #OrgProjectSignalingIface. 845s # * 845s # * Emits the "SimpleSignal" D-Bus signal. 845s # */ 845s # void 845s # org_project_signaling_iface_emit_simple_signal ( 845s # OrgProjectSignalingIface *object) 845s # { 845s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_emit_single_arg_signal_h: 845s # * @object: A #OrgProjectSignalingIface. 845s # * @arg_arg_h: Argument to pass with the signal. 845s # * 845s # * Emits the "SingleArgSignalH" D-Bus signal. 845s # */ 845s # void 845s # org_project_signaling_iface_emit_single_arg_signal_h ( 845s # OrgProjectSignalingIface *object, 845s # GVariant *arg_arg_h) 845s # { 845s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_arg_h); 845s # } 845s # 845s # /* ------------------------------------------------------------------------ */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceProxy: 845s # * 845s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 845s # */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceProxyClass: 845s # * @parent_class: The parent class. 845s # * 845s # * Class structure for #OrgProjectSignalingIfaceProxy. 845s # */ 845s # 845s # struct _OrgProjectSignalingIfaceProxyPrivate 845s # { 845s # GData *qdata; 845s # }; 845s # 845s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 845s # 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 845s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 845s # 845s # #else 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 845s # 845s # #endif 845s # static void 845s # org_project_signaling_iface_proxy_finalize (GObject *object) 845s # { 845s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 845s # g_datalist_clear (&proxy->priv->qdata); 845s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 845s # guint prop_id G_GNUC_UNUSED, 845s # GValue *value G_GNUC_UNUSED, 845s # GParamSpec *pspec G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 845s # guint prop_id G_GNUC_UNUSED, 845s # const GValue *value G_GNUC_UNUSED, 845s # GParamSpec *pspec G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 845s # const gchar *sender_name G_GNUC_UNUSED, 845s # const gchar *signal_name, 845s # GVariant *parameters) 845s # { 845s # _ExtendedGDBusSignalInfo *info; 845s # GVariantIter iter; 845s # GVariant *child; 845s # GValue *paramv; 845s # gsize num_params; 845s # gsize n; 845s # guint signal_id; 845s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 845s # if (info == NULL) 845s # return; 845s # num_params = g_variant_n_children (parameters); 845s # paramv = g_new0 (GValue, num_params + 1); 845s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 845s # g_value_set_object (¶mv[0], proxy); 845s # g_variant_iter_init (&iter, parameters); 845s # n = 1; 845s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 845s # { 845s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 845s # if (arg_info->use_gvariant) 845s # { 845s # g_value_init (¶mv[n], G_TYPE_VARIANT); 845s # g_value_set_variant (¶mv[n], child); 845s # n++; 845s # } 845s # else 845s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 845s # g_variant_unref (child); 845s # } 845s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 845s # g_signal_emitv (paramv, signal_id, 0, NULL); 845s # for (n = 0; n < num_params + 1; n++) 845s # g_value_unset (¶mv[n]); 845s # g_free (paramv); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 845s # GVariant *changed_properties, 845s # const gchar *const *invalidated_properties) 845s # { 845s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 845s # guint n; 845s # const gchar *key; 845s # GVariantIter *iter; 845s # _ExtendedGDBusPropertyInfo *info; 845s # g_variant_get (changed_properties, "a{sv}", &iter); 845s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 845s # { 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 845s # g_datalist_remove_data (&proxy->priv->qdata, key); 845s # if (info != NULL) 845s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 845s # } 845s # g_variant_iter_free (iter); 845s # for (n = 0; invalidated_properties[n] != NULL; n++) 845s # { 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 845s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 845s # if (info != NULL) 845s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 845s # } 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 845s # { 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 845s # #else 845s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 845s # #endif 845s # 845s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 845s # { 845s # GObjectClass *gobject_class; 845s # GDBusProxyClass *proxy_class; 845s # 845s # gobject_class = G_OBJECT_CLASS (klass); 845s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 845s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 845s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 845s # 845s # proxy_class = G_DBUS_PROXY_CLASS (klass); 845s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 845s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 845s # 845s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 845s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 845s # #endif 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new: 845s # * @connection: A #GDBusConnection. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 845s # * @user_data: User data to pass to @callback. 845s # * 845s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 845s # * 845s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 845s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 845s # * 845s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 845s # */ 845s # void 845s # org_project_signaling_iface_proxy_new ( 845s # GDBusConnection *connection, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GAsyncReadyCallback callback, 845s # gpointer user_data) 845s # { 845s # 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); 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_finish: 845s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 845s # * @error: Return location for error or %NULL 845s # * 845s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_proxy_new_finish ( 845s # GAsyncResult *res, 845s # GError **error) 845s # { 845s # GObject *ret; 845s # GObject *source_object; 845s # source_object = g_async_result_get_source_object (res); 845s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 845s # g_object_unref (source_object); 845s # if (ret != NULL) 845s # return ORG_PROJECT_SIGNALING_IFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_sync: 845s # * @connection: A #GDBusConnection. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @error: Return location for error or %NULL 845s # * 845s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 845s # * 845s # * The calling thread is blocked until a reply is received. 845s # * 845s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_proxy_new_sync ( 845s # GDBusConnection *connection, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GError **error) 845s # { 845s # GInitable *ret; 845s # 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); 845s # if (ret != NULL) 845s # return ORG_PROJECT_SIGNALING_IFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_for_bus: 845s # * @bus_type: A #GBusType. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: A bus name (well-known or unique). 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 845s # * @user_data: User data to pass to @callback. 845s # * 845s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 845s # * 845s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 845s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 845s # * 845s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 845s # */ 845s # void 845s # org_project_signaling_iface_proxy_new_for_bus ( 845s # GBusType bus_type, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GAsyncReadyCallback callback, 845s # gpointer user_data) 845s # { 845s # 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); 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_for_bus_finish: 845s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 845s # * @error: Return location for error or %NULL 845s # * 845s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_proxy_new_for_bus_finish ( 845s # GAsyncResult *res, 845s # GError **error) 845s # { 845s # GObject *ret; 845s # GObject *source_object; 845s # source_object = g_async_result_get_source_object (res); 845s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 845s # g_object_unref (source_object); 845s # if (ret != NULL) 845s # return ORG_PROJECT_SIGNALING_IFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_for_bus_sync: 845s # * @bus_type: A #GBusType. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: A bus name (well-known or unique). 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @error: Return location for error or %NULL 845s # * 845s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 845s # * 845s # * The calling thread is blocked until a reply is received. 845s # * 845s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_proxy_new_for_bus_sync ( 845s # GBusType bus_type, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GError **error) 845s # { 845s # GInitable *ret; 845s # 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); 845s # if (ret != NULL) 845s # return ORG_PROJECT_SIGNALING_IFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # 845s # /* ------------------------------------------------------------------------ */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceSkeleton: 845s # * 845s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 845s # */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceSkeletonClass: 845s # * @parent_class: The parent class. 845s # * 845s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 845s # */ 845s # 845s # struct _OrgProjectSignalingIfaceSkeletonPrivate 845s # { 845s # GValue *properties; 845s # GList *changed_properties; 845s # GSource *changed_properties_idle_source; 845s # GMainContext *context; 845s # GMutex lock; 845s # }; 845s # 845s # static void 845s # _org_project_signaling_iface_skeleton_handle_method_call ( 845s # GDBusConnection *connection G_GNUC_UNUSED, 845s # const gchar *sender G_GNUC_UNUSED, 845s # const gchar *object_path G_GNUC_UNUSED, 845s # const gchar *interface_name, 845s # const gchar *method_name, 845s # GVariant *parameters, 845s # GDBusMethodInvocation *invocation, 845s # gpointer user_data) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 845s # _ExtendedGDBusMethodInfo *info; 845s # GVariantIter iter; 845s # GVariant *child; 845s # GValue *paramv; 845s # gsize num_params; 845s # guint num_extra; 845s # gsize n; 845s # guint signal_id; 845s # GValue return_value = G_VALUE_INIT; 845s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 845s # g_assert (info != NULL); 845s # num_params = g_variant_n_children (parameters); 845s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 845s # n = 0; 845s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 845s # g_value_set_object (¶mv[n++], skeleton); 845s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 845s # g_value_set_object (¶mv[n++], invocation); 845s # if (info->pass_fdlist) 845s # { 845s # #ifdef G_OS_UNIX 845s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 845s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 845s # #else 845s # g_assert_not_reached (); 845s # #endif 845s # } 845s # g_variant_iter_init (&iter, parameters); 845s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 845s # { 845s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 845s # if (arg_info->use_gvariant) 845s # { 845s # g_value_init (¶mv[n], G_TYPE_VARIANT); 845s # g_value_set_variant (¶mv[n], child); 845s # n++; 845s # } 845s # else 845s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 845s # g_variant_unref (child); 845s # } 845s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 845s # g_value_init (&return_value, G_TYPE_BOOLEAN); 845s # g_signal_emitv (paramv, signal_id, 0, &return_value); 845s # if (!g_value_get_boolean (&return_value)) 845s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 845s # g_value_unset (&return_value); 845s # for (n = 0; n < num_params + num_extra; n++) 845s # g_value_unset (¶mv[n]); 845s # g_free (paramv); 845s # } 845s # 845s # static GVariant * 845s # _org_project_signaling_iface_skeleton_handle_get_property ( 845s # GDBusConnection *connection G_GNUC_UNUSED, 845s # const gchar *sender G_GNUC_UNUSED, 845s # const gchar *object_path G_GNUC_UNUSED, 845s # const gchar *interface_name G_GNUC_UNUSED, 845s # const gchar *property_name, 845s # GError **error, 845s # gpointer user_data) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 845s # GValue value = G_VALUE_INIT; 845s # GParamSpec *pspec; 845s # _ExtendedGDBusPropertyInfo *info; 845s # GVariant *ret; 845s # ret = NULL; 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 845s # g_assert (info != NULL); 845s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 845s # if (pspec == NULL) 845s # { 845s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 845s # } 845s # else 845s # { 845s # g_value_init (&value, pspec->value_type); 845s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 845s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 845s # g_value_unset (&value); 845s # } 845s # return ret; 845s # } 845s # 845s # static gboolean 845s # _org_project_signaling_iface_skeleton_handle_set_property ( 845s # GDBusConnection *connection G_GNUC_UNUSED, 845s # const gchar *sender G_GNUC_UNUSED, 845s # const gchar *object_path G_GNUC_UNUSED, 845s # const gchar *interface_name G_GNUC_UNUSED, 845s # const gchar *property_name, 845s # GVariant *variant, 845s # GError **error, 845s # gpointer user_data) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 845s # GValue value = G_VALUE_INIT; 845s # GParamSpec *pspec; 845s # _ExtendedGDBusPropertyInfo *info; 845s # gboolean ret; 845s # ret = FALSE; 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 845s # g_assert (info != NULL); 845s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 845s # if (pspec == NULL) 845s # { 845s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 845s # } 845s # else 845s # { 845s # if (info->use_gvariant) 845s # g_value_set_variant (&value, variant); 845s # else 845s # g_dbus_gvariant_to_gvalue (variant, &value); 845s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 845s # g_value_unset (&value); 845s # ret = TRUE; 845s # } 845s # return ret; 845s # } 845s # 845s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 845s # { 845s # _org_project_signaling_iface_skeleton_handle_method_call, 845s # _org_project_signaling_iface_skeleton_handle_get_property, 845s # _org_project_signaling_iface_skeleton_handle_set_property, 845s # {NULL} 845s # }; 845s # 845s # static GDBusInterfaceInfo * 845s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 845s # { 845s # return org_project_signaling_iface_interface_info (); 845s # } 845s # 845s # static GDBusInterfaceVTable * 845s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 845s # { 845s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 845s # } 845s # 845s # static GVariant * 845s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 845s # 845s # GVariantBuilder builder; 845s # guint n; 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 845s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 845s # #else 845s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 845s # #endif 845s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 845s # goto out; 845s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 845s # { 845s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 845s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 845s # { 845s # GVariant *value; 845s # 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); 845s # if (value != NULL) 845s # { 845s # g_variant_take_ref (value); 845s # g_variant_builder_add (&builder, "{sv}", info->name, value); 845s # g_variant_unref (value); 845s # } 845s # } 845s # } 845s # out: 845s # return g_variant_builder_end (&builder); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # static void 845s # _org_project_signaling_iface_on_signal_simple_signal ( 845s # OrgProjectSignalingIface *object) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 845s # 845s # GList *connections, *l; 845s # GVariant *signal_variant; 845s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 845s # 845s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 845s # for (l = connections; l != NULL; l = l->next) 845s # { 845s # GDBusConnection *connection = l->data; 845s # g_dbus_connection_emit_signal (connection, 845s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 845s # signal_variant, NULL); 845s # } 845s # g_variant_unref (signal_variant); 845s # g_list_free_full (connections, g_object_unref); 845s # } 845s # 845s # static void 845s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 845s # OrgProjectSignalingIface *object, 845s # GVariant *arg_arg_h) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 845s # 845s # GList *connections, *l; 845s # GVariant *signal_variant; 845s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 845s # 845s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 845s # arg_arg_h)); 845s # for (l = connections; l != NULL; l = l->next) 845s # { 845s # GDBusConnection *connection = l->data; 845s # g_dbus_connection_emit_signal (connection, 845s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 845s # signal_variant, NULL); 845s # } 845s # g_variant_unref (signal_variant); 845s # g_list_free_full (connections, g_object_unref); 845s # } 845s # 845s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 845s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 845s # 845s # #else 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 845s # 845s # #endif 845s # static void 845s # org_project_signaling_iface_skeleton_finalize (GObject *object) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 845s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 845s # if (skeleton->priv->changed_properties_idle_source != NULL) 845s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 845s # g_main_context_unref (skeleton->priv->context); 845s # g_mutex_clear (&skeleton->priv->lock); 845s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 845s # { 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 845s # #else 845s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 845s # #endif 845s # 845s # g_mutex_init (&skeleton->priv->lock); 845s # skeleton->priv->context = g_main_context_ref_thread_default (); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 845s # { 845s # GObjectClass *gobject_class; 845s # GDBusInterfaceSkeletonClass *skeleton_class; 845s # 845s # gobject_class = G_OBJECT_CLASS (klass); 845s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 845s # 845s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 845s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 845s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 845s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 845s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 845s # 845s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 845s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 845s # #endif 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 845s # { 845s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 845s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_skeleton_new: 845s # * 845s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_skeleton_new (void) 845s # { 845s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 845s # } 845s # Error: 845s # 845s # /tmp/tmp9htticof/tmp8wzaqbi1.xml: 845s # 845s # 845s # 845s # 845s # 845s # 845s # 845s # 845s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9htticof/tmp8wzaqbi1.xml', '--output', '-', '--body'] 845s # Return code: 0 845s # Output: 845s # /* 845s # * This file is generated by gdbus-codegen, do not modify it. 845s # * 845s # * The license of this code is the same as for the D-Bus interface description 845s # * it was derived from. Note that it links to GLib, so must comply with the 845s # * LGPL linking clauses. 845s # */ 845s # 845s # #ifdef HAVE_CONFIG_H 845s # # include "config.h" 845s # #endif 845s # 845s # #include 845s # #ifdef G_OS_UNIX 845s # # include 845s # #endif 845s # 845s # #ifdef G_ENABLE_DEBUG 845s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 845s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 845s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 845s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 845s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 845s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 845s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 845s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 845s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 845s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 845s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 845s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 845s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 845s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 845s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 845s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 845s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 845s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 845s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 845s # #else /* !G_ENABLE_DEBUG */ 845s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 845s # * Do not access GValues directly in your code. Instead, use the 845s # * g_value_get_*() functions 845s # */ 845s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 845s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 845s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 845s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 845s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 845s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 845s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 845s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 845s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 845s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 845s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 845s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 845s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 845s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 845s # #endif /* !G_ENABLE_DEBUG */ 845s # 845s # typedef struct 845s # { 845s # GDBusArgInfo parent_struct; 845s # gboolean use_gvariant; 845s # } _ExtendedGDBusArgInfo; 845s # 845s # typedef struct 845s # { 845s # GDBusMethodInfo parent_struct; 845s # const gchar *signal_name; 845s # gboolean pass_fdlist; 845s # } _ExtendedGDBusMethodInfo; 845s # 845s # typedef struct 845s # { 845s # GDBusSignalInfo parent_struct; 845s # const gchar *signal_name; 845s # } _ExtendedGDBusSignalInfo; 845s # 845s # typedef struct 845s # { 845s # GDBusPropertyInfo parent_struct; 845s # const gchar *hyphen_name; 845s # guint use_gvariant : 1; 845s # guint emits_changed_signal : 1; 845s # } _ExtendedGDBusPropertyInfo; 845s # 845s # typedef struct 845s # { 845s # GDBusInterfaceInfo parent_struct; 845s # const gchar *hyphen_name; 845s # } _ExtendedGDBusInterfaceInfo; 845s # 845s # typedef struct 845s # { 845s # const _ExtendedGDBusPropertyInfo *info; 845s # guint prop_id; 845s # GValue orig_value; /* the value before the change */ 845s # } ChangedProperty; 845s # 845s # static void 845s # _changed_property_free (ChangedProperty *data) 845s # { 845s # g_value_unset (&data->orig_value); 845s # g_free (data); 845s # } 845s # 845s # static gboolean 845s # _g_strv_equal0 (gchar **a, gchar **b) 845s # { 845s # gboolean ret = FALSE; 845s # guint n; 845s # if (a == NULL && b == NULL) 845s # { 845s # ret = TRUE; 845s # goto out; 845s # } 845s # if (a == NULL || b == NULL) 845s # goto out; 845s # if (g_strv_length (a) != g_strv_length (b)) 845s # goto out; 845s # for (n = 0; a[n] != NULL; n++) 845s # if (g_strcmp0 (a[n], b[n]) != 0) 845s # goto out; 845s # ret = TRUE; 845s # out: 845s # return ret; 845s # } 845s # 845s # static gboolean 845s # _g_variant_equal0 (GVariant *a, GVariant *b) 845s # { 845s # gboolean ret = FALSE; 845s # if (a == NULL && b == NULL) 845s # { 845s # ret = TRUE; 845s # goto out; 845s # } 845s # if (a == NULL || b == NULL) 845s # goto out; 845s # ret = g_variant_equal (a, b); 845s # out: 845s # return ret; 845s # } 845s # 845s # G_GNUC_UNUSED static gboolean 845s # _g_value_equal (const GValue *a, const GValue *b) 845s # { 845s # gboolean ret = FALSE; 845s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 845s # switch (G_VALUE_TYPE (a)) 845s # { 845s # case G_TYPE_BOOLEAN: 845s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 845s # break; 845s # case G_TYPE_UCHAR: 845s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 845s # break; 845s # case G_TYPE_INT: 845s # ret = (g_value_get_int (a) == g_value_get_int (b)); 845s # break; 845s # case G_TYPE_UINT: 845s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 845s # break; 845s # case G_TYPE_INT64: 845s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 845s # break; 845s # case G_TYPE_UINT64: 845s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 845s # break; 845s # case G_TYPE_DOUBLE: 845s # { 845s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 845s # gdouble da = g_value_get_double (a); 845s # gdouble db = g_value_get_double (b); 845s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 845s # } 845s # break; 845s # case G_TYPE_STRING: 845s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 845s # break; 845s # case G_TYPE_VARIANT: 845s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 845s # break; 845s # default: 845s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 845s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 845s # else 845s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 845s # break; 845s # } 845s # return ret; 845s # } 845s # 845s # /* ------------------------------------------------------------------------ 845s # * Code for interface org.project.SignalingIface 845s # * ------------------------------------------------------------------------ 845s # */ 845s # 845s # /** 845s # * SECTION:OrgProjectSignalingIface 845s # * @title: OrgProjectSignalingIface 845s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 845s # * 845s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 845s # */ 845s # 845s # enum 845s # { 845s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 845s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 845s # }; 845s # 845s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 845s # 845s # /* ---- Introspection data for org.project.SignalingIface ---- */ 845s # 845s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 845s # { 845s # { 845s # -1, 845s # (gchar *) "SimpleSignal", 845s # NULL, 845s # NULL 845s # }, 845s # "simple-signal" 845s # }; 845s # 845s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay = 845s # { 845s # { 845s # -1, 845s # (gchar *) "arg_ay", 845s # (gchar *) "ay", 845s # NULL 845s # }, 845s # FALSE 845s # }; 845s # 845s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 845s # { 845s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay.parent_struct, 845s # NULL 845s # }; 845s # 845s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 845s # { 845s # { 845s # -1, 845s # (gchar *) "SingleArgSignalAy", 845s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 845s # NULL 845s # }, 845s # "single-arg-signal-ay" 845s # }; 845s # 845s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 845s # { 845s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 845s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 845s # NULL 845s # }; 845s # 845s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 845s # { 845s # { 845s # -1, 845s # (gchar *) "org.project.SignalingIface", 845s # NULL, 845s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 845s # NULL, 845s # NULL 845s # }, 845s # "org-project-signaling-iface", 845s # }; 845s # 845s # 845s # /** 845s # * org_project_signaling_iface_interface_info: 845s # * 845s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 845s # * 845s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 845s # */ 845s # GDBusInterfaceInfo * 845s # org_project_signaling_iface_interface_info (void) 845s # { 845s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_override_properties: 845s # * @klass: The class structure for a #GObject derived class. 845s # * @property_id_begin: The property id to assign to the first overridden property. 845s # * 845s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 845s # * The properties are overridden in the order they are defined. 845s # * 845s # * Returns: The last property id. 845s # */ 845s # guint 845s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 845s # { 845s # return property_id_begin - 1; 845s # } 845s # 845s # 845s # inline static void 845s # org_project_signaling_iface_signal_marshal_simple_signal ( 845s # GClosure *closure, 845s # GValue *return_value, 845s # unsigned int n_param_values, 845s # const GValue *param_values, 845s # void *invocation_hint, 845s # void *marshal_data) 845s # { 845s # g_cclosure_marshal_VOID__VOID (closure, 845s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 845s # } 845s # 845s # inline static void 845s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 845s # GClosure *closure, 845s # GValue *return_value, 845s # unsigned int n_param_values, 845s # const GValue *param_values, 845s # void *invocation_hint, 845s # void *marshal_data) 845s # { 845s # g_cclosure_marshal_VOID__STRING (closure, 845s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 845s # } 845s # 845s # 845s # /** 845s # * OrgProjectSignalingIface: 845s # * 845s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 845s # */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceIface: 845s # * @parent_iface: The parent interface. 845s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 845s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 845s # * 845s # * Virtual table for the D-Bus interface org.project.SignalingIface. 845s # */ 845s # 845s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 845s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 845s # 845s # static void 845s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 845s # { 845s # /* GObject signals for received D-Bus signals: */ 845s # /** 845s # * OrgProjectSignalingIface::simple-signal: 845s # * @object: A #OrgProjectSignalingIface. 845s # * 845s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 845s # * 845s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 845s # */ 845s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 845s # g_signal_new ("simple-signal", 845s # G_TYPE_FROM_INTERFACE (iface), 845s # G_SIGNAL_RUN_LAST, 845s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 845s # NULL, 845s # NULL, 845s # org_project_signaling_iface_signal_marshal_simple_signal, 845s # G_TYPE_NONE, 845s # 0); 845s # 845s # /** 845s # * OrgProjectSignalingIface::single-arg-signal-ay: 845s # * @object: A #OrgProjectSignalingIface. 845s # * @arg_arg_ay: Argument. 845s # * 845s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAy" is received. 845s # * 845s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 845s # */ 845s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 845s # g_signal_new ("single-arg-signal-ay", 845s # G_TYPE_FROM_INTERFACE (iface), 845s # G_SIGNAL_RUN_LAST, 845s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 845s # NULL, 845s # NULL, 845s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 845s # G_TYPE_NONE, 845s # 1, G_TYPE_STRING); 845s # 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_emit_simple_signal: 845s # * @object: A #OrgProjectSignalingIface. 845s # * 845s # * Emits the "SimpleSignal" D-Bus signal. 845s # */ 845s # void 845s # org_project_signaling_iface_emit_simple_signal ( 845s # OrgProjectSignalingIface *object) 845s # { 845s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_emit_single_arg_signal_ay: 845s # * @object: A #OrgProjectSignalingIface. 845s # * @arg_arg_ay: Argument to pass with the signal. 845s # * 845s # * Emits the "SingleArgSignalAy" D-Bus signal. 845s # */ 845s # void 845s # org_project_signaling_iface_emit_single_arg_signal_ay ( 845s # OrgProjectSignalingIface *object, 845s # const gchar *arg_arg_ay) 845s # { 845s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_arg_ay); 845s # } 845s # 845s # /* ------------------------------------------------------------------------ */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceProxy: 845s # * 845s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 845s # */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceProxyClass: 845s # * @parent_class: The parent class. 845s # * 845s # * Class structure for #OrgProjectSignalingIfaceProxy. 845s # */ 845s # 845s # struct _OrgProjectSignalingIfaceProxyPrivate 845s # { 845s # GData *qdata; 845s # }; 845s # 845s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 845s # 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 845s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 845s # 845s # #else 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 845s # 845s # #endif 845s # static void 845s # org_project_signaling_iface_proxy_finalize (GObject *object) 845s # { 845s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 845s # g_datalist_clear (&proxy->priv->qdata); 845s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 845s # guint prop_id G_GNUC_UNUSED, 845s # GValue *value G_GNUC_UNUSED, 845s # GParamSpec *pspec G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 845s # guint prop_id G_GNUC_UNUSED, 845s # const GValue *value G_GNUC_UNUSED, 845s # GParamSpec *pspec G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 845s # const gchar *sender_name G_GNUC_UNUSED, 845s # const gchar *signal_name, 845s # GVariant *parameters) 845s # { 845s # _ExtendedGDBusSignalInfo *info; 845s # GVariantIter iter; 845s # GVariant *child; 845s # GValue *paramv; 845s # gsize num_params; 845s # gsize n; 845s # guint signal_id; 845s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 845s # if (info == NULL) 845s # return; 845s # num_params = g_variant_n_children (parameters); 845s # paramv = g_new0 (GValue, num_params + 1); 845s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 845s # g_value_set_object (¶mv[0], proxy); 845s # g_variant_iter_init (&iter, parameters); 845s # n = 1; 845s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 845s # { 845s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 845s # if (arg_info->use_gvariant) 845s # { 845s # g_value_init (¶mv[n], G_TYPE_VARIANT); 845s # g_value_set_variant (¶mv[n], child); 845s # n++; 845s # } 845s # else 845s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 845s # g_variant_unref (child); 845s # } 845s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 845s # g_signal_emitv (paramv, signal_id, 0, NULL); 845s # for (n = 0; n < num_params + 1; n++) 845s # g_value_unset (¶mv[n]); 845s # g_free (paramv); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 845s # GVariant *changed_properties, 845s # const gchar *const *invalidated_properties) 845s # { 845s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 845s # guint n; 845s # const gchar *key; 845s # GVariantIter *iter; 845s # _ExtendedGDBusPropertyInfo *info; 845s # g_variant_get (changed_properties, "a{sv}", &iter); 845s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 845s # { 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 845s # g_datalist_remove_data (&proxy->priv->qdata, key); 845s # if (info != NULL) 845s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 845s # } 845s # g_variant_iter_free (iter); 845s # for (n = 0; invalidated_properties[n] != NULL; n++) 845s # { 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 845s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 845s # if (info != NULL) 845s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 845s # } 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 845s # { 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 845s # #else 845s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 845s # #endif 845s # 845s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 845s # { 845s # GObjectClass *gobject_class; 845s # GDBusProxyClass *proxy_class; 845s # 845s # gobject_class = G_OBJECT_CLASS (klass); 845s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 845s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 845s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 845s # 845s # proxy_class = G_DBUS_PROXY_CLASS (klass); 845s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 845s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 845s # 845s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 845s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 845s # #endif 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new: 845s # * @connection: A #GDBusConnection. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 845s # * @user_data: User data to pass to @callback. 845s # * 845s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 845s # * 845s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 845s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 845s # * 845s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 845s # */ 845s # void 845s # org_project_signaling_iface_proxy_new ( 845s # GDBusConnection *connection, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GAsyncReadyCallback callback, 845s # gpointer user_data) 845s # { 845s # 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); 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_finish: 845s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 845s # * @error: Return location for error or %NULL 845s # * 845s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_proxy_new_finish ( 845s # GAsyncResult *res, 845s # GError **error) 845s # { 845s # GObject *ret; 845s # GObject *source_object; 845s # source_object = g_async_result_get_source_object (res); 845s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 845s # g_object_unref (source_object); 845s # if (ret != NULL) 845s # return ORG_PROJECT_SIGNALING_IFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_sync: 845s # * @connection: A #GDBusConnection. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @error: Return location for error or %NULL 845s # * 845s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 845s # * 845s # * The calling thread is blocked until a reply is received. 845s # * 845s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_proxy_new_sync ( 845s # GDBusConnection *connection, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GError **error) 845s # { 845s # GInitable *ret; 845s # 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); 845s # if (ret != NULL) 845s # return ORG_PROJECT_SIGNALING_IFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_for_bus: 845s # * @bus_type: A #GBusType. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: A bus name (well-known or unique). 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 845s # * @user_data: User data to pass to @callback. 845s # * 845s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 845s # * 845s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 845s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 845s # * 845s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 845s # */ 845s # void 845s # org_project_signaling_iface_proxy_new_for_bus ( 845s # GBusType bus_type, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GAsyncReadyCallback callback, 845s # gpointer user_data) 845s # { 845s # 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); 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_for_bus_finish: 845s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 845s # * @error: Return location for error or %NULL 845s # * 845s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_proxy_new_for_bus_finish ( 845s # GAsyncResult *res, 845s # GError **error) 845s # { 845s # GObject *ret; 845s # GObject *source_object; 845s # source_object = g_async_result_get_source_object (res); 845s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 845s # g_object_unref (source_object); 845s # if (ret != NULL) 845s # return ORG_PROJECT_SIGNALING_IFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_for_bus_sync: 845s # * @bus_type: A #GBusType. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: A bus name (well-known or unique). 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @error: Return location for error or %NULL 845s # * 845s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 845s # * 845s # * The calling thread is blocked until a reply is received. 845s # * 845s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_proxy_new_for_bus_sync ( 845s # GBusType bus_type, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GError **error) 845s # { 845s # GInitable *ret; 845s # 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); 845s # if (ret != NULL) 845s # return ORG_PROJECT_SIGNALING_IFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # 845s # /* ------------------------------------------------------------------------ */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceSkeleton: 845s # * 845s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 845s # */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceSkeletonClass: 845s # * @parent_class: The parent class. 845s # * 845s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 845s # */ 845s # 845s # struct _OrgProjectSignalingIfaceSkeletonPrivate 845s # { 845s # GValue *properties; 845s # GList *changed_properties; 845s # GSource *changed_properties_idle_source; 845s # GMainContext *context; 845s # GMutex lock; 845s # }; 845s # 845s # static void 845s # _org_project_signaling_iface_skeleton_handle_method_call ( 845s # GDBusConnection *connection G_GNUC_UNUSED, 845s # const gchar *sender G_GNUC_UNUSED, 845s # const gchar *object_path G_GNUC_UNUSED, 845s # const gchar *interface_name, 845s # const gchar *method_name, 845s # GVariant *parameters, 845s # GDBusMethodInvocation *invocation, 845s # gpointer user_data) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 845s # _ExtendedGDBusMethodInfo *info; 845s # GVariantIter iter; 845s # GVariant *child; 845s # GValue *paramv; 845s # gsize num_params; 845s # guint num_extra; 845s # gsize n; 845s # guint signal_id; 845s # GValue return_value = G_VALUE_INIT; 845s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 845s # g_assert (info != NULL); 845s # num_params = g_variant_n_children (parameters); 845s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 845s # n = 0; 845s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 845s # g_value_set_object (¶mv[n++], skeleton); 845s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 845s # g_value_set_object (¶mv[n++], invocation); 845s # if (info->pass_fdlist) 845s # { 845s # #ifdef G_OS_UNIX 845s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 845s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 845s # #else 845s # g_assert_not_reached (); 845s # #endif 845s # } 845s # g_variant_iter_init (&iter, parameters); 845s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 845s # { 845s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 845s # if (arg_info->use_gvariant) 845s # { 845s # g_value_init (¶mv[n], G_TYPE_VARIANT); 845s # g_value_set_variant (¶mv[n], child); 845s # n++; 845s # } 845s # else 845s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 845s # g_variant_unref (child); 845s # } 845s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 845s # g_value_init (&return_value, G_TYPE_BOOLEAN); 845s # g_signal_emitv (paramv, signal_id, 0, &return_value); 845s # if (!g_value_get_boolean (&return_value)) 845s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 845s # g_value_unset (&return_value); 845s # for (n = 0; n < num_params + num_extra; n++) 845s # g_value_unset (¶mv[n]); 845s # g_free (paramv); 845s # } 845s # 845s # static GVariant * 845s # _org_project_signaling_iface_skeleton_handle_get_property ( 845s # GDBusConnection *connection G_GNUC_UNUSED, 845s # const gchar *sender G_GNUC_UNUSED, 845s # const gchar *object_path G_GNUC_UNUSED, 845s # const gchar *interface_name G_GNUC_UNUSED, 845s # const gchar *property_name, 845s # GError **error, 845s # gpointer user_data) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 845s # GValue value = G_VALUE_INIT; 845s # GParamSpec *pspec; 845s # _ExtendedGDBusPropertyInfo *info; 845s # GVariant *ret; 845s # ret = NULL; 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 845s # g_assert (info != NULL); 845s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 845s # if (pspec == NULL) 845s # { 845s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 845s # } 845s # else 845s # { 845s # g_value_init (&value, pspec->value_type); 845s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 845s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 845s # g_value_unset (&value); 845s # } 845s # return ret; 845s # } 845s # 845s # static gboolean 845s # _org_project_signaling_iface_skeleton_handle_set_property ( 845s # GDBusConnection *connection G_GNUC_UNUSED, 845s # const gchar *sender G_GNUC_UNUSED, 845s # const gchar *object_path G_GNUC_UNUSED, 845s # const gchar *interface_name G_GNUC_UNUSED, 845s # const gchar *property_name, 845s # GVariant *variant, 845s # GError **error, 845s # gpointer user_data) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 845s # GValue value = G_VALUE_INIT; 845s # GParamSpec *pspec; 845s # _ExtendedGDBusPropertyInfo *info; 845s # gboolean ret; 845s # ret = FALSE; 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 845s # g_assert (info != NULL); 845s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 845s # if (pspec == NULL) 845s # { 845s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 845s # } 845s # else 845s # { 845s # if (info->use_gvariant) 845s # g_value_set_variant (&value, variant); 845s # else 845s # g_dbus_gvariant_to_gvalue (variant, &value); 845s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 845s # g_value_unset (&value); 845s # ret = TRUE; 845s # } 845s # return ret; 845s # } 845s # 845s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 845s # { 845s # _org_project_signaling_iface_skeleton_handle_method_call, 845s # _org_project_signaling_iface_skeleton_handle_get_property, 845s # _org_project_signaling_iface_skeleton_handle_set_property, 845s # {NULL} 845s # }; 845s # 845s # static GDBusInterfaceInfo * 845s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 845s # { 845s # return org_project_signaling_iface_interface_info (); 845s # } 845s # 845s # static GDBusInterfaceVTable * 845s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 845s # { 845s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 845s # } 845s # 845s # static GVariant * 845s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 845s # 845s # GVariantBuilder builder; 845s # guint n; 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 845s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 845s # #else 845s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 845s # #endif 845s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 845s # goto out; 845s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 845s # { 845s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 845s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 845s # { 845s # GVariant *value; 845s # 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); 845s # if (value != NULL) 845s # { 845s # g_variant_take_ref (value); 845s # g_variant_builder_add (&builder, "{sv}", info->name, value); 845s # g_variant_unref (value); 845s # } 845s # } 845s # } 845s # out: 845s # return g_variant_builder_end (&builder); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # static void 845s # _org_project_signaling_iface_on_signal_simple_signal ( 845s # OrgProjectSignalingIface *object) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 845s # 845s # GList *connections, *l; 845s # GVariant *signal_variant; 845s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 845s # 845s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 845s # for (l = connections; l != NULL; l = l->next) 845s # { 845s # GDBusConnection *connection = l->data; 845s # g_dbus_connection_emit_signal (connection, 845s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 845s # signal_variant, NULL); 845s # } 845s # g_variant_unref (signal_variant); 845s # g_list_free_full (connections, g_object_unref); 845s # } 845s # 845s # static void 845s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 845s # OrgProjectSignalingIface *object, 845s # const gchar *arg_arg_ay) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 845s # 845s # GList *connections, *l; 845s # GVariant *signal_variant; 845s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 845s # 845s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 845s # arg_arg_ay)); 845s # for (l = connections; l != NULL; l = l->next) 845s # { 845s # GDBusConnection *connection = l->data; 845s # g_dbus_connection_emit_signal (connection, 845s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAy", 845s # signal_variant, NULL); 845s # } 845s # g_variant_unref (signal_variant); 845s # g_list_free_full (connections, g_object_unref); 845s # } 845s # 845s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 845s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 845s # 845s # #else 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 845s # 845s # #endif 845s # static void 845s # org_project_signaling_iface_skeleton_finalize (GObject *object) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 845s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 845s # if (skeleton->priv->changed_properties_idle_source != NULL) 845s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 845s # g_main_context_unref (skeleton->priv->context); 845s # g_mutex_clear (&skeleton->priv->lock); 845s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 845s # { 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 845s # #else 845s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 845s # #endif 845s # 845s # g_mutex_init (&skeleton->priv->lock); 845s # skeleton->priv->context = g_main_context_ref_thread_default (); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 845s # { 845s # GObjectClass *gobject_class; 845s # GDBusInterfaceSkeletonClass *skeleton_class; 845s # 845s # gobject_class = G_OBJECT_CLASS (klass); 845s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 845s # 845s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 845s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 845s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 845s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 845s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 845s # 845s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 845s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 845s # #endif 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 845s # { 845s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 845s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_skeleton_new: 845s # * 845s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_skeleton_new (void) 845s # { 845s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 845s # } 845s # Error: 845s # 845s # /tmp/tmp9htticof/tmps2ge6uv1.xml: 845s # 845s # 845s # 845s # 845s # 845s # 845s # 845s # 845s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9htticof/tmps2ge6uv1.xml', '--output', '-', '--body'] 845s # Return code: 0 845s # Output: 845s # /* 845s # * This file is generated by gdbus-codegen, do not modify it. 845s # * 845s # * The license of this code is the same as for the D-Bus interface description 845s # * it was derived from. Note that it links to GLib, so must comply with the 845s # * LGPL linking clauses. 845s # */ 845s # 845s # #ifdef HAVE_CONFIG_H 845s # # include "config.h" 845s # #endif 845s # 845s # #include 845s # #ifdef G_OS_UNIX 845s # # include 845s # #endif 845s # 845s # #ifdef G_ENABLE_DEBUG 845s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 845s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 845s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 845s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 845s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 845s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 845s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 845s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 845s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 845s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 845s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 845s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 845s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 845s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 845s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 845s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 845s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 845s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 845s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 845s # #else /* !G_ENABLE_DEBUG */ 845s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 845s # * Do not access GValues directly in your code. Instead, use the 845s # * g_value_get_*() functions 845s # */ 845s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 845s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 845s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 845s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 845s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 845s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 845s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 845s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 845s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 845s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 845s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 845s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 845s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 845s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 845s # #endif /* !G_ENABLE_DEBUG */ 845s # 845s # typedef struct 845s # { 845s # GDBusArgInfo parent_struct; 845s # gboolean use_gvariant; 845s # } _ExtendedGDBusArgInfo; 845s # 845s # typedef struct 845s # { 845s # GDBusMethodInfo parent_struct; 845s # const gchar *signal_name; 845s # gboolean pass_fdlist; 845s # } _ExtendedGDBusMethodInfo; 845s # 845s # typedef struct 845s # { 845s # GDBusSignalInfo parent_struct; 845s # const gchar *signal_name; 845s # } _ExtendedGDBusSignalInfo; 845s # 845s # typedef struct 845s # { 845s # GDBusPropertyInfo parent_struct; 845s # const gchar *hyphen_name; 845s # guint use_gvariant : 1; 845s # guint emits_changed_signal : 1; 845s # } _ExtendedGDBusPropertyInfo; 845s # 845s # typedef struct 845s # { 845s # GDBusInterfaceInfo parent_struct; 845s # const gchar *hyphen_name; 845s # } _ExtendedGDBusInterfaceInfo; 845s # 845s # typedef struct 845s # { 845s # const _ExtendedGDBusPropertyInfo *info; 845s # guint prop_id; 845s # GValue orig_value; /* the value before the change */ 845s # } ChangedProperty; 845s # 845s # static void 845s # _changed_property_free (ChangedProperty *data) 845s # { 845s # g_value_unset (&data->orig_value); 845s # g_free (data); 845s # } 845s # 845s # static gboolean 845s # _g_strv_equal0 (gchar **a, gchar **b) 845s # { 845s # gboolean ret = FALSE; 845s # guint n; 845s # if (a == NULL && b == NULL) 845s # { 845s # ret = TRUE; 845s # goto out; 845s # } 845s # if (a == NULL || b == NULL) 845s # goto out; 845s # if (g_strv_length (a) != g_strv_length (b)) 845s # goto out; 845s # for (n = 0; a[n] != NULL; n++) 845s # if (g_strcmp0 (a[n], b[n]) != 0) 845s # goto out; 845s # ret = TRUE; 845s # out: 845s # return ret; 845s # } 845s # 845s # static gboolean 845s # _g_variant_equal0 (GVariant *a, GVariant *b) 845s # { 845s # gboolean ret = FALSE; 845s # if (a == NULL && b == NULL) 845s # { 845s # ret = TRUE; 845s # goto out; 845s # } 845s # if (a == NULL || b == NULL) 845s # goto out; 845s # ret = g_variant_equal (a, b); 845s # out: 845s # return ret; 845s # } 845s # 845s # G_GNUC_UNUSED static gboolean 845s # _g_value_equal (const GValue *a, const GValue *b) 845s # { 845s # gboolean ret = FALSE; 845s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 845s # switch (G_VALUE_TYPE (a)) 845s # { 845s # case G_TYPE_BOOLEAN: 845s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 845s # break; 845s # case G_TYPE_UCHAR: 845s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 845s # break; 845s # case G_TYPE_INT: 845s # ret = (g_value_get_int (a) == g_value_get_int (b)); 845s # break; 845s # case G_TYPE_UINT: 845s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 845s # break; 845s # case G_TYPE_INT64: 845s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 845s # break; 845s # case G_TYPE_UINT64: 845s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 845s # break; 845s # case G_TYPE_DOUBLE: 845s # { 845s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 845s # gdouble da = g_value_get_double (a); 845s # gdouble db = g_value_get_double (b); 845s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 845s # } 845s # break; 845s # case G_TYPE_STRING: 845s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 845s # break; 845s # case G_TYPE_VARIANT: 845s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 845s # break; 845s # default: 845s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 845s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 845s # else 845s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 845s # break; 845s # } 845s # return ret; 845s # } 845s # 845s # /* ------------------------------------------------------------------------ 845s # * Code for interface org.project.SignalingIface 845s # * ------------------------------------------------------------------------ 845s # */ 845s # 845s # /** 845s # * SECTION:OrgProjectSignalingIface 845s # * @title: OrgProjectSignalingIface 845s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 845s # * 845s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 845s # */ 845s # 845s # enum 845s # { 845s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 845s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 845s # }; 845s # 845s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 845s # 845s # /* ---- Introspection data for org.project.SignalingIface ---- */ 845s # 845s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 845s # { 845s # { 845s # -1, 845s # (gchar *) "SimpleSignal", 845s # NULL, 845s # NULL 845s # }, 845s # "simple-signal" 845s # }; 845s # 845s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as = 845s # { 845s # { 845s # -1, 845s # (gchar *) "arg_as", 845s # (gchar *) "as", 845s # NULL 845s # }, 845s # FALSE 845s # }; 845s # 845s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 845s # { 845s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as.parent_struct, 845s # NULL 845s # }; 845s # 845s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 845s # { 845s # { 845s # -1, 845s # (gchar *) "SingleArgSignalAs", 845s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 845s # NULL 845s # }, 845s # "single-arg-signal-as" 845s # }; 845s # 845s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 845s # { 845s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 845s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 845s # NULL 845s # }; 845s # 845s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 845s # { 845s # { 845s # -1, 845s # (gchar *) "org.project.SignalingIface", 845s # NULL, 845s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 845s # NULL, 845s # NULL 845s # }, 845s # "org-project-signaling-iface", 845s # }; 845s # 845s # 845s # /** 845s # * org_project_signaling_iface_interface_info: 845s # * 845s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 845s # * 845s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 845s # */ 845s # GDBusInterfaceInfo * 845s # org_project_signaling_iface_interface_info (void) 845s # { 845s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_override_properties: 845s # * @klass: The class structure for a #GObject derived class. 845s # * @property_id_begin: The property id to assign to the first overridden property. 845s # * 845s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 845s # * The properties are overridden in the order they are defined. 845s # * 845s # * Returns: The last property id. 845s # */ 845s # guint 845s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 845s # { 845s # return property_id_begin - 1; 845s # } 845s # 845s # 845s # inline static void 845s # org_project_signaling_iface_signal_marshal_simple_signal ( 845s # GClosure *closure, 845s # GValue *return_value, 845s # unsigned int n_param_values, 845s # const GValue *param_values, 845s # void *invocation_hint, 845s # void *marshal_data) 845s # { 845s # g_cclosure_marshal_VOID__VOID (closure, 845s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 845s # } 845s # 845s # inline static void 845s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 845s # GClosure *closure, 845s # GValue *return_value, 845s # unsigned int n_param_values, 845s # const GValue *param_values, 845s # void *invocation_hint, 845s # void *marshal_data) 845s # { 845s # g_cclosure_marshal_VOID__BOXED (closure, 845s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 845s # } 845s # 845s # 845s # /** 845s # * OrgProjectSignalingIface: 845s # * 845s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 845s # */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceIface: 845s # * @parent_iface: The parent interface. 845s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 845s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 845s # * 845s # * Virtual table for the D-Bus interface org.project.SignalingIface. 845s # */ 845s # 845s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 845s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 845s # 845s # static void 845s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 845s # { 845s # /* GObject signals for received D-Bus signals: */ 845s # /** 845s # * OrgProjectSignalingIface::simple-signal: 845s # * @object: A #OrgProjectSignalingIface. 845s # * 845s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 845s # * 845s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 845s # */ 845s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 845s # g_signal_new ("simple-signal", 845s # G_TYPE_FROM_INTERFACE (iface), 845s # G_SIGNAL_RUN_LAST, 845s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 845s # NULL, 845s # NULL, 845s # org_project_signaling_iface_signal_marshal_simple_signal, 845s # G_TYPE_NONE, 845s # 0); 845s # 845s # /** 845s # * OrgProjectSignalingIface::single-arg-signal-as: 845s # * @object: A #OrgProjectSignalingIface. 845s # * @arg_arg_as: Argument. 845s # * 845s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAs" is received. 845s # * 845s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 845s # */ 845s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 845s # g_signal_new ("single-arg-signal-as", 845s # G_TYPE_FROM_INTERFACE (iface), 845s # G_SIGNAL_RUN_LAST, 845s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 845s # NULL, 845s # NULL, 845s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 845s # G_TYPE_NONE, 845s # 1, G_TYPE_STRV); 845s # 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_emit_simple_signal: 845s # * @object: A #OrgProjectSignalingIface. 845s # * 845s # * Emits the "SimpleSignal" D-Bus signal. 845s # */ 845s # void 845s # org_project_signaling_iface_emit_simple_signal ( 845s # OrgProjectSignalingIface *object) 845s # { 845s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_emit_single_arg_signal_as: 845s # * @object: A #OrgProjectSignalingIface. 845s # * @arg_arg_as: Argument to pass with the signal. 845s # * 845s # * Emits the "SingleArgSignalAs" D-Bus signal. 845s # */ 845s # void 845s # org_project_signaling_iface_emit_single_arg_signal_as ( 845s # OrgProjectSignalingIface *object, 845s # const gchar *const *arg_arg_as) 845s # { 845s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_arg_as); 845s # } 845s # 845s # /* ------------------------------------------------------------------------ */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceProxy: 845s # * 845s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 845s # */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceProxyClass: 845s # * @parent_class: The parent class. 845s # * 845s # * Class structure for #OrgProjectSignalingIfaceProxy. 845s # */ 845s # 845s # struct _OrgProjectSignalingIfaceProxyPrivate 845s # { 845s # GData *qdata; 845s # }; 845s # 845s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 845s # 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 845s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 845s # 845s # #else 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 845s # 845s # #endif 845s # static void 845s # org_project_signaling_iface_proxy_finalize (GObject *object) 845s # { 845s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 845s # g_datalist_clear (&proxy->priv->qdata); 845s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 845s # guint prop_id G_GNUC_UNUSED, 845s # GValue *value G_GNUC_UNUSED, 845s # GParamSpec *pspec G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 845s # guint prop_id G_GNUC_UNUSED, 845s # const GValue *value G_GNUC_UNUSED, 845s # GParamSpec *pspec G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 845s # const gchar *sender_name G_GNUC_UNUSED, 845s # const gchar *signal_name, 845s # GVariant *parameters) 845s # { 845s # _ExtendedGDBusSignalInfo *info; 845s # GVariantIter iter; 845s # GVariant *child; 845s # GValue *paramv; 845s # gsize num_params; 845s # gsize n; 845s # guint signal_id; 845s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 845s # if (info == NULL) 845s # return; 845s # num_params = g_variant_n_children (parameters); 845s # paramv = g_new0 (GValue, num_params + 1); 845s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 845s # g_value_set_object (¶mv[0], proxy); 845s # g_variant_iter_init (&iter, parameters); 845s # n = 1; 845s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 845s # { 845s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 845s # if (arg_info->use_gvariant) 845s # { 845s # g_value_init (¶mv[n], G_TYPE_VARIANT); 845s # g_value_set_variant (¶mv[n], child); 845s # n++; 845s # } 845s # else 845s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 845s # g_variant_unref (child); 845s # } 845s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 845s # g_signal_emitv (paramv, signal_id, 0, NULL); 845s # for (n = 0; n < num_params + 1; n++) 845s # g_value_unset (¶mv[n]); 845s # g_free (paramv); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 845s # GVariant *changed_properties, 845s # const gchar *const *invalidated_properties) 845s # { 845s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 845s # guint n; 845s # const gchar *key; 845s # GVariantIter *iter; 845s # _ExtendedGDBusPropertyInfo *info; 845s # g_variant_get (changed_properties, "a{sv}", &iter); 845s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 845s # { 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 845s # g_datalist_remove_data (&proxy->priv->qdata, key); 845s # if (info != NULL) 845s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 845s # } 845s # g_variant_iter_free (iter); 845s # for (n = 0; invalidated_properties[n] != NULL; n++) 845s # { 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 845s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 845s # if (info != NULL) 845s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 845s # } 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 845s # { 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 845s # #else 845s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 845s # #endif 845s # 845s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 845s # { 845s # GObjectClass *gobject_class; 845s # GDBusProxyClass *proxy_class; 845s # 845s # gobject_class = G_OBJECT_CLASS (klass); 845s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 845s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 845s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 845s # 845s # proxy_class = G_DBUS_PROXY_CLASS (klass); 845s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 845s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 845s # 845s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 845s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 845s # #endif 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new: 845s # * @connection: A #GDBusConnection. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 845s # * @user_data: User data to pass to @callback. 845s # * 845s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 845s # * 845s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 845s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 845s # * 845s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 845s # */ 845s # void 845s # org_project_signaling_iface_proxy_new ( 845s # GDBusConnection *connection, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GAsyncReadyCallback callback, 845s # gpointer user_data) 845s # { 845s # 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); 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_finish: 845s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 845s # * @error: Return location for error or %NULL 845s # * 845s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_proxy_new_finish ( 845s # GAsyncResult *res, 845s # GError **error) 845s # { 845s # GObject *ret; 845s # GObject *source_object; 845s # source_object = g_async_result_get_source_object (res); 845s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 845s # g_object_unref (source_object); 845s # if (ret != NULL) 845s # return ORG_PROJECT_SIGNALING_IFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_sync: 845s # * @connection: A #GDBusConnection. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @error: Return location for error or %NULL 845s # * 845s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 845s # * 845s # * The calling thread is blocked until a reply is received. 845s # * 845s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_proxy_new_sync ( 845s # GDBusConnection *connection, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GError **error) 845s # { 845s # GInitable *ret; 845s # 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); 845s # if (ret != NULL) 845s # return ORG_PROJECT_SIGNALING_IFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_for_bus: 845s # * @bus_type: A #GBusType. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: A bus name (well-known or unique). 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 845s # * @user_data: User data to pass to @callback. 845s # * 845s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 845s # * 845s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 845s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 845s # * 845s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 845s # */ 845s # void 845s # org_project_signaling_iface_proxy_new_for_bus ( 845s # GBusType bus_type, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GAsyncReadyCallback callback, 845s # gpointer user_data) 845s # { 845s # 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); 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_for_bus_finish: 845s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 845s # * @error: Return location for error or %NULL 845s # * 845s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_proxy_new_for_bus_finish ( 845s # GAsyncResult *res, 845s # GError **error) 845s # { 845s # GObject *ret; 845s # GObject *source_object; 845s # source_object = g_async_result_get_source_object (res); 845s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 845s # g_object_unref (source_object); 845s # if (ret != NULL) 845s # return ORG_PROJECT_SIGNALING_IFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_for_bus_sync: 845s # * @bus_type: A #GBusType. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: A bus name (well-known or unique). 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @error: Return location for error or %NULL 845s # * 845s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 845s # * 845s # * The calling thread is blocked until a reply is received. 845s # * 845s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_proxy_new_for_bus_sync ( 845s # GBusType bus_type, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GError **error) 845s # { 845s # GInitable *ret; 845s # 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); 845s # if (ret != NULL) 845s # return ORG_PROJECT_SIGNALING_IFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # 845s # /* ------------------------------------------------------------------------ */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceSkeleton: 845s # * 845s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 845s # */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceSkeletonClass: 845s # * @parent_class: The parent class. 845s # * 845s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 845s # */ 845s # 845s # struct _OrgProjectSignalingIfaceSkeletonPrivate 845s # { 845s # GValue *properties; 845s # GList *changed_properties; 845s # GSource *changed_properties_idle_source; 845s # GMainContext *context; 845s # GMutex lock; 845s # }; 845s # 845s # static void 845s # _org_project_signaling_iface_skeleton_handle_method_call ( 845s # GDBusConnection *connection G_GNUC_UNUSED, 845s # const gchar *sender G_GNUC_UNUSED, 845s # const gchar *object_path G_GNUC_UNUSED, 845s # const gchar *interface_name, 845s # const gchar *method_name, 845s # GVariant *parameters, 845s # GDBusMethodInvocation *invocation, 845s # gpointer user_data) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 845s # _ExtendedGDBusMethodInfo *info; 845s # GVariantIter iter; 845s # GVariant *child; 845s # GValue *paramv; 845s # gsize num_params; 845s # guint num_extra; 845s # gsize n; 845s # guint signal_id; 845s # GValue return_value = G_VALUE_INIT; 845s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 845s # g_assert (info != NULL); 845s # num_params = g_variant_n_children (parameters); 845s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 845s # n = 0; 845s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 845s # g_value_set_object (¶mv[n++], skeleton); 845s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 845s # g_value_set_object (¶mv[n++], invocation); 845s # if (info->pass_fdlist) 845s # { 845s # #ifdef G_OS_UNIX 845s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 845s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 845s # #else 845s # g_assert_not_reached (); 845s # #endif 845s # } 845s # g_variant_iter_init (&iter, parameters); 845s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 845s # { 845s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 845s # if (arg_info->use_gvariant) 845s # { 845s # g_value_init (¶mv[n], G_TYPE_VARIANT); 845s # g_value_set_variant (¶mv[n], child); 845s # n++; 845s # } 845s # else 845s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 845s # g_variant_unref (child); 845s # } 845s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 845s # g_value_init (&return_value, G_TYPE_BOOLEAN); 845s # g_signal_emitv (paramv, signal_id, 0, &return_value); 845s # if (!g_value_get_boolean (&return_value)) 845s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 845s # g_value_unset (&return_value); 845s # for (n = 0; n < num_params + num_extra; n++) 845s # g_value_unset (¶mv[n]); 845s # g_free (paramv); 845s # } 845s # 845s # static GVariant * 845s # _org_project_signaling_iface_skeleton_handle_get_property ( 845s # GDBusConnection *connection G_GNUC_UNUSED, 845s # const gchar *sender G_GNUC_UNUSED, 845s # const gchar *object_path G_GNUC_UNUSED, 845s # const gchar *interface_name G_GNUC_UNUSED, 845s # const gchar *property_name, 845s # GError **error, 845s # gpointer user_data) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 845s # GValue value = G_VALUE_INIT; 845s # GParamSpec *pspec; 845s # _ExtendedGDBusPropertyInfo *info; 845s # GVariant *ret; 845s # ret = NULL; 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 845s # g_assert (info != NULL); 845s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 845s # if (pspec == NULL) 845s # { 845s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 845s # } 845s # else 845s # { 845s # g_value_init (&value, pspec->value_type); 845s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 845s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 845s # g_value_unset (&value); 845s # } 845s # return ret; 845s # } 845s # 845s # static gboolean 845s # _org_project_signaling_iface_skeleton_handle_set_property ( 845s # GDBusConnection *connection G_GNUC_UNUSED, 845s # const gchar *sender G_GNUC_UNUSED, 845s # const gchar *object_path G_GNUC_UNUSED, 845s # const gchar *interface_name G_GNUC_UNUSED, 845s # const gchar *property_name, 845s # GVariant *variant, 845s # GError **error, 845s # gpointer user_data) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 845s # GValue value = G_VALUE_INIT; 845s # GParamSpec *pspec; 845s # _ExtendedGDBusPropertyInfo *info; 845s # gboolean ret; 845s # ret = FALSE; 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 845s # g_assert (info != NULL); 845s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 845s # if (pspec == NULL) 845s # { 845s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 845s # } 845s # else 845s # { 845s # if (info->use_gvariant) 845s # g_value_set_variant (&value, variant); 845s # else 845s # g_dbus_gvariant_to_gvalue (variant, &value); 845s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 845s # g_value_unset (&value); 845s # ret = TRUE; 845s # } 845s # return ret; 845s # } 845s # 845s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 845s # { 845s # _org_project_signaling_iface_skeleton_handle_method_call, 845s # _org_project_signaling_iface_skeleton_handle_get_property, 845s # _org_project_signaling_iface_skeleton_handle_set_property, 845s # {NULL} 845s # }; 845s # 845s # static GDBusInterfaceInfo * 845s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 845s # { 845s # return org_project_signaling_iface_interface_info (); 845s # } 845s # 845s # static GDBusInterfaceVTable * 845s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 845s # { 845s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 845s # } 845s # 845s # static GVariant * 845s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 845s # 845s # GVariantBuilder builder; 845s # guint n; 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 845s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 845s # #else 845s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 845s # #endif 845s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 845s # goto out; 845s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 845s # { 845s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 845s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 845s # { 845s # GVariant *value; 845s # 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); 845s # if (value != NULL) 845s # { 845s # g_variant_take_ref (value); 845s # g_variant_builder_add (&builder, "{sv}", info->name, value); 845s # g_variant_unref (value); 845s # } 845s # } 845s # } 845s # out: 845s # return g_variant_builder_end (&builder); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # static void 845s # _org_project_signaling_iface_on_signal_simple_signal ( 845s # OrgProjectSignalingIface *object) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 845s # 845s # GList *connections, *l; 845s # GVariant *signal_variant; 845s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 845s # 845s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 845s # for (l = connections; l != NULL; l = l->next) 845s # { 845s # GDBusConnection *connection = l->data; 845s # g_dbus_connection_emit_signal (connection, 845s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 845s # signal_variant, NULL); 845s # } 845s # g_variant_unref (signal_variant); 845s # g_list_free_full (connections, g_object_unref); 845s # } 845s # 845s # static void 845s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 845s # OrgProjectSignalingIface *object, 845s # const gchar *const *arg_arg_as) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 845s # 845s # GList *connections, *l; 845s # GVariant *signal_variant; 845s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 845s # 845s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 845s # arg_arg_as)); 845s # for (l = connections; l != NULL; l = l->next) 845s # { 845s # GDBusConnection *connection = l->data; 845s # g_dbus_connection_emit_signal (connection, 845s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAs", 845s # signal_variant, NULL); 845s # } 845s # g_variant_unref (signal_variant); 845s # g_list_free_full (connections, g_object_unref); 845s # } 845s # 845s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 845s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 845s # 845s # #else 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 845s # 845s # #endif 845s # static void 845s # org_project_signaling_iface_skeleton_finalize (GObject *object) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 845s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 845s # if (skeleton->priv->changed_properties_idle_source != NULL) 845s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 845s # g_main_context_unref (skeleton->priv->context); 845s # g_mutex_clear (&skeleton->priv->lock); 845s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 845s # { 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 845s # #else 845s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 845s # #endif 845s # 845s # g_mutex_init (&skeleton->priv->lock); 845s # skeleton->priv->context = g_main_context_ref_thread_default (); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 845s # { 845s # GObjectClass *gobject_class; 845s # GDBusInterfaceSkeletonClass *skeleton_class; 845s # 845s # gobject_class = G_OBJECT_CLASS (klass); 845s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 845s # 845s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 845s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 845s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 845s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 845s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 845s # 845s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 845s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 845s # #endif 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 845s # { 845s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 845s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_skeleton_new: 845s # * 845s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_skeleton_new (void) 845s # { 845s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 845s # } 845s # Error: 845s # 845s # /tmp/tmp9htticof/tmp722f3u4l.xml: 845s # 845s # 845s # 845s # 845s # 845s # 845s # 845s # 845s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9htticof/tmp722f3u4l.xml', '--output', '-', '--body'] 845s # Return code: 0 845s # Output: 845s # /* 845s # * This file is generated by gdbus-codegen, do not modify it. 845s # * 845s # * The license of this code is the same as for the D-Bus interface description 845s # * it was derived from. Note that it links to GLib, so must comply with the 845s # * LGPL linking clauses. 845s # */ 845s # 845s # #ifdef HAVE_CONFIG_H 845s # # include "config.h" 845s # #endif 845s # 845s # #include 845s # #ifdef G_OS_UNIX 845s # # include 845s # #endif 845s # 845s # #ifdef G_ENABLE_DEBUG 845s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 845s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 845s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 845s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 845s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 845s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 845s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 845s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 845s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 845s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 845s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 845s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 845s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 845s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 845s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 845s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 845s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 845s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 845s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 845s # #else /* !G_ENABLE_DEBUG */ 845s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 845s # * Do not access GValues directly in your code. Instead, use the 845s # * g_value_get_*() functions 845s # */ 845s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 845s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 845s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 845s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 845s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 845s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 845s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 845s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 845s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 845s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 845s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 845s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 845s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 845s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 845s # #endif /* !G_ENABLE_DEBUG */ 845s # 845s # typedef struct 845s # { 845s # GDBusArgInfo parent_struct; 845s # gboolean use_gvariant; 845s # } _ExtendedGDBusArgInfo; 845s # 845s # typedef struct 845s # { 845s # GDBusMethodInfo parent_struct; 845s # const gchar *signal_name; 845s # gboolean pass_fdlist; 845s # } _ExtendedGDBusMethodInfo; 845s # 845s # typedef struct 845s # { 845s # GDBusSignalInfo parent_struct; 845s # const gchar *signal_name; 845s # } _ExtendedGDBusSignalInfo; 845s # 845s # typedef struct 845s # { 845s # GDBusPropertyInfo parent_struct; 845s # const gchar *hyphen_name; 845s # guint use_gvariant : 1; 845s # guint emits_changed_signal : 1; 845s # } _ExtendedGDBusPropertyInfo; 845s # 845s # typedef struct 845s # { 845s # GDBusInterfaceInfo parent_struct; 845s # const gchar *hyphen_name; 845s # } _ExtendedGDBusInterfaceInfo; 845s # 845s # typedef struct 845s # { 845s # const _ExtendedGDBusPropertyInfo *info; 845s # guint prop_id; 845s # GValue orig_value; /* the value before the change */ 845s # } ChangedProperty; 845s # 845s # static void 845s # _changed_property_free (ChangedProperty *data) 845s # { 845s # g_value_unset (&data->orig_value); 845s # g_free (data); 845s # } 845s # 845s # static gboolean 845s # _g_strv_equal0 (gchar **a, gchar **b) 845s # { 845s # gboolean ret = FALSE; 845s # guint n; 845s # if (a == NULL && b == NULL) 845s # { 845s # ret = TRUE; 845s # goto out; 845s # } 845s # if (a == NULL || b == NULL) 845s # goto out; 845s # if (g_strv_length (a) != g_strv_length (b)) 845s # goto out; 845s # for (n = 0; a[n] != NULL; n++) 845s # if (g_strcmp0 (a[n], b[n]) != 0) 845s # goto out; 845s # ret = TRUE; 845s # out: 845s # return ret; 845s # } 845s # 845s # static gboolean 845s # _g_variant_equal0 (GVariant *a, GVariant *b) 845s # { 845s # gboolean ret = FALSE; 845s # if (a == NULL && b == NULL) 845s # { 845s # ret = TRUE; 845s # goto out; 845s # } 845s # if (a == NULL || b == NULL) 845s # goto out; 845s # ret = g_variant_equal (a, b); 845s # out: 845s # return ret; 845s # } 845s # 845s # G_GNUC_UNUSED static gboolean 845s # _g_value_equal (const GValue *a, const GValue *b) 845s # { 845s # gboolean ret = FALSE; 845s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 845s # switch (G_VALUE_TYPE (a)) 845s # { 845s # case G_TYPE_BOOLEAN: 845s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 845s # break; 845s # case G_TYPE_UCHAR: 845s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 845s # break; 845s # case G_TYPE_INT: 845s # ret = (g_value_get_int (a) == g_value_get_int (b)); 845s # break; 845s # case G_TYPE_UINT: 845s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 845s # break; 845s # case G_TYPE_INT64: 845s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 845s # break; 845s # case G_TYPE_UINT64: 845s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 845s # break; 845s # case G_TYPE_DOUBLE: 845s # { 845s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 845s # gdouble da = g_value_get_double (a); 845s # gdouble db = g_value_get_double (b); 845s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 845s # } 845s # break; 845s # case G_TYPE_STRING: 845s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 845s # break; 845s # case G_TYPE_VARIANT: 845s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 845s # break; 845s # default: 845s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 845s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 845s # else 845s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 845s # break; 845s # } 845s # return ret; 845s # } 845s # 845s # /* ------------------------------------------------------------------------ 845s # * Code for interface org.project.SignalingIface 845s # * ------------------------------------------------------------------------ 845s # */ 845s # 845s # /** 845s # * SECTION:OrgProjectSignalingIface 845s # * @title: OrgProjectSignalingIface 845s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 845s # * 845s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 845s # */ 845s # 845s # enum 845s # { 845s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 845s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 845s # }; 845s # 845s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 845s # 845s # /* ---- Introspection data for org.project.SignalingIface ---- */ 845s # 845s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 845s # { 845s # { 845s # -1, 845s # (gchar *) "SimpleSignal", 845s # NULL, 845s # NULL 845s # }, 845s # "simple-signal" 845s # }; 845s # 845s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao = 845s # { 845s # { 845s # -1, 845s # (gchar *) "arg_ao", 845s # (gchar *) "ao", 845s # NULL 845s # }, 845s # FALSE 845s # }; 845s # 845s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 845s # { 845s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao.parent_struct, 845s # NULL 845s # }; 845s # 845s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 845s # { 845s # { 845s # -1, 845s # (gchar *) "SingleArgSignalAo", 845s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 845s # NULL 845s # }, 845s # "single-arg-signal-ao" 845s # }; 845s # 845s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 845s # { 845s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 845s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 845s # NULL 845s # }; 845s # 845s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 845s # { 845s # { 845s # -1, 845s # (gchar *) "org.project.SignalingIface", 845s # NULL, 845s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 845s # NULL, 845s # NULL 845s # }, 845s # "org-project-signaling-iface", 845s # }; 845s # 845s # 845s # /** 845s # * org_project_signaling_iface_interface_info: 845s # * 845s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 845s # * 845s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 845s # */ 845s # GDBusInterfaceInfo * 845s # org_project_signaling_iface_interface_info (void) 845s # { 845s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_override_properties: 845s # * @klass: The class structure for a #GObject derived class. 845s # * @property_id_begin: The property id to assign to the first overridden property. 845s # * 845s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 845s # * The properties are overridden in the order they are defined. 845s # * 845s # * Returns: The last property id. 845s # */ 845s # guint 845s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 845s # { 845s # return property_id_begin - 1; 845s # } 845s # 845s # 845s # inline static void 845s # org_project_signaling_iface_signal_marshal_simple_signal ( 845s # GClosure *closure, 845s # GValue *return_value, 845s # unsigned int n_param_values, 845s # const GValue *param_values, 845s # void *invocation_hint, 845s # void *marshal_data) 845s # { 845s # g_cclosure_marshal_VOID__VOID (closure, 845s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 845s # } 845s # 845s # inline static void 845s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 845s # GClosure *closure, 845s # GValue *return_value, 845s # unsigned int n_param_values, 845s # const GValue *param_values, 845s # void *invocation_hint, 845s # void *marshal_data) 845s # { 845s # g_cclosure_marshal_VOID__BOXED (closure, 845s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 845s # } 845s # 845s # 845s # /** 845s # * OrgProjectSignalingIface: 845s # * 845s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 845s # */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceIface: 845s # * @parent_iface: The parent interface. 845s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 845s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 845s # * 845s # * Virtual table for the D-Bus interface org.project.SignalingIface. 845s # */ 845s # 845s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 845s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 845s # 845s # static void 845s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 845s # { 845s # /* GObject signals for received D-Bus signals: */ 845s # /** 845s # * OrgProjectSignalingIface::simple-signal: 845s # * @object: A #OrgProjectSignalingIface. 845s # * 845s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 845s # * 845s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 845s # */ 845s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 845s # g_signal_new ("simple-signal", 845s # G_TYPE_FROM_INTERFACE (iface), 845s # G_SIGNAL_RUN_LAST, 845s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 845s # NULL, 845s # NULL, 845s # org_project_signaling_iface_signal_marshal_simple_signal, 845s # G_TYPE_NONE, 845s # 0); 845s # 845s # /** 845s # * OrgProjectSignalingIface::single-arg-signal-ao: 845s # * @object: A #OrgProjectSignalingIface. 845s # * @arg_arg_ao: Argument. 845s # * 845s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAo" is received. 845s # * 845s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 845s # */ 845s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 845s # g_signal_new ("single-arg-signal-ao", 845s # G_TYPE_FROM_INTERFACE (iface), 845s # G_SIGNAL_RUN_LAST, 845s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 845s # NULL, 845s # NULL, 845s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 845s # G_TYPE_NONE, 845s # 1, G_TYPE_STRV); 845s # 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_emit_simple_signal: 845s # * @object: A #OrgProjectSignalingIface. 845s # * 845s # * Emits the "SimpleSignal" D-Bus signal. 845s # */ 845s # void 845s # org_project_signaling_iface_emit_simple_signal ( 845s # OrgProjectSignalingIface *object) 845s # { 845s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_emit_single_arg_signal_ao: 845s # * @object: A #OrgProjectSignalingIface. 845s # * @arg_arg_ao: Argument to pass with the signal. 845s # * 845s # * Emits the "SingleArgSignalAo" D-Bus signal. 845s # */ 845s # void 845s # org_project_signaling_iface_emit_single_arg_signal_ao ( 845s # OrgProjectSignalingIface *object, 845s # const gchar *const *arg_arg_ao) 845s # { 845s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_arg_ao); 845s # } 845s # 845s # /* ------------------------------------------------------------------------ */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceProxy: 845s # * 845s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 845s # */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceProxyClass: 845s # * @parent_class: The parent class. 845s # * 845s # * Class structure for #OrgProjectSignalingIfaceProxy. 845s # */ 845s # 845s # struct _OrgProjectSignalingIfaceProxyPrivate 845s # { 845s # GData *qdata; 845s # }; 845s # 845s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 845s # 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 845s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 845s # 845s # #else 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 845s # 845s # #endif 845s # static void 845s # org_project_signaling_iface_proxy_finalize (GObject *object) 845s # { 845s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 845s # g_datalist_clear (&proxy->priv->qdata); 845s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 845s # guint prop_id G_GNUC_UNUSED, 845s # GValue *value G_GNUC_UNUSED, 845s # GParamSpec *pspec G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 845s # guint prop_id G_GNUC_UNUSED, 845s # const GValue *value G_GNUC_UNUSED, 845s # GParamSpec *pspec G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 845s # const gchar *sender_name G_GNUC_UNUSED, 845s # const gchar *signal_name, 845s # GVariant *parameters) 845s # { 845s # _ExtendedGDBusSignalInfo *info; 845s # GVariantIter iter; 845s # GVariant *child; 845s # GValue *paramv; 845s # gsize num_params; 845s # gsize n; 845s # guint signal_id; 845s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 845s # if (info == NULL) 845s # return; 845s # num_params = g_variant_n_children (parameters); 845s # paramv = g_new0 (GValue, num_params + 1); 845s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 845s # g_value_set_object (¶mv[0], proxy); 845s # g_variant_iter_init (&iter, parameters); 845s # n = 1; 845s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 845s # { 845s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 845s # if (arg_info->use_gvariant) 845s # { 845s # g_value_init (¶mv[n], G_TYPE_VARIANT); 845s # g_value_set_variant (¶mv[n], child); 845s # n++; 845s # } 845s # else 845s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 845s # g_variant_unref (child); 845s # } 845s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 845s # g_signal_emitv (paramv, signal_id, 0, NULL); 845s # for (n = 0; n < num_params + 1; n++) 845s # g_value_unset (¶mv[n]); 845s # g_free (paramv); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 845s # GVariant *changed_properties, 845s # const gchar *const *invalidated_properties) 845s # { 845s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 845s # guint n; 845s # const gchar *key; 845s # GVariantIter *iter; 845s # _ExtendedGDBusPropertyInfo *info; 845s # g_variant_get (changed_properties, "a{sv}", &iter); 845s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 845s # { 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 845s # g_datalist_remove_data (&proxy->priv->qdata, key); 845s # if (info != NULL) 845s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 845s # } 845s # g_variant_iter_free (iter); 845s # for (n = 0; invalidated_properties[n] != NULL; n++) 845s # { 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 845s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 845s # if (info != NULL) 845s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 845s # } 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 845s # { 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 845s # #else 845s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 845s # #endif 845s # 845s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 845s # { 845s # GObjectClass *gobject_class; 845s # GDBusProxyClass *proxy_class; 845s # 845s # gobject_class = G_OBJECT_CLASS (klass); 845s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 845s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 845s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 845s # 845s # proxy_class = G_DBUS_PROXY_CLASS (klass); 845s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 845s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 845s # 845s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 845s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 845s # #endif 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new: 845s # * @connection: A #GDBusConnection. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 845s # * @user_data: User data to pass to @callback. 845s # * 845s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 845s # * 845s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 845s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 845s # * 845s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 845s # */ 845s # void 845s # org_project_signaling_iface_proxy_new ( 845s # GDBusConnection *connection, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GAsyncReadyCallback callback, 845s # gpointer user_data) 845s # { 845s # 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); 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_finish: 845s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 845s # * @error: Return location for error or %NULL 845s # * 845s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_proxy_new_finish ( 845s # GAsyncResult *res, 845s # GError **error) 845s # { 845s # GObject *ret; 845s # GObject *source_object; 845s # source_object = g_async_result_get_source_object (res); 845s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 845s # g_object_unref (source_object); 845s # if (ret != NULL) 845s # return ORG_PROJECT_SIGNALING_IFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_sync: 845s # * @connection: A #GDBusConnection. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @error: Return location for error or %NULL 845s # * 845s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 845s # * 845s # * The calling thread is blocked until a reply is received. 845s # * 845s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_proxy_new_sync ( 845s # GDBusConnection *connection, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GError **error) 845s # { 845s # GInitable *ret; 845s # 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); 845s # if (ret != NULL) 845s # return ORG_PROJECT_SIGNALING_IFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_for_bus: 845s # * @bus_type: A #GBusType. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: A bus name (well-known or unique). 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 845s # * @user_data: User data to pass to @callback. 845s # * 845s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 845s # * 845s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 845s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 845s # * 845s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 845s # */ 845s # void 845s # org_project_signaling_iface_proxy_new_for_bus ( 845s # GBusType bus_type, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GAsyncReadyCallback callback, 845s # gpointer user_data) 845s # { 845s # 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); 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_for_bus_finish: 845s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 845s # * @error: Return location for error or %NULL 845s # * 845s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_proxy_new_for_bus_finish ( 845s # GAsyncResult *res, 845s # GError **error) 845s # { 845s # GObject *ret; 845s # GObject *source_object; 845s # source_object = g_async_result_get_source_object (res); 845s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 845s # g_object_unref (source_object); 845s # if (ret != NULL) 845s # return ORG_PROJECT_SIGNALING_IFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_for_bus_sync: 845s # * @bus_type: A #GBusType. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: A bus name (well-known or unique). 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @error: Return location for error or %NULL 845s # * 845s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 845s # * 845s # * The calling thread is blocked until a reply is received. 845s # * 845s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_proxy_new_for_bus_sync ( 845s # GBusType bus_type, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GError **error) 845s # { 845s # GInitable *ret; 845s # 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); 845s # if (ret != NULL) 845s # return ORG_PROJECT_SIGNALING_IFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # 845s # /* ------------------------------------------------------------------------ */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceSkeleton: 845s # * 845s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 845s # */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceSkeletonClass: 845s # * @parent_class: The parent class. 845s # * 845s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 845s # */ 845s # 845s # struct _OrgProjectSignalingIfaceSkeletonPrivate 845s # { 845s # GValue *properties; 845s # GList *changed_properties; 845s # GSource *changed_properties_idle_source; 845s # GMainContext *context; 845s # GMutex lock; 845s # }; 845s # 845s # static void 845s # _org_project_signaling_iface_skeleton_handle_method_call ( 845s # GDBusConnection *connection G_GNUC_UNUSED, 845s # const gchar *sender G_GNUC_UNUSED, 845s # const gchar *object_path G_GNUC_UNUSED, 845s # const gchar *interface_name, 845s # const gchar *method_name, 845s # GVariant *parameters, 845s # GDBusMethodInvocation *invocation, 845s # gpointer user_data) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 845s # _ExtendedGDBusMethodInfo *info; 845s # GVariantIter iter; 845s # GVariant *child; 845s # GValue *paramv; 845s # gsize num_params; 845s # guint num_extra; 845s # gsize n; 845s # guint signal_id; 845s # GValue return_value = G_VALUE_INIT; 845s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 845s # g_assert (info != NULL); 845s # num_params = g_variant_n_children (parameters); 845s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 845s # n = 0; 845s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 845s # g_value_set_object (¶mv[n++], skeleton); 845s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 845s # g_value_set_object (¶mv[n++], invocation); 845s # if (info->pass_fdlist) 845s # { 845s # #ifdef G_OS_UNIX 845s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 845s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 845s # #else 845s # g_assert_not_reached (); 845s # #endif 845s # } 845s # g_variant_iter_init (&iter, parameters); 845s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 845s # { 845s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 845s # if (arg_info->use_gvariant) 845s # { 845s # g_value_init (¶mv[n], G_TYPE_VARIANT); 845s # g_value_set_variant (¶mv[n], child); 845s # n++; 845s # } 845s # else 845s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 845s # g_variant_unref (child); 845s # } 845s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 845s # g_value_init (&return_value, G_TYPE_BOOLEAN); 845s # g_signal_emitv (paramv, signal_id, 0, &return_value); 845s # if (!g_value_get_boolean (&return_value)) 845s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 845s # g_value_unset (&return_value); 845s # for (n = 0; n < num_params + num_extra; n++) 845s # g_value_unset (¶mv[n]); 845s # g_free (paramv); 845s # } 845s # 845s # static GVariant * 845s # _org_project_signaling_iface_skeleton_handle_get_property ( 845s # GDBusConnection *connection G_GNUC_UNUSED, 845s # const gchar *sender G_GNUC_UNUSED, 845s # const gchar *object_path G_GNUC_UNUSED, 845s # const gchar *interface_name G_GNUC_UNUSED, 845s # const gchar *property_name, 845s # GError **error, 845s # gpointer user_data) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 845s # GValue value = G_VALUE_INIT; 845s # GParamSpec *pspec; 845s # _ExtendedGDBusPropertyInfo *info; 845s # GVariant *ret; 845s # ret = NULL; 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 845s # g_assert (info != NULL); 845s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 845s # if (pspec == NULL) 845s # { 845s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 845s # } 845s # else 845s # { 845s # g_value_init (&value, pspec->value_type); 845s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 845s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 845s # g_value_unset (&value); 845s # } 845s # return ret; 845s # } 845s # 845s # static gboolean 845s # _org_project_signaling_iface_skeleton_handle_set_property ( 845s # GDBusConnection *connection G_GNUC_UNUSED, 845s # const gchar *sender G_GNUC_UNUSED, 845s # const gchar *object_path G_GNUC_UNUSED, 845s # const gchar *interface_name G_GNUC_UNUSED, 845s # const gchar *property_name, 845s # GVariant *variant, 845s # GError **error, 845s # gpointer user_data) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 845s # GValue value = G_VALUE_INIT; 845s # GParamSpec *pspec; 845s # _ExtendedGDBusPropertyInfo *info; 845s # gboolean ret; 845s # ret = FALSE; 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 845s # g_assert (info != NULL); 845s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 845s # if (pspec == NULL) 845s # { 845s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 845s # } 845s # else 845s # { 845s # if (info->use_gvariant) 845s # g_value_set_variant (&value, variant); 845s # else 845s # g_dbus_gvariant_to_gvalue (variant, &value); 845s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 845s # g_value_unset (&value); 845s # ret = TRUE; 845s # } 845s # return ret; 845s # } 845s # 845s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 845s # { 845s # _org_project_signaling_iface_skeleton_handle_method_call, 845s # _org_project_signaling_iface_skeleton_handle_get_property, 845s # _org_project_signaling_iface_skeleton_handle_set_property, 845s # {NULL} 845s # }; 845s # 845s # static GDBusInterfaceInfo * 845s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 845s # { 845s # return org_project_signaling_iface_interface_info (); 845s # } 845s # 845s # static GDBusInterfaceVTable * 845s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 845s # { 845s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 845s # } 845s # 845s # static GVariant * 845s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 845s # 845s # GVariantBuilder builder; 845s # guint n; 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 845s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 845s # #else 845s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 845s # #endif 845s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 845s # goto out; 845s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 845s # { 845s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 845s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 845s # { 845s # GVariant *value; 845s # 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); 845s # if (value != NULL) 845s # { 845s # g_variant_take_ref (value); 845s # g_variant_builder_add (&builder, "{sv}", info->name, value); 845s # g_variant_unref (value); 845s # } 845s # } 845s # } 845s # out: 845s # return g_variant_builder_end (&builder); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # static void 845s # _org_project_signaling_iface_on_signal_simple_signal ( 845s # OrgProjectSignalingIface *object) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 845s # 845s # GList *connections, *l; 845s # GVariant *signal_variant; 845s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 845s # 845s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 845s # for (l = connections; l != NULL; l = l->next) 845s # { 845s # GDBusConnection *connection = l->data; 845s # g_dbus_connection_emit_signal (connection, 845s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 845s # signal_variant, NULL); 845s # } 845s # g_variant_unref (signal_variant); 845s # g_list_free_full (connections, g_object_unref); 845s # } 845s # 845s # static void 845s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 845s # OrgProjectSignalingIface *object, 845s # const gchar *const *arg_arg_ao) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 845s # 845s # GList *connections, *l; 845s # GVariant *signal_variant; 845s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 845s # 845s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 845s # arg_arg_ao)); 845s # for (l = connections; l != NULL; l = l->next) 845s # { 845s # GDBusConnection *connection = l->data; 845s # g_dbus_connection_emit_signal (connection, 845s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAo", 845s # signal_variant, NULL); 845s # } 845s # g_variant_unref (signal_variant); 845s # g_list_free_full (connections, g_object_unref); 845s # } 845s # 845s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 845s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 845s # 845s # #else 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 845s # 845s # #endif 845s # static void 845s # org_project_signaling_iface_skeleton_finalize (GObject *object) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 845s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 845s # if (skeleton->priv->changed_properties_idle_source != NULL) 845s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 845s # g_main_context_unref (skeleton->priv->context); 845s # g_mutex_clear (&skeleton->priv->lock); 845s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 845s # { 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 845s # #else 845s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 845s # #endif 845s # 845s # g_mutex_init (&skeleton->priv->lock); 845s # skeleton->priv->context = g_main_context_ref_thread_default (); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 845s # { 845s # GObjectClass *gobject_class; 845s # GDBusInterfaceSkeletonClass *skeleton_class; 845s # 845s # gobject_class = G_OBJECT_CLASS (klass); 845s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 845s # 845s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 845s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 845s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 845s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 845s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 845s # 845s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 845s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 845s # #endif 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 845s # { 845s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 845s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_skeleton_new: 845s # * 845s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_skeleton_new (void) 845s # { 845s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 845s # } 845s # Error: 845s # 845s # /tmp/tmp9htticof/tmpuvm56tr9.xml: 845s # 845s # 845s # 845s # 845s # 845s # 845s # 845s # 845s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9htticof/tmpuvm56tr9.xml', '--output', '-', '--body'] 845s # Return code: 0 845s # Output: 845s # /* 845s # * This file is generated by gdbus-codegen, do not modify it. 845s # * 845s # * The license of this code is the same as for the D-Bus interface description 845s # * it was derived from. Note that it links to GLib, so must comply with the 845s # * LGPL linking clauses. 845s # */ 845s # 845s # #ifdef HAVE_CONFIG_H 845s # # include "config.h" 845s # #endif 845s # 845s # #include 845s # #ifdef G_OS_UNIX 845s # # include 845s # #endif 845s # 845s # #ifdef G_ENABLE_DEBUG 845s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 845s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 845s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 845s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 845s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 845s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 845s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 845s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 845s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 845s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 845s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 845s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 845s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 845s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 845s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 845s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 845s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 845s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 845s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 845s # #else /* !G_ENABLE_DEBUG */ 845s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 845s # * Do not access GValues directly in your code. Instead, use the 845s # * g_value_get_*() functions 845s # */ 845s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 845s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 845s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 845s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 845s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 845s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 845s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 845s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 845s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 845s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 845s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 845s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 845s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 845s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 845s # #endif /* !G_ENABLE_DEBUG */ 845s # 845s # typedef struct 845s # { 845s # GDBusArgInfo parent_struct; 845s # gboolean use_gvariant; 845s # } _ExtendedGDBusArgInfo; 845s # 845s # typedef struct 845s # { 845s # GDBusMethodInfo parent_struct; 845s # const gchar *signal_name; 845s # gboolean pass_fdlist; 845s # } _ExtendedGDBusMethodInfo; 845s # 845s # typedef struct 845s # { 845s # GDBusSignalInfo parent_struct; 845s # const gchar *signal_name; 845s # } _ExtendedGDBusSignalInfo; 845s # 845s # typedef struct 845s # { 845s # GDBusPropertyInfo parent_struct; 845s # const gchar *hyphen_name; 845s # guint use_gvariant : 1; 845s # guint emits_changed_signal : 1; 845s # } _ExtendedGDBusPropertyInfo; 845s # 845s # typedef struct 845s # { 845s # GDBusInterfaceInfo parent_struct; 845s # const gchar *hyphen_name; 845s # } _ExtendedGDBusInterfaceInfo; 845s # 845s # typedef struct 845s # { 845s # const _ExtendedGDBusPropertyInfo *info; 845s # guint prop_id; 845s # GValue orig_value; /* the value before the change */ 845s # } ChangedProperty; 845s # 845s # static void 845s # _changed_property_free (ChangedProperty *data) 845s # { 845s # g_value_unset (&data->orig_value); 845s # g_free (data); 845s # } 845s # 845s # static gboolean 845s # _g_strv_equal0 (gchar **a, gchar **b) 845s # { 845s # gboolean ret = FALSE; 845s # guint n; 845s # if (a == NULL && b == NULL) 845s # { 845s # ret = TRUE; 845s # goto out; 845s # } 845s # if (a == NULL || b == NULL) 845s # goto out; 845s # if (g_strv_length (a) != g_strv_length (b)) 845s # goto out; 845s # for (n = 0; a[n] != NULL; n++) 845s # if (g_strcmp0 (a[n], b[n]) != 0) 845s # goto out; 845s # ret = TRUE; 845s # out: 845s # return ret; 845s # } 845s # 845s # static gboolean 845s # _g_variant_equal0 (GVariant *a, GVariant *b) 845s # { 845s # gboolean ret = FALSE; 845s # if (a == NULL && b == NULL) 845s # { 845s # ret = TRUE; 845s # goto out; 845s # } 845s # if (a == NULL || b == NULL) 845s # goto out; 845s # ret = g_variant_equal (a, b); 845s # out: 845s # return ret; 845s # } 845s # 845s # G_GNUC_UNUSED static gboolean 845s # _g_value_equal (const GValue *a, const GValue *b) 845s # { 845s # gboolean ret = FALSE; 845s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 845s # switch (G_VALUE_TYPE (a)) 845s # { 845s # case G_TYPE_BOOLEAN: 845s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 845s # break; 845s # case G_TYPE_UCHAR: 845s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 845s # break; 845s # case G_TYPE_INT: 845s # ret = (g_value_get_int (a) == g_value_get_int (b)); 845s # break; 845s # case G_TYPE_UINT: 845s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 845s # break; 845s # case G_TYPE_INT64: 845s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 845s # break; 845s # case G_TYPE_UINT64: 845s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 845s # break; 845s # case G_TYPE_DOUBLE: 845s # { 845s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 845s # gdouble da = g_value_get_double (a); 845s # gdouble db = g_value_get_double (b); 845s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 845s # } 845s # break; 845s # case G_TYPE_STRING: 845s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 845s # break; 845s # case G_TYPE_VARIANT: 845s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 845s # break; 845s # default: 845s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 845s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 845s # else 845s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 845s # break; 845s # } 845s # return ret; 845s # } 845s # 845s # /* ------------------------------------------------------------------------ 845s # * Code for interface org.project.SignalingIface 845s # * ------------------------------------------------------------------------ 845s # */ 845s # 845s # /** 845s # * SECTION:OrgProjectSignalingIface 845s # * @title: OrgProjectSignalingIface 845s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 845s # * 845s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 845s # */ 845s # 845s # enum 845s # { 845s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 845s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 845s # }; 845s # 845s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 845s # 845s # /* ---- Introspection data for org.project.SignalingIface ---- */ 845s # 845s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 845s # { 845s # { 845s # -1, 845s # (gchar *) "SimpleSignal", 845s # NULL, 845s # NULL 845s # }, 845s # "simple-signal" 845s # }; 845s # 845s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay = 845s # { 845s # { 845s # -1, 845s # (gchar *) "arg_aay", 845s # (gchar *) "aay", 845s # NULL 845s # }, 845s # FALSE 845s # }; 845s # 845s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 845s # { 845s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay.parent_struct, 845s # NULL 845s # }; 845s # 845s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 845s # { 845s # { 845s # -1, 845s # (gchar *) "SingleArgSignalAay", 845s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 845s # NULL 845s # }, 845s # "single-arg-signal-aay" 845s # }; 845s # 845s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 845s # { 845s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 845s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 845s # NULL 845s # }; 845s # 845s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 845s # { 845s # { 845s # -1, 845s # (gchar *) "org.project.SignalingIface", 845s # NULL, 845s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 845s # NULL, 845s # NULL 845s # }, 845s # "org-project-signaling-iface", 845s # }; 845s # 845s # 845s # /** 845s # * org_project_signaling_iface_interface_info: 845s # * 845s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 845s # * 845s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 845s # */ 845s # GDBusInterfaceInfo * 845s # org_project_signaling_iface_interface_info (void) 845s # { 845s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_override_properties: 845s # * @klass: The class structure for a #GObject derived class. 845s # * @property_id_begin: The property id to assign to the first overridden property. 845s # * 845s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 845s # * The properties are overridden in the order they are defined. 845s # * 845s # * Returns: The last property id. 845s # */ 845s # guint 845s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 845s # { 845s # return property_id_begin - 1; 845s # } 845s # 845s # 845s # inline static void 845s # org_project_signaling_iface_signal_marshal_simple_signal ( 845s # GClosure *closure, 845s # GValue *return_value, 845s # unsigned int n_param_values, 845s # const GValue *param_values, 845s # void *invocation_hint, 845s # void *marshal_data) 845s # { 845s # g_cclosure_marshal_VOID__VOID (closure, 845s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 845s # } 845s # 845s # inline static void 845s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 845s # GClosure *closure, 845s # GValue *return_value, 845s # unsigned int n_param_values, 845s # const GValue *param_values, 845s # void *invocation_hint, 845s # void *marshal_data) 845s # { 845s # g_cclosure_marshal_VOID__BOXED (closure, 845s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 845s # } 845s # 845s # 845s # /** 845s # * OrgProjectSignalingIface: 845s # * 845s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 845s # */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceIface: 845s # * @parent_iface: The parent interface. 845s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 845s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 845s # * 845s # * Virtual table for the D-Bus interface org.project.SignalingIface. 845s # */ 845s # 845s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 845s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 845s # 845s # static void 845s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 845s # { 845s # /* GObject signals for received D-Bus signals: */ 845s # /** 845s # * OrgProjectSignalingIface::simple-signal: 845s # * @object: A #OrgProjectSignalingIface. 845s # * 845s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 845s # * 845s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 845s # */ 845s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 845s # g_signal_new ("simple-signal", 845s # G_TYPE_FROM_INTERFACE (iface), 845s # G_SIGNAL_RUN_LAST, 845s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 845s # NULL, 845s # NULL, 845s # org_project_signaling_iface_signal_marshal_simple_signal, 845s # G_TYPE_NONE, 845s # 0); 845s # 845s # /** 845s # * OrgProjectSignalingIface::single-arg-signal-aay: 845s # * @object: A #OrgProjectSignalingIface. 845s # * @arg_arg_aay: Argument. 845s # * 845s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAay" is received. 845s # * 845s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 845s # */ 845s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 845s # g_signal_new ("single-arg-signal-aay", 845s # G_TYPE_FROM_INTERFACE (iface), 845s # G_SIGNAL_RUN_LAST, 845s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 845s # NULL, 845s # NULL, 845s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 845s # G_TYPE_NONE, 845s # 1, G_TYPE_STRV); 845s # 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_emit_simple_signal: 845s # * @object: A #OrgProjectSignalingIface. 845s # * 845s # * Emits the "SimpleSignal" D-Bus signal. 845s # */ 845s # void 845s # org_project_signaling_iface_emit_simple_signal ( 845s # OrgProjectSignalingIface *object) 845s # { 845s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_emit_single_arg_signal_aay: 845s # * @object: A #OrgProjectSignalingIface. 845s # * @arg_arg_aay: Argument to pass with the signal. 845s # * 845s # * Emits the "SingleArgSignalAay" D-Bus signal. 845s # */ 845s # void 845s # org_project_signaling_iface_emit_single_arg_signal_aay ( 845s # OrgProjectSignalingIface *object, 845s # const gchar *const *arg_arg_aay) 845s # { 845s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_arg_aay); 845s # } 845s # 845s # /* ------------------------------------------------------------------------ */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceProxy: 845s # * 845s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 845s # */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceProxyClass: 845s # * @parent_class: The parent class. 845s # * 845s # * Class structure for #OrgProjectSignalingIfaceProxy. 845s # */ 845s # 845s # struct _OrgProjectSignalingIfaceProxyPrivate 845s # { 845s # GData *qdata; 845s # }; 845s # 845s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 845s # 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 845s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 845s # 845s # #else 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 845s # 845s # #endif 845s # static void 845s # org_project_signaling_iface_proxy_finalize (GObject *object) 845s # { 845s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 845s # g_datalist_clear (&proxy->priv->qdata); 845s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 845s # guint prop_id G_GNUC_UNUSED, 845s # GValue *value G_GNUC_UNUSED, 845s # GParamSpec *pspec G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 845s # guint prop_id G_GNUC_UNUSED, 845s # const GValue *value G_GNUC_UNUSED, 845s # GParamSpec *pspec G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 845s # const gchar *sender_name G_GNUC_UNUSED, 845s # const gchar *signal_name, 845s # GVariant *parameters) 845s # { 845s # _ExtendedGDBusSignalInfo *info; 845s # GVariantIter iter; 845s # GVariant *child; 845s # GValue *paramv; 845s # gsize num_params; 845s # gsize n; 845s # guint signal_id; 845s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 845s # if (info == NULL) 845s # return; 845s # num_params = g_variant_n_children (parameters); 845s # paramv = g_new0 (GValue, num_params + 1); 845s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 845s # g_value_set_object (¶mv[0], proxy); 845s # g_variant_iter_init (&iter, parameters); 845s # n = 1; 845s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 845s # { 845s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 845s # if (arg_info->use_gvariant) 845s # { 845s # g_value_init (¶mv[n], G_TYPE_VARIANT); 845s # g_value_set_variant (¶mv[n], child); 845s # n++; 845s # } 845s # else 845s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 845s # g_variant_unref (child); 845s # } 845s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 845s # g_signal_emitv (paramv, signal_id, 0, NULL); 845s # for (n = 0; n < num_params + 1; n++) 845s # g_value_unset (¶mv[n]); 845s # g_free (paramv); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 845s # GVariant *changed_properties, 845s # const gchar *const *invalidated_properties) 845s # { 845s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 845s # guint n; 845s # const gchar *key; 845s # GVariantIter *iter; 845s # _ExtendedGDBusPropertyInfo *info; 845s # g_variant_get (changed_properties, "a{sv}", &iter); 845s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 845s # { 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 845s # g_datalist_remove_data (&proxy->priv->qdata, key); 845s # if (info != NULL) 845s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 845s # } 845s # g_variant_iter_free (iter); 845s # for (n = 0; invalidated_properties[n] != NULL; n++) 845s # { 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 845s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 845s # if (info != NULL) 845s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 845s # } 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 845s # { 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 845s # #else 845s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 845s # #endif 845s # 845s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 845s # { 845s # GObjectClass *gobject_class; 845s # GDBusProxyClass *proxy_class; 845s # 845s # gobject_class = G_OBJECT_CLASS (klass); 845s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 845s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 845s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 845s # 845s # proxy_class = G_DBUS_PROXY_CLASS (klass); 845s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 845s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 845s # 845s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 845s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 845s # #endif 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new: 845s # * @connection: A #GDBusConnection. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 845s # * @user_data: User data to pass to @callback. 845s # * 845s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 845s # * 845s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 845s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 845s # * 845s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 845s # */ 845s # void 845s # org_project_signaling_iface_proxy_new ( 845s # GDBusConnection *connection, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GAsyncReadyCallback callback, 845s # gpointer user_data) 845s # { 845s # 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); 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_finish: 845s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 845s # * @error: Return location for error or %NULL 845s # * 845s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_proxy_new_finish ( 845s # GAsyncResult *res, 845s # GError **error) 845s # { 845s # GObject *ret; 845s # GObject *source_object; 845s # source_object = g_async_result_get_source_object (res); 845s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 845s # g_object_unref (source_object); 845s # if (ret != NULL) 845s # return ORG_PROJECT_SIGNALING_IFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_sync: 845s # * @connection: A #GDBusConnection. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @error: Return location for error or %NULL 845s # * 845s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 845s # * 845s # * The calling thread is blocked until a reply is received. 845s # * 845s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_proxy_new_sync ( 845s # GDBusConnection *connection, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GError **error) 845s # { 845s # GInitable *ret; 845s # 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); 845s # if (ret != NULL) 845s # return ORG_PROJECT_SIGNALING_IFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_for_bus: 845s # * @bus_type: A #GBusType. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: A bus name (well-known or unique). 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 845s # * @user_data: User data to pass to @callback. 845s # * 845s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 845s # * 845s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 845s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 845s # * 845s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 845s # */ 845s # void 845s # org_project_signaling_iface_proxy_new_for_bus ( 845s # GBusType bus_type, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GAsyncReadyCallback callback, 845s # gpointer user_data) 845s # { 845s # 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); 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_for_bus_finish: 845s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 845s # * @error: Return location for error or %NULL 845s # * 845s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_proxy_new_for_bus_finish ( 845s # GAsyncResult *res, 845s # GError **error) 845s # { 845s # GObject *ret; 845s # GObject *source_object; 845s # source_object = g_async_result_get_source_object (res); 845s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 845s # g_object_unref (source_object); 845s # if (ret != NULL) 845s # return ORG_PROJECT_SIGNALING_IFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_for_bus_sync: 845s # * @bus_type: A #GBusType. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: A bus name (well-known or unique). 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @error: Return location for error or %NULL 845s # * 845s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 845s # * 845s # * The calling thread is blocked until a reply is received. 845s # * 845s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_proxy_new_for_bus_sync ( 845s # GBusType bus_type, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GError **error) 845s # { 845s # GInitable *ret; 845s # 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); 845s # if (ret != NULL) 845s # return ORG_PROJECT_SIGNALING_IFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # 845s # /* ------------------------------------------------------------------------ */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceSkeleton: 845s # * 845s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 845s # */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceSkeletonClass: 845s # * @parent_class: The parent class. 845s # * 845s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 845s # */ 845s # 845s # struct _OrgProjectSignalingIfaceSkeletonPrivate 845s # { 845s # GValue *properties; 845s # GList *changed_properties; 845s # GSource *changed_properties_idle_source; 845s # GMainContext *context; 845s # GMutex lock; 845s # }; 845s # 845s # static void 845s # _org_project_signaling_iface_skeleton_handle_method_call ( 845s # GDBusConnection *connection G_GNUC_UNUSED, 845s # const gchar *sender G_GNUC_UNUSED, 845s # const gchar *object_path G_GNUC_UNUSED, 845s # const gchar *interface_name, 845s # const gchar *method_name, 845s # GVariant *parameters, 845s # GDBusMethodInvocation *invocation, 845s # gpointer user_data) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 845s # _ExtendedGDBusMethodInfo *info; 845s # GVariantIter iter; 845s # GVariant *child; 845s # GValue *paramv; 845s # gsize num_params; 845s # guint num_extra; 845s # gsize n; 845s # guint signal_id; 845s # GValue return_value = G_VALUE_INIT; 845s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 845s # g_assert (info != NULL); 845s # num_params = g_variant_n_children (parameters); 845s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 845s # n = 0; 845s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 845s # g_value_set_object (¶mv[n++], skeleton); 845s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 845s # g_value_set_object (¶mv[n++], invocation); 845s # if (info->pass_fdlist) 845s # { 845s # #ifdef G_OS_UNIX 845s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 845s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 845s # #else 845s # g_assert_not_reached (); 845s # #endif 845s # } 845s # g_variant_iter_init (&iter, parameters); 845s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 845s # { 845s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 845s # if (arg_info->use_gvariant) 845s # { 845s # g_value_init (¶mv[n], G_TYPE_VARIANT); 845s # g_value_set_variant (¶mv[n], child); 845s # n++; 845s # } 845s # else 845s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 845s # g_variant_unref (child); 845s # } 845s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 845s # g_value_init (&return_value, G_TYPE_BOOLEAN); 845s # g_signal_emitv (paramv, signal_id, 0, &return_value); 845s # if (!g_value_get_boolean (&return_value)) 845s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 845s # g_value_unset (&return_value); 845s # for (n = 0; n < num_params + num_extra; n++) 845s # g_value_unset (¶mv[n]); 845s # g_free (paramv); 845s # } 845s # 845s # static GVariant * 845s # _org_project_signaling_iface_skeleton_handle_get_property ( 845s # GDBusConnection *connection G_GNUC_UNUSED, 845s # const gchar *sender G_GNUC_UNUSED, 845s # const gchar *object_path G_GNUC_UNUSED, 845s # const gchar *interface_name G_GNUC_UNUSED, 845s # const gchar *property_name, 845s # GError **error, 845s # gpointer user_data) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 845s # GValue value = G_VALUE_INIT; 845s # GParamSpec *pspec; 845s # _ExtendedGDBusPropertyInfo *info; 845s # GVariant *ret; 845s # ret = NULL; 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 845s # g_assert (info != NULL); 845s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 845s # if (pspec == NULL) 845s # { 845s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 845s # } 845s # else 845s # { 845s # g_value_init (&value, pspec->value_type); 845s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 845s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 845s # g_value_unset (&value); 845s # } 845s # return ret; 845s # } 845s # 845s # static gboolean 845s # _org_project_signaling_iface_skeleton_handle_set_property ( 845s # GDBusConnection *connection G_GNUC_UNUSED, 845s # const gchar *sender G_GNUC_UNUSED, 845s # const gchar *object_path G_GNUC_UNUSED, 845s # const gchar *interface_name G_GNUC_UNUSED, 845s # const gchar *property_name, 845s # GVariant *variant, 845s # GError **error, 845s # gpointer user_data) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 845s # GValue value = G_VALUE_INIT; 845s # GParamSpec *pspec; 845s # _ExtendedGDBusPropertyInfo *info; 845s # gboolean ret; 845s # ret = FALSE; 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 845s # g_assert (info != NULL); 845s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 845s # if (pspec == NULL) 845s # { 845s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 845s # } 845s # else 845s # { 845s # if (info->use_gvariant) 845s # g_value_set_variant (&value, variant); 845s # else 845s # g_dbus_gvariant_to_gvalue (variant, &value); 845s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 845s # g_value_unset (&value); 845s # ret = TRUE; 845s # } 845s # return ret; 845s # } 845s # 845s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 845s # { 845s # _org_project_signaling_iface_skeleton_handle_method_call, 845s # _org_project_signaling_iface_skeleton_handle_get_property, 845s # _org_project_signaling_iface_skeleton_handle_set_property, 845s # {NULL} 845s # }; 845s # 845s # static GDBusInterfaceInfo * 845s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 845s # { 845s # return org_project_signaling_iface_interface_info (); 845s # } 845s # 845s # static GDBusInterfaceVTable * 845s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 845s # { 845s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 845s # } 845s # 845s # static GVariant * 845s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 845s # 845s # GVariantBuilder builder; 845s # guint n; 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 845s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 845s # #else 845s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 845s # #endif 845s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 845s # goto out; 845s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 845s # { 845s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 845s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 845s # { 845s # GVariant *value; 845s # 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); 845s # if (value != NULL) 845s # { 845s # g_variant_take_ref (value); 845s # g_variant_builder_add (&builder, "{sv}", info->name, value); 845s # g_variant_unref (value); 845s # } 845s # } 845s # } 845s # out: 845s # return g_variant_builder_end (&builder); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # static void 845s # _org_project_signaling_iface_on_signal_simple_signal ( 845s # OrgProjectSignalingIface *object) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 845s # 845s # GList *connections, *l; 845s # GVariant *signal_variant; 845s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 845s # 845s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 845s # for (l = connections; l != NULL; l = l->next) 845s # { 845s # GDBusConnection *connection = l->data; 845s # g_dbus_connection_emit_signal (connection, 845s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 845s # signal_variant, NULL); 845s # } 845s # g_variant_unref (signal_variant); 845s # g_list_free_full (connections, g_object_unref); 845s # } 845s # 845s # static void 845s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 845s # OrgProjectSignalingIface *object, 845s # const gchar *const *arg_arg_aay) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 845s # 845s # GList *connections, *l; 845s # GVariant *signal_variant; 845s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 845s # 845s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 845s # arg_arg_aay)); 845s # for (l = connections; l != NULL; l = l->next) 845s # { 845s # GDBusConnection *connection = l->data; 845s # g_dbus_connection_emit_signal (connection, 845s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAay", 845s # signal_variant, NULL); 845s # } 845s # g_variant_unref (signal_variant); 845s # g_list_free_full (connections, g_object_unref); 845s # } 845s # 845s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 845s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 845s # 845s # #else 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 845s # 845s # #endif 845s # static void 845s # org_project_signaling_iface_skeleton_finalize (GObject *object) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 845s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 845s # if (skeleton->priv->changed_properties_idle_source != NULL) 845s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 845s # g_main_context_unref (skeleton->priv->context); 845s # g_mutex_clear (&skeleton->priv->lock); 845s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 845s # { 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 845s # #else 845s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 845s # #endif 845s # 845s # g_mutex_init (&skeleton->priv->lock); 845s # skeleton->priv->context = g_main_context_ref_thread_default (); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 845s # { 845s # GObjectClass *gobject_class; 845s # GDBusInterfaceSkeletonClass *skeleton_class; 845s # 845s # gobject_class = G_OBJECT_CLASS (klass); 845s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 845s # 845s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 845s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 845s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 845s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 845s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 845s # 845s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 845s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 845s # #endif 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 845s # { 845s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 845s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_skeleton_new: 845s # * 845s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_skeleton_new (void) 845s # { 845s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 845s # } 845s # Error: 845s # 845s # /tmp/tmp9htticof/tmptwnjavae.xml: 845s # 845s # 845s # 845s # 845s # 845s # 845s # 845s # 845s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9htticof/tmptwnjavae.xml', '--output', '-', '--body'] 845s # Return code: 0 845s # Output: 845s # /* 845s # * This file is generated by gdbus-codegen, do not modify it. 845s # * 845s # * The license of this code is the same as for the D-Bus interface description 845s # * it was derived from. Note that it links to GLib, so must comply with the 845s # * LGPL linking clauses. 845s # */ 845s # 845s # #ifdef HAVE_CONFIG_H 845s # # include "config.h" 845s # #endif 845s # 845s # #include 845s # #ifdef G_OS_UNIX 845s # # include 845s # #endif 845s # 845s # #ifdef G_ENABLE_DEBUG 845s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 845s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 845s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 845s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 845s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 845s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 845s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 845s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 845s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 845s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 845s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 845s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 845s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 845s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 845s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 845s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 845s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 845s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 845s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 845s # #else /* !G_ENABLE_DEBUG */ 845s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 845s # * Do not access GValues directly in your code. Instead, use the 845s # * g_value_get_*() functions 845s # */ 845s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 845s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 845s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 845s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 845s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 845s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 845s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 845s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 845s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 845s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 845s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 845s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 845s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 845s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 845s # #endif /* !G_ENABLE_DEBUG */ 845s # 845s # typedef struct 845s # { 845s # GDBusArgInfo parent_struct; 845s # gboolean use_gvariant; 845s # } _ExtendedGDBusArgInfo; 845s # 845s # typedef struct 845s # { 845s # GDBusMethodInfo parent_struct; 845s # const gchar *signal_name; 845s # gboolean pass_fdlist; 845s # } _ExtendedGDBusMethodInfo; 845s # 845s # typedef struct 845s # { 845s # GDBusSignalInfo parent_struct; 845s # const gchar *signal_name; 845s # } _ExtendedGDBusSignalInfo; 845s # 845s # typedef struct 845s # { 845s # GDBusPropertyInfo parent_struct; 845s # const gchar *hyphen_name; 845s # guint use_gvariant : 1; 845s # guint emits_changed_signal : 1; 845s # } _ExtendedGDBusPropertyInfo; 845s # 845s # typedef struct 845s # { 845s # GDBusInterfaceInfo parent_struct; 845s # const gchar *hyphen_name; 845s # } _ExtendedGDBusInterfaceInfo; 845s # 845s # typedef struct 845s # { 845s # const _ExtendedGDBusPropertyInfo *info; 845s # guint prop_id; 845s # GValue orig_value; /* the value before the change */ 845s # } ChangedProperty; 845s # 845s # static void 845s # _changed_property_free (ChangedProperty *data) 845s # { 845s # g_value_unset (&data->orig_value); 845s # g_free (data); 845s # } 845s # 845s # static gboolean 845s # _g_strv_equal0 (gchar **a, gchar **b) 845s # { 845s # gboolean ret = FALSE; 845s # guint n; 845s # if (a == NULL && b == NULL) 845s # { 845s # ret = TRUE; 845s # goto out; 845s # } 845s # if (a == NULL || b == NULL) 845s # goto out; 845s # if (g_strv_length (a) != g_strv_length (b)) 845s # goto out; 845s # for (n = 0; a[n] != NULL; n++) 845s # if (g_strcmp0 (a[n], b[n]) != 0) 845s # goto out; 845s # ret = TRUE; 845s # out: 845s # return ret; 845s # } 845s # 845s # static gboolean 845s # _g_variant_equal0 (GVariant *a, GVariant *b) 845s # { 845s # gboolean ret = FALSE; 845s # if (a == NULL && b == NULL) 845s # { 845s # ret = TRUE; 845s # goto out; 845s # } 845s # if (a == NULL || b == NULL) 845s # goto out; 845s # ret = g_variant_equal (a, b); 845s # out: 845s # return ret; 845s # } 845s # 845s # G_GNUC_UNUSED static gboolean 845s # _g_value_equal (const GValue *a, const GValue *b) 845s # { 845s # gboolean ret = FALSE; 845s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 845s # switch (G_VALUE_TYPE (a)) 845s # { 845s # case G_TYPE_BOOLEAN: 845s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 845s # break; 845s # case G_TYPE_UCHAR: 845s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 845s # break; 845s # case G_TYPE_INT: 845s # ret = (g_value_get_int (a) == g_value_get_int (b)); 845s # break; 845s # case G_TYPE_UINT: 845s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 845s # break; 845s # case G_TYPE_INT64: 845s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 845s # break; 845s # case G_TYPE_UINT64: 845s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 845s # break; 845s # case G_TYPE_DOUBLE: 845s # { 845s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 845s # gdouble da = g_value_get_double (a); 845s # gdouble db = g_value_get_double (b); 845s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 845s # } 845s # break; 845s # case G_TYPE_STRING: 845s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 845s # break; 845s # case G_TYPE_VARIANT: 845s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 845s # break; 845s # default: 845s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 845s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 845s # else 845s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 845s # break; 845s # } 845s # return ret; 845s # } 845s # 845s # /* ------------------------------------------------------------------------ 845s # * Code for interface org.project.SignalingIface 845s # * ------------------------------------------------------------------------ 845s # */ 845s # 845s # /** 845s # * SECTION:OrgProjectSignalingIface 845s # * @title: OrgProjectSignalingIface 845s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 845s # * 845s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 845s # */ 845s # 845s # enum 845s # { 845s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 845s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 845s # }; 845s # 845s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 845s # 845s # /* ---- Introspection data for org.project.SignalingIface ---- */ 845s # 845s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 845s # { 845s # { 845s # -1, 845s # (gchar *) "SimpleSignal", 845s # NULL, 845s # NULL 845s # }, 845s # "simple-signal" 845s # }; 845s # 845s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv = 845s # { 845s # { 845s # -1, 845s # (gchar *) "arg_asv", 845s # (gchar *) "a{sv}", 845s # NULL 845s # }, 845s # FALSE 845s # }; 845s # 845s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 845s # { 845s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv.parent_struct, 845s # NULL 845s # }; 845s # 845s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 845s # { 845s # { 845s # -1, 845s # (gchar *) "SingleArgSignalAsv", 845s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 845s # NULL 845s # }, 845s # "single-arg-signal-asv" 845s # }; 845s # 845s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 845s # { 845s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 845s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 845s # NULL 845s # }; 845s # 845s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 845s # { 845s # { 845s # -1, 845s # (gchar *) "org.project.SignalingIface", 845s # NULL, 845s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 845s # NULL, 845s # NULL 845s # }, 845s # "org-project-signaling-iface", 845s # }; 845s # 845s # 845s # /** 845s # * org_project_signaling_iface_interface_info: 845s # * 845s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 845s # * 845s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 845s # */ 845s # GDBusInterfaceInfo * 845s # org_project_signaling_iface_interface_info (void) 845s # { 845s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_override_properties: 845s # * @klass: The class structure for a #GObject derived class. 845s # * @property_id_begin: The property id to assign to the first overridden property. 845s # * 845s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 845s # * The properties are overridden in the order they are defined. 845s # * 845s # * Returns: The last property id. 845s # */ 845s # guint 845s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 845s # { 845s # return property_id_begin - 1; 845s # } 845s # 845s # 845s # inline static void 845s # org_project_signaling_iface_signal_marshal_simple_signal ( 845s # GClosure *closure, 845s # GValue *return_value, 845s # unsigned int n_param_values, 845s # const GValue *param_values, 845s # void *invocation_hint, 845s # void *marshal_data) 845s # { 845s # g_cclosure_marshal_VOID__VOID (closure, 845s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 845s # } 845s # 845s # inline static void 845s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 845s # GClosure *closure, 845s # GValue *return_value, 845s # unsigned int n_param_values, 845s # const GValue *param_values, 845s # void *invocation_hint, 845s # void *marshal_data) 845s # { 845s # g_cclosure_marshal_VOID__VARIANT (closure, 845s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 845s # } 845s # 845s # 845s # /** 845s # * OrgProjectSignalingIface: 845s # * 845s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 845s # */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceIface: 845s # * @parent_iface: The parent interface. 845s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 845s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 845s # * 845s # * Virtual table for the D-Bus interface org.project.SignalingIface. 845s # */ 845s # 845s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 845s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 845s # 845s # static void 845s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 845s # { 845s # /* GObject signals for received D-Bus signals: */ 845s # /** 845s # * OrgProjectSignalingIface::simple-signal: 845s # * @object: A #OrgProjectSignalingIface. 845s # * 845s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 845s # * 845s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 845s # */ 845s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 845s # g_signal_new ("simple-signal", 845s # G_TYPE_FROM_INTERFACE (iface), 845s # G_SIGNAL_RUN_LAST, 845s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 845s # NULL, 845s # NULL, 845s # org_project_signaling_iface_signal_marshal_simple_signal, 845s # G_TYPE_NONE, 845s # 0); 845s # 845s # /** 845s # * OrgProjectSignalingIface::single-arg-signal-asv: 845s # * @object: A #OrgProjectSignalingIface. 845s # * @arg_arg_asv: Argument. 845s # * 845s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAsv" is received. 845s # * 845s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 845s # */ 845s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 845s # g_signal_new ("single-arg-signal-asv", 845s # G_TYPE_FROM_INTERFACE (iface), 845s # G_SIGNAL_RUN_LAST, 845s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 845s # NULL, 845s # NULL, 845s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 845s # G_TYPE_NONE, 845s # 1, G_TYPE_VARIANT); 845s # 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_emit_simple_signal: 845s # * @object: A #OrgProjectSignalingIface. 845s # * 845s # * Emits the "SimpleSignal" D-Bus signal. 845s # */ 845s # void 845s # org_project_signaling_iface_emit_simple_signal ( 845s # OrgProjectSignalingIface *object) 845s # { 845s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_emit_single_arg_signal_asv: 845s # * @object: A #OrgProjectSignalingIface. 845s # * @arg_arg_asv: Argument to pass with the signal. 845s # * 845s # * Emits the "SingleArgSignalAsv" D-Bus signal. 845s # */ 845s # void 845s # org_project_signaling_iface_emit_single_arg_signal_asv ( 845s # OrgProjectSignalingIface *object, 845s # GVariant *arg_arg_asv) 845s # { 845s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_arg_asv); 845s # } 845s # 845s # /* ------------------------------------------------------------------------ */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceProxy: 845s # * 845s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 845s # */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceProxyClass: 845s # * @parent_class: The parent class. 845s # * 845s # * Class structure for #OrgProjectSignalingIfaceProxy. 845s # */ 845s # 845s # struct _OrgProjectSignalingIfaceProxyPrivate 845s # { 845s # GData *qdata; 845s # }; 845s # 845s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 845s # 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 845s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 845s # 845s # #else 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 845s # 845s # #endif 845s # static void 845s # org_project_signaling_iface_proxy_finalize (GObject *object) 845s # { 845s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 845s # g_datalist_clear (&proxy->priv->qdata); 845s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 845s # guint prop_id G_GNUC_UNUSED, 845s # GValue *value G_GNUC_UNUSED, 845s # GParamSpec *pspec G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 845s # guint prop_id G_GNUC_UNUSED, 845s # const GValue *value G_GNUC_UNUSED, 845s # GParamSpec *pspec G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 845s # const gchar *sender_name G_GNUC_UNUSED, 845s # const gchar *signal_name, 845s # GVariant *parameters) 845s # { 845s # _ExtendedGDBusSignalInfo *info; 845s # GVariantIter iter; 845s # GVariant *child; 845s # GValue *paramv; 845s # gsize num_params; 845s # gsize n; 845s # guint signal_id; 845s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 845s # if (info == NULL) 845s # return; 845s # num_params = g_variant_n_children (parameters); 845s # paramv = g_new0 (GValue, num_params + 1); 845s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 845s # g_value_set_object (¶mv[0], proxy); 845s # g_variant_iter_init (&iter, parameters); 845s # n = 1; 845s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 845s # { 845s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 845s # if (arg_info->use_gvariant) 845s # { 845s # g_value_init (¶mv[n], G_TYPE_VARIANT); 845s # g_value_set_variant (¶mv[n], child); 845s # n++; 845s # } 845s # else 845s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 845s # g_variant_unref (child); 845s # } 845s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 845s # g_signal_emitv (paramv, signal_id, 0, NULL); 845s # for (n = 0; n < num_params + 1; n++) 845s # g_value_unset (¶mv[n]); 845s # g_free (paramv); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 845s # GVariant *changed_properties, 845s # const gchar *const *invalidated_properties) 845s # { 845s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 845s # guint n; 845s # const gchar *key; 845s # GVariantIter *iter; 845s # _ExtendedGDBusPropertyInfo *info; 845s # g_variant_get (changed_properties, "a{sv}", &iter); 845s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 845s # { 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 845s # g_datalist_remove_data (&proxy->priv->qdata, key); 845s # if (info != NULL) 845s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 845s # } 845s # g_variant_iter_free (iter); 845s # for (n = 0; invalidated_properties[n] != NULL; n++) 845s # { 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 845s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 845s # if (info != NULL) 845s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 845s # } 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 845s # { 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 845s # #else 845s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 845s # #endif 845s # 845s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 845s # { 845s # GObjectClass *gobject_class; 845s # GDBusProxyClass *proxy_class; 845s # 845s # gobject_class = G_OBJECT_CLASS (klass); 845s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 845s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 845s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 845s # 845s # proxy_class = G_DBUS_PROXY_CLASS (klass); 845s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 845s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 845s # 845s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 845s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 845s # #endif 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new: 845s # * @connection: A #GDBusConnection. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 845s # * @user_data: User data to pass to @callback. 845s # * 845s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 845s # * 845s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 845s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 845s # * 845s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 845s # */ 845s # void 845s # org_project_signaling_iface_proxy_new ( 845s # GDBusConnection *connection, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GAsyncReadyCallback callback, 845s # gpointer user_data) 845s # { 845s # 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); 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_finish: 845s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 845s # * @error: Return location for error or %NULL 845s # * 845s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_proxy_new_finish ( 845s # GAsyncResult *res, 845s # GError **error) 845s # { 845s # GObject *ret; 845s # GObject *source_object; 845s # source_object = g_async_result_get_source_object (res); 845s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 845s # g_object_unref (source_object); 845s # if (ret != NULL) 845s # return ORG_PROJECT_SIGNALING_IFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_sync: 845s # * @connection: A #GDBusConnection. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @error: Return location for error or %NULL 845s # * 845s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 845s # * 845s # * The calling thread is blocked until a reply is received. 845s # * 845s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_proxy_new_sync ( 845s # GDBusConnection *connection, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GError **error) 845s # { 845s # GInitable *ret; 845s # 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); 845s # if (ret != NULL) 845s # return ORG_PROJECT_SIGNALING_IFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_for_bus: 845s # * @bus_type: A #GBusType. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: A bus name (well-known or unique). 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 845s # * @user_data: User data to pass to @callback. 845s # * 845s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 845s # * 845s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 845s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 845s # * 845s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 845s # */ 845s # void 845s # org_project_signaling_iface_proxy_new_for_bus ( 845s # GBusType bus_type, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GAsyncReadyCallback callback, 845s # gpointer user_data) 845s # { 845s # 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); 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_for_bus_finish: 845s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 845s # * @error: Return location for error or %NULL 845s # * 845s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_proxy_new_for_bus_finish ( 845s # GAsyncResult *res, 845s # GError **error) 845s # { 845s # GObject *ret; 845s # GObject *source_object; 845s # source_object = g_async_result_get_source_object (res); 845s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 845s # g_object_unref (source_object); 845s # if (ret != NULL) 845s # return ORG_PROJECT_SIGNALING_IFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_for_bus_sync: 845s # * @bus_type: A #GBusType. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: A bus name (well-known or unique). 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @error: Return location for error or %NULL 845s # * 845s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 845s # * 845s # * The calling thread is blocked until a reply is received. 845s # * 845s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_proxy_new_for_bus_sync ( 845s # GBusType bus_type, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GError **error) 845s # { 845s # GInitable *ret; 845s # 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); 845s # if (ret != NULL) 845s # return ORG_PROJECT_SIGNALING_IFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # 845s # /* ------------------------------------------------------------------------ */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceSkeleton: 845s # * 845s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 845s # */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceSkeletonClass: 845s # * @parent_class: The parent class. 845s # * 845s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 845s # */ 845s # 845s # struct _OrgProjectSignalingIfaceSkeletonPrivate 845s # { 845s # GValue *properties; 845s # GList *changed_properties; 845s # GSource *changed_properties_idle_source; 845s # GMainContext *context; 845s # GMutex lock; 845s # }; 845s # 845s # static void 845s # _org_project_signaling_iface_skeleton_handle_method_call ( 845s # GDBusConnection *connection G_GNUC_UNUSED, 845s # const gchar *sender G_GNUC_UNUSED, 845s # const gchar *object_path G_GNUC_UNUSED, 845s # const gchar *interface_name, 845s # const gchar *method_name, 845s # GVariant *parameters, 845s # GDBusMethodInvocation *invocation, 845s # gpointer user_data) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 845s # _ExtendedGDBusMethodInfo *info; 845s # GVariantIter iter; 845s # GVariant *child; 845s # GValue *paramv; 845s # gsize num_params; 845s # guint num_extra; 845s # gsize n; 845s # guint signal_id; 845s # GValue return_value = G_VALUE_INIT; 845s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 845s # g_assert (info != NULL); 845s # num_params = g_variant_n_children (parameters); 845s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 845s # n = 0; 845s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 845s # g_value_set_object (¶mv[n++], skeleton); 845s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 845s # g_value_set_object (¶mv[n++], invocation); 845s # if (info->pass_fdlist) 845s # { 845s # #ifdef G_OS_UNIX 845s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 845s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 845s # #else 845s # g_assert_not_reached (); 845s # #endif 845s # } 845s # g_variant_iter_init (&iter, parameters); 845s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 845s # { 845s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 845s # if (arg_info->use_gvariant) 845s # { 845s # g_value_init (¶mv[n], G_TYPE_VARIANT); 845s # g_value_set_variant (¶mv[n], child); 845s # n++; 845s # } 845s # else 845s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 845s # g_variant_unref (child); 845s # } 845s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 845s # g_value_init (&return_value, G_TYPE_BOOLEAN); 845s # g_signal_emitv (paramv, signal_id, 0, &return_value); 845s # if (!g_value_get_boolean (&return_value)) 845s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 845s # g_value_unset (&return_value); 845s # for (n = 0; n < num_params + num_extra; n++) 845s # g_value_unset (¶mv[n]); 845s # g_free (paramv); 845s # } 845s # 845s # static GVariant * 845s # _org_project_signaling_iface_skeleton_handle_get_property ( 845s # GDBusConnection *connection G_GNUC_UNUSED, 845s # const gchar *sender G_GNUC_UNUSED, 845s # const gchar *object_path G_GNUC_UNUSED, 845s # const gchar *interface_name G_GNUC_UNUSED, 845s # const gchar *property_name, 845s # GError **error, 845s # gpointer user_data) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 845s # GValue value = G_VALUE_INIT; 845s # GParamSpec *pspec; 845s # _ExtendedGDBusPropertyInfo *info; 845s # GVariant *ret; 845s # ret = NULL; 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 845s # g_assert (info != NULL); 845s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 845s # if (pspec == NULL) 845s # { 845s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 845s # } 845s # else 845s # { 845s # g_value_init (&value, pspec->value_type); 845s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 845s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 845s # g_value_unset (&value); 845s # } 845s # return ret; 845s # } 845s # 845s # static gboolean 845s # _org_project_signaling_iface_skeleton_handle_set_property ( 845s # GDBusConnection *connection G_GNUC_UNUSED, 845s # const gchar *sender G_GNUC_UNUSED, 845s # const gchar *object_path G_GNUC_UNUSED, 845s # const gchar *interface_name G_GNUC_UNUSED, 845s # const gchar *property_name, 845s # GVariant *variant, 845s # GError **error, 845s # gpointer user_data) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 845s # GValue value = G_VALUE_INIT; 845s # GParamSpec *pspec; 845s # _ExtendedGDBusPropertyInfo *info; 845s # gboolean ret; 845s # ret = FALSE; 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 845s # g_assert (info != NULL); 845s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 845s # if (pspec == NULL) 845s # { 845s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 845s # } 845s # else 845s # { 845s # if (info->use_gvariant) 845s # g_value_set_variant (&value, variant); 845s # else 845s # g_dbus_gvariant_to_gvalue (variant, &value); 845s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 845s # g_value_unset (&value); 845s # ret = TRUE; 845s # } 845s # return ret; 845s # } 845s # 845s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 845s # { 845s # _org_project_signaling_iface_skeleton_handle_method_call, 845s # _org_project_signaling_iface_skeleton_handle_get_property, 845s # _org_project_signaling_iface_skeleton_handle_set_property, 845s # {NULL} 845s # }; 845s # 845s # static GDBusInterfaceInfo * 845s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 845s # { 845s # return org_project_signaling_iface_interface_info (); 845s # } 845s # 845s # static GDBusInterfaceVTable * 845s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 845s # { 845s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 845s # } 845s # 845s # static GVariant * 845s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 845s # 845s # GVariantBuilder builder; 845s # guint n; 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 845s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 845s # #else 845s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 845s # #endif 845s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 845s # goto out; 845s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 845s # { 845s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 845s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 845s # { 845s # GVariant *value; 845s # 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); 845s # if (value != NULL) 845s # { 845s # g_variant_take_ref (value); 845s # g_variant_builder_add (&builder, "{sv}", info->name, value); 845s # g_variant_unref (value); 845s # } 845s # } 845s # } 845s # out: 845s # return g_variant_builder_end (&builder); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # static void 845s # _org_project_signaling_iface_on_signal_simple_signal ( 845s # OrgProjectSignalingIface *object) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 845s # 845s # GList *connections, *l; 845s # GVariant *signal_variant; 845s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 845s # 845s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 845s # for (l = connections; l != NULL; l = l->next) 845s # { 845s # GDBusConnection *connection = l->data; 845s # g_dbus_connection_emit_signal (connection, 845s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 845s # signal_variant, NULL); 845s # } 845s # g_variant_unref (signal_variant); 845s # g_list_free_full (connections, g_object_unref); 845s # } 845s # 845s # static void 845s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 845s # OrgProjectSignalingIface *object, 845s # GVariant *arg_arg_asv) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 845s # 845s # GList *connections, *l; 845s # GVariant *signal_variant; 845s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 845s # 845s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 845s # arg_arg_asv)); 845s # for (l = connections; l != NULL; l = l->next) 845s # { 845s # GDBusConnection *connection = l->data; 845s # g_dbus_connection_emit_signal (connection, 845s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAsv", 845s # signal_variant, NULL); 845s # } 845s # g_variant_unref (signal_variant); 845s # g_list_free_full (connections, g_object_unref); 845s # } 845s # 845s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 845s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 845s # 845s # #else 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 845s # 845s # #endif 845s # static void 845s # org_project_signaling_iface_skeleton_finalize (GObject *object) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 845s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 845s # if (skeleton->priv->changed_properties_idle_source != NULL) 845s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 845s # g_main_context_unref (skeleton->priv->context); 845s # g_mutex_clear (&skeleton->priv->lock); 845s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 845s # { 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 845s # #else 845s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 845s # #endif 845s # 845s # g_mutex_init (&skeleton->priv->lock); 845s # skeleton->priv->context = g_main_context_ref_thread_default (); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 845s # { 845s # GObjectClass *gobject_class; 845s # GDBusInterfaceSkeletonClass *skeleton_class; 845s # 845s # gobject_class = G_OBJECT_CLASS (klass); 845s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 845s # 845s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 845s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 845s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 845s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 845s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 845s # 845s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 845s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 845s # #endif 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 845s # { 845s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 845s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_skeleton_new: 845s # * 845s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_skeleton_new (void) 845s # { 845s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 845s # } 845s # Error: 845s ok 24 __main__.TestCodegen.test_generate_signals_marshallers_multiple_args 845s # gdbus-codegen: /usr/bin/gdbus-codegen 845s # tmpdir: /tmp/tmpbpf52lmi 845s # /tmp/tmpbpf52lmi/tmp2umhqv8c.xml: 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 # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbpf52lmi/tmp2umhqv8c.xml', '--output', '-', '--body'] 845s # Return code: 0 845s # Output: 845s # /* 845s # * This file is generated by gdbus-codegen, do not modify it. 845s # * 845s # * The license of this code is the same as for the D-Bus interface description 845s # * it was derived from. Note that it links to GLib, so must comply with the 845s # * LGPL linking clauses. 845s # */ 845s # 845s # #ifdef HAVE_CONFIG_H 845s # # include "config.h" 845s # #endif 845s # 845s # #include 845s # #ifdef G_OS_UNIX 845s # # include 845s # #endif 845s # 845s # #ifdef G_ENABLE_DEBUG 845s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 845s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 845s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 845s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 845s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 845s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 845s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 845s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 845s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 845s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 845s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 845s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 845s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 845s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 845s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 845s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 845s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 845s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 845s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 845s # #else /* !G_ENABLE_DEBUG */ 845s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 845s # * Do not access GValues directly in your code. Instead, use the 845s # * g_value_get_*() functions 845s # */ 845s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 845s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 845s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 845s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 845s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 845s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 845s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 845s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 845s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 845s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 845s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 845s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 845s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 845s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 845s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 845s # #endif /* !G_ENABLE_DEBUG */ 845s # 845s # typedef struct 845s # { 845s # GDBusArgInfo parent_struct; 845s # gboolean use_gvariant; 845s # } _ExtendedGDBusArgInfo; 845s # 845s # typedef struct 845s # { 845s # GDBusMethodInfo parent_struct; 845s # const gchar *signal_name; 845s # gboolean pass_fdlist; 845s # } _ExtendedGDBusMethodInfo; 845s # 845s # typedef struct 845s # { 845s # GDBusSignalInfo parent_struct; 845s # const gchar *signal_name; 845s # } _ExtendedGDBusSignalInfo; 845s # 845s # typedef struct 845s # { 845s # GDBusPropertyInfo parent_struct; 845s # const gchar *hyphen_name; 845s # guint use_gvariant : 1; 845s # guint emits_changed_signal : 1; 845s # } _ExtendedGDBusPropertyInfo; 845s # 845s # typedef struct 845s # { 845s # GDBusInterfaceInfo parent_struct; 845s # const gchar *hyphen_name; 845s # } _ExtendedGDBusInterfaceInfo; 845s # 845s # typedef struct 845s # { 845s # const _ExtendedGDBusPropertyInfo *info; 845s # guint prop_id; 845s # GValue orig_value; /* the value before the change */ 845s # } ChangedProperty; 845s # 845s # static void 845s # _changed_property_free (ChangedProperty *data) 845s # { 845s # g_value_unset (&data->orig_value); 845s # g_free (data); 845s # } 845s # 845s # static gboolean 845s # _g_strv_equal0 (gchar **a, gchar **b) 845s # { 845s # gboolean ret = FALSE; 845s # guint n; 845s # if (a == NULL && b == NULL) 845s # { 845s # ret = TRUE; 845s # goto out; 845s # } 845s # if (a == NULL || b == NULL) 845s # goto out; 845s # if (g_strv_length (a) != g_strv_length (b)) 845s # goto out; 845s # for (n = 0; a[n] != NULL; n++) 845s # if (g_strcmp0 (a[n], b[n]) != 0) 845s # goto out; 845s # ret = TRUE; 845s # out: 845s # return ret; 845s # } 845s # 845s # static gboolean 845s # _g_variant_equal0 (GVariant *a, GVariant *b) 845s # { 845s # gboolean ret = FALSE; 845s # if (a == NULL && b == NULL) 845s # { 845s # ret = TRUE; 845s # goto out; 845s # } 845s # if (a == NULL || b == NULL) 845s # goto out; 845s # ret = g_variant_equal (a, b); 845s # out: 845s # return ret; 845s # } 845s # 845s # G_GNUC_UNUSED static gboolean 845s # _g_value_equal (const GValue *a, const GValue *b) 845s # { 845s # gboolean ret = FALSE; 845s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 845s # switch (G_VALUE_TYPE (a)) 845s # { 845s # case G_TYPE_BOOLEAN: 845s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 845s # break; 845s # case G_TYPE_UCHAR: 845s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 845s # break; 845s # case G_TYPE_INT: 845s # ret = (g_value_get_int (a) == g_value_get_int (b)); 845s # break; 845s # case G_TYPE_UINT: 845s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 845s # break; 845s # case G_TYPE_INT64: 845s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 845s # break; 845s # case G_TYPE_UINT64: 845s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 845s # break; 845s # case G_TYPE_DOUBLE: 845s # { 845s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 845s # gdouble da = g_value_get_double (a); 845s # gdouble db = g_value_get_double (b); 845s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 845s # } 845s # break; 845s # case G_TYPE_STRING: 845s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 845s # break; 845s # case G_TYPE_VARIANT: 845s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 845s # break; 845s # default: 845s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 845s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 845s # else 845s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 845s # break; 845s # } 845s # return ret; 845s # } 845s # 845s # static void 845s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 845s # GClosure *closure, 845s # GValue *return_value G_GNUC_UNUSED, 845s # unsigned int n_param_values, 845s # const GValue *param_values, 845s # void *invocation_hint G_GNUC_UNUSED, 845s # void *marshal_data) 845s # { 845s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 845s # (void *data1, 845s # gboolean arg_an_b, 845s # guchar arg_an_y, 845s # gint16 arg_an_n, 845s # guint16 arg_an_q, 845s # gint arg_an_i, 845s # guint arg_an_u, 845s # gint64 arg_an_x, 845s # guint64 arg_an_t, 845s # gdouble arg_an_d, 845s # const gchar *arg_an_s, 845s # const gchar *arg_an_o, 845s # const gchar *arg_an_g, 845s # GVariant *arg_an_h, 845s # const gchar *arg_an_ay, 845s # const gchar *const *arg_an_as, 845s # const gchar *const *arg_an_ao, 845s # const gchar *const *arg_an_aay, 845s # GVariant *arg_an_asv, 845s # void *data2); 845s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 845s # GCClosure *cc = (GCClosure*) closure; 845s # void *data1, *data2; 845s # 845s # g_return_if_fail (n_param_values == 19); 845s # 845s # if (G_CCLOSURE_SWAP_DATA (closure)) 845s # { 845s # data1 = closure->data; 845s # data2 = g_value_peek_pointer (param_values + 0); 845s # } 845s # else 845s # { 845s # data1 = g_value_peek_pointer (param_values + 0); 845s # data2 = closure->data; 845s # } 845s # 845s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 845s # (marshal_data ? marshal_data : cc->callback); 845s # 845s # callback (data1, 845s # g_marshal_value_peek_boolean (param_values + 1), 845s # g_marshal_value_peek_uchar (param_values + 2), 845s # g_marshal_value_peek_int (param_values + 3), 845s # g_marshal_value_peek_uint (param_values + 4), 845s # g_marshal_value_peek_int (param_values + 5), 845s # g_marshal_value_peek_uint (param_values + 6), 845s # g_marshal_value_peek_int64 (param_values + 7), 845s # g_marshal_value_peek_uint64 (param_values + 8), 845s # g_marshal_value_peek_double (param_values + 9), 845s # g_marshal_value_peek_string (param_values + 10), 845s # g_marshal_value_peek_string (param_values + 11), 845s # g_marshal_value_peek_string (param_values + 12), 845s # g_marshal_value_peek_variant (param_values + 13), 845s # g_marshal_value_peek_string (param_values + 14), 845s # g_marshal_value_peek_boxed (param_values + 15), 845s # g_marshal_value_peek_boxed (param_values + 16), 845s # g_marshal_value_peek_boxed (param_values + 17), 845s # g_marshal_value_peek_variant (param_values + 18), 845s # data2); 845s # } 845s # 845s # /* ------------------------------------------------------------------------ 845s # * Code for interface org.project.SignalingIface 845s # * ------------------------------------------------------------------------ 845s # */ 845s # 845s # /** 845s # * SECTION:OrgProjectSignalingIface 845s # * @title: OrgProjectSignalingIface 845s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 845s # * 845s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 845s # */ 845s # 845s # enum 845s # { 845s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 845s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 845s # }; 845s # 845s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 845s # 845s # /* ---- Introspection data for org.project.SignalingIface ---- */ 845s # 845s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 845s # { 845s # { 845s # -1, 845s # (gchar *) "SimpleSignal", 845s # NULL, 845s # NULL 845s # }, 845s # "simple-signal" 845s # }; 845s # 845s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 845s # { 845s # { 845s # -1, 845s # (gchar *) "an_b", 845s # (gchar *) "b", 845s # NULL 845s # }, 845s # FALSE 845s # }; 845s # 845s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 845s # { 845s # { 845s # -1, 845s # (gchar *) "an_y", 845s # (gchar *) "y", 845s # NULL 845s # }, 845s # FALSE 845s # }; 845s # 845s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 845s # { 845s # { 845s # -1, 845s # (gchar *) "an_n", 845s # (gchar *) "n", 845s # NULL 845s # }, 845s # FALSE 845s # }; 845s # 845s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 845s # { 845s # { 845s # -1, 845s # (gchar *) "an_q", 845s # (gchar *) "q", 845s # NULL 845s # }, 845s # FALSE 845s # }; 845s # 845s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 845s # { 845s # { 845s # -1, 845s # (gchar *) "an_i", 845s # (gchar *) "i", 845s # NULL 845s # }, 845s # FALSE 845s # }; 845s # 845s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 845s # { 845s # { 845s # -1, 845s # (gchar *) "an_u", 845s # (gchar *) "u", 845s # NULL 845s # }, 845s # FALSE 845s # }; 845s # 845s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 845s # { 845s # { 845s # -1, 845s # (gchar *) "an_x", 845s # (gchar *) "x", 845s # NULL 845s # }, 845s # FALSE 845s # }; 845s # 845s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 845s # { 845s # { 845s # -1, 845s # (gchar *) "an_t", 845s # (gchar *) "t", 845s # NULL 845s # }, 845s # FALSE 845s # }; 845s # 845s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 845s # { 845s # { 845s # -1, 845s # (gchar *) "an_d", 845s # (gchar *) "d", 845s # NULL 845s # }, 845s # FALSE 845s # }; 845s # 845s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 845s # { 845s # { 845s # -1, 845s # (gchar *) "an_s", 845s # (gchar *) "s", 845s # NULL 845s # }, 845s # FALSE 845s # }; 845s # 845s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 845s # { 845s # { 845s # -1, 845s # (gchar *) "an_o", 845s # (gchar *) "o", 845s # NULL 845s # }, 845s # FALSE 845s # }; 845s # 845s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 845s # { 845s # { 845s # -1, 845s # (gchar *) "an_g", 845s # (gchar *) "g", 845s # NULL 845s # }, 845s # FALSE 845s # }; 845s # 845s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 845s # { 845s # { 845s # -1, 845s # (gchar *) "an_h", 845s # (gchar *) "h", 845s # NULL 845s # }, 845s # FALSE 845s # }; 845s # 845s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 845s # { 845s # { 845s # -1, 845s # (gchar *) "an_ay", 845s # (gchar *) "ay", 845s # NULL 845s # }, 845s # FALSE 845s # }; 845s # 845s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 845s # { 845s # { 845s # -1, 845s # (gchar *) "an_as", 845s # (gchar *) "as", 845s # NULL 845s # }, 845s # FALSE 845s # }; 845s # 845s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 845s # { 845s # { 845s # -1, 845s # (gchar *) "an_ao", 845s # (gchar *) "ao", 845s # NULL 845s # }, 845s # FALSE 845s # }; 845s # 845s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 845s # { 845s # { 845s # -1, 845s # (gchar *) "an_aay", 845s # (gchar *) "aay", 845s # NULL 845s # }, 845s # FALSE 845s # }; 845s # 845s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 845s # { 845s # { 845s # -1, 845s # (gchar *) "an_asv", 845s # (gchar *) "a{sv}", 845s # NULL 845s # }, 845s # FALSE 845s # }; 845s # 845s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 845s # { 845s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 845s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 845s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 845s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 845s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 845s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 845s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 845s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 845s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 845s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 845s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 845s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 845s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 845s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 845s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 845s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 845s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 845s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 845s # NULL 845s # }; 845s # 845s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 845s # { 845s # { 845s # -1, 845s # (gchar *) "SignalWithManyArgs", 845s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 845s # NULL 845s # }, 845s # "signal-with-many-args" 845s # }; 845s # 845s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 845s # { 845s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 845s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 845s # NULL 845s # }; 845s # 845s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 845s # { 845s # { 845s # -1, 845s # (gchar *) "org.project.SignalingIface", 845s # NULL, 845s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 845s # NULL, 845s # NULL 845s # }, 845s # "org-project-signaling-iface", 845s # }; 845s # 845s # 845s # /** 845s # * org_project_signaling_iface_interface_info: 845s # * 845s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 845s # * 845s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 845s # */ 845s # GDBusInterfaceInfo * 845s # org_project_signaling_iface_interface_info (void) 845s # { 845s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_override_properties: 845s # * @klass: The class structure for a #GObject derived class. 845s # * @property_id_begin: The property id to assign to the first overridden property. 845s # * 845s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 845s # * The properties are overridden in the order they are defined. 845s # * 845s # * Returns: The last property id. 845s # */ 845s # guint 845s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 845s # { 845s # return property_id_begin - 1; 845s # } 845s # 845s # 845s # inline static void 845s # org_project_signaling_iface_signal_marshal_simple_signal ( 845s # GClosure *closure, 845s # GValue *return_value, 845s # unsigned int n_param_values, 845s # const GValue *param_values, 845s # void *invocation_hint, 845s # void *marshal_data) 845s # { 845s # g_cclosure_marshal_VOID__VOID (closure, 845s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 845s # } 845s # 845s # inline static void 845s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 845s # GClosure *closure, 845s # GValue *return_value, 845s # unsigned int n_param_values, 845s # const GValue *param_values, 845s # void *invocation_hint, 845s # void *marshal_data) 845s # { 845s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 845s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 845s # } 845s # 845s # 845s # /** 845s # * OrgProjectSignalingIface: 845s # * 845s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 845s # */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceIface: 845s # * @parent_iface: The parent interface. 845s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 845s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 845s # * 845s # * Virtual table for the D-Bus interface org.project.SignalingIface. 845s # */ 845s # 845s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 845s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 845s # 845s # static void 845s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 845s # { 845s # /* GObject signals for received D-Bus signals: */ 845s # /** 845s # * OrgProjectSignalingIface::simple-signal: 845s # * @object: A #OrgProjectSignalingIface. 845s # * 845s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 845s # * 845s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 845s # */ 845s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 845s # g_signal_new ("simple-signal", 845s # G_TYPE_FROM_INTERFACE (iface), 845s # G_SIGNAL_RUN_LAST, 845s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 845s # NULL, 845s # NULL, 845s # org_project_signaling_iface_signal_marshal_simple_signal, 845s # G_TYPE_NONE, 845s # 0); 845s # 845s # /** 845s # * OrgProjectSignalingIface::signal-with-many-args: 845s # * @object: A #OrgProjectSignalingIface. 845s # * @arg_an_b: Argument. 845s # * @arg_an_y: Argument. 845s # * @arg_an_n: Argument. 845s # * @arg_an_q: Argument. 845s # * @arg_an_i: Argument. 845s # * @arg_an_u: Argument. 845s # * @arg_an_x: Argument. 845s # * @arg_an_t: Argument. 845s # * @arg_an_d: Argument. 845s # * @arg_an_s: Argument. 845s # * @arg_an_o: Argument. 845s # * @arg_an_g: Argument. 845s # * @arg_an_h: Argument. 845s # * @arg_an_ay: Argument. 845s # * @arg_an_as: Argument. 845s # * @arg_an_ao: Argument. 845s # * @arg_an_aay: Argument. 845s # * @arg_an_asv: Argument. 845s # * 845s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 845s # * 845s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 845s # */ 845s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 845s # g_signal_new ("signal-with-many-args", 845s # G_TYPE_FROM_INTERFACE (iface), 845s # G_SIGNAL_RUN_LAST, 845s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 845s # NULL, 845s # NULL, 845s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 845s # G_TYPE_NONE, 845s # 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); 845s # 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_emit_simple_signal: 845s # * @object: A #OrgProjectSignalingIface. 845s # * 845s # * Emits the "SimpleSignal" D-Bus signal. 845s # */ 845s # void 845s # org_project_signaling_iface_emit_simple_signal ( 845s # OrgProjectSignalingIface *object) 845s # { 845s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_emit_signal_with_many_args: 845s # * @object: A #OrgProjectSignalingIface. 845s # * @arg_an_b: Argument to pass with the signal. 845s # * @arg_an_y: Argument to pass with the signal. 845s # * @arg_an_n: Argument to pass with the signal. 845s # * @arg_an_q: Argument to pass with the signal. 845s # * @arg_an_i: Argument to pass with the signal. 845s # * @arg_an_u: Argument to pass with the signal. 845s # * @arg_an_x: Argument to pass with the signal. 845s # * @arg_an_t: Argument to pass with the signal. 845s # * @arg_an_d: Argument to pass with the signal. 845s # * @arg_an_s: Argument to pass with the signal. 845s # * @arg_an_o: Argument to pass with the signal. 845s # * @arg_an_g: Argument to pass with the signal. 845s # * @arg_an_h: Argument to pass with the signal. 845s # * @arg_an_ay: Argument to pass with the signal. 845s # * @arg_an_as: Argument to pass with the signal. 845s # * @arg_an_ao: Argument to pass with the signal. 845s # * @arg_an_aay: Argument to pass with the signal. 845s # * @arg_an_asv: Argument to pass with the signal. 845s # * 845s # * Emits the "SignalWithManyArgs" D-Bus signal. 845s # */ 845s # void 845s # org_project_signaling_iface_emit_signal_with_many_args ( 845s # OrgProjectSignalingIface *object, 845s # gboolean arg_an_b, 845s # guchar arg_an_y, 845s # gint16 arg_an_n, 845s # guint16 arg_an_q, 845s # gint arg_an_i, 845s # guint arg_an_u, 845s # gint64 arg_an_x, 845s # guint64 arg_an_t, 845s # gdouble arg_an_d, 845s # const gchar *arg_an_s, 845s # const gchar *arg_an_o, 845s # const gchar *arg_an_g, 845s # GVariant *arg_an_h, 845s # const gchar *arg_an_ay, 845s # const gchar *const *arg_an_as, 845s # const gchar *const *arg_an_ao, 845s # const gchar *const *arg_an_aay, 845s # GVariant *arg_an_asv) 845s # { 845s # 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); 845s # } 845s # 845s # /* ------------------------------------------------------------------------ */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceProxy: 845s # * 845s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 845s # */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceProxyClass: 845s # * @parent_class: The parent class. 845s # * 845s # * Class structure for #OrgProjectSignalingIfaceProxy. 845s # */ 845s # 845s # struct _OrgProjectSignalingIfaceProxyPrivate 845s # { 845s # GData *qdata; 845s # }; 845s # 845s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 845s # 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 845s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 845s # 845s # #else 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 845s # 845s # #endif 845s # static void 845s # org_project_signaling_iface_proxy_finalize (GObject *object) 845s # { 845s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 845s # g_datalist_clear (&proxy->priv->qdata); 845s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 845s # guint prop_id G_GNUC_UNUSED, 845s # GValue *value G_GNUC_UNUSED, 845s # GParamSpec *pspec G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 845s # guint prop_id G_GNUC_UNUSED, 845s # const GValue *value G_GNUC_UNUSED, 845s # GParamSpec *pspec G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 845s # const gchar *sender_name G_GNUC_UNUSED, 845s # const gchar *signal_name, 845s # GVariant *parameters) 845s # { 845s # _ExtendedGDBusSignalInfo *info; 845s # GVariantIter iter; 845s # GVariant *child; 845s # GValue *paramv; 845s # gsize num_params; 845s # gsize n; 845s # guint signal_id; 845s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 845s # if (info == NULL) 845s # return; 845s # num_params = g_variant_n_children (parameters); 845s # paramv = g_new0 (GValue, num_params + 1); 845s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 845s # g_value_set_object (¶mv[0], proxy); 845s # g_variant_iter_init (&iter, parameters); 845s # n = 1; 845s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 845s # { 845s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 845s # if (arg_info->use_gvariant) 845s # { 845s # g_value_init (¶mv[n], G_TYPE_VARIANT); 845s # g_value_set_variant (¶mv[n], child); 845s # n++; 845s # } 845s # else 845s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 845s # g_variant_unref (child); 845s # } 845s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 845s # g_signal_emitv (paramv, signal_id, 0, NULL); 845s # for (n = 0; n < num_params + 1; n++) 845s # g_value_unset (¶mv[n]); 845s # g_free (paramv); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 845s # GVariant *changed_properties, 845s # const gchar *const *invalidated_properties) 845s # { 845s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 845s # guint n; 845s # const gchar *key; 845s # GVariantIter *iter; 845s # _ExtendedGDBusPropertyInfo *info; 845s # g_variant_get (changed_properties, "a{sv}", &iter); 845s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 845s # { 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 845s # g_datalist_remove_data (&proxy->priv->qdata, key); 845s # if (info != NULL) 845s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 845s # } 845s # g_variant_iter_free (iter); 845s # for (n = 0; invalidated_properties[n] != NULL; n++) 845s # { 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 845s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 845s # if (info != NULL) 845s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 845s # } 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 845s # { 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 845s # #else 845s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 845s # #endif 845s # 845s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 845s # { 845s # GObjectClass *gobject_class; 845s # GDBusProxyClass *proxy_class; 845s # 845s # gobject_class = G_OBJECT_CLASS (klass); 845s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 845s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 845s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 845s # 845s # proxy_class = G_DBUS_PROXY_CLASS (klass); 845s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 845s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 845s # 845s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 845s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 845s # #endif 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new: 845s # * @connection: A #GDBusConnection. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 845s # * @user_data: User data to pass to @callback. 845s # * 845s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 845s # * 845s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 845s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 845s # * 845s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 845s # */ 845s # void 845s # org_project_signaling_iface_proxy_new ( 845s # GDBusConnection *connection, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GAsyncReadyCallback callback, 845s # gpointer user_data) 845s # { 845s # 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); 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_finish: 845s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 845s # * @error: Return location for error or %NULL 845s # * 845s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_proxy_new_finish ( 845s # GAsyncResult *res, 845s # GError **error) 845s # { 845s # GObject *ret; 845s # GObject *source_object; 845s # source_object = g_async_result_get_source_object (res); 845s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 845s # g_object_unref (source_object); 845s # if (ret != NULL) 845s # return ORG_PROJECT_SIGNALING_IFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_sync: 845s # * @connection: A #GDBusConnection. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @error: Return location for error or %NULL 845s # * 845s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 845s # * 845s # * The calling thread is blocked until a reply is received. 845s # * 845s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_proxy_new_sync ( 845s # GDBusConnection *connection, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GError **error) 845s # { 845s # GInitable *ret; 845s # 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); 845s # if (ret != NULL) 845s # return ORG_PROJECT_SIGNALING_IFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_for_bus: 845s # * @bus_type: A #GBusType. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: A bus name (well-known or unique). 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 845s # * @user_data: User data to pass to @callback. 845s # * 845s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 845s # * 845s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 845s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 845s # * 845s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 845s # */ 845s # void 845s # org_project_signaling_iface_proxy_new_for_bus ( 845s # GBusType bus_type, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GAsyncReadyCallback callback, 845s # gpointer user_data) 845s # { 845s # 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); 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_for_bus_finish: 845s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 845s # * @error: Return location for error or %NULL 845s # * 845s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_proxy_new_for_bus_finish ( 845s # GAsyncResult *res, 845s # GError **error) 845s # { 845s # GObject *ret; 845s # GObject *source_object; 845s # source_object = g_async_result_get_source_object (res); 845s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 845s # g_object_unref (source_object); 845s # if (ret != NULL) 845s # return ORG_PROJECT_SIGNALING_IFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_proxy_new_for_bus_sync: 845s # * @bus_type: A #GBusType. 845s # * @flags: Flags from the #GDBusProxyFlags enumeration. 845s # * @name: A bus name (well-known or unique). 845s # * @object_path: An object path. 845s # * @cancellable: (nullable): A #GCancellable or %NULL. 845s # * @error: Return location for error or %NULL 845s # * 845s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 845s # * 845s # * The calling thread is blocked until a reply is received. 845s # * 845s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_proxy_new_for_bus_sync ( 845s # GBusType bus_type, 845s # GDBusProxyFlags flags, 845s # const gchar *name, 845s # const gchar *object_path, 845s # GCancellable *cancellable, 845s # GError **error) 845s # { 845s # GInitable *ret; 845s # 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); 845s # if (ret != NULL) 845s # return ORG_PROJECT_SIGNALING_IFACE (ret); 845s # else 845s # return NULL; 845s # } 845s # 845s # 845s # /* ------------------------------------------------------------------------ */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceSkeleton: 845s # * 845s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 845s # */ 845s # 845s # /** 845s # * OrgProjectSignalingIfaceSkeletonClass: 845s # * @parent_class: The parent class. 845s # * 845s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 845s # */ 845s # 845s # struct _OrgProjectSignalingIfaceSkeletonPrivate 845s # { 845s # GValue *properties; 845s # GList *changed_properties; 845s # GSource *changed_properties_idle_source; 845s # GMainContext *context; 845s # GMutex lock; 845s # }; 845s # 845s # static void 845s # _org_project_signaling_iface_skeleton_handle_method_call ( 845s # GDBusConnection *connection G_GNUC_UNUSED, 845s # const gchar *sender G_GNUC_UNUSED, 845s # const gchar *object_path G_GNUC_UNUSED, 845s # const gchar *interface_name, 845s # const gchar *method_name, 845s # GVariant *parameters, 845s # GDBusMethodInvocation *invocation, 845s # gpointer user_data) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 845s # _ExtendedGDBusMethodInfo *info; 845s # GVariantIter iter; 845s # GVariant *child; 845s # GValue *paramv; 845s # gsize num_params; 845s # guint num_extra; 845s # gsize n; 845s # guint signal_id; 845s # GValue return_value = G_VALUE_INIT; 845s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 845s # g_assert (info != NULL); 845s # num_params = g_variant_n_children (parameters); 845s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 845s # n = 0; 845s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 845s # g_value_set_object (¶mv[n++], skeleton); 845s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 845s # g_value_set_object (¶mv[n++], invocation); 845s # if (info->pass_fdlist) 845s # { 845s # #ifdef G_OS_UNIX 845s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 845s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 845s # #else 845s # g_assert_not_reached (); 845s # #endif 845s # } 845s # g_variant_iter_init (&iter, parameters); 845s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 845s # { 845s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 845s # if (arg_info->use_gvariant) 845s # { 845s # g_value_init (¶mv[n], G_TYPE_VARIANT); 845s # g_value_set_variant (¶mv[n], child); 845s # n++; 845s # } 845s # else 845s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 845s # g_variant_unref (child); 845s # } 845s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 845s # g_value_init (&return_value, G_TYPE_BOOLEAN); 845s # g_signal_emitv (paramv, signal_id, 0, &return_value); 845s # if (!g_value_get_boolean (&return_value)) 845s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 845s # g_value_unset (&return_value); 845s # for (n = 0; n < num_params + num_extra; n++) 845s # g_value_unset (¶mv[n]); 845s # g_free (paramv); 845s # } 845s # 845s # static GVariant * 845s # _org_project_signaling_iface_skeleton_handle_get_property ( 845s # GDBusConnection *connection G_GNUC_UNUSED, 845s # const gchar *sender G_GNUC_UNUSED, 845s # const gchar *object_path G_GNUC_UNUSED, 845s # const gchar *interface_name G_GNUC_UNUSED, 845s # const gchar *property_name, 845s # GError **error, 845s # gpointer user_data) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 845s # GValue value = G_VALUE_INIT; 845s # GParamSpec *pspec; 845s # _ExtendedGDBusPropertyInfo *info; 845s # GVariant *ret; 845s # ret = NULL; 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 845s # g_assert (info != NULL); 845s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 845s # if (pspec == NULL) 845s # { 845s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 845s # } 845s # else 845s # { 845s # g_value_init (&value, pspec->value_type); 845s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 845s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 845s # g_value_unset (&value); 845s # } 845s # return ret; 845s # } 845s # 845s # static gboolean 845s # _org_project_signaling_iface_skeleton_handle_set_property ( 845s # GDBusConnection *connection G_GNUC_UNUSED, 845s # const gchar *sender G_GNUC_UNUSED, 845s # const gchar *object_path G_GNUC_UNUSED, 845s # const gchar *interface_name G_GNUC_UNUSED, 845s # const gchar *property_name, 845s # GVariant *variant, 845s # GError **error, 845s # gpointer user_data) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 845s # GValue value = G_VALUE_INIT; 845s # GParamSpec *pspec; 845s # _ExtendedGDBusPropertyInfo *info; 845s # gboolean ret; 845s # ret = FALSE; 845s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 845s # g_assert (info != NULL); 845s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 845s # if (pspec == NULL) 845s # { 845s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 845s # } 845s # else 845s # { 845s # if (info->use_gvariant) 845s # g_value_set_variant (&value, variant); 845s # else 845s # g_dbus_gvariant_to_gvalue (variant, &value); 845s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 845s # g_value_unset (&value); 845s # ret = TRUE; 845s # } 845s # return ret; 845s # } 845s # 845s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 845s # { 845s # _org_project_signaling_iface_skeleton_handle_method_call, 845s # _org_project_signaling_iface_skeleton_handle_get_property, 845s # _org_project_signaling_iface_skeleton_handle_set_property, 845s # {NULL} 845s # }; 845s # 845s # static GDBusInterfaceInfo * 845s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 845s # { 845s # return org_project_signaling_iface_interface_info (); 845s # } 845s # 845s # static GDBusInterfaceVTable * 845s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 845s # { 845s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 845s # } 845s # 845s # static GVariant * 845s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 845s # 845s # GVariantBuilder builder; 845s # guint n; 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 845s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 845s # #else 845s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 845s # #endif 845s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 845s # goto out; 845s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 845s # { 845s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 845s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 845s # { 845s # GVariant *value; 845s # 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); 845s # if (value != NULL) 845s # { 845s # g_variant_take_ref (value); 845s # g_variant_builder_add (&builder, "{sv}", info->name, value); 845s # g_variant_unref (value); 845s # } 845s # } 845s # } 845s # out: 845s # return g_variant_builder_end (&builder); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 845s # { 845s # } 845s # 845s # static void 845s # _org_project_signaling_iface_on_signal_simple_signal ( 845s # OrgProjectSignalingIface *object) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 845s # 845s # GList *connections, *l; 845s # GVariant *signal_variant; 845s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 845s # 845s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 845s # for (l = connections; l != NULL; l = l->next) 845s # { 845s # GDBusConnection *connection = l->data; 845s # g_dbus_connection_emit_signal (connection, 845s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 845s # signal_variant, NULL); 845s # } 845s # g_variant_unref (signal_variant); 845s # g_list_free_full (connections, g_object_unref); 845s # } 845s # 845s # static void 845s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 845s # OrgProjectSignalingIface *object, 845s # gboolean arg_an_b, 845s # guchar arg_an_y, 845s # gint16 arg_an_n, 845s # guint16 arg_an_q, 845s # gint arg_an_i, 845s # guint arg_an_u, 845s # gint64 arg_an_x, 845s # guint64 arg_an_t, 845s # gdouble arg_an_d, 845s # const gchar *arg_an_s, 845s # const gchar *arg_an_o, 845s # const gchar *arg_an_g, 845s # GVariant *arg_an_h, 845s # const gchar *arg_an_ay, 845s # const gchar *const *arg_an_as, 845s # const gchar *const *arg_an_ao, 845s # const gchar *const *arg_an_aay, 845s # GVariant *arg_an_asv) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 845s # 845s # GList *connections, *l; 845s # GVariant *signal_variant; 845s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 845s # 845s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 845s # arg_an_b, 845s # arg_an_y, 845s # arg_an_n, 845s # arg_an_q, 845s # arg_an_i, 845s # arg_an_u, 845s # arg_an_x, 845s # arg_an_t, 845s # arg_an_d, 845s # arg_an_s, 845s # arg_an_o, 845s # arg_an_g, 845s # arg_an_h, 845s # arg_an_ay, 845s # arg_an_as, 845s # arg_an_ao, 845s # arg_an_aay, 845s # arg_an_asv)); 845s # for (l = connections; l != NULL; l = l->next) 845s # { 845s # GDBusConnection *connection = l->data; 845s # g_dbus_connection_emit_signal (connection, 845s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 845s # signal_variant, NULL); 845s # } 845s # g_variant_unref (signal_variant); 845s # g_list_free_full (connections, g_object_unref); 845s # } 845s # 845s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 845s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 845s # 845s # #else 845s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 845s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 845s # 845s # #endif 845s # static void 845s # org_project_signaling_iface_skeleton_finalize (GObject *object) 845s # { 845s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 845s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 845s # if (skeleton->priv->changed_properties_idle_source != NULL) 845s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 845s # g_main_context_unref (skeleton->priv->context); 845s # g_mutex_clear (&skeleton->priv->lock); 845s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 845s # { 845s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 845s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 845s # #else 845s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 845s # #endif 845s # 845s # g_mutex_init (&skeleton->priv->lock); 845s # skeleton->priv->context = g_main_context_ref_thread_default (); 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 845s # { 845s # GObjectClass *gobject_class; 845s # GDBusInterfaceSkeletonClass *skeleton_class; 845s # 845s # gobject_class = G_OBJECT_CLASS (klass); 845s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 845s # 845s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 845s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 845s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 845s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 845s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 845s # 845s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 845s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 845s # #endif 845s # } 845s # 845s # static void 845s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 845s # { 845s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 845s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 845s # } 845s # 845s # /** 845s # * org_project_signaling_iface_skeleton_new: 845s # * 845s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 845s # * 845s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 845s # */ 845s # OrgProjectSignalingIface * 845s # org_project_signaling_iface_skeleton_new (void) 845s # { 845s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 845s # } 845s # Error: 845s ok 25 __main__.TestCodegen.test_generate_valid_docbook 845s # gdbus-codegen: /usr/bin/gdbus-codegen 845s # tmpdir: /tmp/tmprumso40q 845s # /tmp/tmprumso40q/tmpsveebtxd.xml: 845s # 845s # 845s # 845s # 845s # 845s # 845s # 845s # 845s # 845s # 845s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprumso40q/tmpsveebtxd.xml', '--generate-docbook', 'test'] 845s # Return code: 0 845s # Output: 845s # 845s # Error: 845s ok 26 __main__.TestCodegen.test_glib_max_allowed_less_than_min_required 845s # gdbus-codegen: /usr/bin/gdbus-codegen 845s # tmpdir: /tmp/tmpslmmdh7x 845s # /tmp/tmpslmmdh7x/tmpl9ly8jfv.xml: 845s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpslmmdh7x/tmpl9ly8jfv.xml', '--output', '-', '--body', '--glib-max-allowed', '2.62', '--glib-min-required', '2.64'] 845s # Return code: 1 845s # Output: 845s # 845s # Error: 845s # ERROR: Invalid versions: --glib-min-required ((2, 64)) must be less than or equal to --glib-max-allowed ((2, 62)) 845s ok 27 __main__.TestCodegen.test_glib_max_allowed_major_only 845s # gdbus-codegen: /usr/bin/gdbus-codegen 845s # tmpdir: /tmp/tmpqwmq6ayh 845s # /tmp/tmpqwmq6ayh/tmp6k7uo2wj.xml: 845s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqwmq6ayh/tmp6k7uo2wj.xml', '--output', '-', '--header', '--glib-max-allowed', '3'] 845s # Return code: 0 845s # Output: 845s # /* 845s # * This file is generated by gdbus-codegen, do not modify it. 845s # * 845s # * The license of this code is the same as for the D-Bus interface description 845s # * it was derived from. Note that it links to GLib, so must comply with the 845s # * LGPL linking clauses. 845s # */ 845s # 845s # #ifndef __STDOUT__ 845s # #define __STDOUT__ 845s # 845s # #include 845s # 845s # G_BEGIN_DECLS 845s # 845s # 845s # G_END_DECLS 845s # 845s # #endif /* __STDOUT__ */ 845s # Error: 845s ok 28 __main__.TestCodegen.test_glib_max_allowed_too_low 845s # gdbus-codegen: /usr/bin/gdbus-codegen 845s # tmpdir: /tmp/tmpl6j_mi65 845s # /tmp/tmpl6j_mi65/tmpo1qsvbq9.xml: 845s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpl6j_mi65/tmpo1qsvbq9.xml', '--output', '-', '--body', '--glib-max-allowed', '2.6'] 845s # Return code: 1 845s # Output: 845s # 845s # Error: 845s # ERROR: Invalid versions: --glib-min-required ((2, 30)) must be less than or equal to --glib-max-allowed ((2, 6)) 845s ok 29 __main__.TestCodegen.test_glib_max_allowed_unstable 845s # gdbus-codegen: /usr/bin/gdbus-codegen 845s # tmpdir: /tmp/tmp8n53acix 845s # /tmp/tmp8n53acix/tmpjvgtqb2q.xml: 845s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8n53acix/tmpjvgtqb2q.xml', '--output', '-', '--header', '--glib-max-allowed', '2.63', '--glib-min-required', '2.64'] 845s # Return code: 0 845s # Output: 845s # /* 845s # * This file is generated by gdbus-codegen, do not modify it. 845s # * 845s # * The license of this code is the same as for the D-Bus interface description 845s # * it was derived from. Note that it links to GLib, so must comply with the 845s # * LGPL linking clauses. 845s # */ 845s # 845s # #ifndef __STDOUT__ 845s # #define __STDOUT__ 845s # 845s # #include 845s # 845s # G_BEGIN_DECLS 845s # 845s # 845s # G_END_DECLS 845s # 845s # #endif /* __STDOUT__ */ 845s # Error: 845s ok 30 __main__.TestCodegen.test_glib_max_allowed_with_micro 845s # gdbus-codegen: /usr/bin/gdbus-codegen 845s # tmpdir: /tmp/tmp2xnzafr0 845s # /tmp/tmp2xnzafr0/tmp5m2q4_3a.xml: 845s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2xnzafr0/tmp5m2q4_3a.xml', '--output', '-', '--header', '--glib-max-allowed', '2.46.2'] 845s # Return code: 0 845s # Output: 845s # /* 845s # * This file is generated by gdbus-codegen, do not modify it. 845s # * 845s # * The license of this code is the same as for the D-Bus interface description 845s # * it was derived from. Note that it links to GLib, so must comply with the 845s # * LGPL linking clauses. 845s # */ 845s # 845s # #ifndef __STDOUT__ 845s # #define __STDOUT__ 845s # 845s # #include 845s # 845s # G_BEGIN_DECLS 845s # 845s # 845s # G_END_DECLS 845s # 845s # #endif /* __STDOUT__ */ 845s # Error: 845s ok 31 __main__.TestCodegen.test_glib_min_required_invalid 845s # gdbus-codegen: /usr/bin/gdbus-codegen 845s # tmpdir: /tmp/tmp1l_bkbw4 845s # /tmp/tmp1l_bkbw4/tmp53vc7p96.xml: 845s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1l_bkbw4/tmp53vc7p96.xml', '--output', '-', '--body', '--glib-min-required', 'hello mum'] 845s # Return code: 1 845s # Output: 845s # 845s # Error: 845s # ERROR: Unrecognized --glib-min-required string ‘hello mum’ 845s ok 32 __main__.TestCodegen.test_glib_min_required_major_only 845s # gdbus-codegen: /usr/bin/gdbus-codegen 845s # tmpdir: /tmp/tmp9q9kllvr 845s # /tmp/tmp9q9kllvr/tmpjekt_se0.xml: 845s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9q9kllvr/tmpjekt_se0.xml', '--output', '-', '--header', '--glib-min-required', '3', '--glib-max-allowed', '3.2'] 845s # Return code: 0 845s # Output: 845s # /* 845s # * This file is generated by gdbus-codegen, do not modify it. 845s # * 845s # * The license of this code is the same as for the D-Bus interface description 845s # * it was derived from. Note that it links to GLib, so must comply with the 845s # * LGPL linking clauses. 845s # */ 845s # 845s # #ifndef __STDOUT__ 845s # #define __STDOUT__ 845s # 845s # #include 845s # 845s # G_BEGIN_DECLS 845s # 845s # 845s # G_END_DECLS 845s # 845s # #endif /* __STDOUT__ */ 845s # Error: 845s ok 33 __main__.TestCodegen.test_glib_min_required_too_low 845s # gdbus-codegen: /usr/bin/gdbus-codegen 845s # tmpdir: /tmp/tmpf6l6rab1 845s # /tmp/tmpf6l6rab1/tmp0o864ead.xml: 845s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpf6l6rab1/tmp0o864ead.xml', '--output', '-', '--body', '--glib-min-required', '2.6'] 845s # Return code: 1 845s # Output: 845s # 845s # Error: 845s # ERROR: Invalid --glib-min-required string ‘2.6’: minimum version is 2.30 845s ok 34 __main__.TestCodegen.test_glib_min_required_with_micro 845s # gdbus-codegen: /usr/bin/gdbus-codegen 845s # tmpdir: /tmp/tmp4yhdr37b 845s # /tmp/tmp4yhdr37b/tmp_bnegonz.xml: 845s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4yhdr37b/tmp_bnegonz.xml', '--output', '-', '--header', '--glib-min-required', '2.46.2'] 845s # Return code: 0 845s # Output: 845s # /* 845s # * This file is generated by gdbus-codegen, do not modify it. 845s # * 845s # * The license of this code is the same as for the D-Bus interface description 845s # * it was derived from. Note that it links to GLib, so must comply with the 845s # * LGPL linking clauses. 845s # */ 845s # 845s # #ifndef __STDOUT__ 845s # #define __STDOUT__ 845s # 845s # #include 845s # 845s # G_BEGIN_DECLS 845s # 845s # 845s # G_END_DECLS 845s # 845s # #endif /* __STDOUT__ */ 845s # Error: 845s ok 35 __main__.TestCodegen.test_help 845s # gdbus-codegen: /usr/bin/gdbus-codegen 845s # tmpdir: /tmp/tmp13fcjgsn 845s # Running: ['/usr/bin/gdbus-codegen', '--help'] 845s # Return code: 0 845s # Output: 845s # usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 845s # [--c-namespace NAMESPACE] [--c-generate-object-manager] 845s # [--c-generate-autocleanup {none,objects,all}] 845s # [--generate-docbook OUTFILES] [--generate-md OUTFILES] 845s # [--generate-rst OUTFILES] [--pragma-once] 845s # [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 845s # [--glib-min-required VERSION] 845s # [--glib-max-allowed VERSION] 845s # [--symbol-decorator SYMBOL_DECORATOR] 845s # [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 845s # [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 845s # [--generate-c-code OUTFILES | --header | --body | 845s # --interface-info-header | --interface-info-body] 845s # [--output FILE | --output-directory OUTDIR] 845s # FILE [FILE ...] 845s # 845s # D-Bus code and documentation generator 845s # 845s # positional arguments: 845s # FILE D-Bus introspection XML file 845s # 845s # options: 845s # -h, --help show this help message and exit 845s # --interface-prefix PREFIX 845s # String to strip from D-Bus interface names for code 845s # and docs 845s # --c-namespace NAMESPACE 845s # The namespace to use for generated C code 845s # --c-generate-object-manager 845s # Generate a GDBusObjectManagerClient subclass when 845s # generating C code 845s # --c-generate-autocleanup {none,objects,all} 845s # Generate autocleanup support 845s # --generate-docbook OUTFILES 845s # Generate Docbook in OUTFILES-org.Project.IFace.xml 845s # --generate-md OUTFILES 845s # Generate Markdown in OUTFILES-org.Project.IFace.md 845s # --generate-rst OUTFILES 845s # Generate reStructuredText in OUTFILES- 845s # org.Project.IFace.rst 845s # --pragma-once Use "pragma once" as the inclusion guard 845s # --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 845s # Add annotation (may be used several times) 845s # --glib-min-required VERSION 845s # Minimum version of GLib to be supported by the 845s # outputted code (default: 2.30) 845s # --glib-max-allowed VERSION 845s # Maximum version of GLib to be used by the outputted 845s # code (default: current GLib version) 845s # --symbol-decorator SYMBOL_DECORATOR 845s # Macro used to decorate a symbol in the outputted 845s # header, possibly to export symbols 845s # --symbol-decorator-header SYMBOL_DECORATOR_HEADER 845s # Additional header required for decorator specified by 845s # --symbol-decorator 845s # --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 845s # Additional define required for decorator specified by 845s # --symbol-decorator 845s # --generate-c-code OUTFILES 845s # Generate C code in OUTFILES.[ch] 845s # --header Generate C headers 845s # --body Generate C code 845s # --interface-info-header 845s # Generate GDBusInterfaceInfo C header 845s # --interface-info-body 845s # Generate GDBusInterfaceInfo C code 845s # --output FILE Write output into the specified file 845s # --output-directory OUTDIR 845s # Location to output generated files 845s # Error: 845s ok 36 __main__.TestCodegen.test_indentation_preservation_in_comments 845s # gdbus-codegen: /usr/bin/gdbus-codegen 845s # tmpdir: /tmp/tmpyxdaq42m 845s # /tmp/tmpyxdaq42m/tmp3yv6ci2b.xml: 845s # 845s # 845s # 845s # 845s # 845s # 845s # 845s # 845s # 845s # 845s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpyxdaq42m/tmp3yv6ci2b.xml', '--generate-rst', 'test'] 845s # Return code: 0 845s # Output: 845s # 845s # Error: 845s # 845s # /tmp/tmpyxdaq42m/tmpo4lcyak9.xml: 845s # 845s # 845s # 845s # 845s # 845s # 845s # 845s # 845s # 845s # 845s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpyxdaq42m/tmpo4lcyak9.xml', '--generate-md', 'test'] 845s # Return code: 0 845s # Output: 845s # 845s # Error: 845s # 845s # /tmp/tmpyxdaq42m/tmpbg3kkw0m.xml: 845s # 845s # 845s # 845s # 845s # 845s # 845s # 845s # 845s # 845s # 845s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpyxdaq42m/tmpbg3kkw0m.xml', '--generate-docbook', 'test'] 845s # Return code: 0 845s # Output: 845s # 845s # Error: 845s ok 37 __main__.TestCodegen.test_no_args 845s # gdbus-codegen: /usr/bin/gdbus-codegen 845s # tmpdir: /tmp/tmpioai6am0 845s # Running: ['/usr/bin/gdbus-codegen'] 845s # Return code: 2 845s # Output: 845s # 845s # Error: 845s # usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 845s # [--c-namespace NAMESPACE] [--c-generate-object-manager] 845s # [--c-generate-autocleanup {none,objects,all}] 845s # [--generate-docbook OUTFILES] [--generate-md OUTFILES] 845s # [--generate-rst OUTFILES] [--pragma-once] 845s # [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 845s # [--glib-min-required VERSION] 845s # [--glib-max-allowed VERSION] 845s # [--symbol-decorator SYMBOL_DECORATOR] 845s # [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 845s # [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 845s # [--generate-c-code OUTFILES | --header | --body | 845s # --interface-info-header | --interface-info-body] 845s # [--output FILE | --output-directory OUTDIR] 845s # FILE [FILE ...] 845s # gdbus-codegen: error: the following arguments are required: FILE 846s ok 38 __main__.TestCodegen.test_reproducible 846s # gdbus-codegen: /usr/bin/gdbus-codegen 846s # tmpdir: /tmp/tmpty2e5fr_ 846s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpty2e5fr_/tmpad5gvzv31.xml', '/tmp/tmpty2e5fr_/tmp_183di_u2.xml', '--output', '-', '--header'] 846s # Return code: 0 846s # Output: 846s # /* 846s # * This file is generated by gdbus-codegen, do not modify it. 846s # * 846s # * The license of this code is the same as for the D-Bus interface description 846s # * it was derived from. Note that it links to GLib, so must comply with the 846s # * LGPL linking clauses. 846s # */ 846s # 846s # #ifndef __STDOUT__ 846s # #define __STDOUT__ 846s # 846s # #include 846s # 846s # G_BEGIN_DECLS 846s # 846s # 846s # /* ------------------------------------------------------------------------ */ 846s # /* Declarations for org.project.Bar.Frobnicator */ 846s # 846s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 846s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 846s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 846s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 846s # 846s # struct _OrgProjectBarFrobnicator; 846s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 846s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 846s # 846s # struct _OrgProjectBarFrobnicatorIface 846s # { 846s # GTypeInterface parent_iface; 846s # 846s # gboolean (*handle_random_method) ( 846s # OrgProjectBarFrobnicator *object, 846s # GDBusMethodInvocation *invocation); 846s # 846s # }; 846s # 846s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 846s # 846s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 846s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 846s # 846s # 846s # /* D-Bus method call completion functions: */ 846s # void org_project_bar_frobnicator_complete_random_method ( 846s # OrgProjectBarFrobnicator *object, 846s # GDBusMethodInvocation *invocation); 846s # 846s # 846s # 846s # /* D-Bus method calls: */ 846s # void org_project_bar_frobnicator_call_random_method ( 846s # OrgProjectBarFrobnicator *proxy, 846s # GCancellable *cancellable, 846s # GAsyncReadyCallback callback, 846s # gpointer user_data); 846s # 846s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 846s # OrgProjectBarFrobnicator *proxy, 846s # GAsyncResult *res, 846s # GError **error); 846s # 846s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 846s # OrgProjectBarFrobnicator *proxy, 846s # GCancellable *cancellable, 846s # GError **error); 846s # 846s # 846s # 846s # /* ---- */ 846s # 846s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 846s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 846s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 846s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 846s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 846s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 846s # 846s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 846s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 846s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 846s # 846s # struct _OrgProjectBarFrobnicatorProxy 846s # { 846s # /*< private >*/ 846s # GDBusProxy parent_instance; 846s # OrgProjectBarFrobnicatorProxyPrivate *priv; 846s # }; 846s # 846s # struct _OrgProjectBarFrobnicatorProxyClass 846s # { 846s # GDBusProxyClass parent_class; 846s # }; 846s # 846s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 846s # 846s # #if GLIB_CHECK_VERSION(2, 44, 0) 846s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 846s # #endif 846s # 846s # void org_project_bar_frobnicator_proxy_new ( 846s # GDBusConnection *connection, 846s # GDBusProxyFlags flags, 846s # const gchar *name, 846s # const gchar *object_path, 846s # GCancellable *cancellable, 846s # GAsyncReadyCallback callback, 846s # gpointer user_data); 846s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 846s # GAsyncResult *res, 846s # GError **error); 846s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 846s # GDBusConnection *connection, 846s # GDBusProxyFlags flags, 846s # const gchar *name, 846s # const gchar *object_path, 846s # GCancellable *cancellable, 846s # GError **error); 846s # 846s # void org_project_bar_frobnicator_proxy_new_for_bus ( 846s # GBusType bus_type, 846s # GDBusProxyFlags flags, 846s # const gchar *name, 846s # const gchar *object_path, 846s # GCancellable *cancellable, 846s # GAsyncReadyCallback callback, 846s # gpointer user_data); 846s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 846s # GAsyncResult *res, 846s # GError **error); 846s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 846s # GBusType bus_type, 846s # GDBusProxyFlags flags, 846s # const gchar *name, 846s # const gchar *object_path, 846s # GCancellable *cancellable, 846s # GError **error); 846s # 846s # 846s # /* ---- */ 846s # 846s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 846s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 846s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 846s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 846s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 846s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 846s # 846s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 846s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 846s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 846s # 846s # struct _OrgProjectBarFrobnicatorSkeleton 846s # { 846s # /*< private >*/ 846s # GDBusInterfaceSkeleton parent_instance; 846s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 846s # }; 846s # 846s # struct _OrgProjectBarFrobnicatorSkeletonClass 846s # { 846s # GDBusInterfaceSkeletonClass parent_class; 846s # }; 846s # 846s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 846s # 846s # #if GLIB_CHECK_VERSION(2, 44, 0) 846s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 846s # #endif 846s # 846s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 846s # 846s # 846s # /* ------------------------------------------------------------------------ */ 846s # /* Declarations for com.acme.Coyote */ 846s # 846s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 846s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 846s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 846s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 846s # 846s # struct _ComAcmeCoyote; 846s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 846s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 846s # 846s # struct _ComAcmeCoyoteIface 846s # { 846s # GTypeInterface parent_iface; 846s # 846s # 846s # 846s # gboolean (*handle_attack) ( 846s # ComAcmeCoyote *object, 846s # GDBusMethodInvocation *invocation); 846s # 846s # gboolean (*handle_run) ( 846s # ComAcmeCoyote *object, 846s # GDBusMethodInvocation *invocation); 846s # 846s # gboolean (*handle_sleep) ( 846s # ComAcmeCoyote *object, 846s # GDBusMethodInvocation *invocation); 846s # 846s # const gchar * (*get_mood) (ComAcmeCoyote *object); 846s # 846s # void (*surprised) ( 846s # ComAcmeCoyote *object); 846s # 846s # }; 846s # 846s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 846s # 846s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 846s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 846s # 846s # 846s # /* D-Bus method call completion functions: */ 846s # void com_acme_coyote_complete_run ( 846s # ComAcmeCoyote *object, 846s # GDBusMethodInvocation *invocation); 846s # 846s # void com_acme_coyote_complete_sleep ( 846s # ComAcmeCoyote *object, 846s # GDBusMethodInvocation *invocation); 846s # 846s # void com_acme_coyote_complete_attack ( 846s # ComAcmeCoyote *object, 846s # GDBusMethodInvocation *invocation); 846s # 846s # 846s # 846s # /* D-Bus signal emissions functions: */ 846s # void com_acme_coyote_emit_surprised ( 846s # ComAcmeCoyote *object); 846s # 846s # 846s # 846s # /* D-Bus method calls: */ 846s # void com_acme_coyote_call_run ( 846s # ComAcmeCoyote *proxy, 846s # GCancellable *cancellable, 846s # GAsyncReadyCallback callback, 846s # gpointer user_data); 846s # 846s # gboolean com_acme_coyote_call_run_finish ( 846s # ComAcmeCoyote *proxy, 846s # GAsyncResult *res, 846s # GError **error); 846s # 846s # gboolean com_acme_coyote_call_run_sync ( 846s # ComAcmeCoyote *proxy, 846s # GCancellable *cancellable, 846s # GError **error); 846s # 846s # void com_acme_coyote_call_sleep ( 846s # ComAcmeCoyote *proxy, 846s # GCancellable *cancellable, 846s # GAsyncReadyCallback callback, 846s # gpointer user_data); 846s # 846s # gboolean com_acme_coyote_call_sleep_finish ( 846s # ComAcmeCoyote *proxy, 846s # GAsyncResult *res, 846s # GError **error); 846s # 846s # gboolean com_acme_coyote_call_sleep_sync ( 846s # ComAcmeCoyote *proxy, 846s # GCancellable *cancellable, 846s # GError **error); 846s # 846s # void com_acme_coyote_call_attack ( 846s # ComAcmeCoyote *proxy, 846s # GCancellable *cancellable, 846s # GAsyncReadyCallback callback, 846s # gpointer user_data); 846s # 846s # gboolean com_acme_coyote_call_attack_finish ( 846s # ComAcmeCoyote *proxy, 846s # GAsyncResult *res, 846s # GError **error); 846s # 846s # gboolean com_acme_coyote_call_attack_sync ( 846s # ComAcmeCoyote *proxy, 846s # GCancellable *cancellable, 846s # GError **error); 846s # 846s # 846s # 846s # /* D-Bus property accessors: */ 846s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 846s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 846s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 846s # 846s # 846s # /* ---- */ 846s # 846s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 846s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 846s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 846s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 846s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 846s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 846s # 846s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 846s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 846s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 846s # 846s # struct _ComAcmeCoyoteProxy 846s # { 846s # /*< private >*/ 846s # GDBusProxy parent_instance; 846s # ComAcmeCoyoteProxyPrivate *priv; 846s # }; 846s # 846s # struct _ComAcmeCoyoteProxyClass 846s # { 846s # GDBusProxyClass parent_class; 846s # }; 846s # 846s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 846s # 846s # #if GLIB_CHECK_VERSION(2, 44, 0) 846s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 846s # #endif 846s # 846s # void com_acme_coyote_proxy_new ( 846s # GDBusConnection *connection, 846s # GDBusProxyFlags flags, 846s # const gchar *name, 846s # const gchar *object_path, 846s # GCancellable *cancellable, 846s # GAsyncReadyCallback callback, 846s # gpointer user_data); 846s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 846s # GAsyncResult *res, 846s # GError **error); 846s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 846s # GDBusConnection *connection, 846s # GDBusProxyFlags flags, 846s # const gchar *name, 846s # const gchar *object_path, 846s # GCancellable *cancellable, 846s # GError **error); 846s # 846s # void com_acme_coyote_proxy_new_for_bus ( 846s # GBusType bus_type, 846s # GDBusProxyFlags flags, 846s # const gchar *name, 846s # const gchar *object_path, 846s # GCancellable *cancellable, 846s # GAsyncReadyCallback callback, 846s # gpointer user_data); 846s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 846s # GAsyncResult *res, 846s # GError **error); 846s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 846s # GBusType bus_type, 846s # GDBusProxyFlags flags, 846s # const gchar *name, 846s # const gchar *object_path, 846s # GCancellable *cancellable, 846s # GError **error); 846s # 846s # 846s # /* ---- */ 846s # 846s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 846s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 846s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 846s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 846s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 846s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 846s # 846s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 846s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 846s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 846s # 846s # struct _ComAcmeCoyoteSkeleton 846s # { 846s # /*< private >*/ 846s # GDBusInterfaceSkeleton parent_instance; 846s # ComAcmeCoyoteSkeletonPrivate *priv; 846s # }; 846s # 846s # struct _ComAcmeCoyoteSkeletonClass 846s # { 846s # GDBusInterfaceSkeletonClass parent_class; 846s # }; 846s # 846s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 846s # 846s # #if GLIB_CHECK_VERSION(2, 44, 0) 846s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 846s # #endif 846s # 846s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 846s # 846s # 846s # G_END_DECLS 846s # 846s # #endif /* __STDOUT__ */ 846s # Error: 846s # 846s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpty2e5fr_/tmp_183di_u2.xml', '/tmp/tmpty2e5fr_/tmpad5gvzv31.xml', '--output', '-', '--header'] 846s # Return code: 0 846s # Output: 846s # /* 846s # * This file is generated by gdbus-codegen, do not modify it. 846s # * 846s # * The license of this code is the same as for the D-Bus interface description 846s # * it was derived from. Note that it links to GLib, so must comply with the 846s # * LGPL linking clauses. 846s # */ 846s # 846s # #ifndef __STDOUT__ 846s # #define __STDOUT__ 846s # 846s # #include 846s # 846s # G_BEGIN_DECLS 846s # 846s # 846s # /* ------------------------------------------------------------------------ */ 846s # /* Declarations for org.project.Bar.Frobnicator */ 846s # 846s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 846s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 846s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 846s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 846s # 846s # struct _OrgProjectBarFrobnicator; 846s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 846s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 846s # 846s # struct _OrgProjectBarFrobnicatorIface 846s # { 846s # GTypeInterface parent_iface; 846s # 846s # gboolean (*handle_random_method) ( 846s # OrgProjectBarFrobnicator *object, 846s # GDBusMethodInvocation *invocation); 846s # 846s # }; 846s # 846s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 846s # 846s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 846s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 846s # 846s # 846s # /* D-Bus method call completion functions: */ 846s # void org_project_bar_frobnicator_complete_random_method ( 846s # OrgProjectBarFrobnicator *object, 846s # GDBusMethodInvocation *invocation); 846s # 846s # 846s # 846s # /* D-Bus method calls: */ 846s # void org_project_bar_frobnicator_call_random_method ( 846s # OrgProjectBarFrobnicator *proxy, 846s # GCancellable *cancellable, 846s # GAsyncReadyCallback callback, 846s # gpointer user_data); 846s # 846s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 846s # OrgProjectBarFrobnicator *proxy, 846s # GAsyncResult *res, 846s # GError **error); 846s # 846s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 846s # OrgProjectBarFrobnicator *proxy, 846s # GCancellable *cancellable, 846s # GError **error); 846s # 846s # 846s # 846s # /* ---- */ 846s # 846s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 846s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 846s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 846s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 846s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 846s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 846s # 846s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 846s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 846s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 846s # 846s # struct _OrgProjectBarFrobnicatorProxy 846s # { 846s # /*< private >*/ 846s # GDBusProxy parent_instance; 846s # OrgProjectBarFrobnicatorProxyPrivate *priv; 846s # }; 846s # 846s # struct _OrgProjectBarFrobnicatorProxyClass 846s # { 846s # GDBusProxyClass parent_class; 846s # }; 846s # 846s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 846s # 846s # #if GLIB_CHECK_VERSION(2, 44, 0) 846s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 846s # #endif 846s # 846s # void org_project_bar_frobnicator_proxy_new ( 846s # GDBusConnection *connection, 846s # GDBusProxyFlags flags, 846s # const gchar *name, 846s # const gchar *object_path, 846s # GCancellable *cancellable, 846s # GAsyncReadyCallback callback, 846s # gpointer user_data); 846s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 846s # GAsyncResult *res, 846s # GError **error); 846s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 846s # GDBusConnection *connection, 846s # GDBusProxyFlags flags, 846s # const gchar *name, 846s # const gchar *object_path, 846s # GCancellable *cancellable, 846s # GError **error); 846s # 846s # void org_project_bar_frobnicator_proxy_new_for_bus ( 846s # GBusType bus_type, 846s # GDBusProxyFlags flags, 846s # const gchar *name, 846s # const gchar *object_path, 846s # GCancellable *cancellable, 846s # GAsyncReadyCallback callback, 846s # gpointer user_data); 846s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 846s # GAsyncResult *res, 846s # GError **error); 846s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 846s # GBusType bus_type, 846s # GDBusProxyFlags flags, 846s # const gchar *name, 846s # const gchar *object_path, 846s # GCancellable *cancellable, 846s # GError **error); 846s # 846s # 846s # /* ---- */ 846s # 846s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 846s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 846s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 846s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 846s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 846s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 846s # 846s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 846s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 846s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 846s # 846s # struct _OrgProjectBarFrobnicatorSkeleton 846s # { 846s # /*< private >*/ 846s # GDBusInterfaceSkeleton parent_instance; 846s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 846s # }; 846s # 846s # struct _OrgProjectBarFrobnicatorSkeletonClass 846s # { 846s # GDBusInterfaceSkeletonClass parent_class; 846s # }; 846s # 846s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 846s # 846s # #if GLIB_CHECK_VERSION(2, 44, 0) 846s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 846s # #endif 846s # 846s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 846s # 846s # 846s # /* ------------------------------------------------------------------------ */ 846s # /* Declarations for com.acme.Coyote */ 846s # 846s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 846s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 846s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 846s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 846s # 846s # struct _ComAcmeCoyote; 846s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 846s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 846s # 846s # struct _ComAcmeCoyoteIface 846s # { 846s # GTypeInterface parent_iface; 846s # 846s # 846s # 846s # gboolean (*handle_attack) ( 846s # ComAcmeCoyote *object, 846s # GDBusMethodInvocation *invocation); 846s # 846s # gboolean (*handle_run) ( 846s # ComAcmeCoyote *object, 846s # GDBusMethodInvocation *invocation); 846s # 846s # gboolean (*handle_sleep) ( 846s # ComAcmeCoyote *object, 846s # GDBusMethodInvocation *invocation); 846s # 846s # const gchar * (*get_mood) (ComAcmeCoyote *object); 846s # 846s # void (*surprised) ( 846s # ComAcmeCoyote *object); 846s # 846s # }; 846s # 846s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 846s # 846s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 846s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 846s # 846s # 846s # /* D-Bus method call completion functions: */ 846s # void com_acme_coyote_complete_run ( 846s # ComAcmeCoyote *object, 846s # GDBusMethodInvocation *invocation); 846s # 846s # void com_acme_coyote_complete_sleep ( 846s # ComAcmeCoyote *object, 846s # GDBusMethodInvocation *invocation); 846s # 846s # void com_acme_coyote_complete_attack ( 846s # ComAcmeCoyote *object, 846s # GDBusMethodInvocation *invocation); 846s # 846s # 846s # 846s # /* D-Bus signal emissions functions: */ 846s # void com_acme_coyote_emit_surprised ( 846s # ComAcmeCoyote *object); 846s # 846s # 846s # 846s # /* D-Bus method calls: */ 846s # void com_acme_coyote_call_run ( 846s # ComAcmeCoyote *proxy, 846s # GCancellable *cancellable, 846s # GAsyncReadyCallback callback, 846s # gpointer user_data); 846s # 846s # gboolean com_acme_coyote_call_run_finish ( 846s # ComAcmeCoyote *proxy, 846s # GAsyncResult *res, 846s # GError **error); 846s # 846s # gboolean com_acme_coyote_call_run_sync ( 846s # ComAcmeCoyote *proxy, 846s # GCancellable *cancellable, 846s # GError **error); 846s # 846s # void com_acme_coyote_call_sleep ( 846s # ComAcmeCoyote *proxy, 846s # GCancellable *cancellable, 846s # GAsyncReadyCallback callback, 846s # gpointer user_data); 846s # 846s # gboolean com_acme_coyote_call_sleep_finish ( 846s # ComAcmeCoyote *proxy, 846s # GAsyncResult *res, 846s # GError **error); 846s # 846s # gboolean com_acme_coyote_call_sleep_sync ( 846s # ComAcmeCoyote *proxy, 846s # GCancellable *cancellable, 846s # GError **error); 846s # 846s # void com_acme_coyote_call_attack ( 846s # ComAcmeCoyote *proxy, 846s # GCancellable *cancellable, 846s # GAsyncReadyCallback callback, 846s # gpointer user_data); 846s # 846s # gboolean com_acme_coyote_call_attack_finish ( 846s # ComAcmeCoyote *proxy, 846s # GAsyncResult *res, 846s # GError **error); 846s # 846s # gboolean com_acme_coyote_call_attack_sync ( 846s # ComAcmeCoyote *proxy, 846s # GCancellable *cancellable, 846s # GError **error); 846s # 846s # 846s # 846s # /* D-Bus property accessors: */ 846s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 846s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 846s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 846s # 846s # 846s # /* ---- */ 846s # 846s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 846s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 846s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 846s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 846s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 846s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 846s # 846s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 846s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 846s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 846s # 846s # struct _ComAcmeCoyoteProxy 846s # { 846s # /*< private >*/ 846s # GDBusProxy parent_instance; 846s # ComAcmeCoyoteProxyPrivate *priv; 846s # }; 846s # 846s # struct _ComAcmeCoyoteProxyClass 846s # { 846s # GDBusProxyClass parent_class; 846s # }; 846s # 846s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 846s # 846s # #if GLIB_CHECK_VERSION(2, 44, 0) 846s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 846s # #endif 846s # 846s # void com_acme_coyote_proxy_new ( 846s # GDBusConnection *connection, 846s # GDBusProxyFlags flags, 846s # const gchar *name, 846s # const gchar *object_path, 846s # GCancellable *cancellable, 846s # GAsyncReadyCallback callback, 846s # gpointer user_data); 846s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 846s # GAsyncResult *res, 846s # GError **error); 846s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 846s # GDBusConnection *connection, 846s # GDBusProxyFlags flags, 846s # const gchar *name, 846s # const gchar *object_path, 846s # GCancellable *cancellable, 846s # GError **error); 846s # 846s # void com_acme_coyote_proxy_new_for_bus ( 846s # GBusType bus_type, 846s # GDBusProxyFlags flags, 846s # const gchar *name, 846s # const gchar *object_path, 846s # GCancellable *cancellable, 846s # GAsyncReadyCallback callback, 846s # gpointer user_data); 846s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 846s # GAsyncResult *res, 846s # GError **error); 846s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 846s # GBusType bus_type, 846s # GDBusProxyFlags flags, 846s # const gchar *name, 846s # const gchar *object_path, 846s # GCancellable *cancellable, 846s # GError **error); 846s # 846s # 846s # /* ---- */ 846s # 846s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 846s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 846s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 846s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 846s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 846s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 846s # 846s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 846s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 846s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 846s # 846s # struct _ComAcmeCoyoteSkeleton 846s # { 846s # /*< private >*/ 846s # GDBusInterfaceSkeleton parent_instance; 846s # ComAcmeCoyoteSkeletonPrivate *priv; 846s # }; 846s # 846s # struct _ComAcmeCoyoteSkeletonClass 846s # { 846s # GDBusInterfaceSkeletonClass parent_class; 846s # }; 846s # 846s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 846s # 846s # #if GLIB_CHECK_VERSION(2, 44, 0) 846s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 846s # #endif 846s # 846s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 846s # 846s # 846s # G_END_DECLS 846s # 846s # #endif /* __STDOUT__ */ 846s # Error: 846s # 846s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpty2e5fr_/tmpad5gvzv31.xml', '/tmp/tmpty2e5fr_/tmp_183di_u2.xml', '--output', '-', '--body'] 846s # Return code: 0 846s # Output: 846s # /* 846s # * This file is generated by gdbus-codegen, do not modify it. 846s # * 846s # * The license of this code is the same as for the D-Bus interface description 846s # * it was derived from. Note that it links to GLib, so must comply with the 846s # * LGPL linking clauses. 846s # */ 846s # 846s # #ifdef HAVE_CONFIG_H 846s # # include "config.h" 846s # #endif 846s # 846s # #include 846s # #ifdef G_OS_UNIX 846s # # include 846s # #endif 846s # 846s # #ifdef G_ENABLE_DEBUG 846s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 846s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 846s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 846s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 846s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 846s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 846s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 846s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 846s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 846s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 846s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 846s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 846s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 846s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 846s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 846s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 846s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 846s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 846s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 846s # #else /* !G_ENABLE_DEBUG */ 846s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 846s # * Do not access GValues directly in your code. Instead, use the 846s # * g_value_get_*() functions 846s # */ 846s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 846s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 846s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 846s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 846s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 846s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 846s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 846s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 846s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 846s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 846s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 846s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 846s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 846s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 846s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 846s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 846s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 846s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 846s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 846s # #endif /* !G_ENABLE_DEBUG */ 846s # 846s # typedef struct 846s # { 846s # GDBusArgInfo parent_struct; 846s # gboolean use_gvariant; 846s # } _ExtendedGDBusArgInfo; 846s # 846s # typedef struct 846s # { 846s # GDBusMethodInfo parent_struct; 846s # const gchar *signal_name; 846s # gboolean pass_fdlist; 846s # } _ExtendedGDBusMethodInfo; 846s # 846s # typedef struct 846s # { 846s # GDBusSignalInfo parent_struct; 846s # const gchar *signal_name; 846s # } _ExtendedGDBusSignalInfo; 846s # 846s # typedef struct 846s # { 846s # GDBusPropertyInfo parent_struct; 846s # const gchar *hyphen_name; 846s # guint use_gvariant : 1; 846s # guint emits_changed_signal : 1; 846s # } _ExtendedGDBusPropertyInfo; 846s # 846s # typedef struct 846s # { 846s # GDBusInterfaceInfo parent_struct; 846s # const gchar *hyphen_name; 846s # } _ExtendedGDBusInterfaceInfo; 846s # 846s # typedef struct 846s # { 846s # const _ExtendedGDBusPropertyInfo *info; 846s # guint prop_id; 846s # GValue orig_value; /* the value before the change */ 846s # } ChangedProperty; 846s # 846s # static void 846s # _changed_property_free (ChangedProperty *data) 846s # { 846s # g_value_unset (&data->orig_value); 846s # g_free (data); 846s # } 846s # 846s # static gboolean 846s # _g_strv_equal0 (gchar **a, gchar **b) 846s # { 846s # gboolean ret = FALSE; 846s # guint n; 846s # if (a == NULL && b == NULL) 846s # { 846s # ret = TRUE; 846s # goto out; 846s # } 846s # if (a == NULL || b == NULL) 846s # goto out; 846s # if (g_strv_length (a) != g_strv_length (b)) 846s # goto out; 846s # for (n = 0; a[n] != NULL; n++) 846s # if (g_strcmp0 (a[n], b[n]) != 0) 846s # goto out; 846s # ret = TRUE; 846s # out: 846s # return ret; 846s # } 846s # 846s # static gboolean 846s # _g_variant_equal0 (GVariant *a, GVariant *b) 846s # { 846s # gboolean ret = FALSE; 846s # if (a == NULL && b == NULL) 846s # { 846s # ret = TRUE; 846s # goto out; 846s # } 846s # if (a == NULL || b == NULL) 846s # goto out; 846s # ret = g_variant_equal (a, b); 846s # out: 846s # return ret; 846s # } 846s # 846s # G_GNUC_UNUSED static gboolean 846s # _g_value_equal (const GValue *a, const GValue *b) 846s # { 846s # gboolean ret = FALSE; 846s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 846s # switch (G_VALUE_TYPE (a)) 846s # { 846s # case G_TYPE_BOOLEAN: 846s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 846s # break; 846s # case G_TYPE_UCHAR: 846s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 846s # break; 846s # case G_TYPE_INT: 846s # ret = (g_value_get_int (a) == g_value_get_int (b)); 846s # break; 846s # case G_TYPE_UINT: 846s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 846s # break; 846s # case G_TYPE_INT64: 846s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 846s # break; 846s # case G_TYPE_UINT64: 846s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 846s # break; 846s # case G_TYPE_DOUBLE: 846s # { 846s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 846s # gdouble da = g_value_get_double (a); 846s # gdouble db = g_value_get_double (b); 846s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 846s # } 846s # break; 846s # case G_TYPE_STRING: 846s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 846s # break; 846s # case G_TYPE_VARIANT: 846s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 846s # break; 846s # default: 846s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 846s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 846s # else 846s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 846s # break; 846s # } 846s # return ret; 846s # } 846s # 846s # static void 846s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 846s # GClosure *closure, 846s # GValue *return_value, 846s # unsigned int n_param_values, 846s # const GValue *param_values, 846s # void *invocation_hint G_GNUC_UNUSED, 846s # void *marshal_data) 846s # { 846s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 846s # (void *data1, 846s # GDBusMethodInvocation *arg_method_invocation, 846s # void *data2); 846s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 846s # GCClosure *cc = (GCClosure*) closure; 846s # void *data1, *data2; 846s # gboolean v_return; 846s # 846s # g_return_if_fail (return_value != NULL); 846s # g_return_if_fail (n_param_values == 2); 846s # 846s # if (G_CCLOSURE_SWAP_DATA (closure)) 846s # { 846s # data1 = closure->data; 846s # data2 = g_value_peek_pointer (param_values + 0); 846s # } 846s # else 846s # { 846s # data1 = g_value_peek_pointer (param_values + 0); 846s # data2 = closure->data; 846s # } 846s # 846s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 846s # (marshal_data ? marshal_data : cc->callback); 846s # 846s # v_return = 846s # callback (data1, 846s # g_marshal_value_peek_object (param_values + 1), 846s # data2); 846s # 846s # g_value_set_boolean (return_value, v_return); 846s # } 846s # 846s # /* ------------------------------------------------------------------------ 846s # * Code for interface org.project.Bar.Frobnicator 846s # * ------------------------------------------------------------------------ 846s # */ 846s # 846s # /** 846s # * SECTION:OrgProjectBarFrobnicator 846s # * @title: OrgProjectBarFrobnicator 846s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 846s # * 846s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 846s # */ 846s # 846s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 846s # 846s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 846s # { 846s # { 846s # -1, 846s # (gchar *) "RandomMethod", 846s # NULL, 846s # NULL, 846s # NULL 846s # }, 846s # "handle-random-method", 846s # FALSE 846s # }; 846s # 846s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 846s # { 846s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 846s # NULL 846s # }; 846s # 846s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 846s # { 846s # { 846s # -1, 846s # (gchar *) "org.project.Bar.Frobnicator", 846s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 846s # NULL, 846s # NULL, 846s # NULL 846s # }, 846s # "org-project-bar-frobnicator", 846s # }; 846s # 846s # 846s # /** 846s # * org_project_bar_frobnicator_interface_info: 846s # * 846s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 846s # * 846s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 846s # */ 846s # GDBusInterfaceInfo * 846s # org_project_bar_frobnicator_interface_info (void) 846s # { 846s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 846s # } 846s # 846s # /** 846s # * org_project_bar_frobnicator_override_properties: 846s # * @klass: The class structure for a #GObject derived class. 846s # * @property_id_begin: The property id to assign to the first overridden property. 846s # * 846s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 846s # * The properties are overridden in the order they are defined. 846s # * 846s # * Returns: The last property id. 846s # */ 846s # guint 846s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 846s # { 846s # return property_id_begin - 1; 846s # } 846s # 846s # 846s # inline static void 846s # org_project_bar_frobnicator_method_marshal_random_method ( 846s # GClosure *closure, 846s # GValue *return_value, 846s # unsigned int n_param_values, 846s # const GValue *param_values, 846s # void *invocation_hint, 846s # void *marshal_data) 846s # { 846s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 846s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 846s # } 846s # 846s # 846s # /** 846s # * OrgProjectBarFrobnicator: 846s # * 846s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 846s # */ 846s # 846s # /** 846s # * OrgProjectBarFrobnicatorIface: 846s # * @parent_iface: The parent interface. 846s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 846s # * 846s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 846s # */ 846s # 846s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 846s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 846s # 846s # static void 846s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 846s # { 846s # /* GObject signals for incoming D-Bus method calls: */ 846s # /** 846s # * OrgProjectBarFrobnicator::handle-random-method: 846s # * @object: A #OrgProjectBarFrobnicator. 846s # * @invocation: A #GDBusMethodInvocation. 846s # * 846s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 846s # * 846s # * 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. 846s # * 846s # * 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. 846s # */ 846s # g_signal_new ("handle-random-method", 846s # G_TYPE_FROM_INTERFACE (iface), 846s # G_SIGNAL_RUN_LAST, 846s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 846s # g_signal_accumulator_true_handled, 846s # NULL, 846s # org_project_bar_frobnicator_method_marshal_random_method, 846s # G_TYPE_BOOLEAN, 846s # 1, 846s # G_TYPE_DBUS_METHOD_INVOCATION); 846s # 846s # } 846s # 846s # /** 846s # * org_project_bar_frobnicator_call_random_method: 846s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 846s # * @cancellable: (nullable): A #GCancellable or %NULL. 846s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 846s # * @user_data: User data to pass to @callback. 846s # * 846s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 846s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 846s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 846s # * 846s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 846s # */ 846s # void 846s # org_project_bar_frobnicator_call_random_method ( 846s # OrgProjectBarFrobnicator *proxy, 846s # GCancellable *cancellable, 846s # GAsyncReadyCallback callback, 846s # gpointer user_data) 846s # { 846s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 846s # "RandomMethod", 846s # g_variant_new ("()"), 846s # G_DBUS_CALL_FLAGS_NONE, 846s # -1, 846s # cancellable, 846s # callback, 846s # user_data); 846s # } 846s # 846s # /** 846s # * org_project_bar_frobnicator_call_random_method_finish: 846s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 846s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 846s # * @error: Return location for error or %NULL. 846s # * 846s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 846s # * 846s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 846s # */ 846s # gboolean 846s # org_project_bar_frobnicator_call_random_method_finish ( 846s # OrgProjectBarFrobnicator *proxy, 846s # GAsyncResult *res, 846s # GError **error) 846s # { 846s # GVariant *_ret; 846s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 846s # if (_ret == NULL) 846s # goto _out; 846s # g_variant_get (_ret, 846s # "()"); 846s # g_variant_unref (_ret); 846s # _out: 846s # return _ret != NULL; 846s # } 846s # 846s # /** 846s # * org_project_bar_frobnicator_call_random_method_sync: 846s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 846s # * @cancellable: (nullable): A #GCancellable or %NULL. 846s # * @error: Return location for error or %NULL. 846s # * 846s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 846s # * 846s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 846s # * 846s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 846s # */ 846s # gboolean 846s # org_project_bar_frobnicator_call_random_method_sync ( 846s # OrgProjectBarFrobnicator *proxy, 846s # GCancellable *cancellable, 846s # GError **error) 846s # { 846s # GVariant *_ret; 846s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 846s # "RandomMethod", 846s # g_variant_new ("()"), 846s # G_DBUS_CALL_FLAGS_NONE, 846s # -1, 846s # cancellable, 846s # error); 846s # if (_ret == NULL) 846s # goto _out; 846s # g_variant_get (_ret, 846s # "()"); 846s # g_variant_unref (_ret); 846s # _out: 846s # return _ret != NULL; 846s # } 846s # 846s # /** 846s # * org_project_bar_frobnicator_complete_random_method: 846s # * @object: A #OrgProjectBarFrobnicator. 846s # * @invocation: (transfer full): A #GDBusMethodInvocation. 846s # * 846s # * 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. 846s # * 846s # * This method will free @invocation, you cannot use it afterwards. 846s # */ 846s # void 846s # org_project_bar_frobnicator_complete_random_method ( 846s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 846s # GDBusMethodInvocation *invocation) 846s # { 846s # g_dbus_method_invocation_return_value (invocation, 846s # g_variant_new ("()")); 846s # } 846s # 846s # /* ------------------------------------------------------------------------ */ 846s # 846s # /** 846s # * OrgProjectBarFrobnicatorProxy: 846s # * 846s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 846s # */ 846s # 846s # /** 846s # * OrgProjectBarFrobnicatorProxyClass: 846s # * @parent_class: The parent class. 846s # * 846s # * Class structure for #OrgProjectBarFrobnicatorProxy. 846s # */ 846s # 846s # struct _OrgProjectBarFrobnicatorProxyPrivate 846s # { 846s # GData *qdata; 846s # }; 846s # 846s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 846s # 846s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 846s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 846s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 846s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 846s # 846s # #else 846s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 846s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 846s # 846s # #endif 846s # static void 846s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 846s # { 846s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 846s # g_datalist_clear (&proxy->priv->qdata); 846s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 846s # } 846s # 846s # static void 846s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 846s # guint prop_id G_GNUC_UNUSED, 846s # GValue *value G_GNUC_UNUSED, 846s # GParamSpec *pspec G_GNUC_UNUSED) 846s # { 846s # } 846s # 846s # static void 846s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 846s # guint prop_id G_GNUC_UNUSED, 846s # const GValue *value G_GNUC_UNUSED, 846s # GParamSpec *pspec G_GNUC_UNUSED) 846s # { 846s # } 846s # 846s # static void 846s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 846s # const gchar *sender_name G_GNUC_UNUSED, 846s # const gchar *signal_name, 846s # GVariant *parameters) 846s # { 846s # _ExtendedGDBusSignalInfo *info; 846s # GVariantIter iter; 846s # GVariant *child; 846s # GValue *paramv; 846s # gsize num_params; 846s # gsize n; 846s # guint signal_id; 846s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 846s # if (info == NULL) 846s # return; 846s # num_params = g_variant_n_children (parameters); 846s # paramv = g_new0 (GValue, num_params + 1); 846s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 846s # g_value_set_object (¶mv[0], proxy); 846s # g_variant_iter_init (&iter, parameters); 846s # n = 1; 846s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 846s # { 846s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 846s # if (arg_info->use_gvariant) 846s # { 846s # g_value_init (¶mv[n], G_TYPE_VARIANT); 846s # g_value_set_variant (¶mv[n], child); 846s # n++; 846s # } 846s # else 846s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 846s # g_variant_unref (child); 846s # } 846s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 846s # g_signal_emitv (paramv, signal_id, 0, NULL); 846s # for (n = 0; n < num_params + 1; n++) 846s # g_value_unset (¶mv[n]); 846s # g_free (paramv); 846s # } 846s # 846s # static void 846s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 846s # GVariant *changed_properties, 846s # const gchar *const *invalidated_properties) 846s # { 846s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 846s # guint n; 846s # const gchar *key; 846s # GVariantIter *iter; 846s # _ExtendedGDBusPropertyInfo *info; 846s # g_variant_get (changed_properties, "a{sv}", &iter); 846s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 846s # { 846s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 846s # g_datalist_remove_data (&proxy->priv->qdata, key); 846s # if (info != NULL) 846s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 846s # } 846s # g_variant_iter_free (iter); 846s # for (n = 0; invalidated_properties[n] != NULL; n++) 846s # { 846s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 846s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 846s # if (info != NULL) 846s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 846s # } 846s # } 846s # 846s # static void 846s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 846s # { 846s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 846s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 846s # #else 846s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 846s # #endif 846s # 846s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 846s # } 846s # 846s # static void 846s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 846s # { 846s # GObjectClass *gobject_class; 846s # GDBusProxyClass *proxy_class; 846s # 846s # gobject_class = G_OBJECT_CLASS (klass); 846s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 846s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 846s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 846s # 846s # proxy_class = G_DBUS_PROXY_CLASS (klass); 846s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 846s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 846s # 846s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 846s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 846s # #endif 846s # } 846s # 846s # static void 846s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 846s # { 846s # } 846s # 846s # /** 846s # * org_project_bar_frobnicator_proxy_new: 846s # * @connection: A #GDBusConnection. 846s # * @flags: Flags from the #GDBusProxyFlags enumeration. 846s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 846s # * @object_path: An object path. 846s # * @cancellable: (nullable): A #GCancellable or %NULL. 846s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 846s # * @user_data: User data to pass to @callback. 846s # * 846s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 846s # * 846s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 846s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 846s # * 846s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 846s # */ 846s # void 846s # org_project_bar_frobnicator_proxy_new ( 846s # GDBusConnection *connection, 846s # GDBusProxyFlags flags, 846s # const gchar *name, 846s # const gchar *object_path, 846s # GCancellable *cancellable, 846s # GAsyncReadyCallback callback, 846s # gpointer user_data) 846s # { 846s # 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); 846s # } 846s # 846s # /** 846s # * org_project_bar_frobnicator_proxy_new_finish: 846s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 846s # * @error: Return location for error or %NULL 846s # * 846s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 846s # * 846s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 846s # */ 846s # OrgProjectBarFrobnicator * 846s # org_project_bar_frobnicator_proxy_new_finish ( 846s # GAsyncResult *res, 846s # GError **error) 846s # { 846s # GObject *ret; 846s # GObject *source_object; 846s # source_object = g_async_result_get_source_object (res); 846s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 846s # g_object_unref (source_object); 846s # if (ret != NULL) 846s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 846s # else 846s # return NULL; 846s # } 846s # 846s # /** 846s # * org_project_bar_frobnicator_proxy_new_sync: 846s # * @connection: A #GDBusConnection. 846s # * @flags: Flags from the #GDBusProxyFlags enumeration. 846s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 846s # * @object_path: An object path. 846s # * @cancellable: (nullable): A #GCancellable or %NULL. 846s # * @error: Return location for error or %NULL 846s # * 846s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 846s # * 846s # * The calling thread is blocked until a reply is received. 846s # * 846s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 846s # * 846s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 846s # */ 846s # OrgProjectBarFrobnicator * 846s # org_project_bar_frobnicator_proxy_new_sync ( 846s # GDBusConnection *connection, 846s # GDBusProxyFlags flags, 846s # const gchar *name, 846s # const gchar *object_path, 846s # GCancellable *cancellable, 846s # GError **error) 846s # { 846s # GInitable *ret; 846s # 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); 846s # if (ret != NULL) 846s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 846s # else 846s # return NULL; 846s # } 846s # 846s # 846s # /** 846s # * org_project_bar_frobnicator_proxy_new_for_bus: 846s # * @bus_type: A #GBusType. 846s # * @flags: Flags from the #GDBusProxyFlags enumeration. 846s # * @name: A bus name (well-known or unique). 846s # * @object_path: An object path. 846s # * @cancellable: (nullable): A #GCancellable or %NULL. 846s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 846s # * @user_data: User data to pass to @callback. 846s # * 846s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 846s # * 846s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 846s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 846s # * 846s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 846s # */ 846s # void 846s # org_project_bar_frobnicator_proxy_new_for_bus ( 846s # GBusType bus_type, 846s # GDBusProxyFlags flags, 846s # const gchar *name, 846s # const gchar *object_path, 846s # GCancellable *cancellable, 846s # GAsyncReadyCallback callback, 846s # gpointer user_data) 846s # { 846s # 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); 846s # } 846s # 846s # /** 846s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 846s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 846s # * @error: Return location for error or %NULL 846s # * 846s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 846s # * 846s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 846s # */ 846s # OrgProjectBarFrobnicator * 846s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 846s # GAsyncResult *res, 846s # GError **error) 846s # { 846s # GObject *ret; 846s # GObject *source_object; 846s # source_object = g_async_result_get_source_object (res); 846s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 846s # g_object_unref (source_object); 846s # if (ret != NULL) 846s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 846s # else 846s # return NULL; 846s # } 846s # 846s # /** 846s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 846s # * @bus_type: A #GBusType. 846s # * @flags: Flags from the #GDBusProxyFlags enumeration. 846s # * @name: A bus name (well-known or unique). 846s # * @object_path: An object path. 846s # * @cancellable: (nullable): A #GCancellable or %NULL. 846s # * @error: Return location for error or %NULL 846s # * 846s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 846s # * 846s # * The calling thread is blocked until a reply is received. 846s # * 846s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 846s # * 846s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 846s # */ 846s # OrgProjectBarFrobnicator * 846s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 846s # GBusType bus_type, 846s # GDBusProxyFlags flags, 846s # const gchar *name, 846s # const gchar *object_path, 846s # GCancellable *cancellable, 846s # GError **error) 846s # { 846s # GInitable *ret; 846s # 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); 846s # if (ret != NULL) 846s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 846s # else 846s # return NULL; 846s # } 846s # 846s # 846s # /* ------------------------------------------------------------------------ */ 846s # 846s # /** 846s # * OrgProjectBarFrobnicatorSkeleton: 846s # * 846s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 846s # */ 846s # 846s # /** 846s # * OrgProjectBarFrobnicatorSkeletonClass: 846s # * @parent_class: The parent class. 846s # * 846s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 846s # */ 846s # 846s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 846s # { 846s # GValue *properties; 846s # GList *changed_properties; 846s # GSource *changed_properties_idle_source; 846s # GMainContext *context; 846s # GMutex lock; 846s # }; 846s # 846s # static void 846s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 846s # GDBusConnection *connection G_GNUC_UNUSED, 846s # const gchar *sender G_GNUC_UNUSED, 846s # const gchar *object_path G_GNUC_UNUSED, 846s # const gchar *interface_name, 846s # const gchar *method_name, 846s # GVariant *parameters, 846s # GDBusMethodInvocation *invocation, 846s # gpointer user_data) 846s # { 846s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 846s # _ExtendedGDBusMethodInfo *info; 846s # GVariantIter iter; 846s # GVariant *child; 846s # GValue *paramv; 846s # gsize num_params; 846s # guint num_extra; 846s # gsize n; 846s # guint signal_id; 846s # GValue return_value = G_VALUE_INIT; 846s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 846s # g_assert (info != NULL); 846s # num_params = g_variant_n_children (parameters); 846s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 846s # n = 0; 846s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 846s # g_value_set_object (¶mv[n++], skeleton); 846s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 846s # g_value_set_object (¶mv[n++], invocation); 846s # if (info->pass_fdlist) 846s # { 846s # #ifdef G_OS_UNIX 846s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 846s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 846s # #else 846s # g_assert_not_reached (); 846s # #endif 846s # } 846s # g_variant_iter_init (&iter, parameters); 846s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 846s # { 846s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 846s # if (arg_info->use_gvariant) 846s # { 846s # g_value_init (¶mv[n], G_TYPE_VARIANT); 846s # g_value_set_variant (¶mv[n], child); 846s # n++; 846s # } 846s # else 846s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 846s # g_variant_unref (child); 846s # } 846s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 846s # g_value_init (&return_value, G_TYPE_BOOLEAN); 846s # g_signal_emitv (paramv, signal_id, 0, &return_value); 846s # if (!g_value_get_boolean (&return_value)) 846s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 846s # g_value_unset (&return_value); 846s # for (n = 0; n < num_params + num_extra; n++) 846s # g_value_unset (¶mv[n]); 846s # g_free (paramv); 846s # } 846s # 846s # static GVariant * 846s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 846s # GDBusConnection *connection G_GNUC_UNUSED, 846s # const gchar *sender G_GNUC_UNUSED, 846s # const gchar *object_path G_GNUC_UNUSED, 846s # const gchar *interface_name G_GNUC_UNUSED, 846s # const gchar *property_name, 846s # GError **error, 846s # gpointer user_data) 846s # { 846s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 846s # GValue value = G_VALUE_INIT; 846s # GParamSpec *pspec; 846s # _ExtendedGDBusPropertyInfo *info; 846s # GVariant *ret; 846s # ret = NULL; 846s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 846s # g_assert (info != NULL); 846s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 846s # if (pspec == NULL) 846s # { 846s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 846s # } 846s # else 846s # { 846s # g_value_init (&value, pspec->value_type); 846s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 846s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 846s # g_value_unset (&value); 846s # } 846s # return ret; 846s # } 846s # 846s # static gboolean 846s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 846s # GDBusConnection *connection G_GNUC_UNUSED, 846s # const gchar *sender G_GNUC_UNUSED, 846s # const gchar *object_path G_GNUC_UNUSED, 846s # const gchar *interface_name G_GNUC_UNUSED, 846s # const gchar *property_name, 846s # GVariant *variant, 846s # GError **error, 846s # gpointer user_data) 846s # { 846s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 846s # GValue value = G_VALUE_INIT; 846s # GParamSpec *pspec; 846s # _ExtendedGDBusPropertyInfo *info; 846s # gboolean ret; 846s # ret = FALSE; 846s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 846s # g_assert (info != NULL); 846s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 846s # if (pspec == NULL) 846s # { 846s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 846s # } 846s # else 846s # { 846s # if (info->use_gvariant) 846s # g_value_set_variant (&value, variant); 846s # else 846s # g_dbus_gvariant_to_gvalue (variant, &value); 846s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 846s # g_value_unset (&value); 846s # ret = TRUE; 846s # } 846s # return ret; 846s # } 846s # 846s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 846s # { 846s # _org_project_bar_frobnicator_skeleton_handle_method_call, 846s # _org_project_bar_frobnicator_skeleton_handle_get_property, 846s # _org_project_bar_frobnicator_skeleton_handle_set_property, 846s # {NULL} 846s # }; 846s # 846s # static GDBusInterfaceInfo * 846s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 846s # { 846s # return org_project_bar_frobnicator_interface_info (); 846s # } 846s # 846s # static GDBusInterfaceVTable * 846s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 846s # { 846s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 846s # } 846s # 846s # static GVariant * 846s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 846s # { 846s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 846s # 846s # GVariantBuilder builder; 846s # guint n; 846s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 846s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 846s # #else 846s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 846s # #endif 846s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 846s # goto out; 846s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 846s # { 846s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 846s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 846s # { 846s # GVariant *value; 846s # 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); 846s # if (value != NULL) 846s # { 846s # g_variant_take_ref (value); 846s # g_variant_builder_add (&builder, "{sv}", info->name, value); 846s # g_variant_unref (value); 846s # } 846s # } 846s # } 846s # out: 846s # return g_variant_builder_end (&builder); 846s # } 846s # 846s # static void 846s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 846s # { 846s # } 846s # 846s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 846s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 846s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 846s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 846s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 846s # 846s # #else 846s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 846s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 846s # 846s # #endif 846s # static void 846s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 846s # { 846s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 846s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 846s # if (skeleton->priv->changed_properties_idle_source != NULL) 846s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 846s # g_main_context_unref (skeleton->priv->context); 846s # g_mutex_clear (&skeleton->priv->lock); 846s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 846s # } 846s # 846s # static void 846s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 846s # { 846s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 846s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 846s # #else 846s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 846s # #endif 846s # 846s # g_mutex_init (&skeleton->priv->lock); 846s # skeleton->priv->context = g_main_context_ref_thread_default (); 846s # } 846s # 846s # static void 846s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 846s # { 846s # GObjectClass *gobject_class; 846s # GDBusInterfaceSkeletonClass *skeleton_class; 846s # 846s # gobject_class = G_OBJECT_CLASS (klass); 846s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 846s # 846s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 846s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 846s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 846s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 846s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 846s # 846s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 846s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 846s # #endif 846s # } 846s # 846s # static void 846s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 846s # { 846s # } 846s # 846s # /** 846s # * org_project_bar_frobnicator_skeleton_new: 846s # * 846s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 846s # * 846s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 846s # */ 846s # OrgProjectBarFrobnicator * 846s # org_project_bar_frobnicator_skeleton_new (void) 846s # { 846s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 846s # } 846s # 846s # /* ------------------------------------------------------------------------ 846s # * Code for interface com.acme.Coyote 846s # * ------------------------------------------------------------------------ 846s # */ 846s # 846s # /** 846s # * SECTION:ComAcmeCoyote 846s # * @title: ComAcmeCoyote 846s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 846s # * 846s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 846s # */ 846s # 846s # enum 846s # { 846s # _COM_ACME_COYOTE_SURPRISED, 846s # }; 846s # 846s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 846s # 846s # /* ---- Introspection data for com.acme.Coyote ---- */ 846s # 846s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 846s # { 846s # { 846s # -1, 846s # (gchar *) "Run", 846s # NULL, 846s # NULL, 846s # NULL 846s # }, 846s # "handle-run", 846s # FALSE 846s # }; 846s # 846s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 846s # { 846s # { 846s # -1, 846s # (gchar *) "Sleep", 846s # NULL, 846s # NULL, 846s # NULL 846s # }, 846s # "handle-sleep", 846s # FALSE 846s # }; 846s # 846s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 846s # { 846s # { 846s # -1, 846s # (gchar *) "Attack", 846s # NULL, 846s # NULL, 846s # NULL 846s # }, 846s # "handle-attack", 846s # FALSE 846s # }; 846s # 846s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 846s # { 846s # &_com_acme_coyote_method_info_run.parent_struct, 846s # &_com_acme_coyote_method_info_sleep.parent_struct, 846s # &_com_acme_coyote_method_info_attack.parent_struct, 846s # NULL 846s # }; 846s # 846s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 846s # { 846s # { 846s # -1, 846s # (gchar *) "Surprised", 846s # NULL, 846s # NULL 846s # }, 846s # "surprised" 846s # }; 846s # 846s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 846s # { 846s # &_com_acme_coyote_signal_info_surprised.parent_struct, 846s # NULL 846s # }; 846s # 846s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 846s # { 846s # { 846s # -1, 846s # (gchar *) "Mood", 846s # (gchar *) "s", 846s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 846s # NULL 846s # }, 846s # "mood", 846s # FALSE, 846s # TRUE 846s # }; 846s # 846s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 846s # { 846s # &_com_acme_coyote_property_info_mood.parent_struct, 846s # NULL 846s # }; 846s # 846s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 846s # { 846s # { 846s # -1, 846s # (gchar *) "com.acme.Coyote", 846s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 846s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 846s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 846s # NULL 846s # }, 846s # "com-acme-coyote", 846s # }; 846s # 846s # 846s # /** 846s # * com_acme_coyote_interface_info: 846s # * 846s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 846s # * 846s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 846s # */ 846s # GDBusInterfaceInfo * 846s # com_acme_coyote_interface_info (void) 846s # { 846s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 846s # } 846s # 846s # /** 846s # * com_acme_coyote_override_properties: 846s # * @klass: The class structure for a #GObject derived class. 846s # * @property_id_begin: The property id to assign to the first overridden property. 846s # * 846s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 846s # * The properties are overridden in the order they are defined. 846s # * 846s # * Returns: The last property id. 846s # */ 846s # guint 846s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 846s # { 846s # g_object_class_override_property (klass, property_id_begin++, "mood"); 846s # return property_id_begin - 1; 846s # } 846s # 846s # 846s # inline static void 846s # com_acme_coyote_signal_marshal_surprised ( 846s # GClosure *closure, 846s # GValue *return_value, 846s # unsigned int n_param_values, 846s # const GValue *param_values, 846s # void *invocation_hint, 846s # void *marshal_data) 846s # { 846s # g_cclosure_marshal_VOID__VOID (closure, 846s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 846s # } 846s # 846s # inline static void 846s # com_acme_coyote_method_marshal_run ( 846s # GClosure *closure, 846s # GValue *return_value, 846s # unsigned int n_param_values, 846s # const GValue *param_values, 846s # void *invocation_hint, 846s # void *marshal_data) 846s # { 846s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 846s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 846s # } 846s # 846s # inline static void 846s # com_acme_coyote_method_marshal_sleep ( 846s # GClosure *closure, 846s # GValue *return_value, 846s # unsigned int n_param_values, 846s # const GValue *param_values, 846s # void *invocation_hint, 846s # void *marshal_data) 846s # { 846s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 846s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 846s # } 846s # 846s # inline static void 846s # com_acme_coyote_method_marshal_attack ( 846s # GClosure *closure, 846s # GValue *return_value, 846s # unsigned int n_param_values, 846s # const GValue *param_values, 846s # void *invocation_hint, 846s # void *marshal_data) 846s # { 846s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 846s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 846s # } 846s # 846s # 846s # /** 846s # * ComAcmeCoyote: 846s # * 846s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 846s # */ 846s # 846s # /** 846s # * ComAcmeCoyoteIface: 846s # * @parent_iface: The parent interface. 846s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 846s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 846s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 846s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 846s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 846s # * 846s # * Virtual table for the D-Bus interface com.acme.Coyote. 846s # */ 846s # 846s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 846s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 846s # 846s # static void 846s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 846s # { 846s # /* GObject signals for incoming D-Bus method calls: */ 846s # /** 846s # * ComAcmeCoyote::handle-run: 846s # * @object: A #ComAcmeCoyote. 846s # * @invocation: A #GDBusMethodInvocation. 846s # * 846s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 846s # * 846s # * 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. 846s # * 846s # * 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. 846s # */ 846s # g_signal_new ("handle-run", 846s # G_TYPE_FROM_INTERFACE (iface), 846s # G_SIGNAL_RUN_LAST, 846s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 846s # g_signal_accumulator_true_handled, 846s # NULL, 846s # com_acme_coyote_method_marshal_run, 846s # G_TYPE_BOOLEAN, 846s # 1, 846s # G_TYPE_DBUS_METHOD_INVOCATION); 846s # 846s # /** 846s # * ComAcmeCoyote::handle-sleep: 846s # * @object: A #ComAcmeCoyote. 846s # * @invocation: A #GDBusMethodInvocation. 846s # * 846s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 846s # * 846s # * 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. 846s # * 846s # * 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. 846s # */ 846s # g_signal_new ("handle-sleep", 846s # G_TYPE_FROM_INTERFACE (iface), 846s # G_SIGNAL_RUN_LAST, 846s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 846s # g_signal_accumulator_true_handled, 846s # NULL, 846s # com_acme_coyote_method_marshal_sleep, 846s # G_TYPE_BOOLEAN, 846s # 1, 846s # G_TYPE_DBUS_METHOD_INVOCATION); 846s # 846s # /** 846s # * ComAcmeCoyote::handle-attack: 846s # * @object: A #ComAcmeCoyote. 846s # * @invocation: A #GDBusMethodInvocation. 846s # * 846s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 846s # * 846s # * 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. 846s # * 846s # * 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. 846s # */ 846s # g_signal_new ("handle-attack", 846s # G_TYPE_FROM_INTERFACE (iface), 846s # G_SIGNAL_RUN_LAST, 846s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 846s # g_signal_accumulator_true_handled, 846s # NULL, 846s # com_acme_coyote_method_marshal_attack, 846s # G_TYPE_BOOLEAN, 846s # 1, 846s # G_TYPE_DBUS_METHOD_INVOCATION); 846s # 846s # /* GObject signals for received D-Bus signals: */ 846s # /** 846s # * ComAcmeCoyote::surprised: 846s # * @object: A #ComAcmeCoyote. 846s # * 846s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 846s # * 846s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 846s # */ 846s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 846s # g_signal_new ("surprised", 846s # G_TYPE_FROM_INTERFACE (iface), 846s # G_SIGNAL_RUN_LAST, 846s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 846s # NULL, 846s # NULL, 846s # com_acme_coyote_signal_marshal_surprised, 846s # G_TYPE_NONE, 846s # 0); 846s # 846s # /* GObject properties for D-Bus properties: */ 846s # /** 846s # * ComAcmeCoyote:mood: 846s # * 846s # * Represents the D-Bus property "Mood". 846s # * 846s # * 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. 846s # */ 846s # g_object_interface_install_property (iface, 846s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 846s # } 846s # 846s # /** 846s # * com_acme_coyote_get_mood: (skip) 846s # * @object: A #ComAcmeCoyote. 846s # * 846s # * Gets the value of the "Mood" D-Bus property. 846s # * 846s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 846s # * 846s # * 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. 846s # * 846s # * 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. 846s # */ 846s # const gchar * 846s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 846s # { 846s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 846s # 846s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 846s # } 846s # 846s # /** 846s # * com_acme_coyote_dup_mood: (skip) 846s # * @object: A #ComAcmeCoyote. 846s # * 846s # * Gets a copy of the "Mood" D-Bus property. 846s # * 846s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 846s # * 846s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 846s # */ 846s # gchar * 846s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 846s # { 846s # gchar *value; 846s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 846s # return value; 846s # } 846s # 846s # /** 846s # * com_acme_coyote_set_mood: (skip) 846s # * @object: A #ComAcmeCoyote. 846s # * @value: The value to set. 846s # * 846s # * Sets the "Mood" D-Bus property to @value. 846s # * 846s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 846s # */ 846s # void 846s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 846s # { 846s # g_object_set (G_OBJECT (object), "mood", value, NULL); 846s # } 846s # 846s # /** 846s # * com_acme_coyote_emit_surprised: 846s # * @object: A #ComAcmeCoyote. 846s # * 846s # * Emits the "Surprised" D-Bus signal. 846s # */ 846s # void 846s # com_acme_coyote_emit_surprised ( 846s # ComAcmeCoyote *object) 846s # { 846s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 846s # } 846s # 846s # /** 846s # * com_acme_coyote_call_run: 846s # * @proxy: A #ComAcmeCoyoteProxy. 846s # * @cancellable: (nullable): A #GCancellable or %NULL. 846s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 846s # * @user_data: User data to pass to @callback. 846s # * 846s # * Asynchronously invokes the Run() D-Bus method on @proxy. 846s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 846s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 846s # * 846s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 846s # */ 846s # void 846s # com_acme_coyote_call_run ( 846s # ComAcmeCoyote *proxy, 846s # GCancellable *cancellable, 846s # GAsyncReadyCallback callback, 846s # gpointer user_data) 846s # { 846s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 846s # "Run", 846s # g_variant_new ("()"), 846s # G_DBUS_CALL_FLAGS_NONE, 846s # -1, 846s # cancellable, 846s # callback, 846s # user_data); 846s # } 846s # 846s # /** 846s # * com_acme_coyote_call_run_finish: 846s # * @proxy: A #ComAcmeCoyoteProxy. 846s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 846s # * @error: Return location for error or %NULL. 846s # * 846s # * Finishes an operation started with com_acme_coyote_call_run(). 846s # * 846s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 846s # */ 846s # gboolean 846s # com_acme_coyote_call_run_finish ( 846s # ComAcmeCoyote *proxy, 846s # GAsyncResult *res, 846s # GError **error) 846s # { 846s # GVariant *_ret; 846s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 846s # if (_ret == NULL) 846s # goto _out; 846s # g_variant_get (_ret, 846s # "()"); 846s # g_variant_unref (_ret); 846s # _out: 846s # return _ret != NULL; 846s # } 846s # 846s # /** 846s # * com_acme_coyote_call_run_sync: 846s # * @proxy: A #ComAcmeCoyoteProxy. 846s # * @cancellable: (nullable): A #GCancellable or %NULL. 846s # * @error: Return location for error or %NULL. 846s # * 846s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 846s # * 846s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 846s # * 846s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 846s # */ 846s # gboolean 846s # com_acme_coyote_call_run_sync ( 846s # ComAcmeCoyote *proxy, 846s # GCancellable *cancellable, 846s # GError **error) 846s # { 846s # GVariant *_ret; 846s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 846s # "Run", 846s # g_variant_new ("()"), 846s # G_DBUS_CALL_FLAGS_NONE, 846s # -1, 846s # cancellable, 846s # error); 846s # if (_ret == NULL) 846s # goto _out; 846s # g_variant_get (_ret, 846s # "()"); 846s # g_variant_unref (_ret); 846s # _out: 846s # return _ret != NULL; 846s # } 846s # 846s # /** 846s # * com_acme_coyote_call_sleep: 846s # * @proxy: A #ComAcmeCoyoteProxy. 846s # * @cancellable: (nullable): A #GCancellable or %NULL. 846s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 846s # * @user_data: User data to pass to @callback. 846s # * 846s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 846s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 846s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 846s # * 846s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 846s # */ 846s # void 846s # com_acme_coyote_call_sleep ( 846s # ComAcmeCoyote *proxy, 846s # GCancellable *cancellable, 846s # GAsyncReadyCallback callback, 846s # gpointer user_data) 846s # { 846s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 846s # "Sleep", 846s # g_variant_new ("()"), 846s # G_DBUS_CALL_FLAGS_NONE, 846s # -1, 846s # cancellable, 846s # callback, 846s # user_data); 846s # } 846s # 846s # /** 846s # * com_acme_coyote_call_sleep_finish: 846s # * @proxy: A #ComAcmeCoyoteProxy. 846s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 846s # * @error: Return location for error or %NULL. 846s # * 846s # * Finishes an operation started with com_acme_coyote_call_sleep(). 846s # * 846s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 846s # */ 846s # gboolean 846s # com_acme_coyote_call_sleep_finish ( 846s # ComAcmeCoyote *proxy, 846s # GAsyncResult *res, 846s # GError **error) 846s # { 846s # GVariant *_ret; 846s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 846s # if (_ret == NULL) 846s # goto _out; 846s # g_variant_get (_ret, 846s # "()"); 846s # g_variant_unref (_ret); 846s # _out: 846s # return _ret != NULL; 846s # } 846s # 846s # /** 846s # * com_acme_coyote_call_sleep_sync: 846s # * @proxy: A #ComAcmeCoyoteProxy. 846s # * @cancellable: (nullable): A #GCancellable or %NULL. 846s # * @error: Return location for error or %NULL. 846s # * 846s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 846s # * 846s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 846s # * 846s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 846s # */ 846s # gboolean 846s # com_acme_coyote_call_sleep_sync ( 846s # ComAcmeCoyote *proxy, 846s # GCancellable *cancellable, 846s # GError **error) 846s # { 846s # GVariant *_ret; 846s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 846s # "Sleep", 846s # g_variant_new ("()"), 846s # G_DBUS_CALL_FLAGS_NONE, 846s # -1, 846s # cancellable, 846s # error); 846s # if (_ret == NULL) 846s # goto _out; 846s # g_variant_get (_ret, 846s # "()"); 846s # g_variant_unref (_ret); 846s # _out: 846s # return _ret != NULL; 846s # } 846s # 846s # /** 846s # * com_acme_coyote_call_attack: 846s # * @proxy: A #ComAcmeCoyoteProxy. 846s # * @cancellable: (nullable): A #GCancellable or %NULL. 846s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 846s # * @user_data: User data to pass to @callback. 846s # * 846s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 846s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 846s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 846s # * 846s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 846s # */ 846s # void 846s # com_acme_coyote_call_attack ( 846s # ComAcmeCoyote *proxy, 846s # GCancellable *cancellable, 846s # GAsyncReadyCallback callback, 846s # gpointer user_data) 846s # { 846s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 846s # "Attack", 846s # g_variant_new ("()"), 846s # G_DBUS_CALL_FLAGS_NONE, 846s # -1, 846s # cancellable, 846s # callback, 846s # user_data); 846s # } 846s # 846s # /** 846s # * com_acme_coyote_call_attack_finish: 846s # * @proxy: A #ComAcmeCoyoteProxy. 846s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 846s # * @error: Return location for error or %NULL. 846s # * 846s # * Finishes an operation started with com_acme_coyote_call_attack(). 846s # * 846s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 846s # */ 846s # gboolean 846s # com_acme_coyote_call_attack_finish ( 846s # ComAcmeCoyote *proxy, 846s # GAsyncResult *res, 846s # GError **error) 846s # { 846s # GVariant *_ret; 846s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 846s # if (_ret == NULL) 846s # goto _out; 846s # g_variant_get (_ret, 846s # "()"); 846s # g_variant_unref (_ret); 846s # _out: 846s # return _ret != NULL; 846s # } 846s # 846s # /** 846s # * com_acme_coyote_call_attack_sync: 846s # * @proxy: A #ComAcmeCoyoteProxy. 846s # * @cancellable: (nullable): A #GCancellable or %NULL. 846s # * @error: Return location for error or %NULL. 846s # * 846s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 846s # * 846s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 846s # * 846s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 846s # */ 846s # gboolean 846s # com_acme_coyote_call_attack_sync ( 846s # ComAcmeCoyote *proxy, 846s # GCancellable *cancellable, 846s # GError **error) 846s # { 846s # GVariant *_ret; 846s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 846s # "Attack", 846s # g_variant_new ("()"), 846s # G_DBUS_CALL_FLAGS_NONE, 846s # -1, 846s # cancellable, 846s # error); 846s # if (_ret == NULL) 846s # goto _out; 846s # g_variant_get (_ret, 846s # "()"); 846s # g_variant_unref (_ret); 846s # _out: 846s # return _ret != NULL; 846s # } 846s # 846s # /** 846s # * com_acme_coyote_complete_run: 846s # * @object: A #ComAcmeCoyote. 846s # * @invocation: (transfer full): A #GDBusMethodInvocation. 846s # * 846s # * 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. 846s # * 846s # * This method will free @invocation, you cannot use it afterwards. 846s # */ 846s # void 846s # com_acme_coyote_complete_run ( 846s # ComAcmeCoyote *object G_GNUC_UNUSED, 846s # GDBusMethodInvocation *invocation) 846s # { 846s # g_dbus_method_invocation_return_value (invocation, 846s # g_variant_new ("()")); 846s # } 846s # 846s # /** 846s # * com_acme_coyote_complete_sleep: 846s # * @object: A #ComAcmeCoyote. 846s # * @invocation: (transfer full): A #GDBusMethodInvocation. 846s # * 846s # * 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. 846s # * 846s # * This method will free @invocation, you cannot use it afterwards. 846s # */ 846s # void 846s # com_acme_coyote_complete_sleep ( 846s # ComAcmeCoyote *object G_GNUC_UNUSED, 846s # GDBusMethodInvocation *invocation) 846s # { 846s # g_dbus_method_invocation_return_value (invocation, 846s # g_variant_new ("()")); 846s # } 846s # 846s # /** 846s # * com_acme_coyote_complete_attack: 846s # * @object: A #ComAcmeCoyote. 846s # * @invocation: (transfer full): A #GDBusMethodInvocation. 846s # * 846s # * 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. 846s # * 846s # * This method will free @invocation, you cannot use it afterwards. 846s # */ 846s # void 846s # com_acme_coyote_complete_attack ( 846s # ComAcmeCoyote *object G_GNUC_UNUSED, 846s # GDBusMethodInvocation *invocation) 846s # { 846s # g_dbus_method_invocation_return_value (invocation, 846s # g_variant_new ("()")); 846s # } 846s # 846s # /* ------------------------------------------------------------------------ */ 846s # 846s # /** 846s # * ComAcmeCoyoteProxy: 846s # * 846s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 846s # */ 846s # 846s # /** 846s # * ComAcmeCoyoteProxyClass: 846s # * @parent_class: The parent class. 846s # * 846s # * Class structure for #ComAcmeCoyoteProxy. 846s # */ 846s # 846s # struct _ComAcmeCoyoteProxyPrivate 846s # { 846s # GData *qdata; 846s # }; 846s # 846s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 846s # 846s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 846s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 846s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 846s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 846s # 846s # #else 846s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 846s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 846s # 846s # #endif 846s # static void 846s # com_acme_coyote_proxy_finalize (GObject *object) 846s # { 846s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 846s # g_datalist_clear (&proxy->priv->qdata); 846s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 846s # } 846s # 846s # static void 846s # com_acme_coyote_proxy_get_property (GObject *object, 846s # guint prop_id, 846s # GValue *value, 846s # GParamSpec *pspec G_GNUC_UNUSED) 846s # { 846s # const _ExtendedGDBusPropertyInfo *info; 846s # GVariant *variant; 846s # g_assert (prop_id != 0 && prop_id - 1 < 1); 846s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 846s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 846s # if (info->use_gvariant) 846s # { 846s # g_value_set_variant (value, variant); 846s # } 846s # else 846s # { 846s # if (variant != NULL) 846s # g_dbus_gvariant_to_gvalue (variant, value); 846s # } 846s # if (variant != NULL) 846s # g_variant_unref (variant); 846s # } 846s # 846s # static void 846s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 846s # GAsyncResult *res, 846s # gpointer user_data) 846s # { 846s # const _ExtendedGDBusPropertyInfo *info = user_data; 846s # GError *error; 846s # GVariant *_ret; 846s # error = NULL; 846s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 846s # if (!_ret) 846s # { 846s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 846s # info->parent_struct.name, 846s # error->message, g_quark_to_string (error->domain), error->code); 846s # g_error_free (error); 846s # } 846s # else 846s # { 846s # g_variant_unref (_ret); 846s # } 846s # } 846s # 846s # static void 846s # com_acme_coyote_proxy_set_property (GObject *object, 846s # guint prop_id, 846s # const GValue *value, 846s # GParamSpec *pspec G_GNUC_UNUSED) 846s # { 846s # const _ExtendedGDBusPropertyInfo *info; 846s # GVariant *variant; 846s # g_assert (prop_id != 0 && prop_id - 1 < 1); 846s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 846s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 846s # g_dbus_proxy_call (G_DBUS_PROXY (object), 846s # "org.freedesktop.DBus.Properties.Set", 846s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 846s # G_DBUS_CALL_FLAGS_NONE, 846s # -1, 846s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 846s # g_variant_unref (variant); 846s # } 846s # 846s # static void 846s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 846s # const gchar *sender_name G_GNUC_UNUSED, 846s # const gchar *signal_name, 846s # GVariant *parameters) 846s # { 846s # _ExtendedGDBusSignalInfo *info; 846s # GVariantIter iter; 846s # GVariant *child; 846s # GValue *paramv; 846s # gsize num_params; 846s # gsize n; 846s # guint signal_id; 846s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 846s # if (info == NULL) 846s # return; 846s # num_params = g_variant_n_children (parameters); 846s # paramv = g_new0 (GValue, num_params + 1); 846s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 846s # g_value_set_object (¶mv[0], proxy); 846s # g_variant_iter_init (&iter, parameters); 846s # n = 1; 846s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 846s # { 846s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 846s # if (arg_info->use_gvariant) 846s # { 846s # g_value_init (¶mv[n], G_TYPE_VARIANT); 846s # g_value_set_variant (¶mv[n], child); 846s # n++; 846s # } 846s # else 846s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 846s # g_variant_unref (child); 846s # } 846s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 846s # g_signal_emitv (paramv, signal_id, 0, NULL); 846s # for (n = 0; n < num_params + 1; n++) 846s # g_value_unset (¶mv[n]); 846s # g_free (paramv); 846s # } 846s # 846s # static void 846s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 846s # GVariant *changed_properties, 846s # const gchar *const *invalidated_properties) 846s # { 846s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 846s # guint n; 846s # const gchar *key; 846s # GVariantIter *iter; 846s # _ExtendedGDBusPropertyInfo *info; 846s # g_variant_get (changed_properties, "a{sv}", &iter); 846s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 846s # { 846s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 846s # g_datalist_remove_data (&proxy->priv->qdata, key); 846s # if (info != NULL) 846s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 846s # } 846s # g_variant_iter_free (iter); 846s # for (n = 0; invalidated_properties[n] != NULL; n++) 846s # { 846s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 846s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 846s # if (info != NULL) 846s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 846s # } 846s # } 846s # 846s # static const gchar * 846s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 846s # { 846s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 846s # GVariant *variant; 846s # const gchar *value = NULL; 846s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 846s # if (variant != NULL) 846s # { 846s # value = g_variant_get_string (variant, NULL); 846s # g_variant_unref (variant); 846s # } 846s # return value; 846s # } 846s # 846s # static void 846s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 846s # { 846s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 846s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 846s # #else 846s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 846s # #endif 846s # 846s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 846s # } 846s # 846s # static void 846s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 846s # { 846s # GObjectClass *gobject_class; 846s # GDBusProxyClass *proxy_class; 846s # 846s # gobject_class = G_OBJECT_CLASS (klass); 846s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 846s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 846s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 846s # 846s # proxy_class = G_DBUS_PROXY_CLASS (klass); 846s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 846s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 846s # 846s # com_acme_coyote_override_properties (gobject_class, 1); 846s # 846s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 846s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 846s # #endif 846s # } 846s # 846s # static void 846s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 846s # { 846s # iface->get_mood = com_acme_coyote_proxy_get_mood; 846s # } 846s # 846s # /** 846s # * com_acme_coyote_proxy_new: 846s # * @connection: A #GDBusConnection. 846s # * @flags: Flags from the #GDBusProxyFlags enumeration. 846s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 846s # * @object_path: An object path. 846s # * @cancellable: (nullable): A #GCancellable or %NULL. 846s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 846s # * @user_data: User data to pass to @callback. 846s # * 846s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 846s # * 846s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 846s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 846s # * 846s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 846s # */ 846s # void 846s # com_acme_coyote_proxy_new ( 846s # GDBusConnection *connection, 846s # GDBusProxyFlags flags, 846s # const gchar *name, 846s # const gchar *object_path, 846s # GCancellable *cancellable, 846s # GAsyncReadyCallback callback, 846s # gpointer user_data) 846s # { 846s # 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); 846s # } 846s # 846s # /** 846s # * com_acme_coyote_proxy_new_finish: 846s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 846s # * @error: Return location for error or %NULL 846s # * 846s # * Finishes an operation started with com_acme_coyote_proxy_new(). 846s # * 846s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 846s # */ 846s # ComAcmeCoyote * 846s # com_acme_coyote_proxy_new_finish ( 846s # GAsyncResult *res, 846s # GError **error) 846s # { 846s # GObject *ret; 846s # GObject *source_object; 846s # source_object = g_async_result_get_source_object (res); 846s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 846s # g_object_unref (source_object); 846s # if (ret != NULL) 846s # return COM_ACME_COYOTE (ret); 846s # else 846s # return NULL; 846s # } 846s # 846s # /** 846s # * com_acme_coyote_proxy_new_sync: 846s # * @connection: A #GDBusConnection. 846s # * @flags: Flags from the #GDBusProxyFlags enumeration. 846s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 846s # * @object_path: An object path. 846s # * @cancellable: (nullable): A #GCancellable or %NULL. 846s # * @error: Return location for error or %NULL 846s # * 846s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 846s # * 846s # * The calling thread is blocked until a reply is received. 846s # * 846s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 846s # * 846s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 846s # */ 846s # ComAcmeCoyote * 846s # com_acme_coyote_proxy_new_sync ( 846s # GDBusConnection *connection, 846s # GDBusProxyFlags flags, 846s # const gchar *name, 846s # const gchar *object_path, 846s # GCancellable *cancellable, 846s # GError **error) 846s # { 846s # GInitable *ret; 846s # 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); 846s # if (ret != NULL) 846s # return COM_ACME_COYOTE (ret); 846s # else 846s # return NULL; 846s # } 846s # 846s # 846s # /** 846s # * com_acme_coyote_proxy_new_for_bus: 846s # * @bus_type: A #GBusType. 846s # * @flags: Flags from the #GDBusProxyFlags enumeration. 846s # * @name: A bus name (well-known or unique). 846s # * @object_path: An object path. 846s # * @cancellable: (nullable): A #GCancellable or %NULL. 846s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 846s # * @user_data: User data to pass to @callback. 846s # * 846s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 846s # * 846s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 846s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 846s # * 846s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 846s # */ 846s # void 846s # com_acme_coyote_proxy_new_for_bus ( 846s # GBusType bus_type, 846s # GDBusProxyFlags flags, 846s # const gchar *name, 846s # const gchar *object_path, 846s # GCancellable *cancellable, 846s # GAsyncReadyCallback callback, 846s # gpointer user_data) 846s # { 846s # 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); 846s # } 846s # 846s # /** 846s # * com_acme_coyote_proxy_new_for_bus_finish: 846s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 846s # * @error: Return location for error or %NULL 846s # * 846s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 846s # * 846s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 846s # */ 846s # ComAcmeCoyote * 846s # com_acme_coyote_proxy_new_for_bus_finish ( 846s # GAsyncResult *res, 846s # GError **error) 846s # { 846s # GObject *ret; 846s # GObject *source_object; 846s # source_object = g_async_result_get_source_object (res); 846s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 846s # g_object_unref (source_object); 846s # if (ret != NULL) 846s # return COM_ACME_COYOTE (ret); 846s # else 846s # return NULL; 846s # } 846s # 846s # /** 846s # * com_acme_coyote_proxy_new_for_bus_sync: 846s # * @bus_type: A #GBusType. 846s # * @flags: Flags from the #GDBusProxyFlags enumeration. 846s # * @name: A bus name (well-known or unique). 846s # * @object_path: An object path. 846s # * @cancellable: (nullable): A #GCancellable or %NULL. 846s # * @error: Return location for error or %NULL 846s # * 846s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 846s # * 846s # * The calling thread is blocked until a reply is received. 846s # * 846s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 846s # * 846s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 846s # */ 846s # ComAcmeCoyote * 846s # com_acme_coyote_proxy_new_for_bus_sync ( 846s # GBusType bus_type, 846s # GDBusProxyFlags flags, 846s # const gchar *name, 846s # const gchar *object_path, 846s # GCancellable *cancellable, 846s # GError **error) 846s # { 846s # GInitable *ret; 846s # 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); 846s # if (ret != NULL) 846s # return COM_ACME_COYOTE (ret); 846s # else 846s # return NULL; 846s # } 846s # 846s # 846s # /* ------------------------------------------------------------------------ */ 846s # 846s # /** 846s # * ComAcmeCoyoteSkeleton: 846s # * 846s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 846s # */ 846s # 846s # /** 846s # * ComAcmeCoyoteSkeletonClass: 846s # * @parent_class: The parent class. 846s # * 846s # * Class structure for #ComAcmeCoyoteSkeleton. 846s # */ 846s # 846s # struct _ComAcmeCoyoteSkeletonPrivate 846s # { 846s # GValue *properties; 846s # GList *changed_properties; 846s # GSource *changed_properties_idle_source; 846s # GMainContext *context; 846s # GMutex lock; 846s # }; 846s # 846s # static void 846s # _com_acme_coyote_skeleton_handle_method_call ( 846s # GDBusConnection *connection G_GNUC_UNUSED, 846s # const gchar *sender G_GNUC_UNUSED, 846s # const gchar *object_path G_GNUC_UNUSED, 846s # const gchar *interface_name, 846s # const gchar *method_name, 846s # GVariant *parameters, 846s # GDBusMethodInvocation *invocation, 846s # gpointer user_data) 846s # { 846s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 846s # _ExtendedGDBusMethodInfo *info; 846s # GVariantIter iter; 846s # GVariant *child; 846s # GValue *paramv; 846s # gsize num_params; 846s # guint num_extra; 846s # gsize n; 846s # guint signal_id; 846s # GValue return_value = G_VALUE_INIT; 846s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 846s # g_assert (info != NULL); 846s # num_params = g_variant_n_children (parameters); 846s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 846s # n = 0; 846s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 846s # g_value_set_object (¶mv[n++], skeleton); 846s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 846s # g_value_set_object (¶mv[n++], invocation); 846s # if (info->pass_fdlist) 846s # { 846s # #ifdef G_OS_UNIX 846s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 846s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 846s # #else 846s # g_assert_not_reached (); 846s # #endif 846s # } 846s # g_variant_iter_init (&iter, parameters); 846s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 846s # { 846s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 846s # if (arg_info->use_gvariant) 846s # { 846s # g_value_init (¶mv[n], G_TYPE_VARIANT); 846s # g_value_set_variant (¶mv[n], child); 846s # n++; 846s # } 846s # else 846s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 846s # g_variant_unref (child); 846s # } 846s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 846s # g_value_init (&return_value, G_TYPE_BOOLEAN); 846s # g_signal_emitv (paramv, signal_id, 0, &return_value); 846s # if (!g_value_get_boolean (&return_value)) 846s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 846s # g_value_unset (&return_value); 846s # for (n = 0; n < num_params + num_extra; n++) 846s # g_value_unset (¶mv[n]); 846s # g_free (paramv); 846s # } 846s # 846s # static GVariant * 846s # _com_acme_coyote_skeleton_handle_get_property ( 846s # GDBusConnection *connection G_GNUC_UNUSED, 846s # const gchar *sender G_GNUC_UNUSED, 846s # const gchar *object_path G_GNUC_UNUSED, 846s # const gchar *interface_name G_GNUC_UNUSED, 846s # const gchar *property_name, 846s # GError **error, 846s # gpointer user_data) 846s # { 846s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 846s # GValue value = G_VALUE_INIT; 846s # GParamSpec *pspec; 846s # _ExtendedGDBusPropertyInfo *info; 846s # GVariant *ret; 846s # ret = NULL; 846s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 846s # g_assert (info != NULL); 846s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 846s # if (pspec == NULL) 846s # { 846s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 846s # } 846s # else 846s # { 846s # g_value_init (&value, pspec->value_type); 846s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 846s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 846s # g_value_unset (&value); 846s # } 846s # return ret; 846s # } 846s # 846s # static gboolean 846s # _com_acme_coyote_skeleton_handle_set_property ( 846s # GDBusConnection *connection G_GNUC_UNUSED, 846s # const gchar *sender G_GNUC_UNUSED, 846s # const gchar *object_path G_GNUC_UNUSED, 846s # const gchar *interface_name G_GNUC_UNUSED, 846s # const gchar *property_name, 846s # GVariant *variant, 846s # GError **error, 846s # gpointer user_data) 846s # { 846s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 846s # GValue value = G_VALUE_INIT; 846s # GParamSpec *pspec; 846s # _ExtendedGDBusPropertyInfo *info; 846s # gboolean ret; 846s # ret = FALSE; 846s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 846s # g_assert (info != NULL); 846s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 846s # if (pspec == NULL) 846s # { 846s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 846s # } 846s # else 846s # { 846s # if (info->use_gvariant) 846s # g_value_set_variant (&value, variant); 846s # else 846s # g_dbus_gvariant_to_gvalue (variant, &value); 846s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 846s # g_value_unset (&value); 846s # ret = TRUE; 846s # } 846s # return ret; 846s # } 846s # 846s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 846s # { 846s # _com_acme_coyote_skeleton_handle_method_call, 846s # _com_acme_coyote_skeleton_handle_get_property, 846s # _com_acme_coyote_skeleton_handle_set_property, 846s # {NULL} 846s # }; 846s # 846s # static GDBusInterfaceInfo * 846s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 846s # { 846s # return com_acme_coyote_interface_info (); 846s # } 846s # 846s # static GDBusInterfaceVTable * 846s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 846s # { 846s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 846s # } 846s # 846s # static GVariant * 846s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 846s # { 846s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 846s # 846s # GVariantBuilder builder; 846s # guint n; 846s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 846s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 846s # #else 846s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 846s # #endif 846s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 846s # goto out; 846s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 846s # { 846s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 846s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 846s # { 846s # GVariant *value; 846s # 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); 846s # if (value != NULL) 846s # { 846s # g_variant_take_ref (value); 846s # g_variant_builder_add (&builder, "{sv}", info->name, value); 846s # g_variant_unref (value); 846s # } 846s # } 846s # } 846s # out: 846s # return g_variant_builder_end (&builder); 846s # } 846s # 846s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 846s # 846s # static void 846s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 846s # { 846s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 846s # gboolean emit_changed = FALSE; 846s # 846s # g_mutex_lock (&skeleton->priv->lock); 846s # if (skeleton->priv->changed_properties_idle_source != NULL) 846s # { 846s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 846s # skeleton->priv->changed_properties_idle_source = NULL; 846s # emit_changed = TRUE; 846s # } 846s # g_mutex_unlock (&skeleton->priv->lock); 846s # 846s # if (emit_changed) 846s # _com_acme_coyote_emit_changed (skeleton); 846s # } 846s # 846s # static void 846s # _com_acme_coyote_on_signal_surprised ( 846s # ComAcmeCoyote *object) 846s # { 846s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 846s # 846s # GList *connections, *l; 846s # GVariant *signal_variant; 846s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 846s # 846s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 846s # for (l = connections; l != NULL; l = l->next) 846s # { 846s # GDBusConnection *connection = l->data; 846s # g_dbus_connection_emit_signal (connection, 846s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 846s # signal_variant, NULL); 846s # } 846s # g_variant_unref (signal_variant); 846s # g_list_free_full (connections, g_object_unref); 846s # } 846s # 846s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 846s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 846s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 846s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 846s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 846s # 846s # #else 846s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 846s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 846s # 846s # #endif 846s # static void 846s # com_acme_coyote_skeleton_finalize (GObject *object) 846s # { 846s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 846s # guint n; 846s # for (n = 0; n < 1; n++) 846s # g_value_unset (&skeleton->priv->properties[n]); 846s # g_free (skeleton->priv->properties); 846s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 846s # if (skeleton->priv->changed_properties_idle_source != NULL) 846s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 846s # g_main_context_unref (skeleton->priv->context); 846s # g_mutex_clear (&skeleton->priv->lock); 846s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 846s # } 846s # 846s # static void 846s # com_acme_coyote_skeleton_get_property (GObject *object, 846s # guint prop_id, 846s # GValue *value, 846s # GParamSpec *pspec G_GNUC_UNUSED) 846s # { 846s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 846s # g_assert (prop_id != 0 && prop_id - 1 < 1); 846s # g_mutex_lock (&skeleton->priv->lock); 846s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 846s # g_mutex_unlock (&skeleton->priv->lock); 846s # } 846s # 846s # static gboolean 846s # _com_acme_coyote_emit_changed (gpointer user_data) 846s # { 846s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 846s # GList *l; 846s # GVariantBuilder builder; 846s # GVariantBuilder invalidated_builder; 846s # guint num_changes; 846s # 846s # g_mutex_lock (&skeleton->priv->lock); 846s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 846s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 846s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 846s # #else 846s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 846s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 846s # #endif 846s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 846s # { 846s # ChangedProperty *cp = l->data; 846s # GVariant *variant; 846s # const GValue *cur_value; 846s # 846s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 846s # if (!_g_value_equal (cur_value, &cp->orig_value)) 846s # { 846s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 846s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 846s # g_variant_unref (variant); 846s # num_changes++; 846s # } 846s # } 846s # if (num_changes > 0) 846s # { 846s # GList *connections, *ll; 846s # GVariant *signal_variant; 846s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 846s # &builder, &invalidated_builder)); 846s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 846s # for (ll = connections; ll != NULL; ll = ll->next) 846s # { 846s # GDBusConnection *connection = ll->data; 846s # 846s # g_dbus_connection_emit_signal (connection, 846s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 846s # "org.freedesktop.DBus.Properties", 846s # "PropertiesChanged", 846s # signal_variant, 846s # NULL); 846s # } 846s # g_variant_unref (signal_variant); 846s # g_list_free_full (connections, g_object_unref); 846s # } 846s # else 846s # { 846s # g_variant_builder_clear (&builder); 846s # g_variant_builder_clear (&invalidated_builder); 846s # } 846s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 846s # skeleton->priv->changed_properties = NULL; 846s # skeleton->priv->changed_properties_idle_source = NULL; 846s # g_mutex_unlock (&skeleton->priv->lock); 846s # return FALSE; 846s # } 846s # 846s # static void 846s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 846s # { 846s # ChangedProperty *cp; 846s # GList *l; 846s # cp = NULL; 846s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 846s # { 846s # ChangedProperty *i_cp = l->data; 846s # if (i_cp->info == info) 846s # { 846s # cp = i_cp; 846s # break; 846s # } 846s # } 846s # if (cp == NULL) 846s # { 846s # cp = g_new0 (ChangedProperty, 1); 846s # cp->prop_id = prop_id; 846s # cp->info = info; 846s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 846s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 846s # g_value_copy (orig_value, &cp->orig_value); 846s # } 846s # } 846s # 846s # static void 846s # com_acme_coyote_skeleton_notify (GObject *object, 846s # GParamSpec *pspec G_GNUC_UNUSED) 846s # { 846s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 846s # g_mutex_lock (&skeleton->priv->lock); 846s # if (skeleton->priv->changed_properties != NULL && 846s # skeleton->priv->changed_properties_idle_source == NULL) 846s # { 846s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 846s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 846s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 846s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 846s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 846s # g_source_unref (skeleton->priv->changed_properties_idle_source); 846s # } 846s # g_mutex_unlock (&skeleton->priv->lock); 846s # } 846s # 846s # static void 846s # com_acme_coyote_skeleton_set_property (GObject *object, 846s # guint prop_id, 846s # const GValue *value, 846s # GParamSpec *pspec) 846s # { 846s # const _ExtendedGDBusPropertyInfo *info; 846s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 846s # g_assert (prop_id != 0 && prop_id - 1 < 1); 846s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 846s # g_mutex_lock (&skeleton->priv->lock); 846s # g_object_freeze_notify (object); 846s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 846s # { 846s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 846s # info->emits_changed_signal) 846s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 846s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 846s # g_object_notify_by_pspec (object, pspec); 846s # } 846s # g_mutex_unlock (&skeleton->priv->lock); 846s # g_object_thaw_notify (object); 846s # } 846s # 846s # static void 846s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 846s # { 846s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 846s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 846s # #else 846s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 846s # #endif 846s # 846s # g_mutex_init (&skeleton->priv->lock); 846s # skeleton->priv->context = g_main_context_ref_thread_default (); 846s # skeleton->priv->properties = g_new0 (GValue, 1); 846s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 846s # } 846s # 846s # static const gchar * 846s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 846s # { 846s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 846s # const gchar *value; 846s # g_mutex_lock (&skeleton->priv->lock); 846s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 846s # g_mutex_unlock (&skeleton->priv->lock); 846s # return value; 846s # } 846s # 846s # static void 846s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 846s # { 846s # GObjectClass *gobject_class; 846s # GDBusInterfaceSkeletonClass *skeleton_class; 846s # 846s # gobject_class = G_OBJECT_CLASS (klass); 846s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 846s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 846s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 846s # gobject_class->notify = com_acme_coyote_skeleton_notify; 846s # 846s # 846s # com_acme_coyote_override_properties (gobject_class, 1); 846s # 846s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 846s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 846s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 846s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 846s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 846s # 846s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 846s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 846s # #endif 846s # } 846s # 846s # static void 846s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 846s # { 846s # iface->surprised = _com_acme_coyote_on_signal_surprised; 846s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 846s # } 846s # 846s # /** 846s # * com_acme_coyote_skeleton_new: 846s # * 846s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 846s # * 846s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 846s # */ 846s # ComAcmeCoyote * 846s # com_acme_coyote_skeleton_new (void) 846s # { 846s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 846s # } 846s # Error: 846s # 846s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpty2e5fr_/tmp_183di_u2.xml', '/tmp/tmpty2e5fr_/tmpad5gvzv31.xml', '--output', '-', '--body'] 846s # Return code: 0 846s # Output: 846s # /* 846s # * This file is generated by gdbus-codegen, do not modify it. 846s # * 846s # * The license of this code is the same as for the D-Bus interface description 846s # * it was derived from. Note that it links to GLib, so must comply with the 846s # * LGPL linking clauses. 846s # */ 846s # 846s # #ifdef HAVE_CONFIG_H 846s # # include "config.h" 846s # #endif 846s # 846s # #include 846s # #ifdef G_OS_UNIX 846s # # include 846s # #endif 846s # 846s # #ifdef G_ENABLE_DEBUG 846s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 846s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 846s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 846s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 846s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 846s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 846s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 846s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 846s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 846s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 846s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 846s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 846s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 846s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 846s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 846s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 846s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 846s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 846s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 846s # #else /* !G_ENABLE_DEBUG */ 846s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 846s # * Do not access GValues directly in your code. Instead, use the 846s # * g_value_get_*() functions 846s # */ 846s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 846s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 846s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 846s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 846s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 846s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 846s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 846s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 846s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 846s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 846s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 846s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 846s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 846s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 846s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 846s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 846s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 846s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 846s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 846s # #endif /* !G_ENABLE_DEBUG */ 846s # 846s # typedef struct 846s # { 846s # GDBusArgInfo parent_struct; 846s # gboolean use_gvariant; 846s # } _ExtendedGDBusArgInfo; 846s # 846s # typedef struct 846s # { 846s # GDBusMethodInfo parent_struct; 846s # const gchar *signal_name; 846s # gboolean pass_fdlist; 846s # } _ExtendedGDBusMethodInfo; 846s # 846s # typedef struct 846s # { 846s # GDBusSignalInfo parent_struct; 846s # const gchar *signal_name; 846s # } _ExtendedGDBusSignalInfo; 846s # 846s # typedef struct 846s # { 846s # GDBusPropertyInfo parent_struct; 846s # const gchar *hyphen_name; 846s # guint use_gvariant : 1; 846s # guint emits_changed_signal : 1; 846s # } _ExtendedGDBusPropertyInfo; 846s # 846s # typedef struct 846s # { 846s # GDBusInterfaceInfo parent_struct; 846s # const gchar *hyphen_name; 846s # } _ExtendedGDBusInterfaceInfo; 846s # 846s # typedef struct 846s # { 846s # const _ExtendedGDBusPropertyInfo *info; 846s # guint prop_id; 846s # GValue orig_value; /* the value before the change */ 846s # } ChangedProperty; 846s # 846s # static void 846s # _changed_property_free (ChangedProperty *data) 846s # { 846s # g_value_unset (&data->orig_value); 846s # g_free (data); 846s # } 846s # 846s # static gboolean 846s # _g_strv_equal0 (gchar **a, gchar **b) 846s # { 846s # gboolean ret = FALSE; 846s # guint n; 846s # if (a == NULL && b == NULL) 846s # { 846s # ret = TRUE; 846s # goto out; 846s # } 846s # if (a == NULL || b == NULL) 846s # goto out; 846s # if (g_strv_length (a) != g_strv_length (b)) 846s # goto out; 846s # for (n = 0; a[n] != NULL; n++) 846s # if (g_strcmp0 (a[n], b[n]) != 0) 846s # goto out; 846s # ret = TRUE; 846s # out: 846s # return ret; 846s # } 846s # 846s # static gboolean 846s # _g_variant_equal0 (GVariant *a, GVariant *b) 846s # { 846s # gboolean ret = FALSE; 846s # if (a == NULL && b == NULL) 846s # { 846s # ret = TRUE; 846s # goto out; 846s # } 846s # if (a == NULL || b == NULL) 846s # goto out; 846s # ret = g_variant_equal (a, b); 846s # out: 846s # return ret; 846s # } 846s # 846s # G_GNUC_UNUSED static gboolean 846s # _g_value_equal (const GValue *a, const GValue *b) 846s # { 846s # gboolean ret = FALSE; 846s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 846s # switch (G_VALUE_TYPE (a)) 846s # { 846s # case G_TYPE_BOOLEAN: 846s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 846s # break; 846s # case G_TYPE_UCHAR: 846s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 846s # break; 846s # case G_TYPE_INT: 846s # ret = (g_value_get_int (a) == g_value_get_int (b)); 846s # break; 846s # case G_TYPE_UINT: 846s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 846s # break; 846s # case G_TYPE_INT64: 846s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 846s # break; 846s # case G_TYPE_UINT64: 846s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 846s # break; 846s # case G_TYPE_DOUBLE: 846s # { 846s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 846s # gdouble da = g_value_get_double (a); 846s # gdouble db = g_value_get_double (b); 846s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 846s # } 846s # break; 846s # case G_TYPE_STRING: 846s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 846s # break; 846s # case G_TYPE_VARIANT: 846s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 846s # break; 846s # default: 846s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 846s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 846s # else 846s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 846s # break; 846s # } 846s # return ret; 846s # } 846s # 846s # static void 846s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 846s # GClosure *closure, 846s # GValue *return_value, 846s # unsigned int n_param_values, 846s # const GValue *param_values, 846s # void *invocation_hint G_GNUC_UNUSED, 846s # void *marshal_data) 846s # { 846s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 846s # (void *data1, 846s # GDBusMethodInvocation *arg_method_invocation, 846s # void *data2); 846s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 846s # GCClosure *cc = (GCClosure*) closure; 846s # void *data1, *data2; 846s # gboolean v_return; 846s # 846s # g_return_if_fail (return_value != NULL); 846s # g_return_if_fail (n_param_values == 2); 846s # 846s # if (G_CCLOSURE_SWAP_DATA (closure)) 846s # { 846s # data1 = closure->data; 846s # data2 = g_value_peek_pointer (param_values + 0); 846s # } 846s # else 846s # { 846s # data1 = g_value_peek_pointer (param_values + 0); 846s # data2 = closure->data; 846s # } 846s # 846s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 846s # (marshal_data ? marshal_data : cc->callback); 846s # 846s # v_return = 846s # callback (data1, 846s # g_marshal_value_peek_object (param_values + 1), 846s # data2); 846s # 846s # g_value_set_boolean (return_value, v_return); 846s # } 846s # 846s # /* ------------------------------------------------------------------------ 846s # * Code for interface org.project.Bar.Frobnicator 846s # * ------------------------------------------------------------------------ 846s # */ 846s # 846s # /** 846s # * SECTION:OrgProjectBarFrobnicator 846s # * @title: OrgProjectBarFrobnicator 846s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 846s # * 846s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 846s # */ 846s # 846s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 846s # 846s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 846s # { 846s # { 846s # -1, 846s # (gchar *) "RandomMethod", 846s # NULL, 846s # NULL, 846s # NULL 846s # }, 846s # "handle-random-method", 846s # FALSE 846s # }; 846s # 846s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 846s # { 846s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 846s # NULL 846s # }; 846s # 846s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 846s # { 846s # { 846s # -1, 846s # (gchar *) "org.project.Bar.Frobnicator", 846s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 846s # NULL, 846s # NULL, 846s # NULL 846s # }, 846s # "org-project-bar-frobnicator", 846s # }; 846s # 846s # 846s # /** 846s # * org_project_bar_frobnicator_interface_info: 846s # * 846s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 846s # * 846s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 846s # */ 846s # GDBusInterfaceInfo * 846s # org_project_bar_frobnicator_interface_info (void) 846s # { 846s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 846s # } 846s # 846s # /** 846s # * org_project_bar_frobnicator_override_properties: 846s # * @klass: The class structure for a #GObject derived class. 846s # * @property_id_begin: The property id to assign to the first overridden property. 846s # * 846s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 846s # * The properties are overridden in the order they are defined. 846s # * 846s # * Returns: The last property id. 846s # */ 846s # guint 846s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 846s # { 846s # return property_id_begin - 1; 846s # } 846s # 846s # 846s # inline static void 846s # org_project_bar_frobnicator_method_marshal_random_method ( 846s # GClosure *closure, 846s # GValue *return_value, 846s # unsigned int n_param_values, 846s # const GValue *param_values, 846s # void *invocation_hint, 846s # void *marshal_data) 846s # { 846s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 846s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 846s # } 846s # 846s # 846s # /** 846s # * OrgProjectBarFrobnicator: 846s # * 846s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 846s # */ 846s # 846s # /** 846s # * OrgProjectBarFrobnicatorIface: 846s # * @parent_iface: The parent interface. 846s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 846s # * 846s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 846s # */ 846s # 846s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 846s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 846s # 846s # static void 846s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 846s # { 846s # /* GObject signals for incoming D-Bus method calls: */ 846s # /** 846s # * OrgProjectBarFrobnicator::handle-random-method: 846s # * @object: A #OrgProjectBarFrobnicator. 846s # * @invocation: A #GDBusMethodInvocation. 846s # * 846s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 846s # * 846s # * 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. 846s # * 846s # * 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. 846s # */ 846s # g_signal_new ("handle-random-method", 846s # G_TYPE_FROM_INTERFACE (iface), 846s # G_SIGNAL_RUN_LAST, 846s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 846s # g_signal_accumulator_true_handled, 846s # NULL, 846s # org_project_bar_frobnicator_method_marshal_random_method, 846s # G_TYPE_BOOLEAN, 846s # 1, 846s # G_TYPE_DBUS_METHOD_INVOCATION); 846s # 846s # } 846s # 846s # /** 846s # * org_project_bar_frobnicator_call_random_method: 846s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 846s # * @cancellable: (nullable): A #GCancellable or %NULL. 846s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 846s # * @user_data: User data to pass to @callback. 846s # * 846s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 846s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 846s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 846s # * 846s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 846s # */ 846s # void 846s # org_project_bar_frobnicator_call_random_method ( 846s # OrgProjectBarFrobnicator *proxy, 846s # GCancellable *cancellable, 846s # GAsyncReadyCallback callback, 846s # gpointer user_data) 846s # { 846s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 846s # "RandomMethod", 846s # g_variant_new ("()"), 846s # G_DBUS_CALL_FLAGS_NONE, 846s # -1, 846s # cancellable, 846s # callback, 846s # user_data); 846s # } 846s # 846s # /** 846s # * org_project_bar_frobnicator_call_random_method_finish: 846s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 846s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 846s # * @error: Return location for error or %NULL. 846s # * 846s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 846s # * 846s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 846s # */ 846s # gboolean 846s # org_project_bar_frobnicator_call_random_method_finish ( 846s # OrgProjectBarFrobnicator *proxy, 846s # GAsyncResult *res, 846s # GError **error) 846s # { 846s # GVariant *_ret; 846s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 846s # if (_ret == NULL) 846s # goto _out; 846s # g_variant_get (_ret, 846s # "()"); 846s # g_variant_unref (_ret); 846s # _out: 846s # return _ret != NULL; 846s # } 846s # 846s # /** 846s # * org_project_bar_frobnicator_call_random_method_sync: 846s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 846s # * @cancellable: (nullable): A #GCancellable or %NULL. 846s # * @error: Return location for error or %NULL. 846s # * 846s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 846s # * 846s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 846s # * 846s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 846s # */ 846s # gboolean 846s # org_project_bar_frobnicator_call_random_method_sync ( 846s # OrgProjectBarFrobnicator *proxy, 846s # GCancellable *cancellable, 846s # GError **error) 846s # { 846s # GVariant *_ret; 846s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 846s # "RandomMethod", 846s # g_variant_new ("()"), 846s # G_DBUS_CALL_FLAGS_NONE, 846s # -1, 846s # cancellable, 846s # error); 846s # if (_ret == NULL) 846s # goto _out; 846s # g_variant_get (_ret, 846s # "()"); 846s # g_variant_unref (_ret); 846s # _out: 846s # return _ret != NULL; 846s # } 846s # 846s # /** 846s # * org_project_bar_frobnicator_complete_random_method: 846s # * @object: A #OrgProjectBarFrobnicator. 846s # * @invocation: (transfer full): A #GDBusMethodInvocation. 846s # * 846s # * 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. 846s # * 846s # * This method will free @invocation, you cannot use it afterwards. 846s # */ 846s # void 846s # org_project_bar_frobnicator_complete_random_method ( 846s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 846s # GDBusMethodInvocation *invocation) 846s # { 846s # g_dbus_method_invocation_return_value (invocation, 846s # g_variant_new ("()")); 846s # } 846s # 846s # /* ------------------------------------------------------------------------ */ 846s # 846s # /** 846s # * OrgProjectBarFrobnicatorProxy: 846s # * 846s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 846s # */ 846s # 846s # /** 846s # * OrgProjectBarFrobnicatorProxyClass: 846s # * @parent_class: The parent class. 846s # * 846s # * Class structure for #OrgProjectBarFrobnicatorProxy. 846s # */ 846s # 846s # struct _OrgProjectBarFrobnicatorProxyPrivate 846s # { 846s # GData *qdata; 846s # }; 846s # 846s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 846s # 846s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 846s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 846s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 846s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 846s # 846s # #else 846s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 846s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 846s # 846s # #endif 846s # static void 846s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 846s # { 846s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 846s # g_datalist_clear (&proxy->priv->qdata); 846s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 846s # } 846s # 846s # static void 846s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 846s # guint prop_id G_GNUC_UNUSED, 846s # GValue *value G_GNUC_UNUSED, 846s # GParamSpec *pspec G_GNUC_UNUSED) 846s # { 846s # } 846s # 846s # static void 846s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 846s # guint prop_id G_GNUC_UNUSED, 846s # const GValue *value G_GNUC_UNUSED, 846s # GParamSpec *pspec G_GNUC_UNUSED) 846s # { 846s # } 846s # 846s # static void 846s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 846s # const gchar *sender_name G_GNUC_UNUSED, 846s # const gchar *signal_name, 846s # GVariant *parameters) 846s # { 846s # _ExtendedGDBusSignalInfo *info; 846s # GVariantIter iter; 846s # GVariant *child; 846s # GValue *paramv; 846s # gsize num_params; 846s # gsize n; 846s # guint signal_id; 846s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 846s # if (info == NULL) 846s # return; 846s # num_params = g_variant_n_children (parameters); 846s # paramv = g_new0 (GValue, num_params + 1); 846s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 846s # g_value_set_object (¶mv[0], proxy); 846s # g_variant_iter_init (&iter, parameters); 846s # n = 1; 846s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 846s # { 846s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 846s # if (arg_info->use_gvariant) 846s # { 846s # g_value_init (¶mv[n], G_TYPE_VARIANT); 846s # g_value_set_variant (¶mv[n], child); 846s # n++; 846s # } 846s # else 846s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 846s # g_variant_unref (child); 846s # } 846s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 846s # g_signal_emitv (paramv, signal_id, 0, NULL); 846s # for (n = 0; n < num_params + 1; n++) 846s # g_value_unset (¶mv[n]); 846s # g_free (paramv); 846s # } 846s # 846s # static void 846s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 846s # GVariant *changed_properties, 846s # const gchar *const *invalidated_properties) 846s # { 846s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 846s # guint n; 846s # const gchar *key; 846s # GVariantIter *iter; 846s # _ExtendedGDBusPropertyInfo *info; 846s # g_variant_get (changed_properties, "a{sv}", &iter); 846s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 846s # { 846s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 846s # g_datalist_remove_data (&proxy->priv->qdata, key); 846s # if (info != NULL) 846s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 846s # } 846s # g_variant_iter_free (iter); 846s # for (n = 0; invalidated_properties[n] != NULL; n++) 846s # { 846s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 846s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 846s # if (info != NULL) 846s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 846s # } 846s # } 846s # 846s # static void 846s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 846s # { 846s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 846s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 846s # #else 846s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 846s # #endif 846s # 846s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 846s # } 846s # 846s # static void 846s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 846s # { 846s # GObjectClass *gobject_class; 846s # GDBusProxyClass *proxy_class; 846s # 846s # gobject_class = G_OBJECT_CLASS (klass); 846s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 846s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 846s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 846s # 846s # proxy_class = G_DBUS_PROXY_CLASS (klass); 846s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 846s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 846s # 846s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 846s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 846s # #endif 846s # } 846s # 846s # static void 846s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 846s # { 846s # } 846s # 846s # /** 846s # * org_project_bar_frobnicator_proxy_new: 846s # * @connection: A #GDBusConnection. 846s # * @flags: Flags from the #GDBusProxyFlags enumeration. 846s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 846s # * @object_path: An object path. 846s # * @cancellable: (nullable): A #GCancellable or %NULL. 846s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 846s # * @user_data: User data to pass to @callback. 846s # * 846s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 846s # * 846s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 846s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 846s # * 846s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 846s # */ 846s # void 846s # org_project_bar_frobnicator_proxy_new ( 846s # GDBusConnection *connection, 846s # GDBusProxyFlags flags, 846s # const gchar *name, 846s # const gchar *object_path, 846s # GCancellable *cancellable, 846s # GAsyncReadyCallback callback, 846s # gpointer user_data) 846s # { 846s # 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); 846s # } 846s # 846s # /** 846s # * org_project_bar_frobnicator_proxy_new_finish: 846s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 846s # * @error: Return location for error or %NULL 846s # * 846s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 846s # * 846s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 846s # */ 846s # OrgProjectBarFrobnicator * 846s # org_project_bar_frobnicator_proxy_new_finish ( 846s # GAsyncResult *res, 846s # GError **error) 846s # { 846s # GObject *ret; 846s # GObject *source_object; 846s # source_object = g_async_result_get_source_object (res); 846s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 846s # g_object_unref (source_object); 846s # if (ret != NULL) 846s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 846s # else 846s # return NULL; 846s # } 846s # 846s # /** 846s # * org_project_bar_frobnicator_proxy_new_sync: 846s # * @connection: A #GDBusConnection. 846s # * @flags: Flags from the #GDBusProxyFlags enumeration. 846s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 846s # * @object_path: An object path. 846s # * @cancellable: (nullable): A #GCancellable or %NULL. 846s # * @error: Return location for error or %NULL 846s # * 846s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 846s # * 846s # * The calling thread is blocked until a reply is received. 846s # * 846s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 846s # * 846s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 846s # */ 846s # OrgProjectBarFrobnicator * 846s # org_project_bar_frobnicator_proxy_new_sync ( 846s # GDBusConnection *connection, 846s # GDBusProxyFlags flags, 846s # const gchar *name, 846s # const gchar *object_path, 846s # GCancellable *cancellable, 846s # GError **error) 846s # { 846s # GInitable *ret; 846s # 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); 846s # if (ret != NULL) 846s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 846s # else 846s # return NULL; 846s # } 846s # 846s # 846s # /** 846s # * org_project_bar_frobnicator_proxy_new_for_bus: 846s # * @bus_type: A #GBusType. 846s # * @flags: Flags from the #GDBusProxyFlags enumeration. 846s # * @name: A bus name (well-known or unique). 846s # * @object_path: An object path. 846s # * @cancellable: (nullable): A #GCancellable or %NULL. 846s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 846s # * @user_data: User data to pass to @callback. 846s # * 846s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 846s # * 846s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 846s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 846s # * 846s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 846s # */ 846s # void 846s # org_project_bar_frobnicator_proxy_new_for_bus ( 846s # GBusType bus_type, 846s # GDBusProxyFlags flags, 846s # const gchar *name, 846s # const gchar *object_path, 846s # GCancellable *cancellable, 846s # GAsyncReadyCallback callback, 846s # gpointer user_data) 846s # { 846s # 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); 846s # } 846s # 846s # /** 846s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 846s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 846s # * @error: Return location for error or %NULL 846s # * 846s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 846s # * 846s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 846s # */ 846s # OrgProjectBarFrobnicator * 846s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 846s # GAsyncResult *res, 846s # GError **error) 846s # { 846s # GObject *ret; 846s # GObject *source_object; 846s # source_object = g_async_result_get_source_object (res); 846s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 846s # g_object_unref (source_object); 846s # if (ret != NULL) 846s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 846s # else 846s # return NULL; 846s # } 846s # 846s # /** 846s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 846s # * @bus_type: A #GBusType. 846s # * @flags: Flags from the #GDBusProxyFlags enumeration. 846s # * @name: A bus name (well-known or unique). 846s # * @object_path: An object path. 846s # * @cancellable: (nullable): A #GCancellable or %NULL. 846s # * @error: Return location for error or %NULL 846s # * 846s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 846s # * 846s # * The calling thread is blocked until a reply is received. 846s # * 846s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 846s # * 846s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 846s # */ 846s # OrgProjectBarFrobnicator * 846s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 846s # GBusType bus_type, 846s # GDBusProxyFlags flags, 846s # const gchar *name, 846s # const gchar *object_path, 846s # GCancellable *cancellable, 846s # GError **error) 846s # { 846s # GInitable *ret; 846s # 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); 846s # if (ret != NULL) 846s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 846s # else 846s # return NULL; 846s # } 846s # 846s # 846s # /* ------------------------------------------------------------------------ */ 846s # 846s # /** 846s # * OrgProjectBarFrobnicatorSkeleton: 846s # * 846s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 846s # */ 846s # 846s # /** 846s # * OrgProjectBarFrobnicatorSkeletonClass: 846s # * @parent_class: The parent class. 846s # * 846s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 846s # */ 846s # 846s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 846s # { 846s # GValue *properties; 846s # GList *changed_properties; 846s # GSource *changed_properties_idle_source; 846s # GMainContext *context; 846s # GMutex lock; 846s # }; 846s # 846s # static void 846s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 846s # GDBusConnection *connection G_GNUC_UNUSED, 846s # const gchar *sender G_GNUC_UNUSED, 846s # const gchar *object_path G_GNUC_UNUSED, 846s # const gchar *interface_name, 846s # const gchar *method_name, 846s # GVariant *parameters, 846s # GDBusMethodInvocation *invocation, 846s # gpointer user_data) 846s # { 846s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 846s # _ExtendedGDBusMethodInfo *info; 846s # GVariantIter iter; 846s # GVariant *child; 846s # GValue *paramv; 846s # gsize num_params; 846s # guint num_extra; 846s # gsize n; 846s # guint signal_id; 846s # GValue return_value = G_VALUE_INIT; 846s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 846s # g_assert (info != NULL); 846s # num_params = g_variant_n_children (parameters); 846s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 846s # n = 0; 846s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 846s # g_value_set_object (¶mv[n++], skeleton); 846s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 846s # g_value_set_object (¶mv[n++], invocation); 846s # if (info->pass_fdlist) 846s # { 846s # #ifdef G_OS_UNIX 846s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 846s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 846s # #else 846s # g_assert_not_reached (); 846s # #endif 846s # } 846s # g_variant_iter_init (&iter, parameters); 846s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 846s # { 846s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 846s # if (arg_info->use_gvariant) 846s # { 846s # g_value_init (¶mv[n], G_TYPE_VARIANT); 846s # g_value_set_variant (¶mv[n], child); 846s # n++; 846s # } 846s # else 846s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 846s # g_variant_unref (child); 846s # } 846s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 846s # g_value_init (&return_value, G_TYPE_BOOLEAN); 846s # g_signal_emitv (paramv, signal_id, 0, &return_value); 846s # if (!g_value_get_boolean (&return_value)) 846s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 846s # g_value_unset (&return_value); 846s # for (n = 0; n < num_params + num_extra; n++) 846s # g_value_unset (¶mv[n]); 846s # g_free (paramv); 846s # } 846s # 846s # static GVariant * 846s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 846s # GDBusConnection *connection G_GNUC_UNUSED, 846s # const gchar *sender G_GNUC_UNUSED, 846s # const gchar *object_path G_GNUC_UNUSED, 846s # const gchar *interface_name G_GNUC_UNUSED, 846s # const gchar *property_name, 846s # GError **error, 846s # gpointer user_data) 846s # { 846s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 846s # GValue value = G_VALUE_INIT; 846s # GParamSpec *pspec; 846s # _ExtendedGDBusPropertyInfo *info; 846s # GVariant *ret; 846s # ret = NULL; 846s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 846s # g_assert (info != NULL); 846s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 846s # if (pspec == NULL) 846s # { 846s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 846s # } 846s # else 846s # { 846s # g_value_init (&value, pspec->value_type); 846s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 846s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 846s # g_value_unset (&value); 846s # } 846s # return ret; 846s # } 846s # 846s # static gboolean 846s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 846s # GDBusConnection *connection G_GNUC_UNUSED, 846s # const gchar *sender G_GNUC_UNUSED, 846s # const gchar *object_path G_GNUC_UNUSED, 846s # const gchar *interface_name G_GNUC_UNUSED, 846s # const gchar *property_name, 846s # GVariant *variant, 846s # GError **error, 846s # gpointer user_data) 846s # { 846s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 846s # GValue value = G_VALUE_INIT; 846s # GParamSpec *pspec; 846s # _ExtendedGDBusPropertyInfo *info; 846s # gboolean ret; 846s # ret = FALSE; 846s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 846s # g_assert (info != NULL); 846s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 846s # if (pspec == NULL) 846s # { 846s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 846s # } 846s # else 846s # { 846s # if (info->use_gvariant) 846s # g_value_set_variant (&value, variant); 846s # else 846s # g_dbus_gvariant_to_gvalue (variant, &value); 846s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 846s # g_value_unset (&value); 846s # ret = TRUE; 846s # } 846s # return ret; 846s # } 846s # 846s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 846s # { 846s # _org_project_bar_frobnicator_skeleton_handle_method_call, 846s # _org_project_bar_frobnicator_skeleton_handle_get_property, 846s # _org_project_bar_frobnicator_skeleton_handle_set_property, 846s # {NULL} 846s # }; 846s # 846s # static GDBusInterfaceInfo * 846s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 846s # { 846s # return org_project_bar_frobnicator_interface_info (); 846s # } 846s # 846s # static GDBusInterfaceVTable * 846s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 846s # { 846s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 846s # } 846s # 846s # static GVariant * 846s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 846s # { 846s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 846s # 846s # GVariantBuilder builder; 846s # guint n; 846s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 846s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 846s # #else 846s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 846s # #endif 846s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 846s # goto out; 846s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 846s # { 846s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 846s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 846s # { 846s # GVariant *value; 846s # 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); 846s # if (value != NULL) 846s # { 846s # g_variant_take_ref (value); 846s # g_variant_builder_add (&builder, "{sv}", info->name, value); 846s # g_variant_unref (value); 846s # } 846s # } 846s # } 846s # out: 846s # return g_variant_builder_end (&builder); 846s # } 846s # 846s # static void 846s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 846s # { 846s # } 846s # 846s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 846s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 846s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 846s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 846s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 846s # 846s # #else 846s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 846s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 846s # 846s # #endif 846s # static void 846s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 846s # { 846s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 846s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 846s # if (skeleton->priv->changed_properties_idle_source != NULL) 846s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 846s # g_main_context_unref (skeleton->priv->context); 846s # g_mutex_clear (&skeleton->priv->lock); 846s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 846s # } 846s # 846s # static void 846s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 846s # { 846s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 846s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 846s # #else 846s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 846s # #endif 846s # 846s # g_mutex_init (&skeleton->priv->lock); 846s # skeleton->priv->context = g_main_context_ref_thread_default (); 846s # } 846s # 846s # static void 846s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 846s # { 846s # GObjectClass *gobject_class; 846s # GDBusInterfaceSkeletonClass *skeleton_class; 846s # 846s # gobject_class = G_OBJECT_CLASS (klass); 846s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 846s # 846s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 846s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 846s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 846s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 846s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 846s # 846s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 846s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 846s # #endif 846s # } 846s # 846s # static void 846s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 846s # { 846s # } 846s # 846s # /** 846s # * org_project_bar_frobnicator_skeleton_new: 846s # * 846s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 846s # * 846s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 846s # */ 846s # OrgProjectBarFrobnicator * 846s # org_project_bar_frobnicator_skeleton_new (void) 846s # { 846s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 846s # } 846s # 846s # /* ------------------------------------------------------------------------ 846s # * Code for interface com.acme.Coyote 846s # * ------------------------------------------------------------------------ 846s # */ 846s # 846s # /** 846s # * SECTION:ComAcmeCoyote 846s # * @title: ComAcmeCoyote 846s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 846s # * 846s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 846s # */ 846s # 846s # enum 846s # { 846s # _COM_ACME_COYOTE_SURPRISED, 846s # }; 846s # 846s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 846s # 846s # /* ---- Introspection data for com.acme.Coyote ---- */ 846s # 846s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 846s # { 846s # { 846s # -1, 846s # (gchar *) "Run", 846s # NULL, 846s # NULL, 846s # NULL 846s # }, 846s # "handle-run", 846s # FALSE 846s # }; 846s # 846s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 846s # { 846s # { 846s # -1, 846s # (gchar *) "Sleep", 846s # NULL, 846s # NULL, 846s # NULL 846s # }, 846s # "handle-sleep", 846s # FALSE 846s # }; 846s # 846s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 846s # { 846s # { 846s # -1, 846s # (gchar *) "Attack", 846s # NULL, 846s # NULL, 846s # NULL 846s # }, 846s # "handle-attack", 846s # FALSE 846s # }; 846s # 846s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 846s # { 846s # &_com_acme_coyote_method_info_run.parent_struct, 846s # &_com_acme_coyote_method_info_sleep.parent_struct, 846s # &_com_acme_coyote_method_info_attack.parent_struct, 846s # NULL 846s # }; 846s # 846s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 846s # { 846s # { 846s # -1, 846s # (gchar *) "Surprised", 846s # NULL, 846s # NULL 846s # }, 846s # "surprised" 846s # }; 846s # 846s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 846s # { 846s # &_com_acme_coyote_signal_info_surprised.parent_struct, 846s # NULL 846s # }; 846s # 846s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 846s # { 846s # { 846s # -1, 846s # (gchar *) "Mood", 846s # (gchar *) "s", 846s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 846s # NULL 846s # }, 846s # "mood", 846s # FALSE, 846s # TRUE 846s # }; 846s # 846s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 846s # { 846s # &_com_acme_coyote_property_info_mood.parent_struct, 846s # NULL 846s # }; 846s # 846s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 846s # { 846s # { 846s # -1, 846s # (gchar *) "com.acme.Coyote", 846s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 846s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 846s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 846s # NULL 846s # }, 846s # "com-acme-coyote", 846s # }; 846s # 846s # 846s # /** 846s # * com_acme_coyote_interface_info: 846s # * 846s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 846s # * 846s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 846s # */ 846s # GDBusInterfaceInfo * 846s # com_acme_coyote_interface_info (void) 846s # { 846s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 846s # } 846s # 846s # /** 846s # * com_acme_coyote_override_properties: 846s # * @klass: The class structure for a #GObject derived class. 846s # * @property_id_begin: The property id to assign to the first overridden property. 846s # * 846s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 846s # * The properties are overridden in the order they are defined. 846s # * 846s # * Returns: The last property id. 846s # */ 846s # guint 846s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 846s # { 846s # g_object_class_override_property (klass, property_id_begin++, "mood"); 846s # return property_id_begin - 1; 846s # } 846s # 846s # 846s # inline static void 846s # com_acme_coyote_signal_marshal_surprised ( 846s # GClosure *closure, 846s # GValue *return_value, 846s # unsigned int n_param_values, 846s # const GValue *param_values, 846s # void *invocation_hint, 846s # void *marshal_data) 846s # { 846s # g_cclosure_marshal_VOID__VOID (closure, 846s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 846s # } 846s # 846s # inline static void 846s # com_acme_coyote_method_marshal_run ( 846s # GClosure *closure, 846s # GValue *return_value, 846s # unsigned int n_param_values, 846s # const GValue *param_values, 846s # void *invocation_hint, 846s # void *marshal_data) 846s # { 846s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 846s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 846s # } 846s # 846s # inline static void 846s # com_acme_coyote_method_marshal_sleep ( 846s # GClosure *closure, 846s # GValue *return_value, 846s # unsigned int n_param_values, 846s # const GValue *param_values, 846s # void *invocation_hint, 846s # void *marshal_data) 846s # { 846s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 846s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 846s # } 846s # 846s # inline static void 846s # com_acme_coyote_method_marshal_attack ( 846s # GClosure *closure, 846s # GValue *return_value, 846s # unsigned int n_param_values, 846s # const GValue *param_values, 846s # void *invocation_hint, 846s # void *marshal_data) 846s # { 846s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 846s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 846s # } 846s # 846s # 846s # /** 846s # * ComAcmeCoyote: 846s # * 846s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 846s # */ 846s # 846s # /** 846s # * ComAcmeCoyoteIface: 846s # * @parent_iface: The parent interface. 846s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 846s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 846s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 846s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 846s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 846s # * 846s # * Virtual table for the D-Bus interface com.acme.Coyote. 846s # */ 846s # 846s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 846s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 846s # 846s # static void 846s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 846s # { 846s # /* GObject signals for incoming D-Bus method calls: */ 846s # /** 846s # * ComAcmeCoyote::handle-run: 846s # * @object: A #ComAcmeCoyote. 846s # * @invocation: A #GDBusMethodInvocation. 846s # * 846s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 846s # * 846s # * 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. 846s # * 846s # * 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. 846s # */ 846s # g_signal_new ("handle-run", 846s # G_TYPE_FROM_INTERFACE (iface), 846s # G_SIGNAL_RUN_LAST, 846s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 846s # g_signal_accumulator_true_handled, 846s # NULL, 846s # com_acme_coyote_method_marshal_run, 846s # G_TYPE_BOOLEAN, 846s # 1, 846s # G_TYPE_DBUS_METHOD_INVOCATION); 846s # 846s # /** 846s # * ComAcmeCoyote::handle-sleep: 846s # * @object: A #ComAcmeCoyote. 846s # * @invocation: A #GDBusMethodInvocation. 846s # * 846s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 846s # * 846s # * 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. 846s # * 846s # * 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. 846s # */ 846s # g_signal_new ("handle-sleep", 846s # G_TYPE_FROM_INTERFACE (iface), 846s # G_SIGNAL_RUN_LAST, 846s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 846s # g_signal_accumulator_true_handled, 846s # NULL, 846s # com_acme_coyote_method_marshal_sleep, 846s # G_TYPE_BOOLEAN, 846s # 1, 846s # G_TYPE_DBUS_METHOD_INVOCATION); 846s # 846s # /** 846s # * ComAcmeCoyote::handle-attack: 846s # * @object: A #ComAcmeCoyote. 846s # * @invocation: A #GDBusMethodInvocation. 846s # * 846s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 846s # * 846s # * 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. 846s # * 846s # * 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. 846s # */ 846s # g_signal_new ("handle-attack", 846s # G_TYPE_FROM_INTERFACE (iface), 846s # G_SIGNAL_RUN_LAST, 846s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 846s # g_signal_accumulator_true_handled, 846s # NULL, 846s # com_acme_coyote_method_marshal_attack, 846s # G_TYPE_BOOLEAN, 846s # 1, 846s # G_TYPE_DBUS_METHOD_INVOCATION); 846s # 846s # /* GObject signals for received D-Bus signals: */ 846s # /** 846s # * ComAcmeCoyote::surprised: 846s # * @object: A #ComAcmeCoyote. 846s # * 846s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 846s # * 846s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 846s # */ 846s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 846s # g_signal_new ("surprised", 846s # G_TYPE_FROM_INTERFACE (iface), 846s # G_SIGNAL_RUN_LAST, 846s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 846s # NULL, 846s # NULL, 846s # com_acme_coyote_signal_marshal_surprised, 846s # G_TYPE_NONE, 846s # 0); 846s # 846s # /* GObject properties for D-Bus properties: */ 846s # /** 846s # * ComAcmeCoyote:mood: 846s # * 846s # * Represents the D-Bus property "Mood". 846s # * 846s # * 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. 846s # */ 846s # g_object_interface_install_property (iface, 846s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 846s # } 846s # 846s # /** 846s # * com_acme_coyote_get_mood: (skip) 846s # * @object: A #ComAcmeCoyote. 846s # * 846s # * Gets the value of the "Mood" D-Bus property. 846s # * 846s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 846s # * 846s # * 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. 846s # * 846s # * 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. 846s # */ 846s # const gchar * 846s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 846s # { 846s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 846s # 846s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 846s # } 846s # 846s # /** 846s # * com_acme_coyote_dup_mood: (skip) 846s # * @object: A #ComAcmeCoyote. 846s # * 846s # * Gets a copy of the "Mood" D-Bus property. 846s # * 846s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 846s # * 846s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 846s # */ 846s # gchar * 846s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 846s # { 846s # gchar *value; 846s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 846s # return value; 846s # } 846s # 846s # /** 846s # * com_acme_coyote_set_mood: (skip) 846s # * @object: A #ComAcmeCoyote. 846s # * @value: The value to set. 846s # * 846s # * Sets the "Mood" D-Bus property to @value. 846s # * 846s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 846s # */ 846s # void 846s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 846s # { 846s # g_object_set (G_OBJECT (object), "mood", value, NULL); 846s # } 846s # 846s # /** 846s # * com_acme_coyote_emit_surprised: 846s # * @object: A #ComAcmeCoyote. 846s # * 846s # * Emits the "Surprised" D-Bus signal. 846s # */ 846s # void 846s # com_acme_coyote_emit_surprised ( 846s # ComAcmeCoyote *object) 846s # { 846s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 846s # } 846s # 846s # /** 846s # * com_acme_coyote_call_run: 846s # * @proxy: A #ComAcmeCoyoteProxy. 846s # * @cancellable: (nullable): A #GCancellable or %NULL. 846s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 846s # * @user_data: User data to pass to @callback. 846s # * 846s # * Asynchronously invokes the Run() D-Bus method on @proxy. 846s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 846s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 846s # * 846s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 846s # */ 846s # void 846s # com_acme_coyote_call_run ( 846s # ComAcmeCoyote *proxy, 846s # GCancellable *cancellable, 846s # GAsyncReadyCallback callback, 846s # gpointer user_data) 846s # { 846s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 846s # "Run", 846s # g_variant_new ("()"), 846s # G_DBUS_CALL_FLAGS_NONE, 846s # -1, 846s # cancellable, 846s # callback, 846s # user_data); 846s # } 846s # 846s # /** 846s # * com_acme_coyote_call_run_finish: 846s # * @proxy: A #ComAcmeCoyoteProxy. 846s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 846s # * @error: Return location for error or %NULL. 846s # * 846s # * Finishes an operation started with com_acme_coyote_call_run(). 846s # * 846s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 846s # */ 846s # gboolean 846s # com_acme_coyote_call_run_finish ( 846s # ComAcmeCoyote *proxy, 846s # GAsyncResult *res, 846s # GError **error) 846s # { 846s # GVariant *_ret; 846s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 846s # if (_ret == NULL) 846s # goto _out; 846s # g_variant_get (_ret, 846s # "()"); 846s # g_variant_unref (_ret); 846s # _out: 846s # return _ret != NULL; 846s # } 846s # 846s # /** 846s # * com_acme_coyote_call_run_sync: 846s # * @proxy: A #ComAcmeCoyoteProxy. 846s # * @cancellable: (nullable): A #GCancellable or %NULL. 846s # * @error: Return location for error or %NULL. 846s # * 846s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 846s # * 846s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 846s # * 846s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 846s # */ 846s # gboolean 846s # com_acme_coyote_call_run_sync ( 846s # ComAcmeCoyote *proxy, 846s # GCancellable *cancellable, 846s # GError **error) 846s # { 846s # GVariant *_ret; 846s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 846s # "Run", 846s # g_variant_new ("()"), 846s # G_DBUS_CALL_FLAGS_NONE, 846s # -1, 846s # cancellable, 846s # error); 846s # if (_ret == NULL) 846s # goto _out; 846s # g_variant_get (_ret, 846s # "()"); 846s # g_variant_unref (_ret); 846s # _out: 846s # return _ret != NULL; 846s # } 846s # 846s # /** 846s # * com_acme_coyote_call_sleep: 846s # * @proxy: A #ComAcmeCoyoteProxy. 846s # * @cancellable: (nullable): A #GCancellable or %NULL. 846s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 846s # * @user_data: User data to pass to @callback. 846s # * 846s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 846s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 846s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 846s # * 846s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 846s # */ 846s # void 846s # com_acme_coyote_call_sleep ( 846s # ComAcmeCoyote *proxy, 846s # GCancellable *cancellable, 846s # GAsyncReadyCallback callback, 846s # gpointer user_data) 846s # { 846s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 846s # "Sleep", 846s # g_variant_new ("()"), 846s # G_DBUS_CALL_FLAGS_NONE, 846s # -1, 846s # cancellable, 846s # callback, 846s # user_data); 846s # } 846s # 846s # /** 846s # * com_acme_coyote_call_sleep_finish: 846s # * @proxy: A #ComAcmeCoyoteProxy. 846s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 846s # * @error: Return location for error or %NULL. 846s # * 846s # * Finishes an operation started with com_acme_coyote_call_sleep(). 846s # * 846s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 846s # */ 846s # gboolean 846s # com_acme_coyote_call_sleep_finish ( 846s # ComAcmeCoyote *proxy, 846s # GAsyncResult *res, 846s # GError **error) 846s # { 846s # GVariant *_ret; 846s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 846s # if (_ret == NULL) 846s # goto _out; 846s # g_variant_get (_ret, 846s # "()"); 846s # g_variant_unref (_ret); 846s # _out: 846s # return _ret != NULL; 846s # } 846s # 846s # /** 846s # * com_acme_coyote_call_sleep_sync: 846s # * @proxy: A #ComAcmeCoyoteProxy. 846s # * @cancellable: (nullable): A #GCancellable or %NULL. 846s # * @error: Return location for error or %NULL. 846s # * 846s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 846s # * 846s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 846s # * 846s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 846s # */ 846s # gboolean 846s # com_acme_coyote_call_sleep_sync ( 846s # ComAcmeCoyote *proxy, 846s # GCancellable *cancellable, 846s # GError **error) 846s # { 846s # GVariant *_ret; 846s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 846s # "Sleep", 846s # g_variant_new ("()"), 846s # G_DBUS_CALL_FLAGS_NONE, 846s # -1, 846s # cancellable, 846s # error); 846s # if (_ret == NULL) 846s # goto _out; 846s # g_variant_get (_ret, 846s # "()"); 846s # g_variant_unref (_ret); 846s # _out: 846s # return _ret != NULL; 846s # } 846s # 846s # /** 846s # * com_acme_coyote_call_attack: 846s # * @proxy: A #ComAcmeCoyoteProxy. 846s # * @cancellable: (nullable): A #GCancellable or %NULL. 846s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 846s # * @user_data: User data to pass to @callback. 846s # * 846s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 846s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 846s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 846s # * 846s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 846s # */ 846s # void 846s # com_acme_coyote_call_attack ( 846s # ComAcmeCoyote *proxy, 846s # GCancellable *cancellable, 846s # GAsyncReadyCallback callback, 846s # gpointer user_data) 846s # { 846s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 846s # "Attack", 846s # g_variant_new ("()"), 846s # G_DBUS_CALL_FLAGS_NONE, 846s # -1, 846s # cancellable, 846s # callback, 846s # user_data); 846s # } 846s # 846s # /** 846s # * com_acme_coyote_call_attack_finish: 846s # * @proxy: A #ComAcmeCoyoteProxy. 846s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 846s # * @error: Return location for error or %NULL. 846s # * 846s # * Finishes an operation started with com_acme_coyote_call_attack(). 846s # * 846s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 846s # */ 846s # gboolean 846s # com_acme_coyote_call_attack_finish ( 846s # ComAcmeCoyote *proxy, 846s # GAsyncResult *res, 846s # GError **error) 846s # { 846s # GVariant *_ret; 846s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 846s # if (_ret == NULL) 846s # goto _out; 846s # g_variant_get (_ret, 846s # "()"); 846s # g_variant_unref (_ret); 846s # _out: 846s # return _ret != NULL; 846s # } 846s # 846s # /** 846s # * com_acme_coyote_call_attack_sync: 846s # * @proxy: A #ComAcmeCoyoteProxy. 846s # * @cancellable: (nullable): A #GCancellable or %NULL. 846s # * @error: Return location for error or %NULL. 846s # * 846s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 846s # * 846s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 846s # * 846s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 846s # */ 846s # gboolean 846s # com_acme_coyote_call_attack_sync ( 846s # ComAcmeCoyote *proxy, 846s # GCancellable *cancellable, 846s # GError **error) 846s # { 846s # GVariant *_ret; 846s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 846s # "Attack", 846s # g_variant_new ("()"), 846s # G_DBUS_CALL_FLAGS_NONE, 846s # -1, 846s # cancellable, 846s # error); 846s # if (_ret == NULL) 846s # goto _out; 846s # g_variant_get (_ret, 846s # "()"); 846s # g_variant_unref (_ret); 846s # _out: 846s # return _ret != NULL; 846s # } 846s # 846s # /** 846s # * com_acme_coyote_complete_run: 846s # * @object: A #ComAcmeCoyote. 846s # * @invocation: (transfer full): A #GDBusMethodInvocation. 846s # * 846s # * 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. 846s # * 846s # * This method will free @invocation, you cannot use it afterwards. 846s # */ 846s # void 846s # com_acme_coyote_complete_run ( 846s # ComAcmeCoyote *object G_GNUC_UNUSED, 846s # GDBusMethodInvocation *invocation) 846s # { 846s # g_dbus_method_invocation_return_value (invocation, 846s # g_variant_new ("()")); 846s # } 846s # 846s # /** 846s # * com_acme_coyote_complete_sleep: 846s # * @object: A #ComAcmeCoyote. 846s # * @invocation: (transfer full): A #GDBusMethodInvocation. 846s # * 846s # * 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. 846s # * 846s # * This method will free @invocation, you cannot use it afterwards. 846s # */ 846s # void 846s # com_acme_coyote_complete_sleep ( 846s # ComAcmeCoyote *object G_GNUC_UNUSED, 846s # GDBusMethodInvocation *invocation) 846s # { 846s # g_dbus_method_invocation_return_value (invocation, 846s # g_variant_new ("()")); 846s # } 846s # 846s # /** 846s # * com_acme_coyote_complete_attack: 846s # * @object: A #ComAcmeCoyote. 846s # * @invocation: (transfer full): A #GDBusMethodInvocation. 846s # * 846s # * 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. 846s # * 846s # * This method will free @invocation, you cannot use it afterwards. 846s # */ 846s # void 846s # com_acme_coyote_complete_attack ( 846s # ComAcmeCoyote *object G_GNUC_UNUSED, 846s # GDBusMethodInvocation *invocation) 846s # { 846s # g_dbus_method_invocation_return_value (invocation, 846s # g_variant_new ("()")); 846s # } 846s # 846s # /* ------------------------------------------------------------------------ */ 846s # 846s # /** 846s # * ComAcmeCoyoteProxy: 846s # * 846s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 846s # */ 846s # 846s # /** 846s # * ComAcmeCoyoteProxyClass: 846s # * @parent_class: The parent class. 846s # * 846s # * Class structure for #ComAcmeCoyoteProxy. 846s # */ 846s # 846s # struct _ComAcmeCoyoteProxyPrivate 846s # { 846s # GData *qdata; 846s # }; 846s # 846s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 846s # 846s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 846s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 846s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 846s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 846s # 846s # #else 846s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 846s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 846s # 846s # #endif 846s # static void 846s # com_acme_coyote_proxy_finalize (GObject *object) 846s # { 846s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 846s # g_datalist_clear (&proxy->priv->qdata); 846s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 846s # } 846s # 846s # static void 846s # com_acme_coyote_proxy_get_property (GObject *object, 846s # guint prop_id, 846s # GValue *value, 846s # GParamSpec *pspec G_GNUC_UNUSED) 846s # { 846s # const _ExtendedGDBusPropertyInfo *info; 846s # GVariant *variant; 846s # g_assert (prop_id != 0 && prop_id - 1 < 1); 846s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 846s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 846s # if (info->use_gvariant) 846s # { 846s # g_value_set_variant (value, variant); 846s # } 846s # else 846s # { 846s # if (variant != NULL) 846s # g_dbus_gvariant_to_gvalue (variant, value); 846s # } 846s # if (variant != NULL) 846s # g_variant_unref (variant); 846s # } 846s # 846s # static void 846s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 846s # GAsyncResult *res, 846s # gpointer user_data) 846s # { 846s # const _ExtendedGDBusPropertyInfo *info = user_data; 846s # GError *error; 846s # GVariant *_ret; 846s # error = NULL; 846s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 846s # if (!_ret) 846s # { 846s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 846s # info->parent_struct.name, 846s # error->message, g_quark_to_string (error->domain), error->code); 846s # g_error_free (error); 846s # } 846s # else 846s # { 846s # g_variant_unref (_ret); 846s # } 846s # } 846s # 846s # static void 846s # com_acme_coyote_proxy_set_property (GObject *object, 846s # guint prop_id, 846s # const GValue *value, 846s # GParamSpec *pspec G_GNUC_UNUSED) 846s # { 846s # const _ExtendedGDBusPropertyInfo *info; 846s # GVariant *variant; 846s # g_assert (prop_id != 0 && prop_id - 1 < 1); 846s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 846s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 846s # g_dbus_proxy_call (G_DBUS_PROXY (object), 846s # "org.freedesktop.DBus.Properties.Set", 846s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 846s # G_DBUS_CALL_FLAGS_NONE, 846s # -1, 846s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 846s # g_variant_unref (variant); 846s # } 846s # 846s # static void 846s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 846s # const gchar *sender_name G_GNUC_UNUSED, 846s # const gchar *signal_name, 846s # GVariant *parameters) 846s # { 846s # _ExtendedGDBusSignalInfo *info; 846s # GVariantIter iter; 846s # GVariant *child; 846s # GValue *paramv; 846s # gsize num_params; 846s # gsize n; 846s # guint signal_id; 846s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 846s # if (info == NULL) 846s # return; 846s # num_params = g_variant_n_children (parameters); 846s # paramv = g_new0 (GValue, num_params + 1); 846s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 846s # g_value_set_object (¶mv[0], proxy); 846s # g_variant_iter_init (&iter, parameters); 846s # n = 1; 846s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 846s # { 846s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 846s # if (arg_info->use_gvariant) 846s # { 846s # g_value_init (¶mv[n], G_TYPE_VARIANT); 846s # g_value_set_variant (¶mv[n], child); 846s # n++; 846s # } 846s # else 846s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 846s # g_variant_unref (child); 846s # } 846s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 846s # g_signal_emitv (paramv, signal_id, 0, NULL); 846s # for (n = 0; n < num_params + 1; n++) 846s # g_value_unset (¶mv[n]); 846s # g_free (paramv); 846s # } 846s # 846s # static void 846s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 846s # GVariant *changed_properties, 846s # const gchar *const *invalidated_properties) 846s # { 846s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 846s # guint n; 846s # const gchar *key; 846s # GVariantIter *iter; 846s # _ExtendedGDBusPropertyInfo *info; 846s # g_variant_get (changed_properties, "a{sv}", &iter); 846s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 846s # { 846s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 846s # g_datalist_remove_data (&proxy->priv->qdata, key); 846s # if (info != NULL) 846s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 846s # } 846s # g_variant_iter_free (iter); 846s # for (n = 0; invalidated_properties[n] != NULL; n++) 846s # { 846s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 846s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 846s # if (info != NULL) 846s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 846s # } 846s # } 846s # 846s # static const gchar * 846s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 846s # { 846s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 846s # GVariant *variant; 846s # const gchar *value = NULL; 846s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 846s # if (variant != NULL) 846s # { 846s # value = g_variant_get_string (variant, NULL); 846s # g_variant_unref (variant); 846s # } 846s # return value; 846s # } 846s # 846s # static void 846s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 846s # { 846s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 846s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 846s # #else 846s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 846s # #endif 846s # 846s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 846s # } 846s # 846s # static void 846s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 846s # { 846s # GObjectClass *gobject_class; 846s # GDBusProxyClass *proxy_class; 846s # 846s # gobject_class = G_OBJECT_CLASS (klass); 846s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 846s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 846s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 846s # 846s # proxy_class = G_DBUS_PROXY_CLASS (klass); 846s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 846s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 846s # 846s # com_acme_coyote_override_properties (gobject_class, 1); 846s # 846s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 846s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 846s # #endif 846s # } 846s # 846s # static void 846s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 846s # { 846s # iface->get_mood = com_acme_coyote_proxy_get_mood; 846s # } 846s # 846s # /** 846s # * com_acme_coyote_proxy_new: 846s # * @connection: A #GDBusConnection. 846s # * @flags: Flags from the #GDBusProxyFlags enumeration. 846s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 846s # * @object_path: An object path. 846s # * @cancellable: (nullable): A #GCancellable or %NULL. 846s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 846s # * @user_data: User data to pass to @callback. 846s # * 846s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 846s # * 846s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 846s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 846s # * 846s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 846s # */ 846s # void 846s # com_acme_coyote_proxy_new ( 846s # GDBusConnection *connection, 846s # GDBusProxyFlags flags, 846s # const gchar *name, 846s # const gchar *object_path, 846s # GCancellable *cancellable, 846s # GAsyncReadyCallback callback, 846s # gpointer user_data) 846s # { 846s # 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); 846s # } 846s # 846s # /** 846s # * com_acme_coyote_proxy_new_finish: 846s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 846s # * @error: Return location for error or %NULL 846s # * 846s # * Finishes an operation started with com_acme_coyote_proxy_new(). 846s # * 846s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 846s # */ 846s # ComAcmeCoyote * 846s # com_acme_coyote_proxy_new_finish ( 846s # GAsyncResult *res, 846s # GError **error) 846s # { 846s # GObject *ret; 846s # GObject *source_object; 846s # source_object = g_async_result_get_source_object (res); 846s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 846s # g_object_unref (source_object); 846s # if (ret != NULL) 846s # return COM_ACME_COYOTE (ret); 846s # else 846s # return NULL; 846s # } 846s # 846s # /** 846s # * com_acme_coyote_proxy_new_sync: 846s # * @connection: A #GDBusConnection. 846s # * @flags: Flags from the #GDBusProxyFlags enumeration. 846s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 846s # * @object_path: An object path. 846s # * @cancellable: (nullable): A #GCancellable or %NULL. 846s # * @error: Return location for error or %NULL 846s # * 846s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 846s # * 846s # * The calling thread is blocked until a reply is received. 846s # * 846s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 846s # * 846s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 846s # */ 846s # ComAcmeCoyote * 846s # com_acme_coyote_proxy_new_sync ( 846s # GDBusConnection *connection, 846s # GDBusProxyFlags flags, 846s # const gchar *name, 846s # const gchar *object_path, 846s # GCancellable *cancellable, 846s # GError **error) 846s # { 846s # GInitable *ret; 846s # 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); 846s # if (ret != NULL) 846s # return COM_ACME_COYOTE (ret); 846s # else 846s # return NULL; 846s # } 846s # 846s # 846s # /** 846s # * com_acme_coyote_proxy_new_for_bus: 846s # * @bus_type: A #GBusType. 846s # * @flags: Flags from the #GDBusProxyFlags enumeration. 846s # * @name: A bus name (well-known or unique). 846s # * @object_path: An object path. 846s # * @cancellable: (nullable): A #GCancellable or %NULL. 846s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 846s # * @user_data: User data to pass to @callback. 846s # * 846s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 846s # * 846s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 846s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 846s # * 846s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 846s # */ 846s # void 846s # com_acme_coyote_proxy_new_for_bus ( 846s # GBusType bus_type, 846s # GDBusProxyFlags flags, 846s # const gchar *name, 846s # const gchar *object_path, 846s # GCancellable *cancellable, 846s # GAsyncReadyCallback callback, 846s # gpointer user_data) 846s # { 846s # 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); 846s # } 846s # 846s # /** 846s # * com_acme_coyote_proxy_new_for_bus_finish: 846s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 846s # * @error: Return location for error or %NULL 846s # * 846s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 846s # * 846s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 846s # */ 846s # ComAcmeCoyote * 846s # com_acme_coyote_proxy_new_for_bus_finish ( 846s # GAsyncResult *res, 846s # GError **error) 846s # { 846s # GObject *ret; 846s # GObject *source_object; 846s # source_object = g_async_result_get_source_object (res); 846s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 846s # g_object_unref (source_object); 846s # if (ret != NULL) 846s # return COM_ACME_COYOTE (ret); 846s # else 846s # return NULL; 846s # } 846s # 846s # /** 846s # * com_acme_coyote_proxy_new_for_bus_sync: 846s # * @bus_type: A #GBusType. 846s # * @flags: Flags from the #GDBusProxyFlags enumeration. 846s # * @name: A bus name (well-known or unique). 846s # * @object_path: An object path. 846s # * @cancellable: (nullable): A #GCancellable or %NULL. 846s # * @error: Return location for error or %NULL 846s # * 846s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 846s # * 846s # * The calling thread is blocked until a reply is received. 846s # * 846s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 846s # * 846s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 846s # */ 846s # ComAcmeCoyote * 846s # com_acme_coyote_proxy_new_for_bus_sync ( 846s # GBusType bus_type, 846s # GDBusProxyFlags flags, 846s # const gchar *name, 846s # const gchar *object_path, 846s # GCancellable *cancellable, 846s # GError **error) 846s # { 846s # GInitable *ret; 846s # 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); 846s # if (ret != NULL) 846s # return COM_ACME_COYOTE (ret); 846s # else 846s # return NULL; 846s # } 846s # 846s # 846s # /* ------------------------------------------------------------------------ */ 846s # 846s # /** 846s # * ComAcmeCoyoteSkeleton: 846s # * 846s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 846s # */ 846s # 846s # /** 846s # * ComAcmeCoyoteSkeletonClass: 846s # * @parent_class: The parent class. 846s # * 846s # * Class structure for #ComAcmeCoyoteSkeleton. 846s # */ 846s # 846s # struct _ComAcmeCoyoteSkeletonPrivate 846s # { 846s # GValue *properties; 846s # GList *changed_properties; 846s # GSource *changed_properties_idle_source; 846s # GMainContext *context; 846s # GMutex lock; 846s # }; 846s # 846s # static void 846s # _com_acme_coyote_skeleton_handle_method_call ( 846s # GDBusConnection *connection G_GNUC_UNUSED, 846s # const gchar *sender G_GNUC_UNUSED, 846s # const gchar *object_path G_GNUC_UNUSED, 846s # const gchar *interface_name, 846s # const gchar *method_name, 846s # GVariant *parameters, 846s # GDBusMethodInvocation *invocation, 846s # gpointer user_data) 846s # { 846s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 846s # _ExtendedGDBusMethodInfo *info; 846s # GVariantIter iter; 846s # GVariant *child; 846s # GValue *paramv; 846s # gsize num_params; 846s # guint num_extra; 846s # gsize n; 846s # guint signal_id; 846s # GValue return_value = G_VALUE_INIT; 846s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 846s # g_assert (info != NULL); 846s # num_params = g_variant_n_children (parameters); 846s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 846s # n = 0; 846s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 846s # g_value_set_object (¶mv[n++], skeleton); 846s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 846s # g_value_set_object (¶mv[n++], invocation); 846s # if (info->pass_fdlist) 846s # { 846s # #ifdef G_OS_UNIX 846s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 846s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 846s # #else 846s # g_assert_not_reached (); 846s # #endif 846s # } 846s # g_variant_iter_init (&iter, parameters); 846s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 846s # { 846s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 846s # if (arg_info->use_gvariant) 846s # { 846s # g_value_init (¶mv[n], G_TYPE_VARIANT); 846s # g_value_set_variant (¶mv[n], child); 846s # n++; 846s # } 846s # else 846s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 846s # g_variant_unref (child); 846s # } 846s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 846s # g_value_init (&return_value, G_TYPE_BOOLEAN); 846s # g_signal_emitv (paramv, signal_id, 0, &return_value); 846s # if (!g_value_get_boolean (&return_value)) 846s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 846s # g_value_unset (&return_value); 846s # for (n = 0; n < num_params + num_extra; n++) 846s # g_value_unset (¶mv[n]); 846s # g_free (paramv); 846s # } 846s # 846s # static GVariant * 846s # _com_acme_coyote_skeleton_handle_get_property ( 846s # GDBusConnection *connection G_GNUC_UNUSED, 846s # const gchar *sender G_GNUC_UNUSED, 846s # const gchar *object_path G_GNUC_UNUSED, 846s # const gchar *interface_name G_GNUC_UNUSED, 846s # const gchar *property_name, 846s # GError **error, 846s # gpointer user_data) 846s # { 846s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 846s # GValue value = G_VALUE_INIT; 846s # GParamSpec *pspec; 846s # _ExtendedGDBusPropertyInfo *info; 846s # GVariant *ret; 846s # ret = NULL; 846s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 846s # g_assert (info != NULL); 846s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 846s # if (pspec == NULL) 846s # { 846s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 846s # } 846s # else 846s # { 846s # g_value_init (&value, pspec->value_type); 846s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 846s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 846s # g_value_unset (&value); 846s # } 846s # return ret; 846s # } 846s # 846s # static gboolean 846s # _com_acme_coyote_skeleton_handle_set_property ( 846s # GDBusConnection *connection G_GNUC_UNUSED, 846s # const gchar *sender G_GNUC_UNUSED, 846s # const gchar *object_path G_GNUC_UNUSED, 846s # const gchar *interface_name G_GNUC_UNUSED, 846s # const gchar *property_name, 846s # GVariant *variant, 846s # GError **error, 846s # gpointer user_data) 846s # { 846s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 846s # GValue value = G_VALUE_INIT; 846s # GParamSpec *pspec; 846s # _ExtendedGDBusPropertyInfo *info; 846s # gboolean ret; 846s # ret = FALSE; 846s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 846s # g_assert (info != NULL); 846s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 846s # if (pspec == NULL) 846s # { 846s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 846s # } 846s # else 846s # { 846s # if (info->use_gvariant) 846s # g_value_set_variant (&value, variant); 846s # else 846s # g_dbus_gvariant_to_gvalue (variant, &value); 846s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 846s # g_value_unset (&value); 846s # ret = TRUE; 846s # } 846s # return ret; 846s # } 846s # 846s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 846s # { 846s # _com_acme_coyote_skeleton_handle_method_call, 846s # _com_acme_coyote_skeleton_handle_get_property, 846s # _com_acme_coyote_skeleton_handle_set_property, 846s # {NULL} 846s # }; 846s # 846s # static GDBusInterfaceInfo * 846s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 846s # { 846s # return com_acme_coyote_interface_info (); 846s # } 846s # 846s # static GDBusInterfaceVTable * 846s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 846s # { 846s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 846s # } 846s # 846s # static GVariant * 846s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 846s # { 846s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 846s # 846s # GVariantBuilder builder; 846s # guint n; 846s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 846s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 846s # #else 846s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 846s # #endif 846s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 846s # goto out; 846s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 846s # { 846s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 846s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 846s # { 846s # GVariant *value; 846s # 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); 846s # if (value != NULL) 846s # { 846s # g_variant_take_ref (value); 846s # g_variant_builder_add (&builder, "{sv}", info->name, value); 846s # g_variant_unref (value); 846s # } 846s # } 846s # } 846s # out: 846s # return g_variant_builder_end (&builder); 846s # } 846s # 846s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 846s # 846s # static void 846s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 846s # { 846s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 846s # gboolean emit_changed = FALSE; 846s # 846s # g_mutex_lock (&skeleton->priv->lock); 846s # if (skeleton->priv->changed_properties_idle_source != NULL) 846s # { 846s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 846s # skeleton->priv->changed_properties_idle_source = NULL; 846s # emit_changed = TRUE; 846s # } 846s # g_mutex_unlock (&skeleton->priv->lock); 846s # 846s # if (emit_changed) 846s # _com_acme_coyote_emit_changed (skeleton); 846s # } 846s # 846s # static void 846s # _com_acme_coyote_on_signal_surprised ( 846s # ComAcmeCoyote *object) 846s # { 846s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 846s # 846s # GList *connections, *l; 846s # GVariant *signal_variant; 846s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 846s # 846s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 846s # for (l = connections; l != NULL; l = l->next) 846s # { 846s # GDBusConnection *connection = l->data; 846s # g_dbus_connection_emit_signal (connection, 846s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 846s # signal_variant, NULL); 846s # } 846s # g_variant_unref (signal_variant); 846s # g_list_free_full (connections, g_object_unref); 846s # } 846s # 846s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 846s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 846s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 846s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 846s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 846s # 846s # #else 846s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 846s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 846s # 846s # #endif 846s # static void 846s # com_acme_coyote_skeleton_finalize (GObject *object) 846s # { 846s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 846s # guint n; 846s # for (n = 0; n < 1; n++) 846s # g_value_unset (&skeleton->priv->properties[n]); 846s # g_free (skeleton->priv->properties); 846s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 846s # if (skeleton->priv->changed_properties_idle_source != NULL) 846s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 846s # g_main_context_unref (skeleton->priv->context); 846s # g_mutex_clear (&skeleton->priv->lock); 846s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 846s # } 846s # 846s # static void 846s # com_acme_coyote_skeleton_get_property (GObject *object, 846s # guint prop_id, 846s # GValue *value, 846s # GParamSpec *pspec G_GNUC_UNUSED) 846s # { 846s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 846s # g_assert (prop_id != 0 && prop_id - 1 < 1); 846s # g_mutex_lock (&skeleton->priv->lock); 846s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 846s # g_mutex_unlock (&skeleton->priv->lock); 846s # } 846s # 846s # static gboolean 846s # _com_acme_coyote_emit_changed (gpointer user_data) 846s # { 846s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 846s # GList *l; 846s # GVariantBuilder builder; 846s # GVariantBuilder invalidated_builder; 846s # guint num_changes; 846s # 846s # g_mutex_lock (&skeleton->priv->lock); 846s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 846s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 846s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 846s # #else 846s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 846s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 846s # #endif 846s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 846s # { 846s # ChangedProperty *cp = l->data; 846s # GVariant *variant; 846s # const GValue *cur_value; 846s # 846s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 846s # if (!_g_value_equal (cur_value, &cp->orig_value)) 846s # { 846s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 846s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 846s # g_variant_unref (variant); 846s # num_changes++; 846s # } 846s # } 846s # if (num_changes > 0) 846s # { 846s # GList *connections, *ll; 846s # GVariant *signal_variant; 846s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 846s # &builder, &invalidated_builder)); 846s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 846s # for (ll = connections; ll != NULL; ll = ll->next) 846s # { 846s # GDBusConnection *connection = ll->data; 846s # 846s # g_dbus_connection_emit_signal (connection, 846s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 846s # "org.freedesktop.DBus.Properties", 846s # "PropertiesChanged", 846s # signal_variant, 846s # NULL); 846s # } 846s # g_variant_unref (signal_variant); 846s # g_list_free_full (connections, g_object_unref); 846s # } 846s # else 846s # { 846s # g_variant_builder_clear (&builder); 846s # g_variant_builder_clear (&invalidated_builder); 846s # } 846s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 846s # skeleton->priv->changed_properties = NULL; 846s # skeleton->priv->changed_properties_idle_source = NULL; 846s # g_mutex_unlock (&skeleton->priv->lock); 846s # return FALSE; 846s # } 846s # 846s # static void 846s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 846s # { 846s # ChangedProperty *cp; 846s # GList *l; 846s # cp = NULL; 846s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 846s # { 846s # ChangedProperty *i_cp = l->data; 846s # if (i_cp->info == info) 846s # { 846s # cp = i_cp; 846s # break; 846s # } 846s # } 846s # if (cp == NULL) 846s # { 846s # cp = g_new0 (ChangedProperty, 1); 846s # cp->prop_id = prop_id; 846s # cp->info = info; 846s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 846s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 846s # g_value_copy (orig_value, &cp->orig_value); 846s # } 846s # } 846s # 846s # static void 846s # com_acme_coyote_skeleton_notify (GObject *object, 846s # GParamSpec *pspec G_GNUC_UNUSED) 846s # { 846s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 846s # g_mutex_lock (&skeleton->priv->lock); 846s # if (skeleton->priv->changed_properties != NULL && 846s # skeleton->priv->changed_properties_idle_source == NULL) 846s # { 846s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 846s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 846s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 846s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 846s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 846s # g_source_unref (skeleton->priv->changed_properties_idle_source); 846s # } 846s # g_mutex_unlock (&skeleton->priv->lock); 846s # } 846s # 846s # static void 846s # com_acme_coyote_skeleton_set_property (GObject *object, 846s # guint prop_id, 846s # const GValue *value, 846s # GParamSpec *pspec) 846s # { 846s # const _ExtendedGDBusPropertyInfo *info; 846s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 846s # g_assert (prop_id != 0 && prop_id - 1 < 1); 846s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 846s # g_mutex_lock (&skeleton->priv->lock); 846s # g_object_freeze_notify (object); 846s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 846s # { 846s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 846s # info->emits_changed_signal) 846s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 846s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 846s # g_object_notify_by_pspec (object, pspec); 846s # } 846s # g_mutex_unlock (&skeleton->priv->lock); 846s # g_object_thaw_notify (object); 846s # } 846s # 846s # static void 846s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 846s # { 846s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 846s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 846s # #else 846s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 846s # #endif 846s # 846s # g_mutex_init (&skeleton->priv->lock); 846s # skeleton->priv->context = g_main_context_ref_thread_default (); 846s # skeleton->priv->properties = g_new0 (GValue, 1); 846s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 846s # } 846s # 846s # static const gchar * 846s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 846s # { 846s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 846s # const gchar *value; 846s # g_mutex_lock (&skeleton->priv->lock); 846s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 846s # g_mutex_unlock (&skeleton->priv->lock); 846s # return value; 846s # } 846s # 846s # static void 846s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 846s # { 846s # GObjectClass *gobject_class; 846s # GDBusInterfaceSkeletonClass *skeleton_class; 846s # 846s # gobject_class = G_OBJECT_CLASS (klass); 846s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 846s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 846s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 846s # gobject_class->notify = com_acme_coyote_skeleton_notify; 846s # 846s # 846s # com_acme_coyote_override_properties (gobject_class, 1); 846s # 846s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 846s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 846s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 846s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 846s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 846s # 846s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 846s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 846s # #endif 846s # } 846s # 846s # static void 846s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 846s # { 846s # iface->surprised = _com_acme_coyote_on_signal_surprised; 846s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 846s # } 846s # 846s # /** 846s # * com_acme_coyote_skeleton_new: 846s # * 846s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 846s # * 846s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 846s # */ 846s # ComAcmeCoyote * 846s # com_acme_coyote_skeleton_new (void) 846s # { 846s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 846s # } 846s # Error: 846s ok 39 __main__.TestCodegen.test_unix_fd_types_and_annotations 846s # gdbus-codegen: /usr/bin/gdbus-codegen 846s # tmpdir: /tmp/tmpea6pn2aw 846s # /tmp/tmpea6pn2aw/tmpnz1ox2ti.xml: 846s # 846s # 846s # 846s # 846s # 846s # 846s # 846s # 846s # 846s # 846s # 846s # 846s # 846s # 846s # 846s # 846s # 846s # 846s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpea6pn2aw/tmpnz1ox2ti.xml', '--output', '-', '--header'] 846s # Return code: 0 846s # Output: 846s # /* 846s # * This file is generated by gdbus-codegen, do not modify it. 846s # * 846s # * The license of this code is the same as for the D-Bus interface description 846s # * it was derived from. Note that it links to GLib, so must comply with the 846s # * LGPL linking clauses. 846s # */ 846s # 846s # #ifndef __STDOUT__ 846s # #define __STDOUT__ 846s # 846s # #include 846s # 846s # G_BEGIN_DECLS 846s # 846s # 846s # /* ------------------------------------------------------------------------ */ 846s # /* Declarations for FDPassing */ 846s # 846s # #define TYPE_FDPASSING (fdpassing_get_type ()) 846s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 846s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 846s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 846s # 846s # struct _FDPassing; 846s # typedef struct _FDPassing FDPassing; 846s # typedef struct _FDPassingIface FDPassingIface; 846s # 846s # struct _FDPassingIface 846s # { 846s # GTypeInterface parent_iface; 846s # 846s # gboolean (*handle_hello_fd) ( 846s # FDPassing *object, 846s # GDBusMethodInvocation *invocation, 846s # GUnixFDList *fd_list, 846s # const gchar *arg_greeting); 846s # 846s # gboolean (*handle_no_annotation) ( 846s # FDPassing *object, 846s # GDBusMethodInvocation *invocation, 846s # GVariant *arg_greeting, 846s # const gchar *arg_greeting_locale); 846s # 846s # gboolean (*handle_no_annotation_nested) ( 846s # FDPassing *object, 846s # GDBusMethodInvocation *invocation, 846s # GVariant *arg_files); 846s # 846s # }; 846s # 846s # GType fdpassing_get_type (void) G_GNUC_CONST; 846s # 846s # GDBusInterfaceInfo *fdpassing_interface_info (void); 846s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 846s # 846s # 846s # /* D-Bus method call completion functions: */ 846s # void fdpassing_complete_hello_fd ( 846s # FDPassing *object, 846s # GDBusMethodInvocation *invocation, 846s # GUnixFDList *fd_list, 846s # const gchar *response); 846s # 846s # void fdpassing_complete_no_annotation ( 846s # FDPassing *object, 846s # GDBusMethodInvocation *invocation, 846s # GVariant *response, 846s # const gchar *response_locale); 846s # 846s # void fdpassing_complete_no_annotation_nested ( 846s # FDPassing *object, 846s # GDBusMethodInvocation *invocation); 846s # 846s # 846s # 846s # /* D-Bus method calls: */ 846s # void fdpassing_call_hello_fd ( 846s # FDPassing *proxy, 846s # const gchar *arg_greeting, 846s # GUnixFDList *fd_list, 846s # GCancellable *cancellable, 846s # GAsyncReadyCallback callback, 846s # gpointer user_data); 846s # 846s # gboolean fdpassing_call_hello_fd_finish ( 846s # FDPassing *proxy, 846s # gchar **out_response, 846s # GUnixFDList **out_fd_list, 846s # GAsyncResult *res, 846s # GError **error); 846s # 846s # gboolean fdpassing_call_hello_fd_sync ( 846s # FDPassing *proxy, 846s # const gchar *arg_greeting, 846s # GUnixFDList *fd_list, 846s # gchar **out_response, 846s # GUnixFDList **out_fd_list, 846s # GCancellable *cancellable, 846s # GError **error); 846s # 846s # void fdpassing_call_no_annotation ( 846s # FDPassing *proxy, 846s # GVariant *arg_greeting, 846s # const gchar *arg_greeting_locale, 846s # GCancellable *cancellable, 846s # GAsyncReadyCallback callback, 846s # gpointer user_data); 846s # 846s # gboolean fdpassing_call_no_annotation_finish ( 846s # FDPassing *proxy, 846s # GVariant **out_response, 846s # gchar **out_response_locale, 846s # GAsyncResult *res, 846s # GError **error); 846s # 846s # gboolean fdpassing_call_no_annotation_sync ( 846s # FDPassing *proxy, 846s # GVariant *arg_greeting, 846s # const gchar *arg_greeting_locale, 846s # GVariant **out_response, 846s # gchar **out_response_locale, 846s # GCancellable *cancellable, 846s # GError **error); 846s # 846s # void fdpassing_call_no_annotation_nested ( 846s # FDPassing *proxy, 846s # GVariant *arg_files, 846s # GCancellable *cancellable, 846s # GAsyncReadyCallback callback, 846s # gpointer user_data); 846s # 846s # gboolean fdpassing_call_no_annotation_nested_finish ( 846s # FDPassing *proxy, 846s # GAsyncResult *res, 846s # GError **error); 846s # 846s # gboolean fdpassing_call_no_annotation_nested_sync ( 846s # FDPassing *proxy, 846s # GVariant *arg_files, 846s # GCancellable *cancellable, 846s # GError **error); 846s # 846s # 846s # 846s # /* ---- */ 846s # 846s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 846s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 846s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 846s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 846s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 846s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 846s # 846s # typedef struct _FDPassingProxy FDPassingProxy; 846s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 846s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 846s # 846s # struct _FDPassingProxy 846s # { 846s # /*< private >*/ 846s # GDBusProxy parent_instance; 846s # FDPassingProxyPrivate *priv; 846s # }; 846s # 846s # struct _FDPassingProxyClass 846s # { 846s # GDBusProxyClass parent_class; 846s # }; 846s # 846s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 846s # 846s # #if GLIB_CHECK_VERSION(2, 44, 0) 846s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 846s # #endif 846s # 846s # void fdpassing_proxy_new ( 846s # GDBusConnection *connection, 846s # GDBusProxyFlags flags, 846s # const gchar *name, 846s # const gchar *object_path, 846s # GCancellable *cancellable, 846s # GAsyncReadyCallback callback, 846s # gpointer user_data); 846s # FDPassing *fdpassing_proxy_new_finish ( 846s # GAsyncResult *res, 846s # GError **error); 846s # FDPassing *fdpassing_proxy_new_sync ( 846s # GDBusConnection *connection, 846s # GDBusProxyFlags flags, 846s # const gchar *name, 846s # const gchar *object_path, 846s # GCancellable *cancellable, 846s # GError **error); 846s # 846s # void fdpassing_proxy_new_for_bus ( 846s # GBusType bus_type, 846s # GDBusProxyFlags flags, 846s # const gchar *name, 846s # const gchar *object_path, 846s # GCancellable *cancellable, 846s # GAsyncReadyCallback callback, 846s # gpointer user_data); 846s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 846s # GAsyncResult *res, 846s # GError **error); 846s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 846s # GBusType bus_type, 846s # GDBusProxyFlags flags, 846s # const gchar *name, 846s # const gchar *object_path, 846s # GCancellable *cancellable, 846s # GError **error); 846s # 846s # 846s # /* ---- */ 846s # 846s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 846s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 846s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 846s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 846s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 846s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 846s # 846s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 846s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 846s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 846s # 846s # struct _FDPassingSkeleton 846s # { 846s # /*< private >*/ 846s # GDBusInterfaceSkeleton parent_instance; 846s # FDPassingSkeletonPrivate *priv; 846s # }; 846s # 846s # struct _FDPassingSkeletonClass 846s # { 846s # GDBusInterfaceSkeletonClass parent_class; 846s # }; 846s # 846s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 846s # 846s # #if GLIB_CHECK_VERSION(2, 44, 0) 846s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 846s # #endif 846s # 846s # FDPassing *fdpassing_skeleton_new (void); 846s # 846s # 846s # G_END_DECLS 846s # 846s # #endif /* __STDOUT__ */ 846s # Error: 846s # 846s # /tmp/tmpea6pn2aw/tmpsqgex0tc.xml: 846s # 846s # 846s # 846s # 846s # 846s # 846s # 846s # 846s # 846s # 846s # 846s # 846s # 846s # 846s # 846s # 846s # 846s # 846s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpea6pn2aw/tmpsqgex0tc.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 846s # Return code: 0 846s # Output: 846s # /* 846s # * This file is generated by gdbus-codegen, do not modify it. 846s # * 846s # * The license of this code is the same as for the D-Bus interface description 846s # * it was derived from. Note that it links to GLib, so must comply with the 846s # * LGPL linking clauses. 846s # */ 846s # 846s # #ifndef __STDOUT__ 846s # #define __STDOUT__ 846s # 846s # #include 846s # 846s # G_BEGIN_DECLS 846s # 846s # 846s # /* ------------------------------------------------------------------------ */ 846s # /* Declarations for FDPassing */ 846s # 846s # #define TYPE_FDPASSING (fdpassing_get_type ()) 846s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 846s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 846s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 846s # 846s # struct _FDPassing; 846s # typedef struct _FDPassing FDPassing; 846s # typedef struct _FDPassingIface FDPassingIface; 846s # 846s # struct _FDPassingIface 846s # { 846s # GTypeInterface parent_iface; 846s # 846s # gboolean (*handle_hello_fd) ( 846s # FDPassing *object, 846s # GDBusMethodInvocation *invocation, 846s # GUnixFDList *fd_list, 846s # const gchar *arg_greeting); 846s # 846s # gboolean (*handle_no_annotation) ( 846s # FDPassing *object, 846s # GDBusMethodInvocation *invocation, 846s # GVariant *arg_greeting, 846s # const gchar *arg_greeting_locale); 846s # 846s # gboolean (*handle_no_annotation_nested) ( 846s # FDPassing *object, 846s # GDBusMethodInvocation *invocation, 846s # GVariant *arg_files); 846s # 846s # }; 846s # 846s # GType fdpassing_get_type (void) G_GNUC_CONST; 846s # 846s # GDBusInterfaceInfo *fdpassing_interface_info (void); 846s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 846s # 846s # 846s # /* D-Bus method call completion functions: */ 846s # void fdpassing_complete_hello_fd ( 846s # FDPassing *object, 846s # GDBusMethodInvocation *invocation, 846s # GUnixFDList *fd_list, 846s # const gchar *response); 846s # 846s # void fdpassing_complete_no_annotation ( 846s # FDPassing *object, 846s # GDBusMethodInvocation *invocation, 846s # GVariant *response, 846s # const gchar *response_locale); 846s # 846s # void fdpassing_complete_no_annotation_nested ( 846s # FDPassing *object, 846s # GDBusMethodInvocation *invocation); 846s # 846s # 846s # 846s # /* D-Bus method calls: */ 846s # void fdpassing_call_hello_fd ( 846s # FDPassing *proxy, 846s # const gchar *arg_greeting, 846s # GUnixFDList *fd_list, 846s # GCancellable *cancellable, 846s # GAsyncReadyCallback callback, 846s # gpointer user_data); 846s # 846s # gboolean fdpassing_call_hello_fd_finish ( 846s # FDPassing *proxy, 846s # gchar **out_response, 846s # GUnixFDList **out_fd_list, 846s # GAsyncResult *res, 846s # GError **error); 846s # 846s # gboolean fdpassing_call_hello_fd_sync ( 846s # FDPassing *proxy, 846s # const gchar *arg_greeting, 846s # GUnixFDList *fd_list, 846s # gchar **out_response, 846s # GUnixFDList **out_fd_list, 846s # GCancellable *cancellable, 846s # GError **error); 846s # 846s # void fdpassing_call_no_annotation ( 846s # FDPassing *proxy, 846s # GVariant *arg_greeting, 846s # const gchar *arg_greeting_locale, 846s # GCancellable *cancellable, 846s # GAsyncReadyCallback callback, 846s # gpointer user_data); 846s # 846s # gboolean fdpassing_call_no_annotation_finish ( 846s # FDPassing *proxy, 846s # GVariant **out_response, 846s # gchar **out_response_locale, 846s # GAsyncResult *res, 846s # GError **error); 846s # 846s # gboolean fdpassing_call_no_annotation_sync ( 846s # FDPassing *proxy, 846s # GVariant *arg_greeting, 846s # const gchar *arg_greeting_locale, 846s # GVariant **out_response, 846s # gchar **out_response_locale, 846s # GCancellable *cancellable, 846s # GError **error); 846s # 846s # void fdpassing_call_no_annotation_nested ( 846s # FDPassing *proxy, 846s # GVariant *arg_files, 846s # GCancellable *cancellable, 846s # GAsyncReadyCallback callback, 846s # gpointer user_data); 846s # 846s # gboolean fdpassing_call_no_annotation_nested_finish ( 846s # FDPassing *proxy, 846s # GAsyncResult *res, 846s # GError **error); 846s # 846s # gboolean fdpassing_call_no_annotation_nested_sync ( 846s # FDPassing *proxy, 846s # GVariant *arg_files, 846s # GCancellable *cancellable, 846s # GError **error); 846s # 846s # 846s # 846s # /* ---- */ 846s # 846s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 846s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 846s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 846s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 846s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 846s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 846s # 846s # typedef struct _FDPassingProxy FDPassingProxy; 846s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 846s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 846s # 846s # struct _FDPassingProxy 846s # { 846s # /*< private >*/ 846s # GDBusProxy parent_instance; 846s # FDPassingProxyPrivate *priv; 846s # }; 846s # 846s # struct _FDPassingProxyClass 846s # { 846s # GDBusProxyClass parent_class; 846s # }; 846s # 846s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 846s # 846s # #if GLIB_CHECK_VERSION(2, 44, 0) 846s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 846s # #endif 846s # 846s # void fdpassing_proxy_new ( 846s # GDBusConnection *connection, 846s # GDBusProxyFlags flags, 846s # const gchar *name, 846s # const gchar *object_path, 846s # GCancellable *cancellable, 846s # GAsyncReadyCallback callback, 846s # gpointer user_data); 846s # FDPassing *fdpassing_proxy_new_finish ( 846s # GAsyncResult *res, 846s # GError **error); 846s # FDPassing *fdpassing_proxy_new_sync ( 846s # GDBusConnection *connection, 846s # GDBusProxyFlags flags, 846s # const gchar *name, 846s # const gchar *object_path, 846s # GCancellable *cancellable, 846s # GError **error); 846s # 846s # void fdpassing_proxy_new_for_bus ( 846s # GBusType bus_type, 846s # GDBusProxyFlags flags, 846s # const gchar *name, 846s # const gchar *object_path, 846s # GCancellable *cancellable, 846s # GAsyncReadyCallback callback, 846s # gpointer user_data); 846s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 846s # GAsyncResult *res, 846s # GError **error); 846s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 846s # GBusType bus_type, 846s # GDBusProxyFlags flags, 846s # const gchar *name, 846s # const gchar *object_path, 846s # GCancellable *cancellable, 846s # GError **error); 846s # 846s # 846s # /* ---- */ 846s # 846s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 846s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 846s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 846s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 846s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 846s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 846s # 846s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 846s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 846s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 846s # 846s # struct _FDPassingSkeleton 846s # { 846s # /*< private >*/ 846s # GDBusInterfaceSkeleton parent_instance; 846s # FDPassingSkeletonPrivate *priv; 846s # }; 846s # 846s # struct _FDPassingSkeletonClass 846s # { 846s # GDBusInterfaceSkeletonClass parent_class; 846s # }; 846s # 846s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 846s # 846s # #if GLIB_CHECK_VERSION(2, 44, 0) 846s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 846s # #endif 846s # 846s # FDPassing *fdpassing_skeleton_new (void); 846s # 846s # 846s # G_END_DECLS 846s # 846s # #endif /* __STDOUT__ */ 846s # Error: 846s # 846s # /tmp/tmpea6pn2aw/tmpmi3952eo.xml: 846s # 846s # 846s # 846s # 846s # 846s # 846s # 846s # 846s # 846s # 846s # 846s # 846s # 846s # 846s # 846s # 846s # 846s # 846s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpea6pn2aw/tmpmi3952eo.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 846s # Return code: 0 846s # Output: 846s # /* 846s # * This file is generated by gdbus-codegen, do not modify it. 846s # * 846s # * The license of this code is the same as for the D-Bus interface description 846s # * it was derived from. Note that it links to GLib, so must comply with the 846s # * LGPL linking clauses. 846s # */ 846s # 846s # #ifndef __STDOUT__ 846s # #define __STDOUT__ 846s # 846s # #include 846s # 846s # G_BEGIN_DECLS 846s # 846s # 846s # /* ------------------------------------------------------------------------ */ 846s # /* Declarations for FDPassing */ 846s # 846s # #define TYPE_FDPASSING (fdpassing_get_type ()) 846s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 846s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 846s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 846s # 846s # struct _FDPassing; 846s # typedef struct _FDPassing FDPassing; 846s # typedef struct _FDPassingIface FDPassingIface; 846s # 846s # struct _FDPassingIface 846s # { 846s # GTypeInterface parent_iface; 846s # 846s # gboolean (*handle_hello_fd) ( 846s # FDPassing *object, 846s # GDBusMethodInvocation *invocation, 846s # GUnixFDList *fd_list, 846s # const gchar *arg_greeting); 846s # 846s # gboolean (*handle_no_annotation) ( 846s # FDPassing *object, 846s # GDBusMethodInvocation *invocation, 846s # GUnixFDList *fd_list, 846s # GVariant *arg_greeting, 846s # const gchar *arg_greeting_locale); 846s # 846s # gboolean (*handle_no_annotation_nested) ( 846s # FDPassing *object, 846s # GDBusMethodInvocation *invocation, 846s # GUnixFDList *fd_list, 846s # GVariant *arg_files); 846s # 846s # }; 846s # 846s # GType fdpassing_get_type (void) G_GNUC_CONST; 846s # 846s # GDBusInterfaceInfo *fdpassing_interface_info (void); 846s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 846s # 846s # 846s # /* D-Bus method call completion functions: */ 846s # void fdpassing_complete_hello_fd ( 846s # FDPassing *object, 846s # GDBusMethodInvocation *invocation, 846s # GUnixFDList *fd_list, 846s # const gchar *response); 846s # 846s # void fdpassing_complete_no_annotation ( 846s # FDPassing *object, 846s # GDBusMethodInvocation *invocation, 846s # GUnixFDList *fd_list, 846s # GVariant *response, 846s # const gchar *response_locale); 846s # 846s # void fdpassing_complete_no_annotation_nested ( 846s # FDPassing *object, 846s # GDBusMethodInvocation *invocation, 846s # GUnixFDList *fd_list); 846s # 846s # 846s # 846s # /* D-Bus method calls: */ 846s # void fdpassing_call_hello_fd ( 846s # FDPassing *proxy, 846s # const gchar *arg_greeting, 846s # GDBusCallFlags call_flags, 846s # gint timeout_msec, 846s # GUnixFDList *fd_list, 846s # GCancellable *cancellable, 846s # GAsyncReadyCallback callback, 846s # gpointer user_data); 846s # 846s # gboolean fdpassing_call_hello_fd_finish ( 846s # FDPassing *proxy, 846s # gchar **out_response, 846s # GUnixFDList **out_fd_list, 846s # GAsyncResult *res, 846s # GError **error); 846s # 846s # gboolean fdpassing_call_hello_fd_sync ( 846s # FDPassing *proxy, 846s # const gchar *arg_greeting, 846s # GDBusCallFlags call_flags, 846s # gint timeout_msec, 846s # GUnixFDList *fd_list, 846s # gchar **out_response, 846s # GUnixFDList **out_fd_list, 846s # GCancellable *cancellable, 846s # GError **error); 846s # 846s # void fdpassing_call_no_annotation ( 846s # FDPassing *proxy, 846s # GVariant *arg_greeting, 846s # const gchar *arg_greeting_locale, 846s # GDBusCallFlags call_flags, 846s # gint timeout_msec, 846s # GUnixFDList *fd_list, 846s # GCancellable *cancellable, 846s # GAsyncReadyCallback callback, 846s # gpointer user_data); 846s # 846s # gboolean fdpassing_call_no_annotation_finish ( 846s # FDPassing *proxy, 846s # GVariant **out_response, 846s # gchar **out_response_locale, 846s # GUnixFDList **out_fd_list, 846s # GAsyncResult *res, 846s # GError **error); 846s # 846s # gboolean fdpassing_call_no_annotation_sync ( 846s # FDPassing *proxy, 846s # GVariant *arg_greeting, 846s # const gchar *arg_greeting_locale, 846s # GDBusCallFlags call_flags, 846s # gint timeout_msec, 846s # GUnixFDList *fd_list, 846s # GVariant **out_response, 846s # gchar **out_response_locale, 846s # GUnixFDList **out_fd_list, 846s # GCancellable *cancellable, 846s # GError **error); 846s # 846s # void fdpassing_call_no_annotation_nested ( 846s # FDPassing *proxy, 846s # GVariant *arg_files, 846s # GDBusCallFlags call_flags, 846s # gint timeout_msec, 846s # GUnixFDList *fd_list, 846s # GCancellable *cancellable, 846s # GAsyncReadyCallback callback, 846s # gpointer user_data); 846s # 846s # gboolean fdpassing_call_no_annotation_nested_finish ( 846s # FDPassing *proxy, 846s # GUnixFDList **out_fd_list, 846s # GAsyncResult *res, 846s # GError **error); 846s # 846s # gboolean fdpassing_call_no_annotation_nested_sync ( 846s # FDPassing *proxy, 846s # GVariant *arg_files, 846s # GDBusCallFlags call_flags, 846s # gint timeout_msec, 846s # GUnixFDList *fd_list, 846s # GUnixFDList **out_fd_list, 846s # GCancellable *cancellable, 846s # GError **error); 846s # 846s # 846s # 846s # /* ---- */ 846s # 846s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 846s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 846s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 846s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 846s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 846s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 846s # 846s # typedef struct _FDPassingProxy FDPassingProxy; 846s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 846s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 846s # 846s # struct _FDPassingProxy 846s # { 846s # /*< private >*/ 846s # GDBusProxy parent_instance; 846s # FDPassingProxyPrivate *priv; 846s # }; 846s # 846s # struct _FDPassingProxyClass 846s # { 846s # GDBusProxyClass parent_class; 846s # }; 846s # 846s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 846s # 846s # #if GLIB_CHECK_VERSION(2, 44, 0) 846s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 846s # #endif 846s # 846s # void fdpassing_proxy_new ( 846s # GDBusConnection *connection, 846s # GDBusProxyFlags flags, 846s # const gchar *name, 846s # const gchar *object_path, 846s # GCancellable *cancellable, 846s # GAsyncReadyCallback callback, 846s # gpointer user_data); 846s # FDPassing *fdpassing_proxy_new_finish ( 846s # GAsyncResult *res, 846s # GError **error); 846s # FDPassing *fdpassing_proxy_new_sync ( 846s # GDBusConnection *connection, 846s # GDBusProxyFlags flags, 846s # const gchar *name, 846s # const gchar *object_path, 846s # GCancellable *cancellable, 846s # GError **error); 846s # 846s # void fdpassing_proxy_new_for_bus ( 846s # GBusType bus_type, 846s # GDBusProxyFlags flags, 846s # const gchar *name, 846s # const gchar *object_path, 846s # GCancellable *cancellable, 846s # GAsyncReadyCallback callback, 846s # gpointer user_data); 846s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 846s # GAsyncResult *res, 846s # GError **error); 846s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 846s # GBusType bus_type, 846s # GDBusProxyFlags flags, 846s # const gchar *name, 846s # const gchar *object_path, 846s # GCancellable *cancellable, 846s # GError **error); 846s # 846s # 846s # /* ---- */ 846s # 846s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 846s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 846s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 846s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 846s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 846s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 846s # 846s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 846s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 846s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 846s # 846s # struct _FDPassingSkeleton 846s # { 846s # /*< private >*/ 846s # GDBusInterfaceSkeleton parent_instance; 846s # FDPassingSkeletonPrivate *priv; 846s # }; 846s # 846s # struct _FDPassingSkeletonClass 846s # { 846s # GDBusInterfaceSkeletonClass parent_class; 846s # }; 846s # 846s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 846s # 846s # #if GLIB_CHECK_VERSION(2, 44, 0) 846s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 846s # #endif 846s # 846s # FDPassing *fdpassing_skeleton_new (void); 846s # 846s # 846s # G_END_DECLS 846s # 846s # #endif /* __STDOUT__ */ 846s # Error: 846s 1..39 846s ok - glib/codegen.py.test 846s # Running test: glib/memchunk.test 846s ok - glib/memchunk.test 846s # Running test: glib/gdbus-addresses.test 846s TAP version 14 846s # random seed: R02Sa7fd4f64db491ff4559348b0b2d99adf 846s 1..1 846s # Start of memchunk tests 846s ok 1 /memchunk/basic 846s # End of memchunk tests 846s TAP version 14 846s # random seed: R02S54423079a89dd70745f0f659aacf65bb 846s 1..9 846s # Start of gdbus tests 846s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_XOZJE3/gdbus/empty-address/.dirs/home 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_XOZJE3/gdbus/empty-address/.dirs/cache 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_XOZJE3/gdbus/empty-address/.dirs/system-config1:/tmp/test_gdbus-addresses_XOZJE3/gdbus/empty-address/.dirs/system-config2 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_XOZJE3/gdbus/empty-address/.dirs/config 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_XOZJE3/gdbus/empty-address/.dirs/system-data1:/tmp/test_gdbus-addresses_XOZJE3/gdbus/empty-address/.dirs/system-data2 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_XOZJE3/gdbus/empty-address/.dirs/data 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_XOZJE3/gdbus/empty-address/.dirs/state 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_XOZJE3/gdbus/empty-address/.dirs/runtime 846s ok 1 /gdbus/empty-address 846s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_XOZJE3/gdbus/unsupported-address/.dirs/home 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_XOZJE3/gdbus/unsupported-address/.dirs/cache 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_XOZJE3/gdbus/unsupported-address/.dirs/system-config1:/tmp/test_gdbus-addresses_XOZJE3/gdbus/unsupported-address/.dirs/system-config2 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_XOZJE3/gdbus/unsupported-address/.dirs/config 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_XOZJE3/gdbus/unsupported-address/.dirs/system-data1:/tmp/test_gdbus-addresses_XOZJE3/gdbus/unsupported-address/.dirs/system-data2 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_XOZJE3/gdbus/unsupported-address/.dirs/data 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_XOZJE3/gdbus/unsupported-address/.dirs/state 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_XOZJE3/gdbus/unsupported-address/.dirs/runtime 846s ok 2 /gdbus/unsupported-address 846s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_XOZJE3/gdbus/address-parsing/.dirs/home 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_XOZJE3/gdbus/address-parsing/.dirs/cache 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_XOZJE3/gdbus/address-parsing/.dirs/system-config1:/tmp/test_gdbus-addresses_XOZJE3/gdbus/address-parsing/.dirs/system-config2 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_XOZJE3/gdbus/address-parsing/.dirs/config 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_XOZJE3/gdbus/address-parsing/.dirs/system-data1:/tmp/test_gdbus-addresses_XOZJE3/gdbus/address-parsing/.dirs/system-data2 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_XOZJE3/gdbus/address-parsing/.dirs/data 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_XOZJE3/gdbus/address-parsing/.dirs/state 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_XOZJE3/gdbus/address-parsing/.dirs/runtime 846s ok 3 /gdbus/address-parsing 846s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_XOZJE3/gdbus/unix-address/.dirs/home 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_XOZJE3/gdbus/unix-address/.dirs/cache 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_XOZJE3/gdbus/unix-address/.dirs/system-config1:/tmp/test_gdbus-addresses_XOZJE3/gdbus/unix-address/.dirs/system-config2 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_XOZJE3/gdbus/unix-address/.dirs/config 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_XOZJE3/gdbus/unix-address/.dirs/system-data1:/tmp/test_gdbus-addresses_XOZJE3/gdbus/unix-address/.dirs/system-data2 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_XOZJE3/gdbus/unix-address/.dirs/data 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_XOZJE3/gdbus/unix-address/.dirs/state 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_XOZJE3/gdbus/unix-address/.dirs/runtime 846s ok 4 /gdbus/unix-address 846s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_XOZJE3/gdbus/nonce-tcp-address/.dirs/home 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_XOZJE3/gdbus/nonce-tcp-address/.dirs/cache 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_XOZJE3/gdbus/nonce-tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_XOZJE3/gdbus/nonce-tcp-address/.dirs/system-config2 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_XOZJE3/gdbus/nonce-tcp-address/.dirs/config 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_XOZJE3/gdbus/nonce-tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_XOZJE3/gdbus/nonce-tcp-address/.dirs/system-data2 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_XOZJE3/gdbus/nonce-tcp-address/.dirs/data 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_XOZJE3/gdbus/nonce-tcp-address/.dirs/state 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_XOZJE3/gdbus/nonce-tcp-address/.dirs/runtime 846s ok 5 /gdbus/nonce-tcp-address 846s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_XOZJE3/gdbus/tcp-address/.dirs/home 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_XOZJE3/gdbus/tcp-address/.dirs/cache 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_XOZJE3/gdbus/tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_XOZJE3/gdbus/tcp-address/.dirs/system-config2 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_XOZJE3/gdbus/tcp-address/.dirs/config 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_XOZJE3/gdbus/tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_XOZJE3/gdbus/tcp-address/.dirs/system-data2 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_XOZJE3/gdbus/tcp-address/.dirs/data 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_XOZJE3/gdbus/tcp-address/.dirs/state 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_XOZJE3/gdbus/tcp-address/.dirs/runtime 846s ok 6 /gdbus/tcp-address 846s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_XOZJE3/gdbus/autolaunch-address/.dirs/home 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_XOZJE3/gdbus/autolaunch-address/.dirs/cache 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_XOZJE3/gdbus/autolaunch-address/.dirs/system-config1:/tmp/test_gdbus-addresses_XOZJE3/gdbus/autolaunch-address/.dirs/system-config2 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_XOZJE3/gdbus/autolaunch-address/.dirs/config 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_XOZJE3/gdbus/autolaunch-address/.dirs/system-data1:/tmp/test_gdbus-addresses_XOZJE3/gdbus/autolaunch-address/.dirs/system-data2 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_XOZJE3/gdbus/autolaunch-address/.dirs/data 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_XOZJE3/gdbus/autolaunch-address/.dirs/state 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_XOZJE3/gdbus/autolaunch-address/.dirs/runtime 846s ok 7 /gdbus/autolaunch-address 846s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_XOZJE3/gdbus/mixed-address/.dirs/home 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_XOZJE3/gdbus/mixed-address/.dirs/cache 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_XOZJE3/gdbus/mixed-address/.dirs/system-config1:/tmp/test_gdbus-addresses_XOZJE3/gdbus/mixed-address/.dirs/system-config2 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_XOZJE3/gdbus/mixed-address/.dirs/config 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_XOZJE3/gdbus/mixed-address/.dirs/system-data1:/tmp/test_gdbus-addresses_XOZJE3/gdbus/mixed-address/.dirs/system-data2 846s ok - glib/gdbus-addresses.test 846s # Running test: glib/print.test 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_XOZJE3/gdbus/mixed-address/.dirs/data 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_XOZJE3/gdbus/mixed-address/.dirs/state 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_XOZJE3/gdbus/mixed-address/.dirs/runtime 846s ok 8 /gdbus/mixed-address 846s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_XOZJE3/gdbus/escape-address/.dirs/home 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_XOZJE3/gdbus/escape-address/.dirs/cache 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_XOZJE3/gdbus/escape-address/.dirs/system-config1:/tmp/test_gdbus-addresses_XOZJE3/gdbus/escape-address/.dirs/system-config2 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_XOZJE3/gdbus/escape-address/.dirs/config 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_XOZJE3/gdbus/escape-address/.dirs/system-data1:/tmp/test_gdbus-addresses_XOZJE3/gdbus/escape-address/.dirs/system-data2 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_XOZJE3/gdbus/escape-address/.dirs/data 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_XOZJE3/gdbus/escape-address/.dirs/state 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_XOZJE3/gdbus/escape-address/.dirs/runtime 846s ok 9 /gdbus/escape-address 846s # End of gdbus tests 846s TAP version 14 846s # random seed: R02Sf3c9361058b26886a8c6c3362dcd2445 846s ok - glib/print.test 846s # Running test: glib/gdbus-export.test 846s 1..1 846s ok 1 /print-console # SKIP Testing console output only supported on Windows 846s TAP version 14 846s # random seed: R02Sac05d4dc316609b3602588481d3b3653 846s 1..7 846s # Start of gdbus tests 846s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_DMYJE3/gdbus/object-registration/.dirs/home 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_DMYJE3/gdbus/object-registration/.dirs/cache 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_DMYJE3/gdbus/object-registration/.dirs/system-config1:/tmp/test_gdbus-export_DMYJE3/gdbus/object-registration/.dirs/system-config2 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_DMYJE3/gdbus/object-registration/.dirs/config 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_DMYJE3/gdbus/object-registration/.dirs/system-data1:/tmp/test_gdbus-export_DMYJE3/gdbus/object-registration/.dirs/system-data2 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_DMYJE3/gdbus/object-registration/.dirs/data 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_DMYJE3/gdbus/object-registration/.dirs/state 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_DMYJE3/gdbus/object-registration/.dirs/runtime 846s ok 1 /gdbus/object-registration 846s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_DMYJE3/gdbus/object-registration-with-closures/.dirs/home 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_DMYJE3/gdbus/object-registration-with-closures/.dirs/cache 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_DMYJE3/gdbus/object-registration-with-closures/.dirs/system-config1:/tmp/test_gdbus-export_DMYJE3/gdbus/object-registration-with-closures/.dirs/system-config2 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_DMYJE3/gdbus/object-registration-with-closures/.dirs/config 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_DMYJE3/gdbus/object-registration-with-closures/.dirs/system-data1:/tmp/test_gdbus-export_DMYJE3/gdbus/object-registration-with-closures/.dirs/system-data2 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_DMYJE3/gdbus/object-registration-with-closures/.dirs/data 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_DMYJE3/gdbus/object-registration-with-closures/.dirs/state 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_DMYJE3/gdbus/object-registration-with-closures/.dirs/runtime 846s ok 2 /gdbus/object-registration-with-closures 846s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_DMYJE3/gdbus/object-registration-with-closures2/.dirs/home 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_DMYJE3/gdbus/object-registration-with-closures2/.dirs/cache 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_DMYJE3/gdbus/object-registration-with-closures2/.dirs/system-config1:/tmp/test_gdbus-export_DMYJE3/gdbus/object-registration-with-closures2/.dirs/system-config2 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_DMYJE3/gdbus/object-registration-with-closures2/.dirs/config 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_DMYJE3/gdbus/object-registration-with-closures2/.dirs/system-data1:/tmp/test_gdbus-export_DMYJE3/gdbus/object-registration-with-closures2/.dirs/system-data2 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_DMYJE3/gdbus/object-registration-with-closures2/.dirs/data 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_DMYJE3/gdbus/object-registration-with-closures2/.dirs/state 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_DMYJE3/gdbus/object-registration-with-closures2/.dirs/runtime 846s ok 3 /gdbus/object-registration-with-closures2 846s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_DMYJE3/gdbus/registered-interfaces/.dirs/home 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_DMYJE3/gdbus/registered-interfaces/.dirs/cache 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_DMYJE3/gdbus/registered-interfaces/.dirs/system-config1:/tmp/test_gdbus-export_DMYJE3/gdbus/registered-interfaces/.dirs/system-config2 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_DMYJE3/gdbus/registered-interfaces/.dirs/config 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_DMYJE3/gdbus/registered-interfaces/.dirs/system-data1:/tmp/test_gdbus-export_DMYJE3/gdbus/registered-interfaces/.dirs/system-data2 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_DMYJE3/gdbus/registered-interfaces/.dirs/data 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_DMYJE3/gdbus/registered-interfaces/.dirs/state 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_DMYJE3/gdbus/registered-interfaces/.dirs/runtime 846s ok 4 /gdbus/registered-interfaces 846s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_DMYJE3/gdbus/async-properties/.dirs/home 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_DMYJE3/gdbus/async-properties/.dirs/cache 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_DMYJE3/gdbus/async-properties/.dirs/system-config1:/tmp/test_gdbus-export_DMYJE3/gdbus/async-properties/.dirs/system-config2 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_DMYJE3/gdbus/async-properties/.dirs/config 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_DMYJE3/gdbus/async-properties/.dirs/system-data1:/tmp/test_gdbus-export_DMYJE3/gdbus/async-properties/.dirs/system-data2 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_DMYJE3/gdbus/async-properties/.dirs/data 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_DMYJE3/gdbus/async-properties/.dirs/state 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_DMYJE3/gdbus/async-properties/.dirs/runtime 846s ok 5 /gdbus/async-properties 846s # Start of threaded-unregistration tests 846s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_DMYJE3/gdbus/threaded-unregistration/object/.dirs/home 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_DMYJE3/gdbus/threaded-unregistration/object/.dirs/cache 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_DMYJE3/gdbus/threaded-unregistration/object/.dirs/system-config1:/tmp/test_gdbus-export_DMYJE3/gdbus/threaded-unregistration/object/.dirs/system-config2 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_DMYJE3/gdbus/threaded-unregistration/object/.dirs/config 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_DMYJE3/gdbus/threaded-unregistration/object/.dirs/system-data1:/tmp/test_gdbus-export_DMYJE3/gdbus/threaded-unregistration/object/.dirs/system-data2 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_DMYJE3/gdbus/threaded-unregistration/object/.dirs/data 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_DMYJE3/gdbus/threaded-unregistration/object/.dirs/state 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_DMYJE3/gdbus/threaded-unregistration/object/.dirs/runtime 846s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 846s # /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 847s ok 6 /gdbus/threaded-unregistration/object # SKIP Failed to reproduce race (21 iterations with unregistration first, 979 with call first); skipping test 847s # slow test /gdbus/threaded-unregistration/object executed in 1.35 secs 847s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_DMYJE3/gdbus/threaded-unregistration/subtree/.dirs/home 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_DMYJE3/gdbus/threaded-unregistration/subtree/.dirs/cache 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_DMYJE3/gdbus/threaded-unregistration/subtree/.dirs/system-config1:/tmp/test_gdbus-export_DMYJE3/gdbus/threaded-unregistration/subtree/.dirs/system-config2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_DMYJE3/gdbus/threaded-unregistration/subtree/.dirs/config 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_DMYJE3/gdbus/threaded-unregistration/subtree/.dirs/system-data1:/tmp/test_gdbus-export_DMYJE3/gdbus/threaded-unregistration/subtree/.dirs/system-data2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_DMYJE3/gdbus/threaded-unregistration/subtree/.dirs/data 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_DMYJE3/gdbus/threaded-unregistration/subtree/.dirs/state 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_DMYJE3/gdbus/threaded-unregistration/subtree/.dirs/runtime 847s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 847s # /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 848s # Executing: glib/gdbus-export.test 849s ok 7 /gdbus/threaded-unregistration/subtree # SKIP Failed to reproduce race (23 iterations with unregistration first, 977 with call first); skipping test 849s # slow test /gdbus/threaded-unregistration/subtree executed in 1.49 secs 849s # End of threaded-unregistration tests 849s # End of gdbus tests 849s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 849s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 849s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 849s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 849s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 849s TAP version 14 849s # random seed: R02Seddc807261cd88d7cefe5df1550456cd 849s 1..42 849s # Start of tls-interaction tests 849s # Start of ask-password tests 849s # Start of invoke-with-loop tests 849s ok 1 /tls-interaction/ask-password/invoke-with-loop/unhandled-implementation 849s ok 2 /tls-interaction/ask-password/invoke-with-loop/async-implementation-success 849s ok 3 /tls-interaction/ask-password/invoke-with-loop/async-implementation-failure 849s ok 4 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-success 849s ok - glib/gdbus-export.test 849s # Running test: glib/tls-interaction.test 849s ok 5 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-failure 849s # End of invoke-with-loop tests 849s # Start of invoke-without-loop tests 849s ok 6 /tls-interaction/ask-password/invoke-without-loop/unhandled-implementation 849s ok 7 /tls-interaction/ask-password/invoke-without-loop/async-implementation-success 849s ok 8 /tls-interaction/ask-password/invoke-without-loop/async-implementation-failure 849s ok 9 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-success 849s ok 10 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-failure 849s # End of invoke-without-loop tests 849s # Start of invoke-in-loop tests 849s ok 11 /tls-interaction/ask-password/invoke-in-loop/unhandled-implementation 849s ok 12 /tls-interaction/ask-password/invoke-in-loop/async-implementation-success 849s ok 13 /tls-interaction/ask-password/invoke-in-loop/async-implementation-failure 849s ok 14 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-success 849s ok 15 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-failure 849s # End of invoke-in-loop tests 849s # Start of sync tests 849s ok 16 /tls-interaction/ask-password/sync/unhandled-implementation 849s ok 17 /tls-interaction/ask-password/sync/sync-implementation-success 849s ok 18 /tls-interaction/ask-password/sync/sync-implementation-failure 849s # End of sync tests 849s # Start of async tests 849s ok 19 /tls-interaction/ask-password/async/unhandled-implementation 849s ok 20 /tls-interaction/ask-password/async/async-implementation-success 849s ok 21 /tls-interaction/ask-password/async/async-implementation-failure 849s # End of async tests 849s # End of ask-password tests 849s # Start of request-certificate tests 849s # Start of invoke-with-loop tests 849s ok 22 /tls-interaction/request-certificate/invoke-with-loop/unhandled-implementation 849s ok 23 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-success 849s ok 24 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-failure 849s ok 25 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-success 849s ok 26 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-failure 849s # End of invoke-with-loop tests 849s # Start of invoke-without-loop tests 849s ok 27 /tls-interaction/request-certificate/invoke-without-loop/unhandled-implementation 849s ok 28 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-success 849s ok 29 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-failure 849s ok 30 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-success 849s ok 31 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-failure 849s # End of invoke-without-loop tests 849s # Start of invoke-in-loop tests 849s ok 32 /tls-interaction/request-certificate/invoke-in-loop/unhandled-implementation 849s ok 33 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-success 849s ok 34 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-failure 849s ok 35 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-success 849s ok 36 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-failure 849s # End of invoke-in-loop tests 849s # Start of sync tests 849s ok 37 /tls-interaction/request-certificate/sync/unhandled-implementation 849s ok 38 /tls-interaction/request-certificate/sync/sync-implementation-success 849s ok 39 /tls-interaction/request-certificate/sync/sync-implementation-failure 849s # End of sync tests 849s # Start of async tests 849s ok 40 /tls-interaction/request-certificate/async/unhandled-implementation 849s ok 41 /tls-interaction/request-certificate/async/async-implementation-success 849s ok 42 /tls-interaction/request-certificate/async/async-implementation-failure 849s # End of async tests 849s # End of request-certificate tests 849s # End of tls-interaction tests 849s TAP version 14 849s # random seed: R02S0a0fe5e9b8448fb075db54ab36a14265 849s 1..1 849s # Start of portal-support tests 849s # Start of flatpak tests 849s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-full_LLALE3/portal-support/flatpak/full/.dirs/home 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-full_LLALE3/portal-support/flatpak/full/.dirs/cache 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-full_LLALE3/portal-support/flatpak/full/.dirs/system-config1:/tmp/test_portal-support-flatpak-full_LLALE3/portal-support/flatpak/full/.dirs/system-config2 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-full_LLALE3/portal-support/flatpak/full/.dirs/config 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-full_LLALE3/portal-support/flatpak/full/.dirs/system-data1:/tmp/test_portal-support-flatpak-full_LLALE3/portal-support/flatpak/full/.dirs/system-data2 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-full_LLALE3/portal-support/flatpak/full/.dirs/data 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-full_LLALE3/portal-support/flatpak/full/.dirs/state 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-full_LLALE3/portal-support/flatpak/full/.dirs/runtime 849s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-full_LLALE3/portal-support/flatpak/full/.dirs/runtime/.flatpak-info 849s ok 1 /portal-support/flatpak/full 849s # End of flatpak tests 849s # End of portal-support tests 849s TAP version 14 849s # random seed: R02Sd138b97ef588d6c35527abe30af965a8 849s 1..1 849s # Start of gobject tests 849s ok 1 /gobject/basic-signals 849s # End of gobject tests 849s TAP version 14 849s # random seed: R02Sfd3d2eff0443f637a70c487cd17e80fb 849s 1..6 849s # Start of glib tests 849s # Start of checked-math tests 849s ok 1 /glib/checked-math/guint-add 849s ok 2 /glib/checked-math/guint-mul 849s ok 3 /glib/checked-math/guint64-add 849s ok 4 /glib/checked-math/guint64-mul 849s ok 5 /glib/checked-math/gsize-add 849s ok 6 /glib/checked-math/gsize-mul 849s # End of checked-math tests 849s # End of glib tests 849s TAP version 14 849s # random seed: R02Sb1cb47fafc837a985f60f3b0fb5289c7 849s 1..4 849s # Start of struct-info tests 849s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_1M3KE3/struct-info/field-iterators/.dirs/home 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_1M3KE3/struct-info/field-iterators/.dirs/cache 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_1M3KE3/struct-info/field-iterators/.dirs/system-config1:/tmp/test_struct-info_1M3KE3/struct-info/field-iterators/.dirs/system-config2 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_1M3KE3/struct-info/field-iterators/.dirs/config 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_1M3KE3/struct-info/field-iterators/.dirs/system-data1:/tmp/test_struct-info_1M3KE3/struct-info/field-iterators/.dirs/system-data2 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_1M3KE3/struct-info/field-iterators/.dirs/data 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_1M3KE3/struct-info/field-iterators/.dirs/state 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_1M3KE3/struct-info/field-iterators/.dirs/runtime 849s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 849s # /struct-info/field-iterators summary: Test iterating through a struct's fields with gi_struct_info_get_field() 849s ok 1 /struct-info/field-iterators 849s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_1M3KE3/struct-info/sizeof-gvalue/.dirs/home 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_1M3KE3/struct-info/sizeof-gvalue/.dirs/cache 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_1M3KE3/struct-info/sizeof-gvalue/.dirs/system-config1:/tmp/test_struct-info_1M3KE3/struct-info/sizeof-gvalue/.dirs/system-config2 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_1M3KE3/struct-info/sizeof-gvalue/.dirs/config 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_1M3KE3/struct-info/sizeof-gvalue/.dirs/system-data1:/tmp/test_struct-info_1M3KE3/struct-info/sizeof-gvalue/.dirs/system-data2 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_1M3KE3/struct-info/sizeof-gvalue/.dirs/data 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_1M3KE3/struct-info/sizeof-gvalue/.dirs/state 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_1M3KE3/struct-info/sizeof-gvalue/.dirs/runtime 849s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 849s # /struct-info/sizeof-gvalue summary: Test that gi_struct_info_get_size() reports the correct sizeof GValue 849s ok 2 /struct-info/sizeof-gvalue 849s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_1M3KE3/struct-info/is-pointer-for-struct-method-arg/.dirs/home 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_1M3KE3/struct-info/is-pointer-for-struct-method-arg/.dirs/cache 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_1M3KE3/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config1:/tmp/test_struct-info_1M3KE3/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config2 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_1M3KE3/struct-info/is-pointer-for-struct-method-arg/.dirs/config 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_1M3KE3/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data1:/tmp/test_struct-info_1M3KE3/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data2 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_1M3KE3/struct-info/is-pointer-for-struct-method-arg/.dirs/data 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_1M3KE3/struct-info/is-pointer-for-struct-method-arg/.dirs/state 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_1M3KE3/struct-info/is-pointer-for-struct-method-arg/.dirs/runtime 849s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 849s # /struct-info/is-pointer-for-struct-method-arg summary: Test that a struct method reports the correct type with gi_type_info_is_pointer() 849s ok 3 /struct-info/is-pointer-for-struct-method-arg 849s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_1M3KE3/struct-info/boxed/.dirs/home 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_1M3KE3/struct-info/boxed/.dirs/cache 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_1M3KE3/struct-info/boxed/.dirs/system-config1:/tmp/test_struct-info_1M3KE3/struct-info/boxed/.dirs/system-config2 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_1M3KE3/struct-info/boxed/.dirs/config 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_1M3KE3/struct-info/boxed/.dirs/system-data1:/tmp/test_struct-info_1M3KE3/struct-info/boxed/.dirs/system-data2 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_1M3KE3/struct-info/boxed/.dirs/data 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_1M3KE3/struct-info/boxed/.dirs/state 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_1M3KE3/struct-info/boxed/.dirs/runtime 849s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 849s # /struct-info/boxed summary: Test that a boxed struct is recognised as such 849s ok 4 /struct-info/boxed 849s # End of struct-info tests 849s TAP version 14 849s # random seed: R02S89e162cd88f6559da83622d50e529fb5 849s 1..1 849s # Start of include tests 849s ok 1 /include/rwlock 849s # End of include tests 849s TAP version 14 849s # random seed: R02Sbf2c448fb72a449b6730cbf02e90614c 849s 1..18 849s # Start of glistmodel tests 849s # Start of store tests 849s ok 1 /glistmodel/store/properties 849s ok 2 /glistmodel/store/non-gobjects 849s ok 3 /glistmodel/store/boundaries 849s ok 4 /glistmodel/store/refcounts 849s ok 5 /glistmodel/store/sorted 849s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 849s ok 6 /glistmodel/store/splice-replace-middle 849s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 849s ok 7 /glistmodel/store/splice-replace-all 849s ok 8 /glistmodel/store/splice-noop 849s ok 9 /glistmodel/store/splice-remove-multiple 849s ok 10 /glistmodel/store/splice-add-multiple 849s ok 11 /glistmodel/store/splice-wrong-type 849s ok 12 /glistmodel/store/item-type 849s ok 13 /glistmodel/store/remove-all 849s ok 14 /glistmodel/store/sort 849s ok 15 /glistmodel/store/get-item-cache 849s ok 16 /glistmodel/store/items-changed 849s ok 17 /glistmodel/store/past-end 849s ok 18 /glistmodel/store/find 849s # End of store tests 849s # End of glistmodel tests 849s TAP version 14 849s # random seed: R02S701fd67aaef94d171477d207083cc8b0 849s 1..14 849s # Start of slist tests 849s ok 1 /slist/sort 849s ok 2 /slist/sort-with-data 849s ok 3 /slist/insert-sorted 849s ok 4 /slist/insert-sorted-with-data 849s ok 5 /slist/reverse 849s ok 6 /slist/nth 849s ok 7 /slist/remove 849s ok 8 /slist/remove-all 849s ok 9 /slist/insert 849s ok 10 /slist/position 849s ok 11 /slist/concat 849s ok 12 /slist/copy 849s # Start of sort tests 849s ok 13 /slist/sort/stable 849s # End of sort tests 849s # Start of copy tests 849s ok 14 /slist/copy/deep 849s # End of copy tests 849s # End of slist tests 849s TAP version 14 849s # random seed: R02Sa9e4525e377df5de709388d5c534dd59 849s 1..69 849s # Start of gvariant tests 849s ok - glib/tls-interaction.test 849s # Running test: glib/portal-support-flatpak-full.test 849s ok - glib/portal-support-flatpak-full.test 849s # Running test: glib/basic-signals.test 849s ok - glib/basic-signals.test 849s # Running test: glib/overflow-fallback.test 849s ok - glib/overflow-fallback.test 849s # Running test: glib/struct-info.test 849s ok - glib/struct-info.test 849s # Running test: glib/include.test 849s ok - glib/include.test 849s # Running test: glib/glistmodel.test 849s ok - glib/glistmodel.test 849s # Running test: glib/slist.test 849s ok - glib/slist.test 849s # Running test: glib/gvariant.test 849s ok 1 /gvariant/type 849s ok 2 /gvariant/typeinfo 849s ok 3 /gvariant/string 849s ok 4 /gvariant/utf8 849s ok 5 /gvariant/utf8-new-strings 849s ok 6 /gvariant/containers 849s ok 7 /gvariant/format-strings 849s ok 8 /gvariant/invalid-varargs 849s ok 9 /gvariant/varargs 849s ok 10 /gvariant/valist 849s ok 11 /gvariant/builder-memory 850s ok 12 /gvariant/hashing 850s ok 13 /gvariant/byteswap 850s ok 14 /gvariant/parser 850s ok 15 /gvariant/parse-failures 850s ok 16 /gvariant/parse-positional 850s ok 17 /gvariant/floating 850s ok 18 /gvariant/bytestring 850s ok 19 /gvariant/lookup-value 850s ok 20 /gvariant/lookup 850s ok 21 /gvariant/compare 850s ok 22 /gvariant/equal 850s ok 23 /gvariant/fixed-array 850s ok 24 /gvariant/check-format-string 850s ok 25 /gvariant/checksum-basic 850s ok 26 /gvariant/checksum-nested 850s ok 27 /gvariant/gbytes 850s ok 28 /gvariant/print-context 850s ok 29 /gvariant/error-quark 850s ok 30 /gvariant/stack-builder-init 850s ok 31 /gvariant/stack-builder-init-static 850s ok 32 /gvariant/stack-builder-init-unset 850s ok 33 /gvariant/stack-dict-init 850s ok 34 /gvariant/unaligned-construction 850s # Start of type tests 850s # Start of string-scan tests 850s # Start of recursion tests 850s ok 35 /gvariant/type/string-scan/recursion/tuple 850s ok 36 /gvariant/type/string-scan/recursion/array 850s # End of recursion tests 850s # End of string-scan tests 850s # End of type tests 850s # Start of serialiser tests 850s ok 37 /gvariant/serialiser/maybe 850s ok 38 /gvariant/serialiser/array 850s ok 39 /gvariant/serialiser/tuple 850s ok 40 /gvariant/serialiser/variant 850s ok 41 /gvariant/serialiser/strings 853s ok 42 /gvariant/serialiser/byteswap 853s # slow test /gvariant/serialiser/byteswap executed in 2.51 secs 853s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1865 853s # /gvariant/serialiser/children summary: Test that getting a child variant before and after serialisation of the parent works 853s ok 43 /gvariant/serialiser/children 853s # Start of byteswap tests 853s ok 44 /gvariant/serialiser/byteswap/zero-sized 853s # End of byteswap tests 853s # Start of fuzz tests 853s # Executing: glib/gvariant.test 853s ok 45 /gvariant/serialiser/fuzz/1% 853s # slow test /gvariant/serialiser/fuzz/1% executed in 0.50 secs 854s ok 46 /gvariant/serialiser/fuzz/5% 854s # slow test /gvariant/serialiser/fuzz/5% executed in 0.87 secs 858s # Executing: glib/gvariant.test 859s ok 47 /gvariant/serialiser/fuzz/9% 859s # slow test /gvariant/serialiser/fuzz/9% executed in 5.15 secs 860s ok 48 /gvariant/serialiser/fuzz/13% 860s ok 49 /gvariant/serialiser/fuzz/17% 860s # End of fuzz tests 860s # End of serialiser tests 860s # Start of utf8 tests 860s # Start of subprocess tests 860s # End of subprocess tests 860s # End of utf8 tests 860s # Start of varargs tests 860s # Start of subprocess tests 860s # End of subprocess tests 860s # End of varargs tests 860s # Start of byteswap tests 860s # /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. 860s ok 50 /gvariant/byteswap/non-normal-non-aligned 860s # End of byteswap tests 860s # Start of parser tests 860s ok 51 /gvariant/parser/integer-bounds 860s ok 52 /gvariant/parser/recursion 860s # Start of recursion tests 860s ok 53 /gvariant/parser/recursion/typedecls 860s # /gvariant/parser/recursion/maybes summary: Test that nested maybes are handled correctly when parsing text-form variants 860s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2782 860s # Text form 0: @mmmu 5 860s # Text form 1: @mmmas ['hello'] 860s # Text form 2: @mmmu just just nothing 860s # Text form 3: @mmmas just just nothing 860s # Text form 4: @mmmu just nothing 860s # Text form 5: @mmmas just nothing 860s # Text form 6: @mmmu nothing 860s # Text form 7: @mmmas nothing 860s ok 54 /gvariant/parser/recursion/maybes 860s # End of recursion tests 860s # End of parser tests 860s # Start of parse tests 860s # Start of subprocess tests 860s # End of subprocess tests 860s # End of parse tests 860s # Start of normal-checking tests 860s ok 55 /gvariant/normal-checking/tuples 860s ok 56 /gvariant/normal-checking/array-offsets 860s ok 57 /gvariant/normal-checking/array-offsets2 860s ok 58 /gvariant/normal-checking/tuple-offsets 860s ok 59 /gvariant/normal-checking/tuple-offsets2 860s ok 60 /gvariant/normal-checking/tuple-offsets3 860s ok 61 /gvariant/normal-checking/tuple-offsets4 860s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2840 860s ok 62 /gvariant/normal-checking/tuple-offsets5 860s ok 63 /gvariant/normal-checking/empty-object-path 860s # Start of array-offsets tests 860s ok 64 /gvariant/normal-checking/array-offsets/overlapped 860s ok 65 /gvariant/normal-checking/array-offsets/minimal-sized 860s # End of array-offsets tests 860s # Start of tuple-offsets tests 860s ok 66 /gvariant/normal-checking/tuple-offsets/minimal-sized 860s # End of tuple-offsets tests 860s # End of normal-checking tests 860s # Start of recursion-limits tests 860s ok 67 /gvariant/recursion-limits/variant-in-variant 860s ok 68 /gvariant/recursion-limits/array-in-variant 860s # End of recursion-limits tests 860s # End of gvariant tests 860s # Start of gvarianttype tests 860s ok 69 /gvarianttype/hash 860s # End of gvarianttype tests 860s ok - glib/gvariant.test 860s # Running test: glib/dir.test 860s TAP version 14 860s # random seed: R02Sff4f22349142d0e5ff2dc74b54a8913e 860s 1..3 860s # Start of dir tests 860s ok 1 /dir/read 860s ok 2 /dir/nonexisting 860s # /dir/refcounting summary: Test refcounting interactions with g_dir_close() 860s ok 3 /dir/refcounting 860s # End of dir tests 860s ok - glib/dir.test 860s # Running test: glib/application-command-line.test 860s ok - glib/application-command-line.test 860s # Running test: glib/private.test 860s TAP version 14 860s # random seed: R02S53783ef93bb8bd680198960fefa2dfe6 860s 1..1 860s # Start of application-command-line tests 860s ok 1 /application-command-line/basic-properties 860s # End of application-command-line tests 860s TAP version 14 860s # random seed: R02S218b4f7adb68e4c3e232669769b9010b 860s 1..8 860s # Start of thread tests 860s ok 1 /thread/private1 861s ok 2 /thread/private2 861s # slow test /thread/private2 executed in 1.09 secs 861s ok 3 /thread/private3 861s ok 4 /thread/staticprivate1 861s ok 5 /thread/staticprivate2 861s ok 6 /thread/staticprivate3 862s ok 7 /thread/staticprivate4 862s # slow test /thread/staticprivate4 executed in 1.08 secs 862s ok 8 /thread/staticprivate5 862s # End of thread tests 862s ok - glib/private.test 862s # Running test: glib/fileattributematcher.test 862s TAP version 14 862s # random seed: R02S1893bb95f11e069a0b6ad38c073f204b 862s 1..3 862s # Start of fileattributematcher tests 862s ok 1 /fileattributematcher/exact 862s ok 2 /fileattributematcher/equality 862s ok - glib/fileattributematcher.test 862s # Running test: glib/markup-escape.test 862s ok - glib/markup-escape.test 862s # Running test: glib/gdbus-method-invocation.test 862s ok - glib/gdbus-method-invocation.test 862s # Running test: glib/enums.test 862s ok - glib/enums.test 862s # Running test: glib/proxy-test.test 862s ok 3 /fileattributematcher/subtract 862s # End of fileattributematcher tests 862s TAP version 14 862s # random seed: R02S5cf093abaa43cfb069de07bdfc75b526 862s 1..41 862s # Start of markup tests 862s ok 1 /markup/format 862s # Start of escape-text tests 862s ok 2 /markup/escape-text/0 862s ok 3 /markup/escape-text/1 862s ok 4 /markup/escape-text/2 862s ok 5 /markup/escape-text/3 862s ok 6 /markup/escape-text/4 862s ok 7 /markup/escape-text/5 862s ok 8 /markup/escape-text/6 862s ok 9 /markup/escape-text/7 862s ok 10 /markup/escape-text/8 862s ok 11 /markup/escape-text/9 862s ok 12 /markup/escape-text/10 862s ok 13 /markup/escape-text/11 862s ok 14 /markup/escape-text/12 862s ok 15 /markup/escape-text/13 862s ok 16 /markup/escape-text/14 862s ok 17 /markup/escape-text/15 862s ok 18 /markup/escape-text/16 862s ok 19 /markup/escape-text/17 862s ok 20 /markup/escape-text/18 862s ok 21 /markup/escape-text/19 862s ok 22 /markup/escape-text/20 862s ok 23 /markup/escape-text/21 862s ok 24 /markup/escape-text/22 862s # End of escape-text tests 862s # Start of escape-unichar tests 862s ok 25 /markup/escape-unichar/0 862s ok 26 /markup/escape-unichar/1 862s ok 27 /markup/escape-unichar/2 862s ok 28 /markup/escape-unichar/3 862s ok 29 /markup/escape-unichar/4 862s ok 30 /markup/escape-unichar/5 862s ok 31 /markup/escape-unichar/6 862s ok 32 /markup/escape-unichar/7 862s ok 33 /markup/escape-unichar/8 862s ok 34 /markup/escape-unichar/9 862s ok 35 /markup/escape-unichar/10 862s ok 36 /markup/escape-unichar/11 862s ok 37 /markup/escape-unichar/12 862s ok 38 /markup/escape-unichar/13 862s ok 39 /markup/escape-unichar/14 862s ok 40 /markup/escape-unichar/15 862s ok 41 /markup/escape-unichar/16 862s # End of escape-unichar tests 862s # End of markup tests 862s TAP version 14 862s # random seed: R02S4cc0d222ba133111c587b528f1e3432f 862s 1..1 862s # Start of gdbus tests 862s # Start of method-invocation tests 862s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-method-invocation_6R1TE3/gdbus/method-invocation/return/.dirs/home 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-method-invocation_6R1TE3/gdbus/method-invocation/return/.dirs/cache 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-method-invocation_6R1TE3/gdbus/method-invocation/return/.dirs/system-config1:/tmp/test_gdbus-method-invocation_6R1TE3/gdbus/method-invocation/return/.dirs/system-config2 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-method-invocation_6R1TE3/gdbus/method-invocation/return/.dirs/config 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-method-invocation_6R1TE3/gdbus/method-invocation/return/.dirs/system-data1:/tmp/test_gdbus-method-invocation_6R1TE3/gdbus/method-invocation/return/.dirs/system-data2 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-method-invocation_6R1TE3/gdbus/method-invocation/return/.dirs/data 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-method-invocation_6R1TE3/gdbus/method-invocation/return/.dirs/state 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-method-invocation_6R1TE3/gdbus/method-invocation/return/.dirs/runtime 862s # /gdbus/method-invocation/return summary: Test calling g_dbus_method_invocation_return_*() in various ways 862s # Calling org.freedesktop.DBus.Properties.Get 862s # Calling org.freedesktop.DBus.Properties.Get 862s # Calling org.freedesktop.DBus.Properties.Get 862s # Calling org.freedesktop.DBus.Properties.Set 862s # Calling org.freedesktop.DBus.Properties.GetAll 862s # Calling org.example.Foo.WrongReturnType 862s # Calling org.example.Foo.GetFDs 862s # Calling org.example.Foo.GetFDs 862s # Calling org.example.Foo.ReturnError 862s # Calling org.example.Foo.CloseBeforeReturning 862s ok 1 /gdbus/method-invocation/return 862s # End of method-invocation tests 862s # End of gdbus tests 862s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 862s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 862s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 862s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 862s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 862s TAP version 14 862s # random seed: R02S7044bf5e1900cc140dac60fa60206f23 862s 1..4 862s # Start of enum tests 862s ok 1 /enum/basic 862s ok 2 /enum/define-type 862s # End of enum tests 862s # Start of flags tests 862s ok 3 /flags/basic 862s ok 4 /flags/define-type 862s # End of flags tests 862s TAP version 14 862s # random seed: R02S3484ba7242fcba948355769017bc3ca6 862s 1..11 862s # Start of proxy tests 862s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestProxyResolver) for ‘gio-proxy-resolver’ 862s ok 1 /proxy/direct_sync 862s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 862s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1e033046df10 and GSocketClientAsyncConnectData 0x1e033046d430 862s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 862s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 862s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1e033046ea30 for GSocketClientAsyncConnectData 0x1e033046d430 862s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 862s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 862s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 862s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 862s ok 2 /proxy/direct_async 862s ok 3 /proxy/single_sync 862s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 862s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1e033046e4f0 and GSocketClientAsyncConnectData 0x1e033046d430 862s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 862s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 862s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1e033046fb90 for GSocketClientAsyncConnectData 0x1e033046d430 862s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 862s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 862s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 862s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 862s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 862s ok 4 /proxy/single_async 862s ok 5 /proxy/multiple_sync 862s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 862s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1e033046e7e0 and GSocketClientAsyncConnectData 0x1e033046e770 862s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 862s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 862s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1e03304700d0 for GSocketClientAsyncConnectData 0x1e033046e770 862s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 862s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 862s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 862s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 862s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 862s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 862s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1e0330470070 for GSocketClientAsyncConnectData 0x1e033046e770 862s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 862s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 862s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 862s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 862s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 862s ok 6 /proxy/multiple_async 862s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 862s ok 7 /proxy/invalid-uris-sync 862s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 862s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 862s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1e033046e3d0 and GSocketClientAsyncConnectData 0x1e0330470260 862s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 862s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 862s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 862s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 862s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 862s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1e033046e4f0 and GSocketClientAsyncConnectData 0x1e033046e770 862s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 862s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 862s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 862s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 862s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 862s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1e033046e3d0 and GSocketClientAsyncConnectData 0x1e0330470260 862s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 862s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 862s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1e033046ea90 for GSocketClientAsyncConnectData 0x1e0330470260 862s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 862s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 862s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 862s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 862s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 862s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1e033046e4f0 and GSocketClientAsyncConnectData 0x1e0330470260 862s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 862s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 862s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1e03304702d0 for GSocketClientAsyncConnectData 0x1e0330470260 862s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 862s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 862s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 862s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 862s ok 8 /proxy/invalid-uris-async 862s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 862s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1e033046df10 and GSocketClientAsyncConnectData 0x1e0330470260 862s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 862s # GLib-GIO-DEBUG: IPv6 DNS error: Not found 862s # GLib-GIO-DEBUG: IPv4 DNS error: Not found 862s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 862s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Not found 862s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Not found 862s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 862s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1e03304703f0 and GSocketClientAsyncConnectData 0x1e033046e980 862s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 862s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 862s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1e033046f9f0 for GSocketClientAsyncConnectData 0x1e033046e980 862s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 862s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 862s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 862s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 862s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 862s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 862s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 862s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 862s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 862s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1e033046e3d0 and GSocketClientAsyncConnectData 0x1e033046e770 862s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 862s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 862s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1e033046ea90 for GSocketClientAsyncConnectData 0x1e033046e770 862s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 862s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 862s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 862s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 862s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 862s ok 9 /proxy/dns 862s ok - glib/proxy-test.test 862s # Running test: glib/tree.test 862s ok - glib/tree.test 862s # Running test: glib/notify-init2.test 862s ok - glib/notify-init2.test 862s # Running test: glib/thread.test 862s ok - glib/thread.test 862s # Running test: glib/simple-async-result.test 862s ok - glib/simple-async-result.test 862s # Running test: glib/buffered-input-stream.test 862s ok - glib/buffered-input-stream.test 862s # Running test: glib/debugcontroller.test 862s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 862s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1e033046df10 and GSocketClientAsyncConnectData 0x1e033046e770 862s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 862s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 862s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1e033046ea90 for GSocketClientAsyncConnectData 0x1e033046e770 862s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 862s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 862s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 862s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 862s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 862s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 862s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 862s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 862s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 862s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1e033046e3d0 and GSocketClientAsyncConnectData 0x1e033046e5b0 862s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 862s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 862s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1e033046f9f0 for GSocketClientAsyncConnectData 0x1e033046e5b0 862s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 862s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 862s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 862s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 862s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 862s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 862s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1e033046df10 and GSocketClientAsyncConnectData 0x1e0330470260 862s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 862s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 862s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1e03304700d0 for GSocketClientAsyncConnectData 0x1e0330470260 862s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 862s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 862s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 862s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 862s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 862s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 862s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 862s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 862s ok 10 /proxy/override 862s ok 11 /proxy/enumerator-ports 862s # End of proxy tests 862s TAP version 14 862s # random seed: R02S4f335bf11e9d0917d7b64436e3843051 862s 1..7 862s # Start of tree tests 862s ok 1 /tree/search 862s ok 2 /tree/remove 862s ok 3 /tree/destroy 862s ok 4 /tree/traverse 862s ok 5 /tree/insert 862s ok 6 /tree/bounds 862s ok 7 /tree/remove-all 862s # End of tree tests 862s TAP version 14 862s # random seed: R02S902e5ebd82d99793d14593b7ea63d41d 862s 1..1 862s # Start of properties tests 862s # /properties/notify-in-init2 summary: Test that notify freezing during construction of objects with custom constructor works 862s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 862s ok 1 /properties/notify-in-init2 862s # End of properties tests 862s TAP version 14 862s # random seed: R02S435a1bfe1bee4cd5ee954de4cb8f1c22 862s 1..7 862s # Start of thread tests 862s ok 1 /thread/thread1 862s ok 2 /thread/thread2 862s ok 3 /thread/thread3 862s ok 4 /thread/thread4 862s ok 5 /thread/thread5 862s ok 6 /thread/thread6 862s ok 7 /thread/thread7 862s # End of thread tests 862s TAP version 14 862s # random seed: R02S82fcd8434a292af1fe8358450d92f5b6 862s 1..2 862s # Start of gio tests 862s # Start of simple-async-result tests 862s ok 1 /gio/simple-async-result/test 862s # GLib-GIO-DEBUG: GTask 0x3c8c3ba5b10 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 862s ok 2 /gio/simple-async-result/valid 862s # End of simple-async-result tests 862s # End of gio tests 862s TAP version 14 862s # random seed: R02S9452b647eb1672b35407397779a1bcf6 862s 1..10 862s # Start of buffered-input-stream tests 862s ok 1 /buffered-input-stream/peek 862s ok 2 /buffered-input-stream/peek-buffer 862s ok 3 /buffered-input-stream/set-buffer-size 862s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=562393 862s ok 4 /buffered-input-stream/read-byte 862s ok 5 /buffered-input-stream/read 862s ok 6 /buffered-input-stream/read-async 862s ok 7 /buffered-input-stream/skip 862s ok 8 /buffered-input-stream/skip-async 862s ok 9 /buffered-input-stream/seek 862s # End of buffered-input-stream tests 862s # Start of filter-input-stream tests 862s ok 10 /filter-input-stream/close 862s # End of filter-input-stream tests 862s ok - glib/debugcontroller.test 862s # Running test: glib/dynamictests.test 862s ok - glib/dynamictests.test 862s # Running test: glib/mappedfile.test 862s ok - glib/mappedfile.test 862s # Running test: glib/closure.test 862s ok - glib/closure.test 862s # Running test: glib/slice.test 862s TAP version 14 862s # random seed: R02S3e1a2c62bf02dc02ccbc089e0f59f55f 862s 1..3 862s # Start of debug-controller tests 862s # Start of dbus tests 862s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 862s # GLib-GIO-DEBUG: Debug output enabled 862s # GLib-GIO-DEBUG: Debug output disabled 862s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 862s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 862s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 862s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 862s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 862s ok 1 /debug-controller/dbus/basic 862s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 862s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 862s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 862s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 862s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 862s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 862s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 862s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 862s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 862s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 862s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 862s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 862s ok 2 /debug-controller/dbus/duplicate 862s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 862s ok 3 /debug-controller/dbus/properties # SKIP https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2486#note_1384102 862s # End of dbus tests 862s # End of debug-controller tests 862s TAP version 14 862s # random seed: R02Secf6d7bef9781cf260060f21e8b6342f 862s 1..2 862s # Start of GObject tests 862s ok 1 /GObject/threaded-dynamic-ref-unref-init 862s ok 2 /GObject/dynamic-interface-properties 862s # End of GObject tests 862s TAP version 14 862s # random seed: R02S02ab44eeabf993834bfe3aa0ffc8a075 862s 1..7 862s # Start of mappedfile tests 862s ok 1 /mappedfile/basic 862s ok 2 /mappedfile/empty 862s ok 3 /mappedfile/device 862s ok 4 /mappedfile/nonexisting 862s ok 5 /mappedfile/writable 862s ok 6 /mappedfile/writable_fd 862s ok 7 /mappedfile/gbytes 862s # End of mappedfile tests 862s TAP version 14 862s # random seed: R02S485c85470b756446f354dfaf95c3877d 862s 1..6 862s # Start of closure tests 862s ok 1 /closure/idle 862s ok 2 /closure/timeout 862s ok 3 /closure/iochannel 862s ok 4 /closure/child 862s ok 5 /closure/fd 862s ok 6 /closure/signal 862s # End of closure tests 862s TAP version 14 862s # random seed: R02Se6f1bfc2fc3a69fa0d7a1dbf3580b232 862s 1..3 862s # Start of slice tests 862s ok 1 /slice/copy 862s ok 2 /slice/chain 863s ok 3 /slice/allocate 863s # End of slice tests 863s ok - glib/slice.test 863s # Running test: glib/utf8-private.test 863s TAP version 14 863s # random seed: R02S7f18a13750b54bccf1be48309b0c9a16 863s ok - glib/utf8-private.test 863s 1..2 863s # Start of utf8 tests 863s ok 1 /utf8/utf8-to-utf16-make-valid 863s ok 2 /utf8/utf8-to-utf16-make-valid-backtrack 863s # End of utf8 tests 863s # Running test: glib/socket-address.test 863s TAP version 14 863s # random seed: R02S5b300b69966b7fcf5c879184bcdb0781 863s 1..2 863s # Start of socket tests 863s # Start of address tests 863s # Start of unix tests 863s ok 1 /socket/address/unix/construct 863s ok 2 /socket/address/unix/to-string 863s # End of unix tests 863s ok - glib/socket-address.test 863s # End of address tests 863s # End of socket tests 863s # Running test: glib/dbus-appinfo.test 863s TAP version 14 863s # random seed: R02S573c367fba3f7b3bce4a258d020d1f8b 863s 1..7 863s # Start of appinfo tests 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_GLJLE3/appinfo/dbusappinfo/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_GLJLE3/appinfo/dbusappinfo/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_GLJLE3/appinfo/dbusappinfo/.dirs/system-config1:/tmp/test_dbus-appinfo_GLJLE3/appinfo/dbusappinfo/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_GLJLE3/appinfo/dbusappinfo/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_GLJLE3/appinfo/dbusappinfo/.dirs/system-data1:/tmp/test_dbus-appinfo_GLJLE3/appinfo/dbusappinfo/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_GLJLE3/appinfo/dbusappinfo/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_GLJLE3/appinfo/dbusappinfo/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_GLJLE3/appinfo/dbusappinfo/.dirs/runtime 863s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 863s ok 1 /appinfo/dbusappinfo 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_GLJLE3/appinfo/flatpak-doc-export/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_GLJLE3/appinfo/flatpak-doc-export/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_GLJLE3/appinfo/flatpak-doc-export/.dirs/system-config1:/tmp/test_dbus-appinfo_GLJLE3/appinfo/flatpak-doc-export/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_GLJLE3/appinfo/flatpak-doc-export/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_GLJLE3/appinfo/flatpak-doc-export/.dirs/system-data1:/tmp/test_dbus-appinfo_GLJLE3/appinfo/flatpak-doc-export/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_GLJLE3/appinfo/flatpak-doc-export/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_GLJLE3/appinfo/flatpak-doc-export/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_GLJLE3/appinfo/flatpak-doc-export/.dirs/runtime 863s # /appinfo/flatpak-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 863s # Acquired a message bus connection 863s # Acquired the name org.freedesktop.portal.Documents 863s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_GLJLE3/appinfo/dbusappinfo/.dirs/config to /tmp/test_dbus-appinfo_GLJLE3/appinfo/flatpak-doc-export/.dirs/config 863s # on_flatpak_open received file '/document-portal/document-id/org.gtk.test.dbusappinfo.flatpak.desktop' 863s # fake-document-portal cancelled 863s ok 2 /appinfo/flatpak-doc-export 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_GLJLE3/appinfo/flatpak-missing-doc-export/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_GLJLE3/appinfo/flatpak-missing-doc-export/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_GLJLE3/appinfo/flatpak-missing-doc-export/.dirs/system-config1:/tmp/test_dbus-appinfo_GLJLE3/appinfo/flatpak-missing-doc-export/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_GLJLE3/appinfo/flatpak-missing-doc-export/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_GLJLE3/appinfo/flatpak-missing-doc-export/.dirs/system-data1:/tmp/test_dbus-appinfo_GLJLE3/appinfo/flatpak-missing-doc-export/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_GLJLE3/appinfo/flatpak-missing-doc-export/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_GLJLE3/appinfo/flatpak-missing-doc-export/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_GLJLE3/appinfo/flatpak-missing-doc-export/.dirs/runtime 863s # /appinfo/flatpak-missing-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 863s # Acquired a message bus connection 863s # Acquired the name org.freedesktop.portal.Documents 863s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_GLJLE3/appinfo/flatpak-doc-export/.dirs/config to /tmp/test_dbus-appinfo_GLJLE3/appinfo/flatpak-missing-doc-export/.dirs/config 863s # on_flatpak_open received file '/hopefully/an/invalid/path.desktop' 863s # fake-document-portal cancelled 863s ok 3 /appinfo/flatpak-missing-doc-export 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_GLJLE3/appinfo/portal-open-file/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_GLJLE3/appinfo/portal-open-file/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_GLJLE3/appinfo/portal-open-file/.dirs/system-config1:/tmp/test_dbus-appinfo_GLJLE3/appinfo/portal-open-file/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_GLJLE3/appinfo/portal-open-file/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_GLJLE3/appinfo/portal-open-file/.dirs/system-data1:/tmp/test_dbus-appinfo_GLJLE3/appinfo/portal-open-file/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_GLJLE3/appinfo/portal-open-file/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_GLJLE3/appinfo/portal-open-file/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_GLJLE3/appinfo/portal-open-file/.dirs/runtime 863s # Acquired a message bus connection 863s # Acquired the name org.freedesktop.portal.Desktop 863s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_GLJLE3/appinfo/flatpak-missing-doc-export/.dirs/config to /tmp/test_dbus-appinfo_GLJLE3/appinfo/portal-open-file/.dirs/config 863s # Got open file request for file:///usr/libexec/installed-tests/glib/org.gtk.test.dbusappinfo.flatpak.desktop 863s ok - glib/dbus-appinfo.test 863s # Running test: glib/gdbus-sasl.test 863s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_5/t 863s # Response emitted 863s # fake-desktop-portal cancelled 863s ok 4 /appinfo/portal-open-file 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_GLJLE3/appinfo/portal-open-uri/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_GLJLE3/appinfo/portal-open-uri/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_GLJLE3/appinfo/portal-open-uri/.dirs/system-config1:/tmp/test_dbus-appinfo_GLJLE3/appinfo/portal-open-uri/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_GLJLE3/appinfo/portal-open-uri/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_GLJLE3/appinfo/portal-open-uri/.dirs/system-data1:/tmp/test_dbus-appinfo_GLJLE3/appinfo/portal-open-uri/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_GLJLE3/appinfo/portal-open-uri/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_GLJLE3/appinfo/portal-open-uri/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_GLJLE3/appinfo/portal-open-uri/.dirs/runtime 863s # Acquired a message bus connection 863s # Acquired the name org.freedesktop.portal.Desktop 863s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_GLJLE3/appinfo/portal-open-file/.dirs/config to /tmp/test_dbus-appinfo_GLJLE3/appinfo/portal-open-uri/.dirs/config 863s # Got open file request for http://example.com 863s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_7/t 863s # Response emitted 863s # fake-desktop-portal cancelled 863s ok 5 /appinfo/portal-open-uri 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_GLJLE3/appinfo/portal-open-file-async/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_GLJLE3/appinfo/portal-open-file-async/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_GLJLE3/appinfo/portal-open-file-async/.dirs/system-config1:/tmp/test_dbus-appinfo_GLJLE3/appinfo/portal-open-file-async/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_GLJLE3/appinfo/portal-open-file-async/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_GLJLE3/appinfo/portal-open-file-async/.dirs/system-data1:/tmp/test_dbus-appinfo_GLJLE3/appinfo/portal-open-file-async/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_GLJLE3/appinfo/portal-open-file-async/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_GLJLE3/appinfo/portal-open-file-async/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_GLJLE3/appinfo/portal-open-file-async/.dirs/runtime 863s # Acquired a message bus connection 863s # Acquired the name org.freedesktop.portal.Desktop 863s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_GLJLE3/appinfo/portal-open-uri/.dirs/config to /tmp/test_dbus-appinfo_GLJLE3/appinfo/portal-open-file-async/.dirs/config 863s # Got open file request for file:///usr/libexec/installed-tests/glib/org.gtk.test.dbusappinfo.flatpak.desktop 863s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_9/gio1574798387 863s # Response emitted 863s # fake-desktop-portal cancelled 863s ok 6 /appinfo/portal-open-file-async 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_GLJLE3/appinfo/portal-open-uri-async/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_GLJLE3/appinfo/portal-open-uri-async/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_GLJLE3/appinfo/portal-open-uri-async/.dirs/system-config1:/tmp/test_dbus-appinfo_GLJLE3/appinfo/portal-open-uri-async/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_GLJLE3/appinfo/portal-open-uri-async/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_GLJLE3/appinfo/portal-open-uri-async/.dirs/system-data1:/tmp/test_dbus-appinfo_GLJLE3/appinfo/portal-open-uri-async/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_GLJLE3/appinfo/portal-open-uri-async/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_GLJLE3/appinfo/portal-open-uri-async/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_GLJLE3/appinfo/portal-open-uri-async/.dirs/runtime 863s # Acquired a message bus connection 863s # Acquired the name org.freedesktop.portal.Desktop 863s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_GLJLE3/appinfo/portal-open-file-async/.dirs/config to /tmp/test_dbus-appinfo_GLJLE3/appinfo/portal-open-uri-async/.dirs/config 863s # Got open file request for http://example.com 863s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_11/gio1679036348 863s # Response emitted 863s # fake-desktop-portal cancelled 863s ok 7 /appinfo/portal-open-uri-async 863s # End of appinfo tests 863s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 863s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 863s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 863s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 863s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 863s TAP version 14 863s # random seed: R02S53c63cf3c8c14bcc3b69f4530ff3e7d6 863s 1..1 863s # Start of gdbus tests 863s # Start of sasl tests 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-sasl_OSNKE3/gdbus/sasl/server/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-sasl_OSNKE3/gdbus/sasl/server/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-sasl_OSNKE3/gdbus/sasl/server/.dirs/system-config1:/tmp/test_gdbus-sasl_OSNKE3/gdbus/sasl/server/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-sasl_OSNKE3/gdbus/sasl/server/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-sasl_OSNKE3/gdbus/sasl/server/.dirs/system-data1:/tmp/test_gdbus-sasl_OSNKE3/gdbus/sasl/server/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-sasl_OSNKE3/gdbus/sasl/server/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-sasl_OSNKE3/gdbus/sasl/server/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-sasl_OSNKE3/gdbus/sasl/server/.dirs/runtime 863s # New handshake: EXTERNAL with incorrect initial response 863s # C:“AUTH EXTERNAL 30” 863s # Expect: /^REJECTED.*$/ 863s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1” 863s # New handshake: EXTERNAL without initial response, failing to authenticate 863s # C:“AUTH EXTERNAL” 863s # Expect: /^DATA$/ 863s # S:“DATA” 863s # C:“DATA 30” 863s # Expect: /^REJECTED.*$/ 863s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1” 863s # New handshake: EXTERNAL with initial response 863s # C:“AUTH EXTERNAL 31303030” 863s # Expect: /^OK [0-9a-f]+$/ 863s # S:“OK bda045ea7feec707c85159ab68f3efac” 863s # New handshake: EXTERNAL without initial response 863s # C:“AUTH EXTERNAL” 863s # Expect: /^DATA$/ 863s # S:“DATA” 863s # C:“DATA 31303030” 863s # Expect: /^OK [0-9a-f]+$/ 863s # S:“OK bda045ea7feec707c85159ab68f3efac” 863s # New handshake: EXTERNAL with empty authorization identity 863s # C:“AUTH EXTERNAL” 863s # Expect: /^DATA$/ 863s # S:“DATA” 863s # C:“DATA” 863s # Expect: /^OK [0-9a-f]+$/ 863s # S:“OK bda045ea7feec707c85159ab68f3efac” 863s # New handshake: EXTERNAL with empty authorization identity and whitespace 863s # C:“AUTH EXTERNAL” 863s # Expect: /^DATA$/ 863s # S:“DATA” 863s # C:“DATA ” 863s # Expect: /^OK [0-9a-f]+$/ 863s # S:“OK bda045ea7feec707c85159ab68f3efac” 863s ok 1 /gdbus/sasl/server 863s # End of sasl tests 863s # End of gdbus tests 863s TAP version 14 863s # random seed: R02See0d13a978130c0ad07a578f4c24bc96 863s 1..11 863s # Start of GObject tests 863s # Start of BindingGroup tests 863s ok 1 /GObject/BindingGroup/invalid 863s ok 2 /GObject/BindingGroup/default 863s ok 3 /GObject/BindingGroup/bidirectional 863s ok 4 /GObject/BindingGroup/transform 863s ok 5 /GObject/BindingGroup/transform-closures 863s ok 6 /GObject/BindingGroup/same-object 863s ok 7 /GObject/BindingGroup/weak-ref-source 863s ok 8 /GObject/BindingGroup/weak-ref-target 863s ok 9 /GObject/BindingGroup/properties 863s ok 10 /GObject/BindingGroup/weak-notify-no-bindings 863s ok 11 /GObject/BindingGroup/empty-closures 863s # End of BindingGroup tests 863s # End of GObject tests 863s TAP version 14 863s # random seed: R02S1e747db2a33e40c2b1226b9d9091b028 863s 1..2 863s # Start of gtask tests 863s # GLib-GIO-DEBUG: GTask some other name (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 863s ok 1 /gtask/name 863s # Start of name tests 863s # GLib-GIO-DEBUG: GTask some other name (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 863s ok 2 /gtask/name/macro-wrapper 863s # End of name tests 863s # End of gtask tests 863s TAP version 14 863s # random seed: R02Sa03cda663443a9acd5f86d5089e59001 863s 1..14 863s # Start of properties tests 863s ok 1 /properties/install 863s ok 2 /properties/install-many 863s ok 3 /properties/notify 863s ok 4 /properties/notify-queue 863s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=630357 863s ok 5 /properties/construct 863s # /properties/get-property summary: g_object_get_property() accepts uninitialized, initialized, and transformable values 863s # Test g_object_get_property with an initialized value 863s # Test g_object_get_property with an uninitialized value 863s # Test g_object_get_property with a transformable value 863s ok 6 /properties/get-property 863s ok 7 /properties/testv_with_no_properties 863s ok 8 /properties/testv_with_valid_properties 863s ok 9 /properties/testv_with_invalid_property_type 863s ok 10 /properties/testv_with_invalid_property_names 863s ok 11 /properties/testv_getv 863s ok 12 /properties/testv_notify_queue 863s # Start of notify tests 863s ok 13 /properties/notify/too-many-freezes 863s # End of notify tests 863s # Start of set-property tests 863s # Start of variant tests 863s # /properties/set-property/variant/floating summary: Test that setting a property to a floating variant consumes the reference 863s ok 14 /properties/set-property/variant/floating 863s # End of variant tests 863s # End of set-property tests 863s # End of properties tests 863s TAP version 14 863s # random seed: R02S29b7541a266bc2af1f6d65ab784555e1 863s 1..2 863s # Start of uuid tests 863s ok 1 /uuid/string 863s ok 2 /uuid/random 863s # End of uuid tests 863s TAP version 14 863s ok - glib/gdbus-sasl.test 863s # Running test: glib/bindinggroup.test 863s ok - glib/bindinggroup.test 863s # Running test: glib/cxx-20.test 863s ok - glib/cxx-20.test 863s # Running test: glib/properties.test 863s ok - glib/properties.test 863s # Running test: glib/guuid.test 863s ok - glib/guuid.test 863s # Running test: glib/rwlock.test 863s # random seed: R02Sfb30bb946a8cf181b8c3e4480261559c 863s 1..8 863s # Start of thread tests 863s ok 1 /thread/rwlock1 863s ok 2 /thread/rwlock2 863s ok 3 /thread/rwlock3 863s ok 4 /thread/rwlock4 863s ok 5 /thread/rwlock5 863s ok 6 /thread/rwlock6 863s # Executing: glib/rwlock.test 868s # Executing: glib/rwlock.test 873s # Executing: glib/rwlock.test 878s # Executing: glib/rwlock.test 879s ok 7 /thread/rwlock7 879s # slow test /thread/rwlock7 executed in 16.06 secs 879s ok - glib/rwlock.test 879s ok 8 /thread/rwlock8 879s # End of thread tests 879s # Running test: glib/file-thumbnail.test 879s TAP version 14 879s # random seed: R02Sd4146d42ef6535732133e2c0b3ce042c 879s 1..7 879s # Start of file-thumbnail tests 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_32APE3/file-thumbnail/fail/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_32APE3/file-thumbnail/fail/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_32APE3/file-thumbnail/fail/.dirs/system-config1:/tmp/test_file-thumbnail_32APE3/file-thumbnail/fail/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_32APE3/file-thumbnail/fail/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_32APE3/file-thumbnail/fail/.dirs/system-data1:/tmp/test_file-thumbnail_32APE3/file-thumbnail/fail/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_32APE3/file-thumbnail/fail/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_32APE3/file-thumbnail/fail/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_32APE3/file-thumbnail/fail/.dirs/runtime 879s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 879s # Created test thumbnail at /tmp/test_file-thumbnail_32APE3/file-thumbnail/fail/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 879s ok 1 /file-thumbnail/fail 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_32APE3/file-thumbnail/size-priority/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_32APE3/file-thumbnail/size-priority/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_32APE3/file-thumbnail/size-priority/.dirs/system-config1:/tmp/test_file-thumbnail_32APE3/file-thumbnail/size-priority/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_32APE3/file-thumbnail/size-priority/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_32APE3/file-thumbnail/size-priority/.dirs/system-data1:/tmp/test_file-thumbnail_32APE3/file-thumbnail/size-priority/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_32APE3/file-thumbnail/size-priority/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_32APE3/file-thumbnail/size-priority/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_32APE3/file-thumbnail/size-priority/.dirs/runtime 879s # Created test thumbnail at /tmp/test_file-thumbnail_32APE3/file-thumbnail/size-priority/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 879s # Created test thumbnail at /tmp/test_file-thumbnail_32APE3/file-thumbnail/size-priority/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 879s # Created test thumbnail at /tmp/test_file-thumbnail_32APE3/file-thumbnail/size-priority/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 879s # Created test thumbnail at /tmp/test_file-thumbnail_32APE3/file-thumbnail/size-priority/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 879s # Created test thumbnail at /tmp/test_file-thumbnail_32APE3/file-thumbnail/size-priority/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 879s ok 2 /file-thumbnail/size-priority 879s # Start of valid tests 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_32APE3/file-thumbnail/valid/normal/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_32APE3/file-thumbnail/valid/normal/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_32APE3/file-thumbnail/valid/normal/.dirs/system-config1:/tmp/test_file-thumbnail_32APE3/file-thumbnail/valid/normal/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_32APE3/file-thumbnail/valid/normal/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_32APE3/file-thumbnail/valid/normal/.dirs/system-data1:/tmp/test_file-thumbnail_32APE3/file-thumbnail/valid/normal/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_32APE3/file-thumbnail/valid/normal/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_32APE3/file-thumbnail/valid/normal/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_32APE3/file-thumbnail/valid/normal/.dirs/runtime 879s # Created test thumbnail at /tmp/test_file-thumbnail_32APE3/file-thumbnail/valid/normal/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 879s ok 3 /file-thumbnail/valid/normal 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_32APE3/file-thumbnail/valid/large/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_32APE3/file-thumbnail/valid/large/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_32APE3/file-thumbnail/valid/large/.dirs/system-config1:/tmp/test_file-thumbnail_32APE3/file-thumbnail/valid/large/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_32APE3/file-thumbnail/valid/large/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_32APE3/file-thumbnail/valid/large/.dirs/system-data1:/tmp/test_file-thumbnail_32APE3/file-thumbnail/valid/large/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_32APE3/file-thumbnail/valid/large/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_32APE3/file-thumbnail/valid/large/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_32APE3/file-thumbnail/valid/large/.dirs/runtime 879s # Created test thumbnail at /tmp/test_file-thumbnail_32APE3/file-thumbnail/valid/large/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 879s ok 4 /file-thumbnail/valid/large 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_32APE3/file-thumbnail/valid/x-large/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_32APE3/file-thumbnail/valid/x-large/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_32APE3/file-thumbnail/valid/x-large/.dirs/system-config1:/tmp/test_file-thumbnail_32APE3/file-thumbnail/valid/x-large/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_32APE3/file-thumbnail/valid/x-large/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_32APE3/file-thumbnail/valid/x-large/.dirs/system-data1:/tmp/test_file-thumbnail_32APE3/file-thumbnail/valid/x-large/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_32APE3/file-thumbnail/valid/x-large/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_32APE3/file-thumbnail/valid/x-large/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_32APE3/file-thumbnail/valid/x-large/.dirs/runtime 879s # Created test thumbnail at /tmp/test_file-thumbnail_32APE3/file-thumbnail/valid/x-large/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 879s ok 5 /file-thumbnail/valid/x-large 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_32APE3/file-thumbnail/valid/xx-large/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_32APE3/file-thumbnail/valid/xx-large/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_32APE3/file-thumbnail/valid/xx-large/.dirs/system-config1:/tmp/test_file-thumbnail_32APE3/file-thumbnail/valid/xx-large/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_32APE3/file-thumbnail/valid/xx-large/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_32APE3/file-thumbnail/valid/xx-large/.dirs/system-data1:/tmp/test_file-thumbnail_32APE3/file-thumbnail/valid/xx-large/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_32APE3/file-thumbnail/valid/xx-large/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_32APE3/file-thumbnail/valid/xx-large/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_32APE3/file-thumbnail/valid/xx-large/.dirs/runtime 879s # Created test thumbnail at /tmp/test_file-thumbnail_32APE3/file-thumbnail/valid/xx-large/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 879s ok 6 /file-thumbnail/valid/xx-large 879s # End of valid tests 879s # Start of unknown tests 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_32APE3/file-thumbnail/unknown/super-large/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_32APE3/file-thumbnail/unknown/super-large/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_32APE3/file-thumbnail/unknown/super-large/.dirs/system-config1:/tmp/test_file-thumbnail_32APE3/file-thumbnail/unknown/super-large/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_32APE3/file-thumbnail/unknown/super-large/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_32APE3/file-thumbnail/unknown/super-large/.dirs/system-data1:/tmp/test_file-thumbnail_32APE3/file-thumbnail/unknown/super-large/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_32APE3/file-thumbnail/unknown/super-large/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_32APE3/file-thumbnail/unknown/super-large/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_32APE3/file-thumbnail/unknown/super-large/.dirs/runtime 879s # Created test thumbnail at /tmp/test_file-thumbnail_32APE3/file-thumbnail/unknown/super-large/.dirs/cache/thumbnails/super-large/f098bcae74f8241ee3835bded7284cdd.png 879s ok 7 /file-thumbnail/unknown/super-large 879s # End of unknown tests 879s ok - glib/file-thumbnail.test 879s # Running test: glib/signalgroup.test 879s # End of file-thumbnail tests 879s TAP version 14 879s # random seed: R02Sd4e0f8b0f9a143940e8ea15990646b4c 879s 1..9 879s # Start of GObject tests 879s # Start of SignalGroup tests 879s ok 1 /GObject/SignalGroup/invalid 879s ok 2 /GObject/SignalGroup/simple 879s ok 3 /GObject/SignalGroup/changing-target 879s ok 4 /GObject/SignalGroup/blocking 879s ok 5 /GObject/SignalGroup/weak-ref-target 879s ok 6 /GObject/SignalGroup/connect-object 879s ok 7 /GObject/SignalGroup/signal-parsing 879s ok 8 /GObject/SignalGroup/properties 879s ok 9 /GObject/SignalGroup/interface 879s # Start of signal-parsing tests 879s # End of signal-parsing tests 879s # End of SignalGroup tests 879s ok - glib/signalgroup.test 879s # Running test: glib/tls-bindings.test 879s ok - glib/tls-bindings.test 879s # Running test: glib/null-settings-backend.test 879s ok - glib/null-settings-backend.test 879s # Running test: glib/gdbus-bz627724.test 879s ok - glib/gdbus-bz627724.test 879s # Running test: glib/date.test 879s # End of GObject tests 879s TAP version 14 879s # random seed: R02Sc609f9d2047419749a804a18f84774bd 879s 1..2 879s # Start of tls-connection tests 879s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ‘gio-tls-backend’ 879s ok 1 /tls-connection/get-tls-channel-binding 879s ok 2 /tls-connection/get-dtls-channel-binding 879s # End of tls-connection tests 879s TAP version 14 879s # random seed: R02Scd3f993c8e9455d34efc38228fe08c17 879s 1..1 879s # Start of null-settings-backend tests 879s ok 1 /null-settings-backend/extension-point-registered 879s # End of null-settings-backend tests 879s TAP version 14 879s # random seed: R02Sd22b27da6c3275d0567d87d00a99d820 879s 1..1 879s # Start of gdbus tests 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-bz627724_70VOE3/gdbus/bz627724/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-bz627724_70VOE3/gdbus/bz627724/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-bz627724_70VOE3/gdbus/bz627724/.dirs/system-config1:/tmp/test_gdbus-bz627724_70VOE3/gdbus/bz627724/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-bz627724_70VOE3/gdbus/bz627724/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-bz627724_70VOE3/gdbus/bz627724/.dirs/system-data1:/tmp/test_gdbus-bz627724_70VOE3/gdbus/bz627724/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-bz627724_70VOE3/gdbus/bz627724/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-bz627724_70VOE3/gdbus/bz627724/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-bz627724_70VOE3/gdbus/bz627724/.dirs/runtime 879s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 879s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 879s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 879s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 879s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 879s ok 1 /gdbus/bz627724 879s # End of gdbus tests 879s TAP version 14 879s # random seed: R02S225d17cd4181eb02be08bf1697d20160 879s 1..122 879s # Start of date tests 879s ok 1 /date/basic 879s ok 2 /date/empty 879s ok 3 /date/dmy 879s ok 4 /date/julian 879s ok 5 /date/compare 879s ok 6 /date/dates 879s ok 7 /date/strftime 879s ok 8 /date/two-digit-years 879s ok 9 /date/parse 879s ok 10 /date/parse_locale_change # SKIP locale th_TH not available 879s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793550 879s ok 11 /date/month_substring 879s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=749206 879s ok 12 /date/month_names # SKIP libc doesn’t support all alternative month names 879s ok 13 /date/clamp 879s ok 14 /date/order 879s ok 15 /date/copy 879s # Vector 0: 0000-00-00, invalid 879s # Vector 1: 0001-01-01, valid 879s # Vector 2: 0000-01-01, invalid 879s # Vector 3: 2000-02-30, invalid 879s # Vector 4: 2000-02-29, valid 879s # Vector 5: 2001-02-29, invalid 879s # Vector 6: 65535-01-01, valid 879s ok 16 /date/valid-dmy 879s # Considering 2000-01-01 879s # Considering 2000-01-07 879s # Considering 2000-01-08 879s # Considering 2001-01-01 879s # Considering 2001-01-07 879s # Considering 2001-01-08 879s # Considering 2002-01-01 879s # Considering 2002-01-07 879s # Considering 2002-01-08 879s # Considering 2003-01-01 879s # Considering 2003-01-07 879s # Considering 2003-01-08 879s # Considering 2004-01-01 879s # Considering 2004-01-07 879s # Considering 2004-01-08 879s # Considering 2006-01-01 879s # Considering 2006-01-07 879s # Considering 2006-01-08 879s # Considering 2010-01-01 879s # Considering 2010-01-07 879s # Considering 2010-01-08 879s ok 17 /date/week-of-year 879s # Start of parse tests 879s # Test 0 879s # Test 1 879s ok 18 /date/parse/invalid 879s # End of parse tests 879s # Start of year tests 879s ok 19 /date/year/1 879s ok 20 /date/year/2 879s ok 21 /date/year/3 879s ok 22 /date/year/4 879s ok 23 /date/year/5 879s ok 24 /date/year/6 879s ok 25 /date/year/7 879s ok 26 /date/year/8 879s ok 27 /date/year/9 879s ok 28 /date/year/10 879s ok 29 /date/year/11 879s ok 30 /date/year/12 879s ok 31 /date/year/13 879s ok 32 /date/year/14 879s ok 33 /date/year/98 879s ok 34 /date/year/99 879s ok 35 /date/year/100 879s ok 36 /date/year/101 879s ok 37 /date/year/102 879s ok 38 /date/year/103 879s ok 39 /date/year/397 879s ok 40 /date/year/398 879s ok 41 /date/year/399 879s ok 42 /date/year/400 879s ok 43 /date/year/401 879s ok 44 /date/year/402 879s ok 45 /date/year/403 879s ok 46 /date/year/404 879s ok 47 /date/year/405 879s ok 48 /date/year/406 879s ok 49 /date/year/1598 879s ok 50 /date/year/1599 879s ok 51 /date/year/1600 879s ok 52 /date/year/1601 879s ok 53 /date/year/1602 879s ok 54 /date/year/1650 879s ok 55 /date/year/1651 879s ok 56 /date/year/1897 879s ok 57 /date/year/1898 879s ok 58 /date/year/1899 879s ok 59 /date/year/1900 879s ok 60 /date/year/1901 879s ok 61 /date/year/1902 879s ok 62 /date/year/1903 879s ok 63 /date/year/1961 879s ok 64 /date/year/1962 879s ok 65 /date/year/1963 879s ok 66 /date/year/1964 879s ok 67 /date/year/1965 879s ok 68 /date/year/1967 879s ok 69 /date/year/1968 879s ok 70 /date/year/1969 879s ok 71 /date/year/1970 879s ok 72 /date/year/1971 879s ok 73 /date/year/1972 879s ok 74 /date/year/1973 879s ok 75 /date/year/1974 879s ok 76 /date/year/1975 879s ok 77 /date/year/1976 879s ok 78 /date/year/1977 879s ok 79 /date/year/1978 879s ok 80 /date/year/1979 879s ok 81 /date/year/1980 879s ok 82 /date/year/1981 879s ok 83 /date/year/1982 879s ok 84 /date/year/1983 879s ok 85 /date/year/1984 879s ok 86 /date/year/1985 879s ok 87 /date/year/1986 879s ok 88 /date/year/1987 879s ok 89 /date/year/1988 879s ok 90 /date/year/1989 879s ok 91 /date/year/1990 879s ok 92 /date/year/1991 879s ok 93 /date/year/1992 879s ok 94 /date/year/1993 879s ok 95 /date/year/1994 879s ok 96 /date/year/1995 879s ok 97 /date/year/1996 879s ok 98 /date/year/1997 879s ok 99 /date/year/1998 879s ok 100 /date/year/1999 879s ok 101 /date/year/2000 879s ok 102 /date/year/2001 879s ok 103 /date/year/2002 879s ok 104 /date/year/2003 879s ok 105 /date/year/2004 879s ok 106 /date/year/2005 879s ok 107 /date/year/2006 879s ok 108 /date/year/2007 879s ok 109 /date/year/2008 879s ok 110 /date/year/2009 879s ok 111 /date/year/2010 879s ok 112 /date/year/2011 879s ok 113 /date/year/2012 879s ok 114 /date/year/3000 879s ok 115 /date/year/3001 879s ok 116 /date/year/3002 879s ok 117 /date/year/3998 879s ok 118 /date/year/3999 879s ok 119 /date/year/4000 879s ok 120 /date/year/4001 879s ok 121 /date/year/4002 879s ok - glib/date.test 879s ok 122 /date/year/4003 879s # End of year tests 879s # End of date tests 879s # Running test: glib/gdatetime.test 879s TAP version 14 879s # random seed: R02S58c6dc5b7fceb74901afbc0738ca0202 879s 1..68 879s # Start of GDateTime tests 879s # Bug Reference: http://bugzilla.gnome.org/702674 879s ok 1 /GDateTime/invalid 879s ok 2 /GDateTime/add_days 879s ok 3 /GDateTime/add_full 879s ok 4 /GDateTime/add_hours 879s ok 5 /GDateTime/add_minutes 879s ok 6 /GDateTime/add_months 879s ok 7 /GDateTime/add_seconds 879s ok 8 /GDateTime/add_weeks 879s ok 9 /GDateTime/add_years 879s ok 10 /GDateTime/compare 879s ok 11 /GDateTime/diff 879s ok 12 /GDateTime/equal 879s ok 13 /GDateTime/get_day_of_week 879s ok 14 /GDateTime/get_day_of_month 879s ok 15 /GDateTime/get_day_of_year 879s ok 16 /GDateTime/get_hour 879s ok 17 /GDateTime/get_microsecond 879s ok 18 /GDateTime/get_minute 879s ok 19 /GDateTime/get_month 879s ok 20 /GDateTime/get_second 879s ok 21 /GDateTime/get_utc_offset 879s ok 22 /GDateTime/get_year 879s ok 23 /GDateTime/hash 879s ok 24 /GDateTime/new_from_unix 879s ok 25 /GDateTime/new_from_unix_utc 879s ok 26 /GDateTime/new_from_timeval 879s ok 27 /GDateTime/new_from_timeval_utc 879s ok 28 /GDateTime/new_from_iso8601 879s ok 29 /GDateTime/new_full 879s ok 30 /GDateTime/now 879s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2215 879s ok 31 /GDateTime/test-6-days-until-end-of-the-month 879s # %a -> expected: Sat 879s # %a -> actual: Sat 879s # %A -> expected: Saturday 879s # %A -> actual: Saturday 879s # %b -> expected: Oct 879s # %b -> actual: Oct 879s # %B -> expected: October 879s # %B -> actual: October 879s # %d -> expected: 24 879s # %d -> actual: 24 879s # %d -> expected: 01 879s # %d -> actual: 01 879s # %e -> expected: 24 879s # %e -> actual: 24 879s # %e -> expected:  1 879s # %e -> actual:  1 879s # %f -> expected: 001000 879s # %f -> actual: 001000 879s # %h -> expected: Oct 879s # %h -> actual: Oct 879s # %H -> expected: 00 879s # %H -> actual: 00 879s # %H -> expected: 15 879s # %H -> actual: 15 879s # %I -> expected: 12 879s # %I -> actual: 12 879s # %I -> expected: 12 879s # %I -> actual: 12 879s # %I -> expected: 03 879s # %I -> actual: 03 879s # %j -> expected: 297 879s # %j -> actual: 297 879s # %k -> expected:  0 879s # %k -> actual:  0 879s # %k -> expected: 13 879s # %k -> actual: 13 879s # %l -> expected: 12 879s # %l -> actual: 12 879s # %I -> expected: 12 879s # %I -> actual: 12 879s # %l -> expected:  1 879s # %l -> actual:  1 879s # %l -> expected: 10 879s # %l -> actual: 10 879s # %m -> expected: 10 879s # %m -> actual: 10 879s # %M -> expected: 00 879s # %M -> actual: 00 879s # %p -> expected: AM 879s # %p -> actual: AM 879s # %p -> expected: PM 879s # %p -> actual: PM 879s # %P -> expected: am 879s # %P -> actual: am 879s # %P -> expected: pm 879s # %P -> actual: pm 879s # %r -> expected: 12:00:00 AM 879s # %r -> actual: 12:00:00 AM 879s # %r -> expected: 01:13:13 PM 879s # %r -> actual: 01:13:13 PM 879s # %R -> expected: 00:00 879s # %R -> actual: 00:00 879s # %R -> expected: 13:13 879s # %R -> actual: 13:13 879s # %S -> expected: 00 879s # %S -> actual: 00 879s # %t -> expected: 879s # %t -> actual: 879s # %u -> expected: 6 879s # %u -> actual: 6 879s # %x -> expected: 10/24/09 879s # %x -> actual: 10/24/09 879s # %X -> expected: 00:00:00 879s # %X -> actual: 00:00:00 879s # %X -> expected: 13:14:15 879s # %X -> actual: 13:14:15 879s # %y -> expected: 09 879s # %y -> actual: 09 879s # %Y -> expected: 2009 879s # %Y -> actual: 2009 879s # %% -> expected: % 879s # %% -> actual: % 879s # % -> expected: 879s # % -> actual: 879s # %9 -> expected: (null) 879s # %9 -> actual: (null) 879s # %Z -> expected: UTC 879s # %Z -> actual: UTC 879s # %#Z %Z -> expected: utc UTC 879s # %#Z %Z -> actual: utc UTC 879s ok 32 /GDateTime/printf 879s # %a -> expected: 土 879s # %a -> actual: 土 879s # %A -> expected: 土曜日 879s # %A -> actual: 土曜日 879s # %b -> expected: 10月 879s # %b -> actual: 10月 879s # %B -> expected: 10月 879s # %B -> actual: 10月 879s # %c -> expected: 2009年10月24日 00時00分00秒 879s # %c -> actual: 2009年10月24日 00時00分00秒 879s # %C -> expected: 20 879s # %C -> actual: 20 879s # %d -> expected: 24 879s # %d -> actual: 24 879s # %d -> expected: 01 879s # %d -> actual: 01 879s # %e -> expected: 24 879s # %e -> actual: 24 879s # %h -> expected: 10月 879s # %h -> actual: 10月 879s # %H -> expected: 00 879s # %H -> actual: 00 879s # %H -> expected: 15 879s # %H -> actual: 15 879s # %I -> expected: 12 879s # %I -> actual: 12 879s # %I -> expected: 12 879s # %I -> actual: 12 879s # %I -> expected: 03 879s # %I -> actual: 03 879s # %j -> expected: 297 879s # %j -> actual: 297 879s # %k -> expected:  0 879s # %k -> actual:  0 879s # %k -> expected: 13 879s # %k -> actual: 13 879s # %l -> expected: 12 879s # %l -> actual: 12 879s # %I -> expected: 12 879s # %I -> actual: 12 879s # %l -> expected:  1 879s # %l -> actual:  1 879s # %l -> expected: 10 879s # %l -> actual: 10 879s # %m -> expected: 10 879s # %m -> actual: 10 879s # %M -> expected: 00 879s # %M -> actual: 00 879s # %p -> expected: 午前 879s # %p -> actual: 午前 879s # %p -> expected: 午後 879s # %p -> actual: 午後 879s # %P -> expected: 午前 879s # %P -> actual: 午前 879s # %P -> expected: 午後 879s # %P -> actual: 午後 879s # %r -> expected: 午前12時00分00秒 879s # %r -> actual: 午前12時00分00秒 879s # %r -> expected: 午後01時13分13秒 879s # %r -> actual: 午後01時13分13秒 879s # %R -> expected: 00:00 879s # %R -> actual: 00:00 879s # %R -> expected: 13:13 879s # %R -> actual: 13:13 879s # %S -> expected: 00 879s # %S -> actual: 00 879s # %t -> expected: 879s # %t -> actual: 879s # %u -> expected: 6 879s # %u -> actual: 6 879s # %x -> expected: 2009年10月24日 879s # %x -> actual: 2009年10月24日 879s # %X -> expected: 00時00分00秒 879s # %X -> actual: 00時00分00秒 879s # %X -> expected: 13時14分15秒 879s # %X -> actual: 13時14分15秒 879s # %y -> expected: 09 879s # %y -> actual: 09 879s # %Y -> expected: 2009 879s # %Y -> actual: 2009 879s # %% -> expected: % 879s # %% -> actual: % 879s # % -> expected: 879s # % -> actual: 879s # %9 -> expected: (null) 879s # %9 -> actual: (null) 879s # %Ec -> expected: 平成21年10月24日 00時00分00秒 879s # %Ec -> actual: 平成21年10月24日 00時00分00秒 879s # %EC -> expected: 平成 879s # %EC -> actual: 平成 879s # %Ex -> expected: 平成21年10月24日 879s # %Ex -> actual: 平成21年10月24日 879s # %EX -> expected: 00時00分00秒 879s # %EX -> actual: 00時00分00秒 879s # %Ey -> expected: 21 879s # %Ey -> actual: 21 879s # %EY -> expected: 平成21年 879s # %EY -> actual: 平成21年 879s ok 33 /GDateTime/non_utf8_printf 879s # ąśćł -> expected: ąśćł 879s # ąśćł -> actual: ąśćł 879s # %H∶%M -> expected: 23∶15 879s # %H∶%M -> actual: 23∶15 879s # %H∶%M -> expected: 23∶15 879s # %H∶%M -> actual: 23∶15 879s ok 34 /GDateTime/format_unrepresentable 879s ok 35 /GDateTime/format_iso8601 880s ok 36 /GDateTime/strftime 880s # %d -> expected: 01 880s # %d -> actual: 01 880s # %_d -> expected: 1 880s # %_d -> actual: 1 880s # %-d -> expected: 1 880s # %-d -> actual: 1 880s # %0d -> expected: 01 880s # %0d -> actual: 01 880s # %d -> expected: 21 880s # %d -> actual: 21 880s # %_d -> expected: 21 880s # %_d -> actual: 21 880s # %-d -> expected: 21 880s # %-d -> actual: 21 880s # %0d -> expected: 21 880s # %0d -> actual: 21 880s # %e -> expected:  1 880s # %e -> actual:  1 880s # %_e -> expected: 1 880s # %_e -> actual: 1 880s # %-e -> expected: 1 880s # %-e -> actual: 1 880s # %0e -> expected: 01 880s # %0e -> actual: 01 880s # %e -> expected: 21 880s # %e -> actual: 21 880s # %_e -> expected: 21 880s # %_e -> actual: 21 880s # %-e -> expected: 21 880s # %-e -> actual: 21 880s # %0e -> expected: 21 880s # %0e -> actual: 21 880s # %a -> expected: Thu 880s # %a -> actual: Thu 880s # %^a -> expected: THU 880s # %^a -> actual: THU 880s # %#a -> expected: THU 880s # %#a -> actual: THU 880s # %A -> expected: Thursday 880s # %A -> actual: Thursday 880s # %^A -> expected: THURSDAY 880s # %^A -> actual: THURSDAY 880s # %#A -> expected: THURSDAY 880s # %#A -> actual: THURSDAY 880s # %b -> expected: Jan 880s # %b -> actual: Jan 880s # %^b -> expected: JAN 880s # %^b -> actual: JAN 880s # %#b -> expected: JAN 880s # %#b -> actual: JAN 880s # %B -> expected: January 880s # %B -> actual: January 880s # %^B -> expected: JANUARY 880s # %^B -> actual: JANUARY 880s # %#B -> expected: JANUARY 880s # %#B -> actual: JANUARY 880s # %h -> expected: Jan 880s # %h -> actual: Jan 880s # %^h -> expected: JAN 880s # %^h -> actual: JAN 880s # %#h -> expected: JAN 880s # %#h -> actual: JAN 880s # %Z -> expected: UTC 880s # %Z -> actual: UTC 880s # %^Z -> expected: UTC 880s # %^Z -> actual: UTC 880s # %#Z -> expected: utc 880s # %#Z -> actual: utc 880s # %H -> expected: 01 880s # %H -> actual: 01 880s # %_H -> expected: 1 880s # %_H -> actual: 1 880s # %-H -> expected: 1 880s # %-H -> actual: 1 880s # %0H -> expected: 01 880s # %0H -> actual: 01 880s # %H -> expected: 21 880s # %H -> actual: 21 880s # %_H -> expected: 21 880s # %_H -> actual: 21 880s # %-H -> expected: 21 880s # %-H -> actual: 21 880s # %0H -> expected: 21 880s # %0H -> actual: 21 880s # %I -> expected: 01 880s # %I -> actual: 01 880s # %_I -> expected: 1 880s # %_I -> actual: 1 880s # %-I -> expected: 1 880s # %-I -> actual: 1 880s # %0I -> expected: 01 880s # %0I -> actual: 01 880s # %I -> expected: 11 880s # %I -> actual: 11 880s # %_I -> expected: 11 880s # %_I -> actual: 11 880s # %-I -> expected: 11 880s # %-I -> actual: 11 880s # %0I -> expected: 11 880s # %0I -> actual: 11 880s # %k -> expected:  1 880s # %k -> actual:  1 880s # %_k -> expected: 1 880s # %_k -> actual: 1 880s # %-k -> expected: 1 880s # %-k -> actual: 1 880s # %0k -> expected: 01 880s # %0k -> actual: 01 880s # %l -> expected:  1 880s # %l -> actual:  1 880s # %_l -> expected: 1 880s # %_l -> actual: 1 880s # %-l -> expected: 1 880s # %-l -> actual: 1 880s # %0l -> expected: 01 880s # %0l -> actual: 01 880s # %l -> expected: 11 880s # %l -> actual: 11 880s # %_l -> expected: 11 880s # %_l -> actual: 11 880s # %-l -> expected: 11 880s # %-l -> actual: 11 880s # %0l -> expected: 11 880s # %0l -> actual: 11 880s # %p -> expected: AM 880s # %p -> actual: AM 880s # %^p -> expected: AM 880s # %^p -> actual: AM 880s # %#p -> expected: am 880s # %#p -> actual: am 880s # %P -> expected: am 880s # %P -> actual: am 880s # %^P -> expected: AM 880s # %^P -> actual: AM 880s # %#P -> expected: am 880s # %#P -> actual: am 880s # %OH -> expected: ۲۳ 880s # %OH -> actual: ۲۳ 880s # %OI -> expected: ۱۱ 880s # %OI -> actual: ۱۱ 880s # %OM -> expected: ۰۰ 880s # %OM -> actual: ۰۰ 880s # %Om -> expected: ۰۷ 880s # %Om -> actual: ۰۷ 880s # %0Om -> expected: ۰۷ 880s # %0Om -> actual: ۰۷ 880s # %-Om -> expected: ۷ 880s # %-Om -> actual: ۷ 880s # %_Om -> expected: ۷ 880s # %_Om -> actual: ۷ 880s # %c -> expected: thu 01 jan 2009 00:00:00 utc 880s # %c -> actual: Thu 01 Jan 2009 00:00:00 UTC 880s # %Ec -> expected: thu 01 jan 2009 00:00:00 utc 880s # %Ec -> actual: Thu 01 Jan 2009 00:00:00 UTC 880s # %C -> expected: 20 880s # %C -> actual: 20 880s # %EC -> expected: 20 880s # %EC -> actual: 20 880s # %x -> expected: 02/01/09 880s # %x -> actual: 02/01/09 880s # %Ex -> expected: 02/01/09 880s # %Ex -> actual: 02/01/09 880s # %X -> expected: 01:02:03 880s # %X -> actual: 01:02:03 880s # %EX -> expected: 01:02:03 880s # %EX -> actual: 01:02:03 880s # %y -> expected: 09 880s # %y -> actual: 09 880s # %Ey -> expected: 09 880s # %Ey -> actual: 09 880s # %Y -> expected: 2009 880s # %Y -> actual: 2009 880s # %EY -> expected: 2009 880s # %EY -> actual: 2009 880s ok 37 /GDateTime/modifiers # SKIP locale gu_IN not available, skipping O modifier tests 880s # Bug Reference: http://bugzilla.gnome.org/749206 880s # %B -> expected: January 880s # %B -> actual: January 880s # %OB -> expected: February 880s # %OB -> actual: February 880s # %b -> expected: Mar 880s # %b -> actual: Mar 880s # %Ob -> expected: Apr 880s # %Ob -> actual: Apr 880s # %h -> expected: May 880s # %h -> actual: May 880s # %Oh -> expected: Jun 880s # %Oh -> actual: Jun 880s # %B -> expected: Juli 880s # %B -> actual: Juli 880s # %OB -> expected: August 880s # %OB -> actual: August 880s # %b -> expected: Sep 880s # %b -> actual: Sep 880s # %Ob -> expected: Okt 880s # %Ob -> actual: Okt 880s # %h -> expected: Nov 880s # %h -> actual: Nov 880s # %Oh -> expected: Dez 880s # %Oh -> actual: Dez 880s # %B -> expected: enero 880s # %B -> actual: enero 880s # %OB -> expected: febrero 880s # %OB -> actual: febrero 880s # %b -> expected: mar 880s # %b -> actual: mar 880s # %Ob -> expected: abr 880s # %Ob -> actual: abr 880s # %h -> expected: may 880s # %h -> actual: may 880s # %Oh -> expected: jun 880s # %Oh -> actual: jun 880s # %B -> expected: juillet 880s # %B -> actual: juillet 880s # %OB -> expected: août 880s # %OB -> actual: août 880s # %b -> expected: sept. 880s # %b -> actual: sept. 880s # %Ob -> expected: oct. 880s # %Ob -> actual: oct. 880s # %h -> expected: nov. 880s # %h -> actual: nov. 880s # %Oh -> expected: déc. 880s # %Oh -> actual: déc. 880s # %B -> expected: Ιανουαρίου 880s # %B -> actual: Ιανουαρίου 880s # %B -> expected: Φεβρουαρίου 880s # %B -> actual: Φεβρουαρίου 880s # %B -> expected: Μαρτίου 880s # %B -> actual: Μαρτίου 880s # %OB -> expected: Απρίλιος 880s # %OB -> actual: Απρίλιος 880s # %OB -> expected: Μάιος 880s # %OB -> actual: Μάιος 880s # %OB -> expected: Ιούνιος 880s # %OB -> actual: Ιούνιος 880s # %b -> expected: Ιουλ 880s # %b -> actual: Ιουλ 880s # %Ob -> expected: Αύγ 880s # %Ob -> actual: Αύγ 880s # %B -> expected: svibnja 880s # %B -> actual: svibnja 880s # %B -> expected: lipnja 880s # %B -> actual: lipnja 880s # %B -> expected: srpnja 880s # %B -> actual: srpnja 880s # %OB -> expected: Kolovoz 880s # %OB -> actual: kolovoz 880s # %OB -> expected: Rujan 880s # %OB -> actual: rujan 880s # %OB -> expected: Listopad 880s # %OB -> actual: listopad 880s # %b -> expected: Stu 880s # %b -> actual: stu 880s # %Ob -> expected: Pro 880s # %Ob -> actual: pro 880s # %B -> expected: sausio 880s # %B -> actual: sausio 880s # %B -> expected: vasario 880s # %B -> actual: vasario 880s # %B -> expected: kovo 880s # %B -> actual: kovo 880s # %OB -> expected: balandis 880s # %OB -> actual: balandis 880s # %OB -> expected: gegužė 880s # %OB -> actual: gegužė 880s # %OB -> expected: birželis 880s # %OB -> actual: birželis 880s # %b -> expected: liep. 880s # %b -> actual: liep. 880s # %Ob -> expected: rugp. 880s # %Ob -> actual: rugp. 880s # %B -> expected: maja 880s # %B -> actual: maja 880s # %B -> expected: czerwca 880s # %B -> actual: czerwca 880s # %B -> expected: lipca 880s # %B -> actual: lipca 880s # %OB -> expected: sierpień 880s # %OB -> actual: sierpień 880s # %OB -> expected: wrzesień 880s # %OB -> actual: wrzesień 880s # %OB -> expected: październik 880s # %OB -> actual: październik 880s # %b -> expected: lis 880s # %b -> actual: lis 880s # %Ob -> expected: gru 880s # %Ob -> actual: gru 880s # %B -> expected: января 880s # %B -> actual: января 880s # %B -> expected: февраля 880s # %B -> actual: февраля 880s # %B -> expected: марта 880s # %B -> actual: марта 880s # %OB -> expected: Апрель 880s # %OB -> actual: Апрель 880s # %OB -> expected: Май 880s # %OB -> actual: Май 880s # %OB -> expected: Июнь 880s # %OB -> actual: Июнь 880s # %b -> expected: июл 880s # %b -> actual: июл 880s # %Ob -> expected: авг 880s # %Ob -> actual: авг 880s # %b -> expected: мая 880s # %b -> actual: мая 880s # %Ob -> expected: май 880s # %Ob -> actual: май 880s ok 38 /GDateTime/month_names 880s ok 39 /GDateTime/to_local 880s ok 40 /GDateTime/to_unix 880s ok 41 /GDateTime/to_timeval 880s ok 42 /GDateTime/to_utc 880s ok 43 /GDateTime/now_utc 880s ok 44 /GDateTime/dst 880s # Bug Reference: http://bugzilla.gnome.org/642935 880s ok 45 /GDateTime/test_z 881s ok 46 /GDateTime/test-all-dates 881s # slow test /GDateTime/test-all-dates executed in 1.27 secs 881s ok 47 /GDateTime/unix_usec 881s # Start of new_from_unix tests 881s # Bug Reference: http://bugzilla.gnome.org/782089 881s ok 48 /GDateTime/new_from_unix/overflow 881s # End of new_from_unix tests 881s # Start of new_from_timeval tests 881s # Bug Reference: http://bugzilla.gnome.org/782089 881s # Maximum supported GTimeVal.tv_sec = 253402300799 881s ok 49 /GDateTime/new_from_timeval/overflow 881s # End of new_from_timeval tests 881s # Start of new_from_iso8601 tests 881s # /GDateTime/new_from_iso8601/2 summary: Further parser tests for g_date_time_new_from_iso8601(), checking success and failure using test vectors. 881s # Vector 0: 1990-11-01T10:21:17Z 881s # Vector 1: 19901101T102117Z 881s # Vector 2: 1970-01-01T00:00:17.12Z 881s # Vector 3: 1970-01-01T00:00:17.1234Z 881s # Vector 4: 1970-01-01T00:00:17.123456Z 881s # Vector 5: 1980-02-22T12:36:00+02:00 881s # Vector 6: 1990-12-31T15:59:60-08:00 881s # Vector 7: 881s # Vector 8: x 881s # Vector 9: 123x 881s # Vector 10: 2001-10+x 881s # Vector 11: 1980-02-22T 881s # Vector 12: 2001-10-08Tx 881s # Vector 13: 2001-10-08T10:11x 881s # Vector 14: Wed Dec 19 17:20:20 GMT 2007 881s # Vector 15: 1980-02-22T10:36:00Zulu 881s # Vector 16: 2T0+819855292164632335 881s # Vector 17: 2018-08-03T14:08:05.446178377+01:00 881s # Vector 18: 2147483648-08-03T14:08:05.446178377+01:00 881s # Vector 19: 2018-13-03T14:08:05.446178377+01:00 881s # Vector 20: 2018-00-03T14:08:05.446178377+01:00 881s # Vector 21: 2018-08-00T14:08:05.446178377+01:00 881s # Vector 22: 2018-08-32T14:08:05.446178377+01:00 881s # Vector 23: 2018-08-03T24:08:05.446178377+01:00 881s # Vector 24: 2018-08-03T14:60:05.446178377+01:00 881s # Vector 25: 2018-08-03T14:08:63.446178377+01:00 881s # Vector 26: 2018-08-03T14:08:05.446178377+100:00 881s # Vector 27: 20180803T140805.446178377+0100 881s # Vector 28: 21474836480803T140805.446178377+0100 881s # Vector 29: 20181303T140805.446178377+0100 881s # Vector 30: 20180003T140805.446178377+0100 881s # Vector 31: 20180800T140805.446178377+0100 881s # Vector 32: 20180832T140805.446178377+0100 881s # Vector 33: 20180803T240805.446178377+0100 881s # Vector 34: 20180803T146005.446178377+0100 881s # Vector 35: 20180803T140863.446178377+0100 881s # Vector 36: 20180803T140805.446178377+10000 881s # Vector 37: -0005-01-01T00:00:00Z 881s # Vector 38: 2018-08-06 881s # Vector 39: 20180803T140805,446178377+0100 881s # Vector 40: 2018-08-03T14:08:05.446178377-01:00 881s # Vector 41: 2018-08-03T14:08:05.446178377 01:00 881s # Vector 42: 1990-11-01T10:21:17 881s # Vector 43: 1719W462 407777-07 881s # Vector 44: 4011090 260528Z 881s # Vector 45: 0000W011 228214-22 881s ok 50 /GDateTime/new_from_iso8601/2 881s # End of new_from_iso8601 tests 881s # Start of format_mixed tests 881s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 881s # %b -> expected: mar 881s # %b -> actual: Mar 881s # %B -> expected: march 881s # %B -> actual: March 881s ok 51 /GDateTime/format_mixed/utf8_time_non_utf8_messages 881s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 881s # %b -> expected: mar 881s # %b -> actual: Mar 881s # %B -> expected: march 881s # %B -> actual: March 881s ok 52 /GDateTime/format_mixed/utf8_time_utf8_messages 881s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 881s # %b -> expected: Mär 881s # %b -> actual: Mär 881s # %B -> expected: März 881s # %B -> actual: März 881s ok 53 /GDateTime/format_mixed/non_utf8_time_non_utf8_messages 881s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 881s # %b -> expected: Mär 881s # %b -> actual: Mär 881s # %B -> expected: März 881s # %B -> actual: März 881s ok 54 /GDateTime/format_mixed/non_utf8_time_utf8_messages 881s # End of format_mixed tests 881s # Start of strftime tests 881s # %r -> expected: (null) 881s # %r -> actual: (null) 881s ok 55 /GDateTime/strftime/error_handling 881s # End of strftime tests 881s # Start of eras tests 881s # %Ec -> expected: 令和05年06月01日 00時00分00秒 881s # %Ec -> actual: 令和05年06月01日 00時00分00秒 881s # %EC -> expected: 令和 881s # %EC -> actual: 令和 881s # %Ex -> expected: 令和05年06月01日 881s # %Ex -> actual: 令和05年06月01日 881s # %EX -> expected: 00時00分00秒 881s # %EX -> actual: 00時00分00秒 881s # %Ey -> expected: 05 881s # %Ey -> actual: 05 881s # %EY -> expected: 令和05年 881s # %EY -> actual: 令和05年 881s # %Ec -> expected: 平成31年04月30日 00時00分00秒 881s # %Ec -> actual: 平成31年04月30日 00時00分00秒 881s # %EC -> expected: 平成 881s # %EC -> actual: 平成 881s # %Ex -> expected: 平成31年04月30日 881s # %Ex -> actual: 平成31年04月30日 881s # %EX -> expected: 00時00分00秒 881s # %EX -> actual: 00時00分00秒 881s # %Ey -> expected: 31 881s # %Ey -> actual: 31 881s # %EY -> expected: 平成31年 881s # %EY -> actual: 平成31年 881s # %Ec -> expected: 昭和元年12月25日 00時00分00秒 881s # %Ec -> actual: 昭和元年12月25日 00時00分00秒 881s # %EC -> expected: 昭和 881s # %EC -> actual: 昭和 881s # %Ex -> expected: 昭和元年12月25日 881s # %Ex -> actual: 昭和元年12月25日 881s # %EX -> expected: 00時00分00秒 881s # %EX -> actual: 00時00分00秒 881s # %Ey -> expected: 01 881s # %Ey -> actual: 01 881s # %EY -> expected: 昭和元年 881s # %EY -> actual: 昭和元年 881s ok 56 /GDateTime/eras/japan 881s ok 57 /GDateTime/eras/thailand # SKIP locale th_TH.utf-8 not available, skipping Thai era tests 881s # Vector 0: 881s # Vector 1: +:1:-543/01/01:+*:พ.ศ.:%EC %Ey 881s # 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年 881s # Vector 3: -:2:2020/01/01:-*:令和:%EC%Ey年 881s # Vector 4: +:2:2020/01/01:2020/01/01:令和:%EC%Ey年 881s # Vector 5: +:2:+2020/01/01:+*:令和:%EC%Ey年 881s # Vector 6: .:2:2020/01/01:+*:令和:%EC%Ey年 881s # Vector 7: +.2:2020/01/01:+*:令和:%EC%Ey年 881s # Vector 8: + 881s # Vector 9: +: 881s # Vector 10: +:: 881s # Vector 11: +:200 881s # Vector 12: +:2nonsense 881s # Vector 13: +:2nonsense: 881s # Vector 14: +:2: 881s # Vector 15: +:2:: 881s # Vector 16: +:2:2020-01/01:+*:令和:%EC%Ey年 881s # Vector 17: +:2:2020nonsense/01/01:+*:令和:%EC%Ey年 881s # Vector 18: +:2:2020:+*:令和:%EC%Ey年 881s # Vector 19: +:2:18446744073709551615/01/01:+*:令和:%EC%Ey年 881s # Vector 20: +:2:2020/01-01:+*:令和:%EC%Ey年 881s # Vector 21: +:2:2020/01nonsense/01:+*:令和:%EC%Ey年 881s # Vector 22: +:2:2020/01:+*:令和:%EC%Ey年 881s # Vector 23: +:2:2020/00/01:+*:令和:%EC%Ey年 881s # Vector 24: +:2:2020/13/01:+*:令和:%EC%Ey年 881s # Vector 25: +:2:2020/01/00:+*:令和:%EC%Ey年 881s # Vector 26: +:2:2020/01/32:+*:令和:%EC%Ey年 881s # Vector 27: +:2:2020/01/01nonsense:+*:令和:%EC%Ey年 881s # Vector 28: +:2:2020/01/01 881s # Vector 29: +:2:2020/01/01: 881s # Vector 30: +:2:2020/01/01:: 881s # Vector 31: +:2:2020/01/01:2021-01-01:令和:%EC%Ey年 881s # Vector 32: +:2:2020/01/01:+* 881s # Vector 33: +:2:2020/01/01:+*: 881s # Vector 34: +:2:2020/01/01:+*:: 881s # Vector 35: +:2:2020/01/01:+*:令和 881s # Vector 36: +:2:2020/01/01:+*:令和: 881s # Vector 37: +:2:2020/01/01:+*:令和:; 881s ok 58 /GDateTime/eras/parsing 881s # End of eras tests 881s # End of GDateTime tests 881s # Start of GTimeZone tests 881s ok 59 /GTimeZone/find-interval 881s ok 60 /GTimeZone/adjust-time 881s ok 61 /GTimeZone/no-header 881s ok 62 /GTimeZone/no-header-identifier 881s ok 63 /GTimeZone/posix-parse 881s # Bug Reference: http://bugzilla.gnome.org/697715 881s ok 64 /GTimeZone/floating-point 881s # System time zone identifier: Etc/UTC 881s ok - glib/gdatetime.test 881s # Running test: glib/giomodule.test 881s ok - glib/giomodule.test 881s # Running test: glib/642026-ec.test 881s ok 65 /GTimeZone/identifier 881s # Vector 0: -158400 881s # Vector 1: -10000 881s # Vector 2: -3600 881s # Vector 3: -61 881s # Vector 4: -60 881s # Vector 5: -59 881s # Vector 6: 0 881s # Vector 7: 59 881s # Vector 8: 60 881s # Vector 9: 61 881s # Vector 10: 3600 881s # Vector 11: 10000 881s # Vector 12: 158400 881s ok 66 /GTimeZone/new-offset 881s # /GTimeZone/parse-rfc8536 summary: Test parsing time zone files in RFC 8536 version 3 format 881s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2129 881s ok 67 /GTimeZone/parse-rfc8536 881s # /GTimeZone/caching summary: GTimeZone instances are cached 881s ok 68 /GTimeZone/caching 881s # End of GTimeZone tests 881s TAP version 14 881s # random seed: R02Sc9f7faa0d7a1ad56a5554990b757c790 881s 1..3 881s # Start of giomodule tests 881s ok 1 /giomodule/extension-point 881s ok 2 /giomodule/module-scan-all 881s ok 3 /giomodule/module-scan-all-with-scope 881s # End of giomodule tests 881s TAP version 14 881s # random seed: R02S38be6dc681d77dc5b4cd6a520ffa58b0 881s 1..1 881s # Start of glib tests 881s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 881s ok 1 /glib/642026 881s ok - glib/642026-ec.test 881s # End of glib tests 881s # Running test: glib/spawn-test.test 881s TAP version 14 881s # random seed: R02Sb00957b7025af8a07147d8ada9400d2a 881s 1..2 881s # Start of spawn tests 881s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_spawn-test_AZYPE3/spawn/basics/.dirs/home 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_spawn-test_AZYPE3/spawn/basics/.dirs/cache 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_spawn-test_AZYPE3/spawn/basics/.dirs/system-config1:/tmp/test_spawn-test_AZYPE3/spawn/basics/.dirs/system-config2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_spawn-test_AZYPE3/spawn/basics/.dirs/config 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_spawn-test_AZYPE3/spawn/basics/.dirs/system-data1:/tmp/test_spawn-test_AZYPE3/spawn/basics/.dirs/system-data2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_spawn-test_AZYPE3/spawn/basics/.dirs/data 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_spawn-test_AZYPE3/spawn/basics/.dirs/state 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_spawn-test_AZYPE3/spawn/basics/.dirs/runtime 881s ok 1 /spawn/basics 881s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_spawn-test_AZYPE3/spawn/stdio-overwrite/.dirs/home 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_spawn-test_AZYPE3/spawn/stdio-overwrite/.dirs/cache 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_spawn-test_AZYPE3/spawn/stdio-overwrite/.dirs/system-config1:/tmp/test_spawn-test_AZYPE3/spawn/stdio-overwrite/.dirs/system-config2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_spawn-test_AZYPE3/spawn/stdio-overwrite/.dirs/config 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_spawn-test_AZYPE3/spawn/stdio-overwrite/.dirs/system-data1:/tmp/test_spawn-test_AZYPE3/spawn/stdio-overwrite/.dirs/system-data2 881s ok - glib/spawn-test.test 881s # Running test: glib/atomic.test 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_spawn-test_AZYPE3/spawn/stdio-overwrite/.dirs/data 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_spawn-test_AZYPE3/spawn/stdio-overwrite/.dirs/state 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_spawn-test_AZYPE3/spawn/stdio-overwrite/.dirs/runtime 881s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/16 881s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr open 881s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr already closed 881s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr open 881s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr already closed 881s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr open 881s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr already closed 881s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr open 881s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr already closed 881s # Fetching GSpawn result output with stdin open, stdout open, stderr open 881s # Fetching GSpawn result output with stdin open, stdout open, stderr already closed 881s # Fetching GSpawn result output with stdin open, stdout already closed, stderr open 881s # Fetching GSpawn result output with stdin open, stdout already closed, stderr already closed 881s # Fetching GSpawn result output with stdin already closed, stdout open, stderr open 881s # Fetching GSpawn result output with stdin already closed, stdout open, stderr already closed 881s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr open 881s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr already closed 881s # Fetching GSpawn result error output with stdin open, stdout open, stderr open 881s # Fetching GSpawn result error output with stdin open, stdout open, stderr already closed 881s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr open 881s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr already closed 881s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr open 881s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr already closed 881s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr open 881s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr already closed 881s # Fetching GSpawn result with stdin open, stdout open, stderr open 881s # Fetching GSpawn result with stdin open, stdout open, stderr already closed 881s # Fetching GSpawn result with stdin open, stdout already closed, stderr open 881s # Fetching GSpawn result with stdin open, stdout already closed, stderr already closed 881s # Fetching GSpawn result with stdin already closed, stdout open, stderr open 881s # Fetching GSpawn result with stdin already closed, stdout open, stderr already closed 881s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr open 881s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr already closed 881s ok 2 /spawn/stdio-overwrite 881s # End of spawn tests 881s TAP version 14 881s # random seed: R02Sbb834a61d924269448d7c9a63a449196 881s 1..2 881s # Start of atomic tests 881s ok 1 /atomic/types 881s ok - glib/atomic.test 881s ok 2 /atomic/threaded 881s # End of atomic tests 881s # Running test: glib/vfs.test 881s TAP version 14 881s # random seed: R02S3f8739cc7fdb249bb621bdc45b65aed2 881s 1..3 881s # Start of gvfs tests 881s ok 1 /gvfs/local 881s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 881s ok 2 /gvfs/register-scheme 881s # Start of resource tests 881s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3090 881s # /gvfs/resource/malformed-escaping summary: Test that g_vfs_get_file_for_uri() returns an invalid file for an invalid URI 881s ok 3 /gvfs/resource/malformed-escaping 881s # End of resource tests 881s # End of gvfs tests 881s ok - glib/vfs.test 881s # Running test: glib/sort.test 881s TAP version 14 881s # random seed: R02Sfe747bfc72b447ff9fdd603282aa18f6 881s 1..5 881s # Start of sort tests 881s ok 1 /sort/basic 881s ok 2 /sort/zero-elements 881s ok 3 /sort/stable 881s ok 4 /sort/big 881s ok 5 /sort/deprecated 881s # End of sort tests 881s ok - glib/sort.test 881s # Running test: glib/converter.test 881s TAP version 14 881s # random seed: R02Sc252ba9d06d0b4bdde28ef7e2a29db5e 881s 1..3 881s # Start of converter tests 881s ok 1 /converter/bytes 881s ok 2 /converter/extra-bytes-at-end 881s ok 3 /converter/gzip-os-property 881s # End of converter tests 881s ok - glib/converter.test 881s # Running test: glib/types.test 881s TAP version 14 881s # random seed: R02S1ae957aff43d1a6ae2ec732bfad33bec 881s 1..1 881s # Start of types tests 881s ok 1 /types/basic_types 881s # End of types tests 881s ok - glib/types.test 881s # Running test: glib/gdbus-threading.test 881s TAP version 14 881s # random seed: R02S0ac7a042fc3691d9009de99605cad4be 881s # 1..0 # SKIP all gdbus-threading tests skipped because they are too unreliable (glib#1515) 881s ok - glib/gdbus-threading.test 881s # Running test: glib/genmarshal.py.test 881s TAP version 13 881s ok 1 __main__.TestGenmarshal.test_empty_list 881s # glib-genmarshal: /usr/bin/glib-genmarshal 881s # tmpdir: /tmp/tmpdnta977r 881s # /tmp/tmpdnta977r/tmphqhitdj8.list: 881s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpdnta977r/tmphqhitdj8.list', '--header', '--quiet'] 881s # Return code: 0 881s # Output: 881s # /* 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. */ 881s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 881s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 881s # 881s # #include 881s # 881s # G_BEGIN_DECLS 881s # 881s # 881s # G_END_DECLS 881s # 881s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 881s # Error: 881s # 881s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpdnta977r/tmphqhitdj8.list', '--body', '--quiet'] 881s # Return code: 0 881s # Output: 881s # /* 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. */ 881s # #include 881s # 881s # #ifdef G_ENABLE_DEBUG 881s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 881s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 881s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 881s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 881s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 881s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 881s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 881s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 881s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 881s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 881s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 881s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 881s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 881s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 881s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 881s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 881s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 881s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 881s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 881s # #else /* !G_ENABLE_DEBUG */ 881s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 881s # * Do not access GValues directly in your code. Instead, use the 881s # * g_value_get_*() functions 881s # */ 881s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 881s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 881s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 881s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 881s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 881s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 881s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 881s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 881s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 881s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 881s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 881s # #endif /* !G_ENABLE_DEBUG */ 881s # Error: 881s ok 2 __main__.TestGenmarshal.test_help 881s # glib-genmarshal: /usr/bin/glib-genmarshal 881s # tmpdir: /tmp/tmpjlb_xtk1 881s # Running: ['/usr/bin/glib-genmarshal', '--help'] 881s # Return code: 0 881s # Output: 881s # usage: glib-genmarshal [-h] [--prefix STRING] [--output FILE] [--skip-source] 881s # [--internal] [--valist-marshallers] [-v] 881s # [--g-fatal-warnings] [--include-header [HEADER]] 881s # [--pragma-once] [-D CPP_DEFINES] [-U CPP_UNDEFINES] 881s # [--prototypes] [--header] [--body] [--stdinc | 881s # --nostdinc] [--quiet | --verbose] 881s # [FILE ...] 881s # 881s # Generate signal marshallers for GObject 881s # 881s # positional arguments: 881s # FILE Files with lists of marshallers to generate, or "-" 881s # for standard input 881s # 881s # options: 881s # -h, --help show this help message and exit 881s # --prefix STRING Specify marshaller prefix 881s # --output FILE Write output into the specified file 881s # --skip-source Skip source location comments 881s # --internal Mark generated functions as internal 881s # --valist-marshallers Generate va_list marshallers 881s # -v, --version Print version information, and exit 881s # --g-fatal-warnings Make warnings fatal 881s # --include-header [HEADER] 881s # Include the specified header in the body 881s # --pragma-once Use "pragma once" as the inclusion guard 881s # -D CPP_DEFINES Pre-processor define 881s # -U CPP_UNDEFINES Pre-processor undefine 881s # --prototypes Generate the marshallers prototype in the C code 881s # --header Generate C headers 881s # --body Generate C code 881s # --stdinc Include standard marshallers 881s # --nostdinc Use standard marshallers 881s # --quiet Only print warnings and errors 881s # --verbose Be verbose, and include debugging information 881s # Error: 881s ok 3 __main__.TestGenmarshal.test_no_args 881s # glib-genmarshal: /usr/bin/glib-genmarshal 881s # tmpdir: /tmp/tmpd3b46th1 881s # Running: ['/usr/bin/glib-genmarshal'] 881s # Return code: 0 881s # Output: 881s # 881s # Error: 881s ok 4 __main__.TestGenmarshal.test_void_boolean 881s # glib-genmarshal: /usr/bin/glib-genmarshal 881s # tmpdir: /tmp/tmpvablgyi2 881s # /tmp/tmpvablgyi2/tmppc58y3r8.list: VOID:BOOLEAN 881s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpvablgyi2/tmppc58y3r8.list', '--header', '--quiet'] 881s # Return code: 0 881s # Output: 881s # /* 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. */ 881s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 881s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 881s # 881s # #include 881s # 881s # G_BEGIN_DECLS 881s # 881s # /* VOID:BOOLEAN (/tmp/tmpvablgyi2/tmppc58y3r8.list:1) */ 881s # #define g_cclosure_user_marshal_VOID__BOOLEAN g_cclosure_marshal_VOID__BOOLEAN 881s # 881s # 881s # G_END_DECLS 881s # 881s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 881s # Error: 881s # 881s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpvablgyi2/tmppc58y3r8.list', '--body', '--quiet'] 881s # Return code: 0 881s # Output: 881s # /* 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. */ 881s # #include 881s # 881s # #ifdef G_ENABLE_DEBUG 881s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 881s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 881s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 881s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 881s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 881s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 881s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 881s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 881s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 881s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 881s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 881s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 881s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 881s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 881s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 881s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 881s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 881s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 881s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 881s # #else /* !G_ENABLE_DEBUG */ 881s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 881s # * Do not access GValues directly in your code. Instead, use the 881s # * g_value_get_*() functions 881s # */ 881s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 881s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 881s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 881s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 881s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 881s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 881s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 881s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 881s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 881s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 881s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 881s # #endif /* !G_ENABLE_DEBUG */ 881s # Error: 881s ok 5 __main__.TestGenmarshal.test_void_boolean_int64 881s # glib-genmarshal: /usr/bin/glib-genmarshal 881s # tmpdir: /tmp/tmp4trxflju 881s # /tmp/tmp4trxflju/tmpu75fmpo5.list: VOID:BOOLEAN,INT64 881s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp4trxflju/tmpu75fmpo5.list', '--header', '--quiet'] 881s # Return code: 0 881s # Output: 881s # /* 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. */ 881s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 881s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 881s # 881s # #include 881s # 881s # G_BEGIN_DECLS 881s # 881s # /* VOID:BOOLEAN,INT64 (/tmp/tmp4trxflju/tmpu75fmpo5.list:1) */ 881s # extern 881s # void g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 881s # GValue *return_value, 881s # guint n_param_values, 881s # const GValue *param_values, 881s # gpointer invocation_hint, 881s # gpointer marshal_data); 881s # 881s # 881s # G_END_DECLS 881s # 881s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 881s # Error: 881s # 881s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp4trxflju/tmpu75fmpo5.list', '--body', '--quiet'] 881s # Return code: 0 881s # Output: 881s # /* 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. */ 881s # #include 881s # 881s # #ifdef G_ENABLE_DEBUG 881s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 881s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 881s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 881s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 881s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 881s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 881s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 881s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 881s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 881s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 881s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 881s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 881s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 881s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 881s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 881s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 881s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 881s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 881s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 881s # #else /* !G_ENABLE_DEBUG */ 881s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 881s # * Do not access GValues directly in your code. Instead, use the 881s # * g_value_get_*() functions 881s # */ 881s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 881s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 881s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 881s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 881s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 881s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 881s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 881s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 881s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 881s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 881s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 881s # #endif /* !G_ENABLE_DEBUG */ 881s # 881s # /* VOID:BOOLEAN,INT64 (/tmp/tmp4trxflju/tmpu75fmpo5.list:1) */ 881s # void 881s # g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 881s # GValue *return_value G_GNUC_UNUSED, 881s # guint n_param_values, 881s # const GValue *param_values, 881s # gpointer invocation_hint G_GNUC_UNUSED, 881s # gpointer marshal_data) 881s # { 881s # typedef void (*GMarshalFunc_VOID__BOOLEAN_INT64) (gpointer data1, 881s # gboolean arg1, 881s # gint64 arg2, 881s # gpointer data2); 881s # GCClosure *cc = (GCClosure *) closure; 881s # gpointer data1, data2; 881s # GMarshalFunc_VOID__BOOLEAN_INT64 callback; 881s # 881s # g_return_if_fail (n_param_values == 3); 881s # 881s # if (G_CCLOSURE_SWAP_DATA (closure)) 881s # { 881s # data1 = closure->data; 881s # data2 = g_value_peek_pointer (param_values + 0); 881s # } 881s # else 881s # { 881s # data1 = g_value_peek_pointer (param_values + 0); 881s # data2 = closure->data; 881s # } 881s # callback = (GMarshalFunc_VOID__BOOLEAN_INT64) (marshal_data ? marshal_data : cc->callback); 881s # 881s # callback (data1, 881s # g_marshal_value_peek_boolean (param_values + 1), 881s # g_marshal_value_peek_int64 (param_values + 2), 881s # data2); 881s # } 881s # Error: 881s ok 6 __main__.TestGenmarshal.test_void_param_nostdinc 881s # glib-genmarshal: /usr/bin/glib-genmarshal 881s # tmpdir: /tmp/tmpqa5ltvs6 881s # /tmp/tmpqa5ltvs6/tmp_m4u7rxg.list: VOID:PARAM 881s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpqa5ltvs6/tmp_m4u7rxg.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 881s # Return code: 0 881s # Output: 881s # /* 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. */ 881s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 881s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 881s # 881s # G_BEGIN_DECLS 881s # 881s # /* VOID:PARAM (/tmp/tmpqa5ltvs6/tmp_m4u7rxg.list:1) */ 881s # extern 881s # void g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 881s # GValue *return_value, 881s # guint n_param_values, 881s # const GValue *param_values, 881s # gpointer invocation_hint, 881s # gpointer marshal_data); 881s # extern 881s # void g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 881s # GValue *return_value, 881s # gpointer instance, 881s # va_list args, 881s # gpointer marshal_data, 881s # int n_params, 881s # GType *param_types); 881s # 881s # 881s # G_END_DECLS 881s # 881s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 881s # Error: 881s # 881s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpqa5ltvs6/tmp_m4u7rxg.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 881s # Return code: 0 881s # Output: 881s # /* 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. */ 881s # #ifdef G_ENABLE_DEBUG 881s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 881s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 881s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 881s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 881s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 881s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 881s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 881s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 881s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 881s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 881s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 881s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 881s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 881s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 881s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 881s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 881s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 881s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 881s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 881s # #else /* !G_ENABLE_DEBUG */ 881s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 881s # * Do not access GValues directly in your code. Instead, use the 881s # * g_value_get_*() functions 881s # */ 881s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 881s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 881s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 881s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 881s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 881s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 881s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 881s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 881s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 881s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 881s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 881s # #endif /* !G_ENABLE_DEBUG */ 881s # 881s # /* VOID:PARAM (/tmp/tmpqa5ltvs6/tmp_m4u7rxg.list:1) */ 881s # void 881s # g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 881s # GValue *return_value G_GNUC_UNUSED, 881s # guint n_param_values, 881s # const GValue *param_values, 881s # gpointer invocation_hint G_GNUC_UNUSED, 881s # gpointer marshal_data) 881s # { 881s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 881s # gpointer arg1, 881s # gpointer data2); 881s # GCClosure *cc = (GCClosure *) closure; 881s # gpointer data1, data2; 881s # GMarshalFunc_VOID__PARAM callback; 881s # 881s # g_return_if_fail (n_param_values == 2); 881s # 881s # if (G_CCLOSURE_SWAP_DATA (closure)) 881s # { 881s # data1 = closure->data; 881s # data2 = g_value_peek_pointer (param_values + 0); 881s # } 881s # else 881s # { 881s # data1 = g_value_peek_pointer (param_values + 0); 881s # data2 = closure->data; 881s # } 881s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 881s # 881s # callback (data1, 881s # g_marshal_value_peek_param (param_values + 1), 881s # data2); 881s # } 881s # 881s # void 881s # g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 881s # GValue *return_value G_GNUC_UNUSED, 881s # gpointer instance, 881s # va_list args, 881s # gpointer marshal_data, 881s # int n_params, 881s # GType *param_types) 881s # { 881s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 881s # gpointer arg1, 881s # gpointer data2); 881s # GCClosure *cc = (GCClosure *) closure; 881s # gpointer data1, data2; 881s # GMarshalFunc_VOID__PARAM callback; 881s # gpointer arg0; 881s # va_list args_copy; 881s # 881s # va_copy (args_copy, args); 881s # arg0 = (gpointer) va_arg (args_copy, gpointer); 881s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 881s # arg0 = g_param_spec_ref (arg0); 881s # va_end (args_copy); 881s # 881s # 881s # if (G_CCLOSURE_SWAP_DATA (closure)) 881s # { 881s # data1 = closure->data; 881s # data2 = instance; 881s # } 881s # else 881s # { 881s # data1 = instance; 881s # data2 = closure->data; 881s # } 881s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 881s # 881s # callback (data1, 881s # arg0, 881s # data2); 881s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 881s # g_param_spec_unref (arg0); 881s # } 881s # Error: 881s ok 7 __main__.TestGenmarshal.test_void_string_nostdinc 881s # glib-genmarshal: /usr/bin/glib-genmarshal 881s # tmpdir: /tmp/tmpfv0ij8dy 881s # /tmp/tmpfv0ij8dy/tmp0ip1k3_9.list: VOID:STRING 881s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpfv0ij8dy/tmp0ip1k3_9.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 881s # Return code: 0 881s # Output: 881s # /* 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. */ 881s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 881s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 881s # 881s # G_BEGIN_DECLS 881s # 881s # /* VOID:STRING (/tmp/tmpfv0ij8dy/tmp0ip1k3_9.list:1) */ 881s # extern 881s # void g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 881s # GValue *return_value, 881s # guint n_param_values, 881s # const GValue *param_values, 881s # gpointer invocation_hint, 881s # gpointer marshal_data); 881s # extern 881s # void g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 881s # GValue *return_value, 881s # gpointer instance, 881s # va_list args, 881s # gpointer marshal_data, 881s # int n_params, 881s # GType *param_types); 881s # 881s # 881s # G_END_DECLS 881s # 881s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 881s # Error: 881s # 881s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpfv0ij8dy/tmp0ip1k3_9.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 881s # Return code: 0 881s # Output: 881s # /* 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. */ 881s # #ifdef G_ENABLE_DEBUG 881s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 881s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 881s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 881s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 881s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 881s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 881s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 881s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 881s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 881s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 881s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 881s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 881s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 881s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 881s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 881s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 881s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 881s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 881s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 881s # #else /* !G_ENABLE_DEBUG */ 881s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 881s # * Do not access GValues directly in your code. Instead, use the 881s # * g_value_get_*() functions 881s # */ 881s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 881s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 881s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 881s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 881s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 881s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 881s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 881s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 881s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 881s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 881s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 881s # #endif /* !G_ENABLE_DEBUG */ 881s # 881s # /* VOID:STRING (/tmp/tmpfv0ij8dy/tmp0ip1k3_9.list:1) */ 881s # void 881s # g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 881s # GValue *return_value G_GNUC_UNUSED, 881s # guint n_param_values, 881s # const GValue *param_values, 881s # gpointer invocation_hint G_GNUC_UNUSED, 881s # gpointer marshal_data) 881s # { 881s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 881s # gpointer arg1, 881s # gpointer data2); 881s # GCClosure *cc = (GCClosure *) closure; 881s # gpointer data1, data2; 881s # GMarshalFunc_VOID__STRING callback; 881s # 881s # g_return_if_fail (n_param_values == 2); 881s # 881s # if (G_CCLOSURE_SWAP_DATA (closure)) 881s # { 881s # data1 = closure->data; 881s # data2 = g_value_peek_pointer (param_values + 0); 881s # } 881s # else 881s # { 881s # data1 = g_value_peek_pointer (param_values + 0); 881s # data2 = closure->data; 881s # } 881s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 881s # 881s # callback (data1, 881s # g_marshal_value_peek_string (param_values + 1), 881s # data2); 881s # } 881s # 881s # void 881s # g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 881s # GValue *return_value G_GNUC_UNUSED, 881s # gpointer instance, 881s # va_list args, 881s # gpointer marshal_data, 881s # int n_params, 881s # GType *param_types) 881s # { 881s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 881s # gpointer arg1, 881s # gpointer data2); 881s # GCClosure *cc = (GCClosure *) closure; 881s # gpointer data1, data2; 881s # GMarshalFunc_VOID__STRING callback; 881s # gpointer arg0; 881s # va_list args_copy; 881s # 881s # va_copy (args_copy, args); 881s # arg0 = (gpointer) va_arg (args_copy, gpointer); 881s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 881s # arg0 = g_strdup (arg0); 881s # va_end (args_copy); 881s # 881s # 881s # if (G_CCLOSURE_SWAP_DATA (closure)) 881s # { 881s # data1 = closure->data; 881s # data2 = instance; 881s # } 881s # else 881s # { 881s # data1 = instance; 881s # data2 = closure->data; 881s # } 881s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 881s # 881s # callback (data1, 881s # arg0, 881s # data2); 881s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 881s # g_free (arg0); 881s # } 881s # Error: 882s ok 8 __main__.TestGenmarshal.test_void_variant_nostdinc_valist_marshaller 882s # glib-genmarshal: /usr/bin/glib-genmarshal 882s # tmpdir: /tmp/tmpeuetx4vb 882s # /tmp/tmpeuetx4vb/tmpin3c9lqb.list: VOID:VARIANT 882s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpeuetx4vb/tmpin3c9lqb.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 882s # Return code: 0 882s # Output: 882s # /* 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. */ 882s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 882s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 882s # 882s # G_BEGIN_DECLS 882s # 882s # /* VOID:VARIANT (/tmp/tmpeuetx4vb/tmpin3c9lqb.list:1) */ 882s # extern 882s # void g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 882s # GValue *return_value, 882s # guint n_param_values, 882s # const GValue *param_values, 882s # gpointer invocation_hint, 882s # gpointer marshal_data); 882s # extern 882s # void g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 882s # GValue *return_value, 882s # gpointer instance, 882s # va_list args, 882s # gpointer marshal_data, 882s # int n_params, 882s # GType *param_types); 882s # 882s # 882s # G_END_DECLS 882s # 882s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 882s # Error: 882s # 882s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpeuetx4vb/tmpin3c9lqb.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 882s # Return code: 0 882s # Output: 882s # /* 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. */ 882s # #ifdef G_ENABLE_DEBUG 882s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 882s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 882s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 882s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 882s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 882s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 882s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 882s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 882s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 882s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 882s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 882s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 882s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 882s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 882s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 882s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 882s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 882s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 882s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 882s # #else /* !G_ENABLE_DEBUG */ 882s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 882s # * Do not access GValues directly in your code. Instead, use the 882s # * g_value_get_*() functions 882s # */ 882s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 882s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 882s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 882s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 882s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 882s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 882s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 882s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 882s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 882s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 882s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 882s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 882s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 882s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 882s # #endif /* !G_ENABLE_DEBUG */ 882s # 882s # /* VOID:VARIANT (/tmp/tmpeuetx4vb/tmpin3c9lqb.list:1) */ 882s # void 882s # g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 882s # GValue *return_value G_GNUC_UNUSED, 882s # guint n_param_values, 882s # const GValue *param_values, 882s # gpointer invocation_hint G_GNUC_UNUSED, 882s # gpointer marshal_data) 882s # { 882s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 882s # gpointer arg1, 882s # gpointer data2); 882s # GCClosure *cc = (GCClosure *) closure; 882s # gpointer data1, data2; 882s # GMarshalFunc_VOID__VARIANT callback; 882s # 882s # g_return_if_fail (n_param_values == 2); 882s # 882s # if (G_CCLOSURE_SWAP_DATA (closure)) 882s # { 882s # data1 = closure->data; 882s # data2 = g_value_peek_pointer (param_values + 0); 882s # } 882s # else 882s # { 882s # data1 = g_value_peek_pointer (param_values + 0); 882s # data2 = closure->data; 882s # } 882s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 882s # 882s # callback (data1, 882s # g_marshal_value_peek_variant (param_values + 1), 882s # data2); 882s # } 882s # 882s # void 882s # g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 882s # GValue *return_value G_GNUC_UNUSED, 882s # gpointer instance, 882s # va_list args, 882s # gpointer marshal_data, 882s # int n_params, 882s # GType *param_types) 882s # { 882s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 882s # gpointer arg1, 882s # gpointer data2); 882s # GCClosure *cc = (GCClosure *) closure; 882s # gpointer data1, data2; 882s # GMarshalFunc_VOID__VARIANT callback; 882s # gpointer arg0; 882s # va_list args_copy; 882s # 882s # va_copy (args_copy, args); 882s # arg0 = (gpointer) va_arg (args_copy, gpointer); 882s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 882s # arg0 = g_variant_ref_sink (arg0); 882s # va_end (args_copy); 882s # 882s # 882s # if (G_CCLOSURE_SWAP_DATA (closure)) 882s # { 882s # data1 = closure->data; 882s # data2 = instance; 882s # } 882s # else 882s # { 882s # data1 = instance; 882s # data2 = closure->data; 882s # } 882s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 882s # 882s # callback (data1, 882s # arg0, 882s # data2); 882s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 882s # g_variant_unref (arg0); 882s # } 882s # Error: 882s 1..8 882s ok - glib/genmarshal.py.test 882s # Running test: glib/gdbus-close-pending.test 882s TAP version 14 882s # random seed: R02Sddd0bcaa836d4a38b30131b584bca446 882s 1..2 882s # Start of gdbus tests 882s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_VQ4LE3/gdbus/close-pending/.dirs/home 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_VQ4LE3/gdbus/close-pending/.dirs/cache 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_VQ4LE3/gdbus/close-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_VQ4LE3/gdbus/close-pending/.dirs/system-config2 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_VQ4LE3/gdbus/close-pending/.dirs/config 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_VQ4LE3/gdbus/close-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_VQ4LE3/gdbus/close-pending/.dirs/system-data2 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_VQ4LE3/gdbus/close-pending/.dirs/data 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_VQ4LE3/gdbus/close-pending/.dirs/state 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_VQ4LE3/gdbus/close-pending/.dirs/runtime 882s ok 1 /gdbus/close-pending 882s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_VQ4LE3/gdbus/unref-pending/.dirs/home 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_VQ4LE3/gdbus/unref-pending/.dirs/cache 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_VQ4LE3/gdbus/unref-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_VQ4LE3/gdbus/unref-pending/.dirs/system-config2 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_VQ4LE3/gdbus/unref-pending/.dirs/config 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_VQ4LE3/gdbus/unref-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_VQ4LE3/gdbus/unref-pending/.dirs/system-data2 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_VQ4LE3/gdbus/unref-pending/.dirs/data 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_VQ4LE3/gdbus/unref-pending/.dirs/state 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_VQ4LE3/gdbus/unref-pending/.dirs/runtime 882s ok - glib/gdbus-close-pending.test 882s ok 2 /gdbus/unref-pending 882s # End of gdbus tests 882s # Running test: glib/network-monitor-race.test 882s TAP version 14 882s # random seed: R02S343fa7da36b32c94408baeb224684647 882s 1..1 882s # Start of network-monitor tests 882s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793727 883s # Executing: glib/network-monitor-race.test 885s ok - glib/network-monitor-race.test 885s # Running test: glib/atomic-c-17.test 885s ok 1 /network-monitor/create-in-thread 885s # slow test /network-monitor/create-in-thread executed in 2.20 secs 885s # End of network-monitor tests 885s TAP version 14 885s # random seed: R02S6861bab71cbd3b7d40026f6996fa17b4 885s 1..2 885s # Start of atomic tests 885s ok 1 /atomic/types 885s ok - glib/atomic-c-17.test 885s # Running test: glib/completion.test 885s ok 2 /atomic/threaded 885s # End of atomic tests 885s TAP version 14 885s # random seed: R02Sa04c716838bad92248f861c432e0d486 885s 1..1 885s # Start of completion tests 885s ok 1 /completion/test-completion 885s # End of completion tests 885s ok - glib/completion.test 885s # Running test: glib/g-file.test 885s TAP version 14 885s # random seed: R02Scd63c161c7a4b353c9aa3bc421e2e2cb 885s 1..8 885s # Start of g-file tests 885s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 885s ok 1 /g-file/test_g_file_new_null 885s ok 2 /g-file/test_g_file_new_for_path 885s ok 3 /g-file/test_g_file_new_for_uri 885s ok 4 /g-file/test_g_file_dup 885s ok 5 /g-file/test_g_file_get_parse_name_utf8 885s ok - glib/g-file.test 885s # Running test: glib/value.test 885s ok - glib/value.test 885s # Running test: glib/portal-support-flatpak-network-only.test 885s file:///tmp/test-tmp-glib_g-file.test-Z45KE3 885s file:///tmp 885s file:///tmp 885s file:////UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 885s file:///UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 885s ok 6 /g-file/test_g_file_new_for_commandline_arg 885s /dir1 /dir1/dir2/dir3/ 885s /dir1/ /dir1/dir2/dir3/ 885s /dir1 /dir1/dir2/dir3 885s /dir1/ /dir1/dir2/dir3 885s /tmp/ /something/ 885s /dir1/dir2 /dir1/ 885s //dir1/new //dir1/new/dir2/dir3 885s /dir/UTF-8 příliš žluťoučký kůň /dir/UTF-8 příliš žluťoučký kůň/dir2 885s file:///dir1 file:///dir1/dir2/dir3/ 885s file:///dir1/ file:///dir1/dir2/dir3/ 885s file:///dir1 file:///dir1/dir2/dir3 885s file:///dir1/ file:///dir1/dir2/dir3 885s file:///tmp/ file:///something/ 885s file:///dir1/dir2 file:///dir1/ 885s file:////dir1/new file:////dir1/new/dir2/dir3 885s 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 885s ok 7 /g-file/test_g_file_has_prefix 885s ok 8 /g-file/test_g_file_get_parent_child 885s # End of g-file tests 885s TAP version 14 885s # random seed: R02S5ef03e359e415c521a78b401bdcf6d55 885s 1..9 885s # Start of value tests 885s ok 1 /value/basic 885s ok 2 /value/collection 885s ok 3 /value/copying 885s ok 4 /value/enum-transformation 885s ok 5 /value/gtype 885s # /value/string summary: Test that G_TYPE_STRING GValue copy properly 885s ok 6 /value/string 885s # Next: GObject object in GValue of GObject to GValue of GObject 885s # Next: GObject object in GValue of GObject to GValue of TestInterface 885s # Next: GObject object in GValue of GObject to GValue of TestObjectA 885s # Next: GObject object in GValue of GObject to GValue of TestObjectB 885s # Next: GObject object in GValue of GObject to GValue of TestObjectA1 885s # Next: GObject object in GValue of GObject to GValue of TestObjectA2 885s # Next: TestObjectA object in GValue of GObject to GValue of GObject 885s # Next: TestObjectA object in GValue of GObject to GValue of TestInterface 885s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA 885s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectB 885s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA1 885s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA2 885s # Next: TestObjectA object in GValue of TestObjectA to GValue of GObject 885s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestInterface 885s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA 885s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectB 885s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA1 885s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA2 885s # Next: TestObjectB object in GValue of GObject to GValue of GObject 885s # Next: TestObjectB object in GValue of GObject to GValue of TestInterface 885s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA 885s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectB 885s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA1 885s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA2 885s # Next: TestObjectB object in GValue of TestInterface to GValue of GObject 885s # Next: TestObjectB object in GValue of TestInterface to GValue of TestInterface 885s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA 885s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectB 885s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA1 885s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA2 885s # Next: TestObjectB object in GValue of TestObjectB to GValue of GObject 885s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestInterface 885s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA 885s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectB 885s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA1 885s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA2 885s # Next: TestObjectA1 object in GValue of GObject to GValue of GObject 885s # Next: TestObjectA1 object in GValue of GObject to GValue of TestInterface 885s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA 885s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectB 885s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA1 885s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA2 885s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of GObject 885s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestInterface 885s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA 885s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectB 885s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA1 885s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA2 885s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of GObject 885s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestInterface 885s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA 885s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectB 885s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA1 885s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA2 885s # Next: TestObjectA2 object in GValue of GObject to GValue of GObject 885s # Next: TestObjectA2 object in GValue of GObject to GValue of TestInterface 885s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA 885s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectB 885s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA1 885s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA2 885s # Next: TestObjectA2 object in GValue of TestInterface to GValue of GObject 885s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestInterface 885s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA 885s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectB 885s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA1 885s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA2 885s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of GObject 885s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestInterface 885s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA 885s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectB 885s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA1 885s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA2 885s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of GObject 885s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestInterface 885s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA 885s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectB 885s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA1 885s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA2 885s ok 7 /value/transform-object 885s # Start of array tests 885s ok 8 /value/array/basic 885s ok 9 /value/array/sort-with-data 885s # End of array tests 885s # End of value tests 885s TAP version 14 885s # random seed: R02Se806558e3214188e0dcfef4cb0e7008b 885s 1..1 885s # Start of portal-support tests 885s # Start of flatpak tests 885s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-network-only_71YKE3/portal-support/flatpak/network/.dirs/home 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-network-only_71YKE3/portal-support/flatpak/network/.dirs/cache 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-network-only_71YKE3/portal-support/flatpak/network/.dirs/system-config1:/tmp/test_portal-support-flatpak-network-only_71YKE3/portal-support/flatpak/network/.dirs/system-config2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-network-only_71YKE3/portal-support/flatpak/network/.dirs/config 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-network-only_71YKE3/portal-support/flatpak/network/.dirs/system-data1:/tmp/test_portal-support-flatpak-network-only_71YKE3/portal-support/flatpak/network/.dirs/system-data2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-network-only_71YKE3/portal-support/flatpak/network/.dirs/data 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-network-only_71YKE3/portal-support/flatpak/network/.dirs/state 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-network-only_71YKE3/portal-support/flatpak/network/.dirs/runtime 885s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-network-only_71YKE3/portal-support/flatpak/network/.dirs/runtime/.flatpak-info 885s ok 1 /portal-support/flatpak/network 885s # End of flatpak tests 885s # End of portal-support tests 885s ok - glib/portal-support-flatpak-network-only.test 885s # Running test: glib/option-argv0.test 885s ok - glib/option-argv0.test 885s # Running test: glib/testing.test 885s ok - glib/testing.test 885s # Running test: glib/error.test 885s TAP version 14 885s # random seed: R02S3028d2c8909f152cef2873637520f01c 885s 1..1 885s # Start of option tests 885s ok 1 /option/argv0 885s # End of option tests 885s TAP version 14 885s # random seed: R02S8bccd67b4f5dc995b606441ae9fa4b7c 885s 1..1 885s # Start of assert tests 885s ok 1 /assert/finalize_object 885s # Start of finalize_object tests 885s # Start of subprocess tests 885s # End of subprocess tests 885s # End of finalize_object tests 885s # End of assert tests 885s TAP version 14 885s # random seed: R02S6db61f37c38d459eb89a14e513843304 885s 1..3 885s # Start of error tests 885s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_47KKE3/error/from-errno/.dirs/home 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_47KKE3/error/from-errno/.dirs/cache 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_47KKE3/error/from-errno/.dirs/system-config1:/tmp/test_error_47KKE3/error/from-errno/.dirs/system-config2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_47KKE3/error/from-errno/.dirs/config 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_47KKE3/error/from-errno/.dirs/system-data1:/tmp/test_error_47KKE3/error/from-errno/.dirs/system-data2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_47KKE3/error/from-errno/.dirs/data 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_47KKE3/error/from-errno/.dirs/state 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_47KKE3/error/from-errno/.dirs/runtime 885s ok 1 /error/from-errno 885s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_47KKE3/error/from-file-error/.dirs/home 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_47KKE3/error/from-file-error/.dirs/cache 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_47KKE3/error/from-file-error/.dirs/system-config1:/tmp/test_error_47KKE3/error/from-file-error/.dirs/system-config2 885s ok - glib/error.test 885s # Running test: glib/timeout.test 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_47KKE3/error/from-file-error/.dirs/config 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_47KKE3/error/from-file-error/.dirs/system-data1:/tmp/test_error_47KKE3/error/from-file-error/.dirs/system-data2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_47KKE3/error/from-file-error/.dirs/data 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_47KKE3/error/from-file-error/.dirs/state 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_47KKE3/error/from-file-error/.dirs/runtime 885s ok 2 /error/from-file-error 885s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_47KKE3/error/from-win32-error/.dirs/home 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_47KKE3/error/from-win32-error/.dirs/cache 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_47KKE3/error/from-win32-error/.dirs/system-config1:/tmp/test_error_47KKE3/error/from-win32-error/.dirs/system-config2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_47KKE3/error/from-win32-error/.dirs/config 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_47KKE3/error/from-win32-error/.dirs/system-data1:/tmp/test_error_47KKE3/error/from-win32-error/.dirs/system-data2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_47KKE3/error/from-win32-error/.dirs/data 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_47KKE3/error/from-win32-error/.dirs/state 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_47KKE3/error/from-win32-error/.dirs/runtime 885s ok 3 /error/from-win32-error # SKIP Windows error codes can only be checked on Windows 885s # End of error tests 885s TAP version 14 885s # random seed: R02S1dd565aa6fe65d20cfb0e9ab3a66ba37 885s 1..5 885s # Start of timeout tests 885s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 887s ok 1 /timeout/seconds 887s # slow test /timeout/seconds executed in 2.10 secs 888s # Executing: glib/timeout.test 889s ok 2 /timeout/seconds-once 889s # slow test /timeout/seconds-once executed in 2.10 secs 889s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 891s ok 3 /timeout/weeks-overflow 891s # slow test /timeout/weeks-overflow executed in 2.10 secs 891s ok 4 /timeout/far-future-ready-time 893s # Executing: glib/timeout.test 898s # Executing: glib/timeout.test 901s ok 5 /timeout/rounding 901s # slow test /timeout/rounding executed in 9.98 secs 901s # End of timeout tests 901s ok - glib/timeout.test 901s # Running test: glib/defaultvalue.test 901s TAP version 14 901s # random seed: R02Sf353fa4f3ae9c862158dffd459cc703b 901s 1..84 901s # Start of Default Values tests 901s ok 1 /Default Values/GAppInfoMonitor # SKIP singleton 901s ok 2 /Default Values/GAppLaunchContext 901s ok 3 /Default Values/GApplicationCommandLine 901s ok - glib/defaultvalue.test 901s # Running test: glib/queue.test 901s # skipping GApplication:is-remote 901s ok 4 /Default Values/GApplication 901s ok 5 /Default Values/GBinding # SKIP mandatory construct params 901s ok 6 /Default Values/GBindingGroup 901s ok 7 /Default Values/GBufferedInputStream # SKIP mandatory construct params 901s ok 8 /Default Values/GBufferedOutputStream # SKIP mandatory construct params 901s ok 9 /Default Values/GBytesIcon 901s ok 10 /Default Values/GCancellable 901s ok 11 /Default Values/GCharsetConverter # SKIP mandatory construct params 901s ok 12 /Default Values/GConverterInputStream # SKIP mandatory construct params 901s ok 13 /Default Values/GConverterOutputStream # SKIP mandatory construct params 901s ok 14 /Default Values/GCredentials 901s ok 15 /Default Values/GDataInputStream # SKIP mandatory construct params 901s ok 16 /Default Values/GDataOutputStream # SKIP mandatory construct params 901s ok 17 /Default Values/GDBusActionGroup # SKIP mandatory construct params 901s ok 18 /Default Values/GDBusAuthObserver 901s ok 19 /Default Values/GDBusConnection # SKIP mandatory construct params 901s ok 20 /Default Values/GDBusMenuModel # SKIP crash in finalize 901s ok 21 /Default Values/GDBusMessage 901s ok 22 /Default Values/GDBusMethodInvocation # SKIP crash in finalize 901s ok 23 /Default Values/GDBusObjectManagerClient # SKIP mandatory construct params 901s ok 24 /Default Values/GDBusObjectManagerServer # SKIP mandatory construct params 901s ok 25 /Default Values/GDBusObjectProxy 901s ok 26 /Default Values/GDBusObjectSkeleton 901s ok 27 /Default Values/GDBusProxy # SKIP mandatory construct params 901s ok 28 /Default Values/GDBusServer # SKIP mandatory construct params 901s ok 29 /Default Values/GEmblem 901s ok 30 /Default Values/GEmblemedIcon 901s ok 31 /Default Values/GFileEnumerator # SKIP should be abstract 901s ok 32 /Default Values/GFileInfo 901s ok 33 /Default Values/GFileInputStream 901s ok 34 /Default Values/GFileIOStream # SKIP should be abstract 901s ok 35 /Default Values/GFileOutputStream 901s ok 36 /Default Values/GFilenameCompleter 901s ok 37 /Default Values/GInetAddress # SKIP mandatory construct params 901s ok 38 /Default Values/GInetAddressMask # SKIP initialization failed 901s ok 39 /Default Values/GInetSocketAddress # SKIP mandatory construct params 901s ok 40 /Default Values/GInitiallyUnowned 901s ok 41 /Default Values/GIOModule 901s ok 42 /Default Values/GListStore 901s ok 43 /Default Values/GMemoryInputStream 901s ok 44 /Default Values/GMemoryOutputStream 901s ok 45 /Default Values/GMenu 901s ok 46 /Default Values/GMenuItem 901s ok 47 /Default Values/GMountOperation 901s ok 48 /Default Values/GNativeSocketAddress 901s ok 49 /Default Values/GNetworkAddress 901s ok 50 /Default Values/GNetworkService 901s ok 51 /Default Values/GNotification 901s ok 52 /Default Values/GObject 901s ok 53 /Default Values/GPropertyAction # SKIP mandatory construct params 901s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 901s # skipping GProxyAddressEnumerator:proxy-resolver 901s ok 54 /Default Values/GProxyAddressEnumerator 901s ok 55 /Default Values/GProxyAddress # SKIP mandatory construct params 901s ok 56 /Default Values/GSettings # SKIP mandatory construct params 901s ok 57 /Default Values/GSignalGroup 901s ok 58 /Default Values/GSimpleAction 901s ok 59 /Default Values/GSimpleActionGroup 901s ok 60 /Default Values/GSimpleAsyncResult 901s ok 61 /Default Values/GSimpleIOStream # SKIP mandatory construct params 901s ok 62 /Default Values/GSimplePermission 901s ok 63 /Default Values/GSimpleProxyResolver 901s # skipping GSocketClient:proxy-resolver 901s ok 64 /Default Values/GSocketClient 901s ok 65 /Default Values/GSocketConnection # SKIP mandatory construct params 901s ok 66 /Default Values/GSocket # SKIP initialization failed 901s ok 67 /Default Values/GSocketListener 901s ok 68 /Default Values/GSocketService 901s ok 69 /Default Values/GSubprocess # SKIP initialization failed 901s ok 70 /Default Values/GSubprocessLauncher 901s # GLib-GIO-DEBUG: GTask 0x1c2f8231ba70 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 901s ok 71 /Default Values/GTask 901s ok 72 /Default Values/GTcpConnection # SKIP mandatory construct params 901s ok 73 /Default Values/GTcpWrapperConnection # SKIP mandatory construct params 901s ok 74 /Default Values/GTestDBus 901s ok 75 /Default Values/GThemedIcon # SKIP mandatory construct params 901s ok 76 /Default Values/GThreadedSocketService 901s ok 77 /Default Values/GTlsInteraction 901s ok 78 /Default Values/GTlsPassword 901s ok 79 /Default Values/GUnixConnection # SKIP mandatory construct params 901s ok 80 /Default Values/GUnixFDList 901s ok 81 /Default Values/GVfs 901s ok 82 /Default Values/GVolumeMonitor 901s ok 83 /Default Values/GZlibCompressor 901s ok 84 /Default Values/GZlibDecompressor 901s # End of Default Values tests 901s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 901s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 901s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 901s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 901s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 901s TAP version 14 901s # random seed: R02S3c4fe0df145c52722e53231bc0c2cd7b 901s 1..12 901s # Start of queue tests 901s ok 1 /queue/basic 901s ok 2 /queue/copy 901s ok 3 /queue/off-by-one 901s ok 4 /queue/find-custom 901s ok 5 /queue/static 901s ok 6 /queue/clear 901s ok 7 /queue/free-full 901s ok 8 /queue/clear-full 901s ok 9 /queue/insert-sibling-link 901s ok 10 /queue/push-nth-link 901s # Start of clear-full tests 901s ok 11 /queue/clear-full/noop 901s # End of clear-full tests 901s # Start of random tests 901s ok - glib/queue.test 901s ok 12 /queue/random/seed:899542227 901s # End of random tests 901s # End of queue tests 901s # Running test: glib/data-output-stream.test 901s ok - glib/data-output-stream.test 901s # Running test: glib/gdbus-non-socket.test 901s TAP version 14 901s # random seed: R02Sb2dfda574ef33e1e12b5cdd4a4894a74 901s 1..7 901s # Start of data-output-stream tests 901s ok 1 /data-output-stream/basic 901s ok 2 /data-output-stream/write-lines-LF 901s ok 3 /data-output-stream/write-lines-CR 901s ok 4 /data-output-stream/write-lines-CR-LF 901s ok 5 /data-output-stream/write-int 901s ok 6 /data-output-stream/seek 901s ok 7 /data-output-stream/truncate 901s # End of data-output-stream tests 901s TAP version 14 901s # random seed: R02S0d86a3a288f4805630ea1329e31d9712 901s 1..1 901s # Start of gdbus tests 901s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-non-socket_LJLWE3/gdbus/non-socket/.dirs/home 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-non-socket_LJLWE3/gdbus/non-socket/.dirs/cache 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-non-socket_LJLWE3/gdbus/non-socket/.dirs/system-config1:/tmp/test_gdbus-non-socket_LJLWE3/gdbus/non-socket/.dirs/system-config2 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-non-socket_LJLWE3/gdbus/non-socket/.dirs/config 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-non-socket_LJLWE3/gdbus/non-socket/.dirs/system-data1:/tmp/test_gdbus-non-socket_LJLWE3/gdbus/non-socket/.dirs/system-data2 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-non-socket_LJLWE3/gdbus/non-socket/.dirs/data 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-non-socket_LJLWE3/gdbus/non-socket/.dirs/state 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-non-socket_LJLWE3/gdbus/non-socket/.dirs/runtime 901s ok - glib/gdbus-non-socket.test 901s ok 1 /gdbus/non-socket 901s # End of gdbus tests 901s # Running test: glib/markup-parse.test 901s TAP version 14 901s # random seed: R02S1cc27d08e29058cffbd89732bc4d299c 901s 1..71 901s # Start of markup tests 901s # Start of parse tests 901s ok 1 /markup/parse/fail-20.gmarkup 901s ok 2 /markup/parse/fail-44.gmarkup 901s ok 3 /markup/parse/fail-23.gmarkup 901s ok 4 /markup/parse/valid-4.gmarkup 901s ok 5 /markup/parse/fail-3.gmarkup 901s ok 6 /markup/parse/valid-11.gmarkup 901s ok 7 /markup/parse/fail-53.gmarkup 901s ok 8 /markup/parse/fail-36.gmarkup 901s ok 9 /markup/parse/fail-27.gmarkup 901s ok 10 /markup/parse/fail-47.gmarkup 901s ok 11 /markup/parse/fail-16.gmarkup 901s ok 12 /markup/parse/fail-6.gmarkup 901s ok 13 /markup/parse/valid-2.gmarkup 901s ok 14 /markup/parse/fail-38.gmarkup 901s ok 15 /markup/parse/fail-10.gmarkup 901s ok 16 /markup/parse/fail-18.gmarkup 901s ok 17 /markup/parse/fail-19.gmarkup 901s ok 18 /markup/parse/fail-54.gmarkup 901s ok 19 /markup/parse/fail-46.gmarkup 901s ok 20 /markup/parse/fail-32.gmarkup 901s ok 21 /markup/parse/fail-2.gmarkup 901s ok 22 /markup/parse/valid-9.gmarkup 901s ok 23 /markup/parse/fail-11.gmarkup 901s ok 24 /markup/parse/valid-12.gmarkup 901s ok 25 /markup/parse/valid-5.gmarkup 901s ok 26 /markup/parse/fail-33.gmarkup 901s ok 27 /markup/parse/valid-3.gmarkup 901s ok 28 /markup/parse/valid-7.gmarkup 901s ok 29 /markup/parse/valid-17.gmarkup 901s ok 30 /markup/parse/fail-1.gmarkup 901s ok 31 /markup/parse/fail-21.gmarkup 901s ok 32 /markup/parse/fail-37.gmarkup 901s ok 33 /markup/parse/fail-31.gmarkup 901s ok 34 /markup/parse/fail-22.gmarkup 901s ok 35 /markup/parse/fail-51.gmarkup 901s ok 36 /markup/parse/fail-14.gmarkup 901s ok 37 /markup/parse/fail-39.gmarkup 901s ok 38 /markup/parse/fail-5.gmarkup 901s ok 39 /markup/parse/fail-30.gmarkup 901s ok 40 /markup/parse/fail-45.gmarkup 901s ok 41 /markup/parse/valid-8.gmarkup 901s ok 42 /markup/parse/fail-26.gmarkup 901s ok 43 /markup/parse/fail-43.gmarkup 901s ok 44 /markup/parse/fail-28.gmarkup 901s ok 45 /markup/parse/valid-16.gmarkup 901s ok 46 /markup/parse/fail-42.gmarkup 901s ok - glib/markup-parse.test 901s # Running test: glib/unix-mounts.test 901s ok - glib/unix-mounts.test 901s # Running test: glib/gdbus-proxy-unique-name.test 901s ok 47 /markup/parse/fail-40.gmarkup 901s ok 48 /markup/parse/valid-1.gmarkup 901s ok 49 /markup/parse/fail-8.gmarkup 901s ok 50 /markup/parse/fail-49.gmarkup 901s ok 51 /markup/parse/valid-13.gmarkup 901s ok 52 /markup/parse/fail-52.gmarkup 901s ok 53 /markup/parse/fail-34.gmarkup 901s ok 54 /markup/parse/fail-29.gmarkup 901s ok 55 /markup/parse/fail-50.gmarkup 901s ok 56 /markup/parse/fail-35.gmarkup 901s ok 57 /markup/parse/valid-6.gmarkup 901s ok 58 /markup/parse/valid-14.gmarkup 901s ok 59 /markup/parse/fail-4.gmarkup 901s ok 60 /markup/parse/fail-13.gmarkup 901s ok 61 /markup/parse/valid-10.gmarkup 901s ok 62 /markup/parse/fail-41.gmarkup 901s ok 63 /markup/parse/fail-15.gmarkup 901s ok 64 /markup/parse/fail-25.gmarkup 901s ok 65 /markup/parse/fail-7.gmarkup 901s ok 66 /markup/parse/fail-24.gmarkup 901s ok 67 /markup/parse/fail-17.gmarkup 901s ok 68 /markup/parse/fail-48.gmarkup 901s ok 69 /markup/parse/fail-9.gmarkup 901s ok 70 /markup/parse/valid-15.gmarkup 901s ok 71 /markup/parse/fail-12.gmarkup 901s # End of parse tests 901s # End of markup tests 901s TAP version 14 901s # random seed: R02S5b9170cb03425ccc654c9fdef7bb62d0 901s 1..4 901s # Start of unix-mounts tests 901s ok 1 /unix-mounts/is-system-fs-type 901s ok 2 /unix-mounts/is-system-device-path 901s # /unix-mounts/get-mount-points summary: Basic test of g_unix_mount_points_get_from_file() 901s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 901s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 901s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 901s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 901s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 901s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 901s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 901s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 901s ok 3 /unix-mounts/get-mount-points 901s # /unix-mounts/get-mount-entries summary: Basic test of g_unix_mounts_get_from_file() 901s ok 4 /unix-mounts/get-mount-entries 901s # End of unix-mounts tests 901s TAP version 14 901s # random seed: R02Sbb0cf9249542a15acd012c1762f6fa44 901s 1..1 901s # Start of gdbus tests 901s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-unique-name_YXPVE3/gdbus/proxy-unique-name/.dirs/home 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-unique-name_YXPVE3/gdbus/proxy-unique-name/.dirs/cache 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-unique-name_YXPVE3/gdbus/proxy-unique-name/.dirs/system-config1:/tmp/test_gdbus-proxy-unique-name_YXPVE3/gdbus/proxy-unique-name/.dirs/system-config2 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-unique-name_YXPVE3/gdbus/proxy-unique-name/.dirs/config 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-unique-name_YXPVE3/gdbus/proxy-unique-name/.dirs/system-data1:/tmp/test_gdbus-proxy-unique-name_YXPVE3/gdbus/proxy-unique-name/.dirs/system-data2 901s ok - glib/gdbus-proxy-unique-name.test 901s # Running test: glib/cxx-98.test 901s ok - glib/cxx-98.test 901s # Running test: glib/g-icon.test 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-unique-name_YXPVE3/gdbus/proxy-unique-name/.dirs/data 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-unique-name_YXPVE3/gdbus/proxy-unique-name/.dirs/state 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-unique-name_YXPVE3/gdbus/proxy-unique-name/.dirs/runtime 901s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 901s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 901s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 901s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 901s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 901s ok 1 /gdbus/proxy-unique-name 901s # End of gdbus tests 901s TAP version 14 901s # random seed: R02S5a84b2b4d206f3c30e43487e84f26f4d 901s 1..2 901s # Start of gtask tests 901s # 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. 901s ok 1 /gtask/name 901s # Start of name tests 901s # 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. 901s ok 2 /gtask/name/macro-wrapper 901s # End of name tests 901s # End of gtask tests 901s TAP version 14 901s # random seed: R02Scd2d26edfa481496da037ea92e43ed39 901s 1..6 901s # Start of icons tests 901s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 901s ok 1 /icons/to-string 901s ok 2 /icons/serialize 901s ok 3 /icons/themed 901s ok 4 /icons/emblemed 901s ok 5 /icons/file 901s ok 6 /icons/bytes 901s # End of icons tests 901s ok - glib/g-icon.test 901s # Running test: glib/utils-c-17.test 901s TAP version 14 901s # random seed: R02S367c7ebc268403e60fa0bfb93b8a24af 901s 1..41 901s # Start of utils tests 901s ok 1 /utils/language-names 901s # Testing locale ‘en’ 901s # Testing locale ‘sr@latin’ 901s # Testing locale ‘fr_BE’ 901s # Testing locale ‘sr_SR@latin’ 901s # Testing locale ‘sr_SR@latin.UTF-8’ 901s # Testing locale ‘sr@latin_invalid’ 901s # Testing locale ‘sr.UTF-8@latin’ 901s # Testing locale ‘sr.UTF-8_latin’ 901s # Testing locale ‘sr.UTF-8@latin_invalid’ 901s ok 2 /utils/locale-variants 901s ok 3 /utils/version 901s ok 4 /utils/appname 901s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 901s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 901s ok 5 /utils/prgname-thread-safety 901s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 901s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 901s ok 6 /utils/tmpdir 901s ok 7 /utils/basic_bits 901s ok 8 /utils/bits 901s ok 9 /utils/swap 901s ok 10 /utils/find-program 901s ok 11 /utils/find-program-for-path 901s ok 12 /utils/debug 901s ok 13 /utils/codeset 901s ok 14 /utils/codeset2 901s ok 15 /utils/console-charset 901s ok 16 /utils/gettext 901s ok 17 /utils/username 901s ok 18 /utils/realname 901s ok 19 /utils/hostname 901s ok 20 /utils/xdgdirs 901s ok 21 /utils/specialdir 901s # NAME: Ubuntu 901s ok 22 /utils/os-info 901s ok 23 /utils/clear-pointer 901s ok 24 /utils/clear-pointer-cast 901s ok - glib/utils-c-17.test 901s # Running test: glib/utils-isolated.test 901s ok 25 /utils/take-pointer 901s ok 26 /utils/clear-source 901s ok 27 /utils/misc-mem 901s # /utils/aligned-mem summary: Aligned memory allocator 901s # Alignment must not be zero 901s # Alignment must be a power of two 901s # Alignment must be a multiple of sizeof(void*) 901s ok 28 /utils/aligned-mem 901s # /utils/free-sized summary: Check that g_free_sized() works 901s ok 29 /utils/free-sized 901s ok 30 /utils/nullify 901s ok 31 /utils/atexit 901s ok 32 /utils/check-setuid 901s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 901s ok 33 /utils/int-limits 901s ok 34 /utils/clear-list 901s ok 35 /utils/clear-slist 901s ok 36 /utils/steal-handle-id 901s # Start of specialdir tests 901s ok 37 /utils/specialdir/desktop 901s # End of specialdir tests 901s # Start of clear-pointer tests 901s ok 38 /utils/clear-pointer/side-effects 901s # End of clear-pointer tests 901s # Start of aligned-mem tests 901s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 901s ok 39 /utils/aligned-mem/alignment 901s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 901s ok 40 /utils/aligned-mem/zeroed 901s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 901s ok 41 /utils/aligned-mem/free-sized 901s # Start of subprocess tests 901s # End of subprocess tests 901s # End of aligned-mem tests 901s # End of utils tests 901s TAP version 14 901s # random seed: R02S751d7b9b704c3412de1b0eba87a0b22f 901s 1..11 901s # Start of utils-isolated tests 901s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_CV2TE3/utils-isolated/tmp-dir/.dirs/home 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_CV2TE3/utils-isolated/tmp-dir/.dirs/cache 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_CV2TE3/utils-isolated/tmp-dir/.dirs/system-config1:/tmp/test_utils-isolated_CV2TE3/utils-isolated/tmp-dir/.dirs/system-config2 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_CV2TE3/utils-isolated/tmp-dir/.dirs/config 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_CV2TE3/utils-isolated/tmp-dir/.dirs/system-data1:/tmp/test_utils-isolated_CV2TE3/utils-isolated/tmp-dir/.dirs/system-data2 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_CV2TE3/utils-isolated/tmp-dir/.dirs/data 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_CV2TE3/utils-isolated/tmp-dir/.dirs/state 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_CV2TE3/utils-isolated/tmp-dir/.dirs/runtime 901s ok 1 /utils-isolated/tmp-dir 901s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_CV2TE3/utils-isolated/home-dir/.dirs/home 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_CV2TE3/utils-isolated/home-dir/.dirs/cache 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_CV2TE3/utils-isolated/home-dir/.dirs/system-config1:/tmp/test_utils-isolated_CV2TE3/utils-isolated/home-dir/.dirs/system-config2 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_CV2TE3/utils-isolated/home-dir/.dirs/config 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_CV2TE3/utils-isolated/home-dir/.dirs/system-data1:/tmp/test_utils-isolated_CV2TE3/utils-isolated/home-dir/.dirs/system-data2 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_CV2TE3/utils-isolated/home-dir/.dirs/data 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_CV2TE3/utils-isolated/home-dir/.dirs/state 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_CV2TE3/utils-isolated/home-dir/.dirs/runtime 901s ok 2 /utils-isolated/home-dir 901s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_CV2TE3/utils-isolated/user-cache-dir/.dirs/home 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_CV2TE3/utils-isolated/user-cache-dir/.dirs/cache 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_CV2TE3/utils-isolated/user-cache-dir/.dirs/system-config1:/tmp/test_utils-isolated_CV2TE3/utils-isolated/user-cache-dir/.dirs/system-config2 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_CV2TE3/utils-isolated/user-cache-dir/.dirs/config 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_CV2TE3/utils-isolated/user-cache-dir/.dirs/system-data1:/tmp/test_utils-isolated_CV2TE3/utils-isolated/user-cache-dir/.dirs/system-data2 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_CV2TE3/utils-isolated/user-cache-dir/.dirs/data 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_CV2TE3/utils-isolated/user-cache-dir/.dirs/state 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_CV2TE3/utils-isolated/user-cache-dir/.dirs/runtime 901s ok 3 /utils-isolated/user-cache-dir 901s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_CV2TE3/utils-isolated/system-config-dirs/.dirs/home 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_CV2TE3/utils-isolated/system-config-dirs/.dirs/cache 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_CV2TE3/utils-isolated/system-config-dirs/.dirs/system-config1:/tmp/test_utils-isolated_CV2TE3/utils-isolated/system-config-dirs/.dirs/system-config2 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_CV2TE3/utils-isolated/system-config-dirs/.dirs/config 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_CV2TE3/utils-isolated/system-config-dirs/.dirs/system-data1:/tmp/test_utils-isolated_CV2TE3/utils-isolated/system-config-dirs/.dirs/system-data2 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_CV2TE3/utils-isolated/system-config-dirs/.dirs/data 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_CV2TE3/utils-isolated/system-config-dirs/.dirs/state 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_CV2TE3/utils-isolated/system-config-dirs/.dirs/runtime 901s ok 4 /utils-isolated/system-config-dirs 901s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_CV2TE3/utils-isolated/user-config-dir/.dirs/home 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_CV2TE3/utils-isolated/user-config-dir/.dirs/cache 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_CV2TE3/utils-isolated/user-config-dir/.dirs/system-config1:/tmp/test_utils-isolated_CV2TE3/utils-isolated/user-config-dir/.dirs/system-config2 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_CV2TE3/utils-isolated/user-config-dir/.dirs/config 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_CV2TE3/utils-isolated/user-config-dir/.dirs/system-data1:/tmp/test_utils-isolated_CV2TE3/utils-isolated/user-config-dir/.dirs/system-data2 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_CV2TE3/utils-isolated/user-config-dir/.dirs/data 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_CV2TE3/utils-isolated/user-config-dir/.dirs/state 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_CV2TE3/utils-isolated/user-config-dir/.dirs/runtime 901s ok 5 /utils-isolated/user-config-dir 901s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_CV2TE3/utils-isolated/system-data-dirs/.dirs/home 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_CV2TE3/utils-isolated/system-data-dirs/.dirs/cache 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_CV2TE3/utils-isolated/system-data-dirs/.dirs/system-config1:/tmp/test_utils-isolated_CV2TE3/utils-isolated/system-data-dirs/.dirs/system-config2 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_CV2TE3/utils-isolated/system-data-dirs/.dirs/config 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_CV2TE3/utils-isolated/system-data-dirs/.dirs/system-data1:/tmp/test_utils-isolated_CV2TE3/utils-isolated/system-data-dirs/.dirs/system-data2 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_CV2TE3/utils-isolated/system-data-dirs/.dirs/data 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_CV2TE3/utils-isolated/system-data-dirs/.dirs/state 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_CV2TE3/utils-isolated/system-data-dirs/.dirs/runtime 901s ok 6 /utils-isolated/system-data-dirs 901s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_CV2TE3/utils-isolated/user-data-dir/.dirs/home 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_CV2TE3/utils-isolated/user-data-dir/.dirs/cache 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_CV2TE3/utils-isolated/user-data-dir/.dirs/system-config1:/tmp/test_utils-isolated_CV2TE3/utils-isolated/user-data-dir/.dirs/system-config2 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_CV2TE3/utils-isolated/user-data-dir/.dirs/config 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_CV2TE3/utils-isolated/user-data-dir/.dirs/system-data1:/tmp/test_utils-isolated_CV2TE3/utils-isolated/user-data-dir/.dirs/system-data2 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_CV2TE3/utils-isolated/user-data-dir/.dirs/data 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_CV2TE3/utils-isolated/user-data-dir/.dirs/state 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_CV2TE3/utils-isolated/user-data-dir/.dirs/runtime 901s ok 7 /utils-isolated/user-data-dir 901s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_CV2TE3/utils-isolated/user-state-dir/.dirs/home 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_CV2TE3/utils-isolated/user-state-dir/.dirs/cache 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_CV2TE3/utils-isolated/user-state-dir/.dirs/system-config1:/tmp/test_utils-isolated_CV2TE3/utils-isolated/user-state-dir/.dirs/system-config2 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_CV2TE3/utils-isolated/user-state-dir/.dirs/config 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_CV2TE3/utils-isolated/user-state-dir/.dirs/system-data1:/tmp/test_utils-isolated_CV2TE3/utils-isolated/user-state-dir/.dirs/system-data2 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_CV2TE3/utils-isolated/user-state-dir/.dirs/data 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_CV2TE3/utils-isolated/user-state-dir/.dirs/state 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_CV2TE3/utils-isolated/user-state-dir/.dirs/runtime 901s ok 8 /utils-isolated/user-state-dir 901s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_CV2TE3/utils-isolated/user-runtime-dir/.dirs/home 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_CV2TE3/utils-isolated/user-runtime-dir/.dirs/cache 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_CV2TE3/utils-isolated/user-runtime-dir/.dirs/system-config1:/tmp/test_utils-isolated_CV2TE3/utils-isolated/user-runtime-dir/.dirs/system-config2 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_CV2TE3/utils-isolated/user-runtime-dir/.dirs/config 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_CV2TE3/utils-isolated/user-runtime-dir/.dirs/system-data1:/tmp/test_utils-isolated_CV2TE3/utils-isolated/user-runtime-dir/.dirs/system-data2 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_CV2TE3/utils-isolated/user-runtime-dir/.dirs/data 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_CV2TE3/utils-isolated/user-runtime-dir/.dirs/state 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_CV2TE3/utils-isolated/user-runtime-dir/.dirs/runtime 901s ok 9 /utils-isolated/user-runtime-dir 901s # Start of cleanup tests 901s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_CV2TE3/utils-isolated/cleanup/handles-errors/.dirs/home 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_CV2TE3/utils-isolated/cleanup/handles-errors/.dirs/cache 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_CV2TE3/utils-isolated/cleanup/handles-errors/.dirs/system-config1:/tmp/test_utils-isolated_CV2TE3/utils-isolated/cleanup/handles-errors/.dirs/system-config2 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_CV2TE3/utils-isolated/cleanup/handles-errors/.dirs/config 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_CV2TE3/utils-isolated/cleanup/handles-errors/.dirs/system-data1:/tmp/test_utils-isolated_CV2TE3/utils-isolated/cleanup/handles-errors/.dirs/system-data2 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_CV2TE3/utils-isolated/cleanup/handles-errors/.dirs/data 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_CV2TE3/utils-isolated/cleanup/handles-errors/.dirs/state 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_CV2TE3/utils-isolated/cleanup/handles-errors/.dirs/runtime 901s Unable to clean up temporary directory /tmp/test_utils-isolated_CV2TE3/utils-isolated/cleanup/handles-errors/.dirs/runtime: Directory not empty 901s Unable to clean up temporary directory /tmp/test_utils-isolated_CV2TE3/utils-isolated/cleanup/handles-errors/.dirs: Directory not empty 901s Unable to clean up temporary directory /tmp/test_utils-isolated_CV2TE3/utils-isolated/cleanup/handles-errors: Directory not empty 901s ok 10 /utils-isolated/cleanup/handles-errors 901s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_CV2TE3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/home 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_CV2TE3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/cache 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_CV2TE3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-config1:/tmp/test_utils-isolated_CV2TE3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-config2 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_CV2TE3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/config 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_CV2TE3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-data1:/tmp/test_utils-isolated_CV2TE3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-data2 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_CV2TE3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/data 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_CV2TE3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/state 901s ok - glib/utils-isolated.test 901s # Running test: glib/accumulator.test 901s ok - glib/accumulator.test 901s # Running test: glib/ifaceproperties.test 901s ok - glib/ifaceproperties.test 901s # Running test: glib/unicode-encoding.test 901s ok - glib/unicode-encoding.test 901s # Running test: glib/defaultiface.test 901s ok - glib/defaultiface.test 901s # Running test: glib/portal-support-flatpak-gsettings-only.test 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_CV2TE3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/runtime 901s Unable to clean up temporary directory /tmp/test_utils-isolated_CV2TE3/utils-isolated/cleanup/doesnt-follow-symlinks: No such file or directory 901s ok 11 /utils-isolated/cleanup/doesnt-follow-symlinks 901s # End of cleanup tests 901s # End of utils-isolated tests 901s TAP version 14 901s # random seed: R02Sf64ca799711e5efb0f61e18c43a60f63 901s 1..1 901s # Start of gobject tests 901s ok 1 /gobject/accumulator 901s # End of gobject tests 901s TAP version 14 901s # random seed: R02S99ad4954f02d5196f9f870bd3ac667f6 901s 1..7 901s # Start of interface tests 901s # Start of properties tests 901s ok 1 /interface/properties/set 901s ok 2 /interface/properties/notify 901s ok 3 /interface/properties/find-overridden 901s ok 4 /interface/properties/list-overridden 901s ok 5 /interface/properties/find-interface 901s ok 6 /interface/properties/list-interface 901s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=637738 901s ok 7 /interface/properties/not-overridden 901s # End of properties tests 901s # End of interface tests 901s TAP version 14 901s # random seed: R02S64ac5d9134a0b74c11ea4e95517f22a2 901s 1..1 901s # Start of unicode tests 901s ok 1 /unicode/encoding 901s # End of unicode tests 901s TAP version 14 901s # random seed: R02Sc50084e054258a2971118ad75c57761a 901s 1..2 901s # Start of gobject tests 901s ok 1 /gobject/static-iface 901s ok 2 /gobject/dynamic-iface 901s # End of gobject tests 901s TAP version 14 901s # random seed: R02S37363bdfbc0badd0a09628e05034ba2b 901s 1..1 901s # Start of portal-support tests 901s # Start of flatpak tests 901s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-gsettings-only_RLITE3/portal-support/flatpak/gsettings/.dirs/home 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_RLITE3/portal-support/flatpak/gsettings/.dirs/cache 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_RLITE3/portal-support/flatpak/gsettings/.dirs/system-config1:/tmp/test_portal-support-flatpak-gsettings-only_RLITE3/portal-support/flatpak/gsettings/.dirs/system-config2 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-gsettings-only_RLITE3/portal-support/flatpak/gsettings/.dirs/config 901s ok - glib/portal-support-flatpak-gsettings-only.test 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_RLITE3/portal-support/flatpak/gsettings/.dirs/system-data1:/tmp/test_portal-support-flatpak-gsettings-only_RLITE3/portal-support/flatpak/gsettings/.dirs/system-data2 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-gsettings-only_RLITE3/portal-support/flatpak/gsettings/.dirs/data 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_RLITE3/portal-support/flatpak/gsettings/.dirs/state 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-gsettings-only_RLITE3/portal-support/flatpak/gsettings/.dirs/runtime 901s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-gsettings-only_RLITE3/portal-support/flatpak/gsettings/.dirs/runtime/.flatpak-info 901s ok 1 /portal-support/flatpak/gsettings 901s # End of flatpak tests 901s # End of portal-support tests 901s # Running test: glib/uri.test 901s TAP version 14 901s # random seed: R02S7fd1b47253357b398598ff19c7b57b62 901s 1..24 901s # Start of uri tests 901s ok 1 /uri/file-to-uri 901s ok 2 /uri/file-from-uri 901s ok 3 /uri/file-roundtrip 901s ok 4 /uri/list 901s # Test 0: %2Babc %4F 901s # Test 1: %2Babc %4F 901s # Test 2: %00abc %4F 901s # Test 3: /cursors/none.png 901s # Test 4: /cursors%2fbad-subdir/none.png 901s # Test 5: %0 901s # Test 6: %ra 901s # Test 7: %2r 901s # Test 8: Timm Bäder 901s # Test 9: (null) 901s ok 5 /uri/unescape-string 901s ok 6 /uri/unescape-segment 901s # Test 0: abcdefgABCDEFG._~ 901s # Test 1: :+ \\?# 901s # Test 2: a+b:c 901s # Test 3: a+b:c\303\234 901s # Test 4: \374;\322 901s # Test 5: \303\261\303( 901s ok 7 /uri/escape-string 901s ok 8 /uri/escape-bytes 901s ok 9 /uri/scheme 901s ok 10 /uri/build 901s ok 11 /uri/split 901s ok 12 /uri/is_valid 901s ok 13 /uri/to-string 901s ok 14 /uri/join 901s # /uri/join-split-round-trip summary: Test that joining different URI components survives a round trip 901s # Combination 0 901s # Combination 1 901s # Combination 2 901s # Combination 3 901s # Combination 4 901s # Combination 5 901s # Combination 6 901s # Combination 7 901s # Combination 8 901s # Combination 9 901s # Combination 10 901s # Combination 11 901s # Combination 12 901s # Combination 13 901s # Combination 14 901s # Combination 15 901s # Combination 16 901s # Combination 17 901s # Combination 18 901s # Combination 19 901s # Combination 20 901s # Combination 21 901s # Combination 22 901s # Combination 23 901s # Combination 24 901s # Combination 25 901s # Combination 26 901s # Combination 27 901s # Combination 28 901s # Combination 29 901s ok - glib/uri.test 901s # Running test: glib/gdbus-serialization.test 901s # Combination 30 901s # Combination 31 901s # Combination 32 901s # Combination 33 901s # Combination 34 901s # Combination 35 901s # Combination 36 901s # Combination 37 901s # Combination 38 901s # Combination 39 901s # Combination 40 901s # Combination 41 901s # Combination 42 901s # Combination 43 901s # Combination 44 901s # Combination 45 901s # Combination 46 901s # Combination 47 901s # Combination 48 901s # Combination 49 901s # Combination 50 901s # Combination 51 901s # Combination 52 901s # Combination 53 901s # Combination 54 901s # Combination 55 901s # Combination 56 901s # Combination 57 901s # Combination 58 901s # Combination 59 901s # Combination 60 901s # Combination 61 901s # Combination 62 901s # Combination 63 901s # Combination 64 901s # Combination 65 901s # Combination 66 901s # Combination 67 901s # Combination 68 901s # Combination 69 901s # Combination 70 901s # Combination 71 901s # Combination 72 901s # Combination 73 901s # Combination 74 901s # Combination 75 901s # Combination 76 901s # Combination 77 901s # Combination 78 901s # Combination 79 901s # Combination 80 901s # Combination 81 901s # Combination 82 901s # Combination 83 901s # Combination 84 901s # Combination 85 901s # Combination 86 901s # Combination 87 901s # Combination 88 901s # Combination 89 901s # Combination 90 901s # Combination 91 901s # Combination 92 901s # Combination 93 901s # Combination 94 901s # Combination 95 901s # Combination 96 901s # Combination 97 901s # Combination 98 901s # Combination 99 901s # Combination 100 901s # Combination 101 901s # Combination 102 901s # Combination 103 901s # Combination 104 901s # Combination 105 901s # Combination 106 901s # Combination 107 901s # Combination 108 901s # Combination 109 901s # Combination 110 901s # Combination 111 901s # Combination 112 901s # Combination 113 901s # Combination 114 901s # Combination 115 901s # Combination 116 901s # Combination 117 901s # Combination 118 901s # Combination 119 901s # Combination 120 901s # Combination 121 901s # Combination 122 901s # Combination 123 901s # Combination 124 901s # Combination 125 901s # Combination 126 901s # Combination 127 901s # Combination 128 901s # Combination 129 901s # Combination 130 901s # Combination 131 901s # Combination 132 901s # Combination 133 901s # Combination 134 901s # Combination 135 901s # Combination 136 901s # Combination 137 901s # Combination 138 901s # Combination 139 901s # Combination 140 901s # Combination 141 901s # Combination 142 901s # Combination 143 901s # Combination 144 901s # Combination 145 901s # Combination 146 901s # Combination 147 901s # Combination 148 901s # Combination 149 901s # Combination 150 901s # Combination 151 901s # Combination 152 901s # Combination 153 901s # Combination 154 901s # Combination 155 901s # Combination 156 901s # Combination 157 901s # Combination 158 901s # Combination 159 901s # Combination 160 901s # Combination 161 901s # Combination 162 901s # Combination 163 901s # Combination 164 901s # Combination 165 901s # Combination 166 901s # Combination 167 901s # Combination 168 901s # Combination 169 901s # Combination 170 901s # Combination 171 901s # Combination 172 901s # Combination 173 901s # Combination 174 901s # Combination 175 901s # Combination 176 901s # Combination 177 901s # Combination 178 901s # Combination 179 901s # Combination 180 901s # Combination 181 901s # Combination 182 901s # Combination 183 901s # Combination 184 901s # Combination 185 901s # Combination 186 901s # Combination 187 901s # Combination 188 901s # Combination 189 901s # Combination 190 901s # Combination 191 901s # Combination 192 901s # Combination 193 901s # Combination 194 901s # Combination 195 901s # Combination 196 901s # Combination 197 901s # Combination 198 901s # Combination 199 901s # Combination 200 901s # Combination 201 901s # Combination 202 901s # Combination 203 901s # Combination 204 901s # Combination 205 901s # Combination 206 901s # Combination 207 901s # Combination 208 901s # Combination 209 901s # Combination 210 901s # Combination 211 901s # Combination 212 901s # Combination 213 901s # Combination 214 901s # Combination 215 901s # Combination 216 901s # Combination 217 901s # Combination 218 901s # Combination 219 901s # Combination 220 901s # Combination 221 901s # Combination 222 901s # Combination 223 901s # Combination 224 901s # Combination 225 901s # Combination 226 901s # Combination 227 901s # Combination 228 901s # Combination 229 901s # Combination 230 901s # Combination 231 901s # Combination 232 901s # Combination 233 901s # Combination 234 901s # Combination 235 901s # Combination 236 901s # Combination 237 901s # Combination 238 901s # Combination 239 901s # Combination 240 901s # Combination 241 901s # Combination 242 901s # Combination 243 901s # Combination 244 901s # Combination 245 901s # Combination 246 901s # Combination 247 901s # Combination 248 901s # Combination 249 901s # Combination 250 901s # Combination 251 901s # Combination 252 901s # Combination 253 901s # Combination 254 901s # Combination 255 901s ok 15 /uri/join-split-round-trip 901s ok 16 /uri/normalize 901s # Start of unescape-bytes tests 901s # Test 0: %00%00 901s # Test 1: /cursors/none.png 901s # Test 2: /cursors%2fbad-subdir/none.png 901s # Test 3: %% 901s # Test 4: % 901s ok 17 /uri/unescape-bytes/nul-terminated 901s # Test 0: %00%00 901s # Test 1: /cursors/none.png 901s # Test 2: /cursors%2fbad-subdir/none.png 901s # Test 3: %% 901s # Test 4: % 901s ok 18 /uri/unescape-bytes/length 901s # End of unescape-bytes tests 901s # Start of parsing tests 901s # Test 0: foo: 901s # Test 1: file:/dev/null 901s # Test 2: file:///dev/null 901s # Test 3: ftp://user@host/path 901s # Test 4: ftp://user@host:9999/path 901s # Test 5: ftp://user:password@host/path 901s # Test 6: ftp://user:password@host:9999/path 901s # Test 7: ftp://user:password@host 901s # Test 8: http://us%65r@host 901s # Test 9: http://us%40r@host 901s # Test 10: http://us%3ar@host 901s # Test 11: http://us%2fr@host 901s # Test 12: http://us%3fr@host 901s # Test 13: http://host?query 901s # Test 14: http://host/path?query=http%3A%2F%2Fhost%2Fpath%3Fchildparam%3Dchildvalue¶m=value 901s # 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 901s # Test 16: http://space/%20 901s # Test 17: http://delims/%3C%3E%23%25%22 901s # Test 18: http://unwise-chars/%7B%7D%7C%5C%5E%5B%5D%60 901s # Test 19: http://[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]:80/index.html 901s # Test 20: http://[1080:0:0:0:8:800:200C:417A]/index.html 901s # Test 21: http://[3ffe:2a00:100:7031::1] 901s # Test 22: http://[1080::8:800:200C:417A]/foo 901s # Test 23: http://[::192.9.5.5]/ipng 901s # Test 24: http://[::FFFF:129.144.52.38]:80/index.html 901s # Test 25: http://[2010:836B:4179::836B:4179] 901s # Test 26: http://host/path with spaces 901s # Test 27: http://host/path 901s # Test 28: http://host/path 901s # Test 29: http://host 901s # Test 30: http://host:999 901s # Test 31: http://host/pa 901s # th 901s # Test 32: http: 901s # //host/path 901s # Test 33: http:// host/path 901s # Test 34: http://host/path? 901s # Test 35: http://host/path# 901s # Test 36: http://host/path% 901s # Test 37: http://h%ost/path 901s # Test 38: http://host/path%% 901s # Test 39: http://host/path%%% 901s # Test 40: http://host/path%/x/ 901s # Test 41: http://host/path%0x/ 901s # Test 42: http://host/path%ax 901s # Test 43: http://host/päth/ 901s # Test 44: HTTP://////////////// 901s # Test 45: http://@host 901s # Test 46: http://:@host 901s # Test 47: scheme://foo%3Abar._webdav._tcp.local 901s # Test 48: http://example.com/.. 901s # Test 49: foo0://host/path 901s # Test 50: f0.o://host/path 901s # Test 51: http++://host/path 901s # Test 52: http-ish://host/path 901s # Test 53: http://[fe80::dead:beef%]/ 901s # Test 54: http://[fe80::dead:beef%em1]/ 901s # Test 55: http://[fe80::dead:beef%em1]/ 901s # Test 56: http://[fe80::dead:beef%25em1]/ 901s # Test 57: http://[fe80::dead:beef%25em1%20]/ 901s # Test 58: http://[fe80::dead:beef%25em%31]/ 901s # Test 59: http://[fe80::dead:beef%10]/ 901s # Test 60: http://[fe80::dead:beef%10]/ 901s # Test 61: http://[fe80::dead:beef%25]/ 901s # Test 62: http://[fe80::dead:beef%25]/ 901s # Test 63: http://[192.168.0.1%25em1]/ 901s # Test 64: http://[fe80::dead:beef%2em1]/ 901s # Test 65: http://[fe80::dead:beef%2em1]/ 901s # Test 66: http://[fe80::dead:beef%25em1%00]/ 901s # Test 67: http://[fe80::dead:beef%25em1%00]/ 901s # Test 68: http://xn--mixed-üp/ 901s # Test 69: data:./// 901s # Test 70: data:/.// 901s ok 19 /uri/parsing/absolute 901s ok 20 /uri/parsing/relative 901s # End of parsing tests 901s # Start of iter-params tests 901s # URI 0: p1=foo&p2=bar;p3=baz 901s # URI 1: p1=foo&p2=bar 901s # URI 2: p1=foo&&P1=bar 901s # URI 3: %00=foo 901s # URI 4: p1=%00 901s # URI 5: p1=foo&p1=bar 901s # URI 6: p1=foo&P1=bar 901s # URI 7: =% 901s # URI 8: = 901s # URI 9: foo 901s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 901s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 901s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 901s ok 21 /uri/iter-params/nul-terminated 901s # URI 0: p1=foo&p2=bar;p3=baz 901s # URI 1: p1=foo&p2=bar 901s # URI 2: p1=foo&&P1=bar 901s # URI 3: %00=foo 901s # URI 4: p1=%00 901s # URI 5: p1=foo&p1=bar 901s # URI 6: p1=foo&P1=bar 901s # URI 7: =% 901s # URI 8: = 901s # URI 9: foo 901s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 901s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 901s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 901s ok 22 /uri/iter-params/length 901s # End of iter-params tests 901s # Start of parse-params tests 901s # URI 0: p1=foo&p2=bar;p3=baz 901s # URI 1: p1=foo&p2=bar 901s # URI 2: p1=foo&&P1=bar 901s # URI 3: %00=foo 901s # URI 4: p1=%00 901s # URI 5: p1=foo&p1=bar 901s # URI 6: p1=foo&P1=bar 901s # URI 7: =% 901s # URI 8: = 901s # URI 9: foo 901s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 901s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 901s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 901s ok 23 /uri/parse-params/nul-terminated 901s # URI 0: p1=foo&p2=bar;p3=baz 901s # URI 1: p1=foo&p2=bar 901s # URI 2: p1=foo&&P1=bar 901s # URI 3: %00=foo 901s # URI 4: p1=%00 901s # URI 5: p1=foo&p1=bar 901s # URI 6: p1=foo&P1=bar 901s # URI 7: =% 901s # URI 8: = 901s # URI 9: foo 901s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 901s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 901s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 901s ok 24 /uri/parse-params/length 901s # End of parse-params tests 901s # End of uri tests 901s TAP version 14 901s # random seed: R02Sc2c281afbe9e34f8d6bc948725e7ea40 901s 1..18 901s # Start of gdbus tests 901s # Start of message-serialize tests 901s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-serialize/basic/.dirs/home 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-serialize/basic/.dirs/cache 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-serialize/basic/.dirs/system-config1:/tmp/test_gdbus-serialization_DMBTE3/gdbus/message-serialize/basic/.dirs/system-config2 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-serialize/basic/.dirs/config 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-serialize/basic/.dirs/system-data1:/tmp/test_gdbus-serialization_DMBTE3/gdbus/message-serialize/basic/.dirs/system-data2 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-serialize/basic/.dirs/data 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-serialize/basic/.dirs/state 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-serialize/basic/.dirs/runtime 901s ok 1 /gdbus/message-serialize/basic 901s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-serialize/complex/.dirs/home 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-serialize/complex/.dirs/cache 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-serialize/complex/.dirs/system-config1:/tmp/test_gdbus-serialization_DMBTE3/gdbus/message-serialize/complex/.dirs/system-config2 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-serialize/complex/.dirs/config 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-serialize/complex/.dirs/system-data1:/tmp/test_gdbus-serialization_DMBTE3/gdbus/message-serialize/complex/.dirs/system-data2 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-serialize/complex/.dirs/data 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-serialize/complex/.dirs/state 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-serialize/complex/.dirs/runtime 901s ok 2 /gdbus/message-serialize/complex 901s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-serialize/invalid/.dirs/home 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-serialize/invalid/.dirs/cache 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-serialize/invalid/.dirs/system-config1:/tmp/test_gdbus-serialization_DMBTE3/gdbus/message-serialize/invalid/.dirs/system-config2 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-serialize/invalid/.dirs/config 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-serialize/invalid/.dirs/system-data1:/tmp/test_gdbus-serialization_DMBTE3/gdbus/message-serialize/invalid/.dirs/system-data2 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-serialize/invalid/.dirs/data 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-serialize/invalid/.dirs/state 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-serialize/invalid/.dirs/runtime 901s ok 3 /gdbus/message-serialize/invalid 901s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-serialize/header-checks/.dirs/home 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-serialize/header-checks/.dirs/cache 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-serialize/header-checks/.dirs/system-config1:/tmp/test_gdbus-serialization_DMBTE3/gdbus/message-serialize/header-checks/.dirs/system-config2 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-serialize/header-checks/.dirs/config 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-serialize/header-checks/.dirs/system-data1:/tmp/test_gdbus-serialization_DMBTE3/gdbus/message-serialize/header-checks/.dirs/system-data2 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-serialize/header-checks/.dirs/data 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-serialize/header-checks/.dirs/state 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-serialize/header-checks/.dirs/runtime 901s ok 4 /gdbus/message-serialize/header-checks 901s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-serialize/double-array/.dirs/home 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-serialize/double-array/.dirs/cache 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-serialize/double-array/.dirs/system-config1:/tmp/test_gdbus-serialization_DMBTE3/gdbus/message-serialize/double-array/.dirs/system-config2 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-serialize/double-array/.dirs/config 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-serialize/double-array/.dirs/system-data1:/tmp/test_gdbus-serialization_DMBTE3/gdbus/message-serialize/double-array/.dirs/system-data2 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-serialize/double-array/.dirs/data 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-serialize/double-array/.dirs/state 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-serialize/double-array/.dirs/runtime 901s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=732754 901s ok 5 /gdbus/message-serialize/double-array 901s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-serialize/empty-structure/.dirs/home 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-serialize/empty-structure/.dirs/cache 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-serialize/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_DMBTE3/gdbus/message-serialize/empty-structure/.dirs/system-config2 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-serialize/empty-structure/.dirs/config 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-serialize/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_DMBTE3/gdbus/message-serialize/empty-structure/.dirs/system-data2 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-serialize/empty-structure/.dirs/data 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-serialize/empty-structure/.dirs/state 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-serialize/empty-structure/.dirs/runtime 901s # /gdbus/message-serialize/empty-structure summary: Test that empty structures are rejected when serializing. 901s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 901s ok 6 /gdbus/message-serialize/empty-structure 901s # Start of header-checks tests 901s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-serialize/header-checks/valid/.dirs/home 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-serialize/header-checks/valid/.dirs/cache 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-serialize/header-checks/valid/.dirs/system-config1:/tmp/test_gdbus-serialization_DMBTE3/gdbus/message-serialize/header-checks/valid/.dirs/system-config2 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-serialize/header-checks/valid/.dirs/config 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-serialize/header-checks/valid/.dirs/system-data1:/tmp/test_gdbus-serialization_DMBTE3/gdbus/message-serialize/header-checks/valid/.dirs/system-data2 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-serialize/header-checks/valid/.dirs/data 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-serialize/header-checks/valid/.dirs/state 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-serialize/header-checks/valid/.dirs/runtime 901s # /gdbus/message-serialize/header-checks/valid summary: Test that validation allows well-formed messages of all the different types 901s ok 7 /gdbus/message-serialize/header-checks/valid 901s # End of header-checks tests 901s # End of message-serialize tests 901s # Start of message-parse tests 901s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/home 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/cache 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config1:/tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config2 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/config 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data1:/tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data2 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/data 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/state 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/runtime 901s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=673612 901s ok 8 /gdbus/message-parse/empty-arrays-of-arrays 901s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/non-signature-header/.dirs/home 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/non-signature-header/.dirs/cache 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/non-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/non-signature-header/.dirs/system-config2 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/non-signature-header/.dirs/config 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/non-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/non-signature-header/.dirs/system-data2 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/non-signature-header/.dirs/data 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/non-signature-header/.dirs/state 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/non-signature-header/.dirs/runtime 901s ok 9 /gdbus/message-parse/non-signature-header 901s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/empty-signature-header/.dirs/home 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/empty-signature-header/.dirs/cache 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/empty-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/empty-signature-header/.dirs/system-config2 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/empty-signature-header/.dirs/config 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/empty-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/empty-signature-header/.dirs/system-data2 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/empty-signature-header/.dirs/data 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/empty-signature-header/.dirs/state 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/empty-signature-header/.dirs/runtime 901s ok 10 /gdbus/message-parse/empty-signature-header 901s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/multiple-signature-header/.dirs/home 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/multiple-signature-header/.dirs/cache 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/multiple-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/multiple-signature-header/.dirs/system-config2 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/multiple-signature-header/.dirs/config 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/multiple-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/multiple-signature-header/.dirs/system-data2 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/multiple-signature-header/.dirs/data 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/multiple-signature-header/.dirs/state 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/multiple-signature-header/.dirs/runtime 901s ok 11 /gdbus/message-parse/multiple-signature-header 901s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/over-long-signature-header/.dirs/home 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/over-long-signature-header/.dirs/cache 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/over-long-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/over-long-signature-header/.dirs/system-config2 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/over-long-signature-header/.dirs/config 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/over-long-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/over-long-signature-header/.dirs/system-data2 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/over-long-signature-header/.dirs/data 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/over-long-signature-header/.dirs/state 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/over-long-signature-header/.dirs/runtime 901s ok 12 /gdbus/message-parse/over-long-signature-header 901s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/deep-header-nesting/.dirs/home 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/deep-header-nesting/.dirs/cache 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/deep-header-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/deep-header-nesting/.dirs/system-config2 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/deep-header-nesting/.dirs/config 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/deep-header-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/deep-header-nesting/.dirs/system-data2 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/deep-header-nesting/.dirs/data 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/deep-header-nesting/.dirs/state 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/deep-header-nesting/.dirs/runtime 901s ok 13 /gdbus/message-parse/deep-header-nesting 901s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/deep-body-nesting/.dirs/home 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/deep-body-nesting/.dirs/cache 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/deep-body-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/deep-body-nesting/.dirs/system-config2 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/deep-body-nesting/.dirs/config 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/deep-body-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/deep-body-nesting/.dirs/system-data2 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/deep-body-nesting/.dirs/data 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/deep-body-nesting/.dirs/state 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/deep-body-nesting/.dirs/runtime 901s ok 14 /gdbus/message-parse/deep-body-nesting 901s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/truncated/.dirs/home 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/truncated/.dirs/cache 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/truncated/.dirs/system-config1:/tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/truncated/.dirs/system-config2 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/truncated/.dirs/config 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/truncated/.dirs/system-data1:/tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/truncated/.dirs/system-data2 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/truncated/.dirs/data 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/truncated/.dirs/state 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/truncated/.dirs/runtime 901s # /gdbus/message-parse/truncated summary: Test that truncated messages are properly rejected. 901s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2528 901s ok 15 /gdbus/message-parse/truncated 901s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/empty-structure/.dirs/home 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/empty-structure/.dirs/cache 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/empty-structure/.dirs/system-config2 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/empty-structure/.dirs/config 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/empty-structure/.dirs/system-data2 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/empty-structure/.dirs/data 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/empty-structure/.dirs/state 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/empty-structure/.dirs/runtime 901s # /gdbus/message-parse/empty-structure summary: Test that empty structures are rejected when parsing. 901s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 901s ok 16 /gdbus/message-parse/empty-structure 901s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/missing-header/.dirs/home 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/missing-header/.dirs/cache 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/missing-header/.dirs/system-config1:/tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/missing-header/.dirs/system-config2 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/missing-header/.dirs/config 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/missing-header/.dirs/system-data1:/tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/missing-header/.dirs/system-data2 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/missing-header/.dirs/data 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/missing-header/.dirs/state 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/missing-header/.dirs/runtime 901s # /gdbus/message-parse/missing-header summary: Test that missing (required) headers prompt an error. 901s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 901s ok 17 /gdbus/message-parse/missing-header 901s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/invalid-header-type/.dirs/home 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/invalid-header-type/.dirs/cache 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/invalid-header-type/.dirs/system-config1:/tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/invalid-header-type/.dirs/system-config2 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/invalid-header-type/.dirs/config 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/invalid-header-type/.dirs/system-data1:/tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/invalid-header-type/.dirs/system-data2 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/invalid-header-type/.dirs/data 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/invalid-header-type/.dirs/state 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_DMBTE3/gdbus/message-parse/invalid-header-type/.dirs/runtime 901s # /gdbus/message-parse/invalid-header-type summary: Test that the type of well-known headers is checked. 901s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 901s ok 18 /gdbus/message-parse/invalid-header-type 901s # End of message-parse tests 901s # End of gdbus tests 901s TAP version 14 901s # random seed: R02Sc7ff3df039321050afff2b58ca69cf83 901s 1..1 901s # Start of cache tests 901s ok 1 /cache/basic 901s # End of cache tests 901s TAP version 14 901s # random seed: R02S8d7d65ab679eecd29edea227b531a081 901s 1..238 901s # Start of utf8 tests 901s # Vector 0 901s # Vector 1 901s # Vector 2 901s # Vector 3 901s # Vector 4 901s # Vector 5 901s # Vector 6 901s # Vector 7 901s # Vector 8 901s # Vector 9 901s # Vector 10 901s # Vector 11 901s # Vector 12 901s # Vector 13 901s # Vector 14 901s # Vector 15 901s # Vector 16 901s # Vector 17 901s # Vector 18 901s # Vector 19 901s # Vector 20 901s # Vector 21 901s # Vector 22 901s # Vector 23 901s # Vector 24 901s # Vector 25 901s # Vector 26 901s # Vector 27 901s ok 1 /utf8/get-char-validated 901s # Start of validate tests 901s ok 2 /utf8/validate/0 901s ok 3 /utf8/validate/1 901s ok - glib/gdbus-serialization.test 901s # Running test: glib/cache.test 901s ok - glib/cache.test 901s # Running test: glib/utf8-validate.test 901s ok - glib/utf8-validate.test 901s # Running test: glib/object.test 901s ok - glib/object.test 901s # Running test: glib/memory-monitor.test 901s ok - glib/memory-monitor.test 901s # Running test: glib/function-info.test 901s ok - glib/function-info.test 901s # Running test: glib/atomic-c-89.test 901s ok 4 /utf8/validate/2 901s ok 5 /utf8/validate/3 901s ok 6 /utf8/validate/4 901s ok 7 /utf8/validate/5 901s ok 8 /utf8/validate/6 901s ok 9 /utf8/validate/7 901s ok 10 /utf8/validate/8 901s ok 11 /utf8/validate/9 901s ok 12 /utf8/validate/10 901s ok 13 /utf8/validate/11 901s ok 14 /utf8/validate/12 901s ok 15 /utf8/validate/13 901s ok 16 /utf8/validate/14 901s ok 17 /utf8/validate/15 901s ok 18 /utf8/validate/16 901s ok 19 /utf8/validate/17 901s ok 20 /utf8/validate/18 901s ok 21 /utf8/validate/19 901s ok 22 /utf8/validate/20 901s ok 23 /utf8/validate/21 901s ok 24 /utf8/validate/22 901s ok 25 /utf8/validate/23 901s ok 26 /utf8/validate/24 901s ok 27 /utf8/validate/25 901s ok 28 /utf8/validate/26 901s ok 29 /utf8/validate/27 901s ok 30 /utf8/validate/28 901s ok 31 /utf8/validate/29 901s ok 32 /utf8/validate/30 901s ok 33 /utf8/validate/31 901s ok 34 /utf8/validate/32 901s ok 35 /utf8/validate/33 901s ok 36 /utf8/validate/34 901s ok 37 /utf8/validate/35 901s ok 38 /utf8/validate/36 901s ok 39 /utf8/validate/37 901s ok 40 /utf8/validate/38 901s ok 41 /utf8/validate/39 901s ok 42 /utf8/validate/40 901s ok 43 /utf8/validate/41 901s ok 44 /utf8/validate/42 901s ok 45 /utf8/validate/43 901s ok 46 /utf8/validate/44 901s ok 47 /utf8/validate/45 901s ok 48 /utf8/validate/46 901s ok 49 /utf8/validate/47 901s ok 50 /utf8/validate/48 901s ok 51 /utf8/validate/49 901s ok 52 /utf8/validate/50 901s ok 53 /utf8/validate/51 901s ok 54 /utf8/validate/52 901s ok 55 /utf8/validate/53 901s ok 56 /utf8/validate/54 901s ok 57 /utf8/validate/55 901s ok 58 /utf8/validate/56 901s ok 59 /utf8/validate/57 901s ok 60 /utf8/validate/58 901s ok 61 /utf8/validate/59 901s ok 62 /utf8/validate/60 901s ok 63 /utf8/validate/61 901s ok 64 /utf8/validate/62 901s ok 65 /utf8/validate/63 901s ok 66 /utf8/validate/64 901s ok 67 /utf8/validate/65 901s ok 68 /utf8/validate/66 901s ok 69 /utf8/validate/67 901s ok 70 /utf8/validate/68 901s ok 71 /utf8/validate/69 901s ok 72 /utf8/validate/70 901s ok 73 /utf8/validate/71 901s ok 74 /utf8/validate/72 901s ok 75 /utf8/validate/73 901s ok 76 /utf8/validate/74 901s ok 77 /utf8/validate/75 901s ok 78 /utf8/validate/76 901s ok 79 /utf8/validate/77 901s ok 80 /utf8/validate/78 901s ok 81 /utf8/validate/79 901s ok 82 /utf8/validate/80 901s ok 83 /utf8/validate/81 901s ok 84 /utf8/validate/82 901s ok 85 /utf8/validate/83 901s ok 86 /utf8/validate/84 901s ok 87 /utf8/validate/85 901s ok 88 /utf8/validate/86 901s ok 89 /utf8/validate/87 901s ok 90 /utf8/validate/88 901s ok 91 /utf8/validate/89 901s ok 92 /utf8/validate/90 901s ok 93 /utf8/validate/91 901s ok 94 /utf8/validate/92 901s ok 95 /utf8/validate/93 901s ok 96 /utf8/validate/94 901s ok 97 /utf8/validate/95 901s ok 98 /utf8/validate/96 901s ok 99 /utf8/validate/97 901s ok 100 /utf8/validate/98 901s ok 101 /utf8/validate/99 901s ok 102 /utf8/validate/100 901s ok 103 /utf8/validate/101 901s ok 104 /utf8/validate/102 901s ok 105 /utf8/validate/103 901s ok 106 /utf8/validate/104 901s ok 107 /utf8/validate/105 901s ok 108 /utf8/validate/106 901s ok 109 /utf8/validate/107 901s ok 110 /utf8/validate/108 901s ok 111 /utf8/validate/109 901s ok 112 /utf8/validate/110 901s ok 113 /utf8/validate/111 901s ok 114 /utf8/validate/112 901s ok 115 /utf8/validate/113 901s ok 116 /utf8/validate/114 901s ok 117 /utf8/validate/115 901s ok 118 /utf8/validate/116 901s ok 119 /utf8/validate/117 901s ok 120 /utf8/validate/118 901s ok 121 /utf8/validate/119 901s ok 122 /utf8/validate/120 901s ok 123 /utf8/validate/121 901s ok 124 /utf8/validate/122 901s ok 125 /utf8/validate/123 901s ok 126 /utf8/validate/124 901s ok 127 /utf8/validate/125 901s ok 128 /utf8/validate/126 901s ok 129 /utf8/validate/127 901s ok 130 /utf8/validate/128 901s ok 131 /utf8/validate/129 901s ok 132 /utf8/validate/130 901s ok 133 /utf8/validate/131 901s ok 134 /utf8/validate/132 901s ok 135 /utf8/validate/133 901s ok 136 /utf8/validate/134 901s ok 137 /utf8/validate/135 901s ok 138 /utf8/validate/136 901s ok 139 /utf8/validate/137 901s ok 140 /utf8/validate/138 901s ok 141 /utf8/validate/139 901s ok 142 /utf8/validate/140 901s ok 143 /utf8/validate/141 901s ok 144 /utf8/validate/142 901s ok 145 /utf8/validate/143 901s ok 146 /utf8/validate/144 901s ok 147 /utf8/validate/145 901s ok 148 /utf8/validate/146 901s ok 149 /utf8/validate/147 901s ok 150 /utf8/validate/148 901s ok 151 /utf8/validate/149 901s ok 152 /utf8/validate/150 901s ok 153 /utf8/validate/151 901s ok 154 /utf8/validate/152 901s ok 155 /utf8/validate/153 901s ok 156 /utf8/validate/154 901s ok 157 /utf8/validate/155 901s ok 158 /utf8/validate/156 901s ok 159 /utf8/validate/157 901s ok 160 /utf8/validate/158 901s ok 161 /utf8/validate/159 901s ok 162 /utf8/validate/160 901s ok 163 /utf8/validate/161 901s ok 164 /utf8/validate/162 901s ok 165 /utf8/validate/163 901s ok 166 /utf8/validate/164 901s ok 167 /utf8/validate/165 901s ok 168 /utf8/validate/166 901s ok 169 /utf8/validate/167 901s ok 170 /utf8/validate/168 901s ok 171 /utf8/validate/169 901s ok 172 /utf8/validate/170 901s ok 173 /utf8/validate/171 901s ok 174 /utf8/validate/172 901s ok 175 /utf8/validate/173 901s ok 176 /utf8/validate/174 901s ok 177 /utf8/validate/175 901s ok 178 /utf8/validate/176 901s ok 179 /utf8/validate/177 901s ok 180 /utf8/validate/178 901s ok 181 /utf8/validate/179 901s ok 182 /utf8/validate/180 901s ok 183 /utf8/validate/181 901s ok 184 /utf8/validate/182 901s ok 185 /utf8/validate/183 901s ok 186 /utf8/validate/184 901s ok 187 /utf8/validate/185 901s ok 188 /utf8/validate/186 901s ok 189 /utf8/validate/187 901s ok 190 /utf8/validate/188 901s ok 191 /utf8/validate/189 901s ok 192 /utf8/validate/190 901s ok 193 /utf8/validate/191 901s ok 194 /utf8/validate/192 901s ok 195 /utf8/validate/193 901s ok 196 /utf8/validate/194 901s ok 197 /utf8/validate/195 901s ok 198 /utf8/validate/196 901s ok 199 /utf8/validate/197 901s ok 200 /utf8/validate/198 901s ok 201 /utf8/validate/199 901s ok 202 /utf8/validate/200 901s ok 203 /utf8/validate/201 901s ok 204 /utf8/validate/202 901s ok 205 /utf8/validate/203 901s ok 206 /utf8/validate/204 901s ok 207 /utf8/validate/205 901s ok 208 /utf8/validate/206 901s ok 209 /utf8/validate/207 901s ok 210 /utf8/validate/208 901s ok 211 /utf8/validate/209 901s ok 212 /utf8/validate/210 901s ok 213 /utf8/validate/211 901s ok 214 /utf8/validate/212 901s ok 215 /utf8/validate/213 901s ok 216 /utf8/validate/214 901s ok 217 /utf8/validate/215 901s ok 218 /utf8/validate/216 901s ok 219 /utf8/validate/217 901s ok 220 /utf8/validate/218 901s ok 221 /utf8/validate/219 901s ok 222 /utf8/validate/220 901s ok 223 /utf8/validate/221 901s ok 224 /utf8/validate/222 901s ok 225 /utf8/validate/223 901s ok 226 /utf8/validate/224 901s ok 227 /utf8/validate/225 901s ok 228 /utf8/validate/226 901s ok 229 /utf8/validate/227 901s ok 230 /utf8/validate/228 901s ok 231 /utf8/validate/229 901s ok 232 /utf8/validate/230 901s ok 233 /utf8/validate/231 901s ok 234 /utf8/validate/232 901s ok 235 /utf8/validate/233 901s ok 236 /utf8/validate/234 901s ok 237 /utf8/validate/235 901s ok 238 /utf8/validate/236 901s # End of validate tests 901s # End of utf8 tests 901s TAP version 14 901s # random seed: R02S2164294645f80df4dfc6be11ac85c99f 901s 1..2 901s # Start of object tests 901s # Start of constructor tests 901s ok 1 /object/constructor/singleton 901s ok 2 /object/constructor/infanticide # SKIP skip tests that rely on debug-only warnings 901s # End of constructor tests 901s # End of object tests 901s TAP version 14 901s # random seed: R02Sab173c55d2d61f3512f9a48dff8a3f47 901s 1..1 901s # Start of memory-monitor tests 901s # GLib-GIO-DEBUG: Failed to initialize portal (GMemoryMonitorPortal) for gio-memory-monitor: Not using portals 901s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GMemoryMonitorDBus) for ‘gio-memory-monitor’ 901s ok 1 /memory-monitor/default 901s # End of memory-monitor tests 901s TAP version 14 901s # random seed: R02Sb1ff47124b6eb48812d6aa38e95a2703 901s 1..1 901s # Start of function-info tests 901s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_function-info_2LXSE3/function-info/invoker/.dirs/home 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_function-info_2LXSE3/function-info/invoker/.dirs/cache 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_function-info_2LXSE3/function-info/invoker/.dirs/system-config1:/tmp/test_function-info_2LXSE3/function-info/invoker/.dirs/system-config2 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_function-info_2LXSE3/function-info/invoker/.dirs/config 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_function-info_2LXSE3/function-info/invoker/.dirs/system-data1:/tmp/test_function-info_2LXSE3/function-info/invoker/.dirs/system-data2 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_function-info_2LXSE3/function-info/invoker/.dirs/data 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_function-info_2LXSE3/function-info/invoker/.dirs/state 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_function-info_2LXSE3/function-info/invoker/.dirs/runtime 901s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 901s # /function-info/invoker summary: Test preparing a function invoker 901s ok 1 /function-info/invoker 901s # End of function-info tests 901s TAP version 14 901s # random seed: R02S1471310103e3f68d70a0a5ea3b0882b8 901s 1..2 901s # Start of atomic tests 901s ok 1 /atomic/types 901s ok 2 /atomic/threaded 901s # End of atomic tests 901s ok - glib/atomic-c-89.test 901s # Running test: glib/fdo-notification-backend.test 901s TAP version 14 901s # random seed: R02Sfc9594780d541733ac5a5a5502c947c8 901s 1..2 901s # Start of fdo-notification-backend tests 901s # Test constructing a GFdoNotificationBackend 901s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 901s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 901s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 901s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 901s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 901s ok 1 /fdo-notification-backend/construction 901s # Start of dbus tests 901s # /fdo-notification-backend/dbus/activate-action summary: Test how the backend handles valid and invalid ActionInvoked signals from the daemon 901s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 901s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 901s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 901s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 901s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 901s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 901s ok - glib/fdo-notification-backend.test 901s # Running test: glib/signal-handler.test 901s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 901s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 901s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 901s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 901s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 901s ok 2 /fdo-notification-backend/dbus/activate-action 901s # End of dbus tests 901s # End of fdo-notification-backend tests 901s TAP version 14 901s # random seed: R02S38f0d582741649d052b23a1c71d03f17 901s 1..7 901s # Start of signal tests 901s # Start of handler tests 901s # min perf: connected 1 handlers in 0.000 seconds 901s ok 1 /signal/handler/connect-many 901s # min perf: disconnected 1 handlers in 0.000 seconds 901s ok 2 /signal/handler/disconnect-many-ordered 901s # min perf: disconnected 1 handlers in 0.000 seconds 901s ok 3 /signal/handler/disconnect-many-inverse 901s # min perf: disconnected 1 handlers in 0.000 seconds 901s ok 4 /signal/handler/disconnect-many-random 901s # min perf: disconnected 1 handlers in 0.000 seconds 901s ok 5 /signal/handler/disconnect-2-signals 901s # min perf: disconnected 1 handlers in 0.000 seconds 901s ok 6 /signal/handler/disconnect-2-objects 901s # min perf: blocked and unblocked 1 handlers in 0.000 seconds 901s ok 7 /signal/handler/block-many 901s # End of handler tests 901s # End of signal tests 901s ok - glib/signal-handler.test 901s # Running test: glib/utf8-misc.test 901s TAP version 14 901s # random seed: R02S4468c7a92688214d295b29c01c05f30a 901s 1..7 901s # Start of utf8 tests 901s ok 1 /utf8/strlen 901s ok 2 /utf8/strncpy 901s ok 3 /utf8/strrchr 901s ok 4 /utf8/reverse 901s ok 5 /utf8/substring 901s ok 6 /utf8/make-valid 901s ok 7 /utf8/truncate-middle 901s # End of utf8 tests 901s ok - glib/utf8-misc.test 901s # Running test: glib/refstring.test 901s TAP version 14 901s # random seed: R02Sf4409ac84174e5de1b19160e44993a0e 901s 1..8 901s # Start of refstring tests 901s # s = 'hello, world' (0x1d3f127a82b0) 901s ok 1 /refstring/base 901s ok 2 /refstring/length 901s ok 3 /refstring/length-auto 901s ok 4 /refstring/length-nuls 901s # s = 'hello, world' (0x1d3f127a8150) 901s # p = s = 'hello, world' (0x1d3f127a8150) 901s # releasing p[0x1d3f127a8150] ('hello, world') 901s # p = 'goodbye, world' (0x1d3f127a82b0) 901s # releasing p[0x1d3f127a82b0] ('goodbye, world') 901s # releasing s[0x1d3f127a8150] ('hello, world') 901s ok 5 /refstring/intern 901s # /refstring/hash_equal summary: Test g_ref_string_equal() in GHashTable 901s ok 6 /refstring/hash_equal 901s # /refstring/equal summary: Test g_ref_string_equal() standalone 901s ok 7 /refstring/equal 903s # Executing: glib/refstring.test 903s ok 8 /refstring/intern-thread-safety 903s # slow test /refstring/intern-thread-safety executed in 1.47 secs 903s # End of refstring tests 903s ok - glib/refstring.test 903s # Running test: glib/relation.test 903s TAP version 14 903s # random seed: R02S9c6f4bb7af51852b0d21892ce89be8f5 903s 1..1 903s # Start of glib tests 903s ok 1 /glib/relation 903s # End of glib tests 903s ok - glib/relation.test 903s # Running test: glib/reference.test 903s TAP version 14 903s # random seed: R02S9c5cb02a13bf13662c0ae5ba308b3ac9 903s 1..29 903s # Start of type tests 903s ok 1 /type/fundamentals 903s ok 2 /type/qdata 903s ok 3 /type/query 903s ok 4 /type/class-private 903s # End of type tests 903s # Start of object tests 903s ok 5 /object/clear 903s ok 6 /object/clear-function 903s ok 7 /object/set 903s ok 8 /object/set-function 903s ok 9 /object/value 903s ok 10 /object/initially-unowned 903s ok 11 /object/weak-pointer 903s ok 12 /object/weak-ref 903s ok 13 /object/toggle-ref 903s ok 14 /object/qdata 903s ok 15 /object/qdata2 903s # Start of set tests 903s # /object/set/derived-type summary: Check that g_set_object() doesn’t give strict aliasing warnings when used on types derived from GObject 903s ok 16 /object/set/derived-type 903s # End of set tests 903s # Start of weak-pointer tests 903s ok 17 /object/weak-pointer/clear 903s ok 18 /object/weak-pointer/clear-function 903s ok 19 /object/weak-pointer/set 903s ok 20 /object/weak-pointer/set-function 903s # End of weak-pointer tests 903s # Start of weak-ref tests 903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 903s # /object/weak-ref/on-dispose summary: Test that a weak ref set during dispose vfunc is cleared 903s ok 21 /object/weak-ref/on-dispose 903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/865 903s # /object/weak-ref/on-run-dispose summary: Test that a weak ref is cleared on g_object_run_dispose() 903s ok 22 /object/weak-ref/on-run-dispose 903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 903s # /object/weak-ref/on-toggle-notify summary: Test that a weak ref set on toggle notify is cleared 903s ok 23 /object/weak-ref/on-toggle-notify 903s ok 24 /object/weak-ref/in-toggle-notify 903s ok - glib/reference.test 903s # Running test: glib/stream-rw_all.test 903s ok 25 /object/weak-ref/many 903s # Start of concurrent tests 903s ok 26 /object/weak-ref/concurrent/0 903s ok 27 /object/weak-ref/concurrent/1 903s # End of concurrent tests 903s # End of weak-ref tests 903s # Start of toggle-ref tests 903s ok 28 /object/toggle-ref/ref-on-dispose 903s ok 29 /object/toggle-ref/ref-and-notify-on-dispose 903s # End of toggle-ref tests 903s # End of object tests 903s TAP version 14 903s # random seed: R02S5d7ee6afafa761c9dfe5563bf590ba2c 903s 1..3 903s # Start of stream tests 903s # Start of read_all_async tests 903s ok 1 /stream/read_all_async/memory 903s # End of read_all_async tests 903s # Start of write_all_async tests 903s ok 2 /stream/write_all_async/memory 903s # End of write_all_async tests 903s # Start of read_write_all_async tests 903s ok 3 /stream/read_write_all_async/pipe 903s # End of read_write_all_async tests 903s # End of stream tests 903s ok - glib/stream-rw_all.test 903s # Running test: glib/deprecated-properties.test 903s TAP version 14 903s # random seed: R02Saa3e1ccfeb8191aa4a1e9e83c8067f94 903s 1..3 903s # Start of deprecated-properties tests 903s ok 1 /deprecated-properties/construct 903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 903s ok 2 /deprecated-properties/default-construct 903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 903s ok 3 /deprecated-properties/set 903s # End of deprecated-properties tests 903s ok - glib/deprecated-properties.test 903s # Running test: glib/gdbus-introspection.test 903s TAP version 14 903s # random seed: R02S6d962a38cd926888d450d17a00929fb8 903s 1..4 903s # Start of gdbus tests 903s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_BZMNE3/gdbus/introspection-parser/.dirs/home 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_BZMNE3/gdbus/introspection-parser/.dirs/cache 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_BZMNE3/gdbus/introspection-parser/.dirs/system-config1:/tmp/test_gdbus-introspection_BZMNE3/gdbus/introspection-parser/.dirs/system-config2 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_BZMNE3/gdbus/introspection-parser/.dirs/config 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_BZMNE3/gdbus/introspection-parser/.dirs/system-data1:/tmp/test_gdbus-introspection_BZMNE3/gdbus/introspection-parser/.dirs/system-data2 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_BZMNE3/gdbus/introspection-parser/.dirs/data 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_BZMNE3/gdbus/introspection-parser/.dirs/state 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_BZMNE3/gdbus/introspection-parser/.dirs/runtime 903s ok 1 /gdbus/introspection-parser 903s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_BZMNE3/gdbus/introspection-generate/.dirs/home 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_BZMNE3/gdbus/introspection-generate/.dirs/cache 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_BZMNE3/gdbus/introspection-generate/.dirs/system-config1:/tmp/test_gdbus-introspection_BZMNE3/gdbus/introspection-generate/.dirs/system-config2 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_BZMNE3/gdbus/introspection-generate/.dirs/config 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_BZMNE3/gdbus/introspection-generate/.dirs/system-data1:/tmp/test_gdbus-introspection_BZMNE3/gdbus/introspection-generate/.dirs/system-data2 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_BZMNE3/gdbus/introspection-generate/.dirs/data 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_BZMNE3/gdbus/introspection-generate/.dirs/state 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_BZMNE3/gdbus/introspection-generate/.dirs/runtime 903s ok 2 /gdbus/introspection-generate 903s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_BZMNE3/gdbus/introspection-default-direction/.dirs/home 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_BZMNE3/gdbus/introspection-default-direction/.dirs/cache 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_BZMNE3/gdbus/introspection-default-direction/.dirs/system-config1:/tmp/test_gdbus-introspection_BZMNE3/gdbus/introspection-default-direction/.dirs/system-config2 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_BZMNE3/gdbus/introspection-default-direction/.dirs/config 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_BZMNE3/gdbus/introspection-default-direction/.dirs/system-data1:/tmp/test_gdbus-introspection_BZMNE3/gdbus/introspection-default-direction/.dirs/system-data2 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_BZMNE3/gdbus/introspection-default-direction/.dirs/data 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_BZMNE3/gdbus/introspection-default-direction/.dirs/state 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_BZMNE3/gdbus/introspection-default-direction/.dirs/runtime 903s ok 3 /gdbus/introspection-default-direction 903s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_BZMNE3/gdbus/introspection-extra-data/.dirs/home 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_BZMNE3/gdbus/introspection-extra-data/.dirs/cache 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_BZMNE3/gdbus/introspection-extra-data/.dirs/system-config1:/tmp/test_gdbus-introspection_BZMNE3/gdbus/introspection-extra-data/.dirs/system-config2 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_BZMNE3/gdbus/introspection-extra-data/.dirs/config 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_BZMNE3/gdbus/introspection-extra-data/.dirs/system-data1:/tmp/test_gdbus-introspection_BZMNE3/gdbus/introspection-extra-data/.dirs/system-data2 903s ok - glib/gdbus-introspection.test 903s # Running test: glib/unicode.test 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_BZMNE3/gdbus/introspection-extra-data/.dirs/data 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_BZMNE3/gdbus/introspection-extra-data/.dirs/state 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_BZMNE3/gdbus/introspection-extra-data/.dirs/runtime 903s ok 4 /gdbus/introspection-extra-data 903s # End of gdbus tests 903s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 903s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 903s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 903s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 903s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 903s TAP version 14 903s # random seed: R02S988c139c86b416035464f3dcf5ba5fd0 903s 1..39 903s # Start of unicode tests 903s ok 1 /unicode/alnum 903s ok 2 /unicode/alpha 903s ok 3 /unicode/break-type 903s ok 4 /unicode/canonical-decomposition 903s ok 5 /unicode/casefold 903s # Cannot set locale to lt_LT, skipping 903s # Cannot set locale to lt_LT, skipping 903s # Cannot set locale to lt_LT, skipping 903s # Cannot set locale to lt_LT, skipping 903s # Cannot set locale to lt_LT, skipping 903s # Cannot set locale to lt_LT, skipping 903s # Cannot set locale to lt_LT, skipping 903s # Cannot set locale to lt_LT, skipping 903s # Cannot set locale to lt_LT, skipping 903s # Cannot set locale to lt_LT, skipping 903s # Cannot set locale to lt_LT, skipping 903s ok 6 /unicode/casemap_and_casefold 903s ok 7 /unicode/cases 903s ok 8 /unicode/character-type 903s ok 9 /unicode/cntrl 903s ok 10 /unicode/combining-class 903s # Composing U+000041 and U+000042; expecting U+000000 903s # Composing U+000041 and U+000000; expecting U+000000 903s # Composing U+000066 and U+000069; expecting U+000000 903s # Composing U+000308 and U+000301; expecting U+000000 903s # Composing U+000f71 and U+000f72; expecting U+000000 903s # Composing U+00212b and U+000000; expecting U+000000 903s # Composing U+0000c5 and U+000000; expecting U+000000 903s # Composing U+002126 and U+000000; expecting U+000000 903s # Composing U+0003a9 and U+000000; expecting U+000000 903s # Composing U+000041 and U+00030a; expecting U+0000c5 903s # Composing U+00006f and U+000302; expecting U+0000f4 903s # Composing U+001e63 and U+000307; expecting U+001e69 903s # Composing U+000073 and U+000323; expecting U+001e63 903s # Composing U+000064 and U+000307; expecting U+001e0b 903s # Composing U+000064 and U+000323; expecting U+001e0d 903s # Composing U+00d4cc and U+0011b6; expecting U+00d4db 903s # Composing U+001111 and U+001171; expecting U+00d4cc 903s # Composing U+00ce20 and U+0011b8; expecting U+00ce31 903s # Composing U+00110e and U+001173; expecting U+00ce20 903s # Composing U+001100 and U+001160; expecting U+000000 903s # Composing U+001100 and U+001177; expecting U+000000 903s # Composing U+00abff and U+0011b6; expecting U+000000 903s # Composing U+00d7a5 and U+0011b6; expecting U+000000 903s # Composing U+00ac01 and U+0011b6; expecting U+000000 903s # Composing U+00d4cc and U+0011a6; expecting U+000000 903s # Composing U+00d4cc and U+0011c4; expecting U+000000 903s # Composing U+01611e and U+01611e; expecting U+016121 903s # Composing U+01611e and U+01611f; expecting U+016123 903s # Composing U+0000f6 and U+000304; expecting U+00022b 903s # Composing U+000b47 and U+000b57; expecting U+000b4c 903s # Composing U+0000a0 and U+000b57; expecting U+000000 903s # Composing U+016e00 and U+00030a; expecting U+000000 903s # Composing U+00212b and U+016e00; expecting U+000000 903s # Composing U+001e63 and U+000306; expecting U+000000 903s # Composing U+001e63 and U+000304; expecting U+000000 903s # Composing U+001e63 and U+000b57; expecting U+000000 903s # Composing U+001e63 and U+000000; expecting U+000000 903s # Composing U+001e63 and U+0113c2; expecting U+000000 903s # Composing U+001f01 and U+0113c2; expecting U+000000 903s # Composing U+00006e and U+000302; expecting U+000000 903s # Composing U+001e63 and U+01611f; expecting U+000000 903s # Composing U+01138e and U+0113b8; expecting U+000000 903s # Composing U+01611e and U+000000; expecting U+000000 903s # Composing U+000000 and U+01611f; expecting U+000000 903s # Composing U+011390 and U+0113c2; expecting U+000000 903s ok 11 /unicode/compose 903s ok 12 /unicode/decompose 903s ok 13 /unicode/decompose-tail 903s ok 14 /unicode/defined 903s ok 15 /unicode/digit 903s ok 16 /unicode/digit-value 903s # Fully decomposing U+000041; expecting 1 codepoints 903s # Fully decomposing U+00fb01; expecting 1 codepoints 903s # Fully decomposing U+00212b; expecting 2 codepoints 903s # Fully decomposing U+002126; expecting 1 codepoints 903s # Fully decomposing U+000344; expecting 2 codepoints 903s # Fully decomposing U+000f73; expecting 2 codepoints 903s # Fully decomposing U+0000c5; expecting 2 codepoints 903s # Fully decomposing U+0000f4; expecting 2 codepoints 903s # Fully decomposing U+001e69; expecting 3 codepoints 903s # Fully decomposing U+001e63; expecting 2 codepoints 903s # Fully decomposing U+001e0b; expecting 2 codepoints 903s # Fully decomposing U+001e0d; expecting 2 codepoints 903s # Fully decomposing U+00d4db; expecting 3 codepoints 903s # Fully decomposing U+00d4cc; expecting 2 codepoints 903s # Fully decomposing U+00ce31; expecting 3 codepoints 903s # Fully decomposing U+00ce20; expecting 2 codepoints 903s ok 17 /unicode/fully-decompose-canonical 903s ok 18 /unicode/fully-decompose-len 903s ok 19 /unicode/normalization 903s ok 20 /unicode/graph 903s # Testing script Zyyy (code 1517910393) 903s # Testing script Zinh (code 1516858984) 903s # Testing script Zmth (code 1517122664) 903s # Testing script Arab (code 1098015074) 903s # Testing script Armn (code 1098018158) 903s # Testing script Beng (code 1113943655) 903s # Testing script Bopo (code 1114599535) 903s # Testing script Cher (code 1130915186) 903s # Testing script Copt (code 1131376756) 903s # Testing script Cyrl (code 1132032620) 903s # Testing script Dsrt (code 1148416628) 903s # Testing script Deva (code 1147500129) 903s # Testing script Ethi (code 1165256809) 903s # Testing script Geor (code 1197830002) 903s # Testing script Goth (code 1198486632) 903s # Testing script Grek (code 1198679403) 903s # Testing script Gujr (code 1198877298) 903s # Testing script Guru (code 1198879349) 903s # Testing script Hani (code 1214344809) 903s # Testing script Hang (code 1214344807) 903s # Testing script Hebr (code 1214603890) 903s # Testing script Hira (code 1214870113) 903s # Testing script Knda (code 1265525857) 903s # Testing script Kana (code 1264676449) 903s # Testing script Khmr (code 1265134962) 903s # Testing script Laoo (code 1281453935) 903s # Testing script Latn (code 1281455214) 903s # Testing script Mlym (code 1298954605) 903s # Testing script Mong (code 1299148391) 903s # Testing script Mymr (code 1299803506) 903s # Testing script Ogam (code 1332175213) 903s # Testing script Ital (code 1232363884) 903s # Testing script Orya (code 1332902241) 903s # Testing script Runr (code 1383427698) 903s # Testing script Sinh (code 1399418472) 903s # Testing script Syrc (code 1400468067) 903s # Testing script Taml (code 1415671148) 903s # Testing script Telu (code 1415933045) 903s # Testing script Thaa (code 1416126817) 903s # Testing script Thai (code 1416126825) 903s # Testing script Tibt (code 1416192628) 903s # Testing script Cans (code 1130458739) 903s # Testing script Yiii (code 1500080489) 903s # Testing script Tglg (code 1416064103) 903s # Testing script Hano (code 1214344815) 903s # Testing script Buhd (code 1114990692) 903s # Testing script Tagb (code 1415669602) 903s # Testing script Brai (code 1114792297) 903s # Testing script Cprt (code 1131442804) 903s # Testing script Limb (code 1281977698) 903s # Testing script Osma (code 1332964705) 903s # Testing script Shaw (code 1399349623) 903s # Testing script Linb (code 1281977954) 903s # Testing script Tale (code 1415670885) 903s # Testing script Ugar (code 1432838514) 903s # Testing script Talu (code 1415670901) 903s # Testing script Bugi (code 1114990441) 903s # Testing script Glag (code 1198285159) 903s # Testing script Tfng (code 1415999079) 903s # Testing script Sylo (code 1400466543) 903s # Testing script Xpeo (code 1483761007) 903s # Testing script Khar (code 1265131890) 903s # Testing script Zzzz (code 1517976186) 903s # Testing script Bali (code 1113681001) 903s # Testing script Xsux (code 1483961720) 903s # Testing script Phnx (code 1349021304) 903s # Testing script Phag (code 1349017959) 903s # Testing script Nkoo (code 1315663727) 903s # Testing script Kali (code 1264675945) 903s # Testing script Lepc (code 1281716323) 903s # Testing script Rjng (code 1382706791) 903s # Testing script Sund (code 1400204900) 903s # Testing script Saur (code 1398895986) 903s # Testing script Cham (code 1130914157) 903s # Testing script Olck (code 1332503403) 903s # Testing script Vaii (code 1449224553) 903s # Testing script Cari (code 1130459753) 903s # Testing script Lyci (code 1283023721) 903s # Testing script Lydi (code 1283023977) 903s # Testing script Avst (code 1098281844) 903s # Testing script Bamu (code 1113681269) 903s # Testing script Egyp (code 1164409200) 903s # Testing script Armi (code 1098018153) 903s # Testing script Phli (code 1349020777) 903s # Testing script Prti (code 1349678185) 903s # Testing script Java (code 1247901281) 903s # Testing script Kthi (code 1265920105) 903s # Testing script Lisu (code 1281979253) 903s # Testing script Mtei (code 1299473769) 903s # Testing script Sarb (code 1398895202) 903s # Testing script Orkh (code 1332898664) 903s # Testing script Samr (code 1398893938) 903s # Testing script Lana (code 1281453665) 903s # Testing script Tavt (code 1415673460) 903s # Testing script Batk (code 1113683051) 903s # Testing script Brah (code 1114792296) 903s # Testing script Mand (code 1298230884) 903s # Testing script Cakm (code 1130457965) 903s # Testing script Merc (code 1298494051) 903s # Testing script Mero (code 1298494063) 903s # Testing script Plrd (code 1349284452) 903s # Testing script Shrd (code 1399353956) 903s # Testing script Sora (code 1399812705) 903s # Testing script Takr (code 1415670642) 903s # Testing script Bass (code 1113682803) 903s # Testing script Aghb (code 1097295970) 903s # Testing script Dupl (code 1148547180) 903s # Testing script Elba (code 1164730977) 903s # Testing script Gran (code 1198678382) 903s # Testing script Khoj (code 1265135466) 903s # Testing script Sind (code 1399418468) 903s # Testing script Lina (code 1281977953) 903s # Testing script Mahj (code 1298229354) 903s # Testing script Mani (code 1298230889) 903s # Testing script Mend (code 1298493028) 903s # Testing script Modi (code 1299145833) 903s # Testing script Mroo (code 1299345263) 903s # Testing script Nbat (code 1315070324) 903s # Testing script Narb (code 1315009122) 903s # Testing script Perm (code 1348825709) 903s # Testing script Hmng (code 1215131239) 903s # Testing script Palm (code 1348562029) 903s # Testing script Pauc (code 1348564323) 903s # Testing script Phlp (code 1349020784) 903s # Testing script Sidd (code 1399415908) 903s # Testing script Tirh (code 1416196712) 903s # Testing script Wara (code 1466004065) 903s # Testing script Ahom (code 1097363309) 903s # Testing script Hluw (code 1215067511) 903s # Testing script Hatr (code 1214346354) 903s # Testing script Mult (code 1299541108) 903s # Testing script Hung (code 1215655527) 903s # Testing script Sgnw (code 1399287415) 903s # Testing script Adlm (code 1097100397) 903s # Testing script Bhks (code 1114139507) 903s # Testing script Marc (code 1298231907) 903s # Testing script Newa (code 1315272545) 903s # Testing script Osge (code 1332963173) 903s # Testing script Tang (code 1415671399) 903s # Testing script Gonm (code 1198485101) 903s # Testing script Nshu (code 1316186229) 903s # Testing script Soyo (code 1399814511) 903s # Testing script Zanb (code 1516334690) 903s # Testing script Dogr (code 1148151666) 903s # Testing script Gong (code 1198485095) 903s # Testing script Rohg (code 1383032935) 903s # Testing script Maka (code 1298230113) 903s # Testing script Medf (code 1298490470) 903s # Testing script Sogo (code 1399809903) 903s # Testing script Sogd (code 1399809892) 903s # Testing script Elym (code 1164736877) 903s # Testing script Nand (code 1315008100) 903s # Testing script Hmnp (code 1215131248) 903s # Testing script Wcho (code 1466132591) 903s # Testing script Chrs (code 1130918515) 903s # Testing script Diak (code 1147756907) 903s # Testing script Kits (code 1265202291) 903s # Testing script Yezi (code 1499822697) 903s # Testing script Cpmn (code 1131441518) 903s # Testing script Ougr (code 1333094258) 903s # Testing script Tnsa (code 1416524641) 903s # Testing script Toto (code 1416590447) 903s # Testing script Vith (code 1449751656) 903s # Testing script Kawi (code 1264678761) 903s # Testing script Nagm (code 1315006317) 903s # Testing script Todr (code 1416586354) 903s ok - glib/unicode.test 903s # Running test: glib/param.test 903s # Testing script Gara (code 1197568609) 903s # Testing script Tutg (code 1416983655) 903s # Testing script Sunu (code 1400204917) 903s # Testing script Gukh (code 1198877544) 903s # Testing script Krai (code 1265787241) 903s # Testing script Onao (code 1332633967) 903s ok 21 /unicode/iso15924 903s ok 22 /unicode/lower 903s ok 23 /unicode/mark 903s ok 24 /unicode/mirror 903s ok 25 /unicode/print 903s ok 26 /unicode/punctuation 903s ok 27 /unicode/script 903s ok 28 /unicode/space 903s ok 29 /unicode/strdown 903s ok 30 /unicode/strup 903s ok 31 /unicode/turkish-strupdown 903s ok 32 /unicode/title 903s ok 33 /unicode/upper 903s ok 34 /unicode/validate 903s ok 35 /unicode/wide 903s ok 36 /unicode/xdigit 903s ok 37 /unicode/xdigit-value 903s ok 38 /unicode/zero-width 903s ok 39 /unicode/normalize 903s # End of unicode tests 903s TAP version 14 903s # random seed: R02S56d67f92a90dc19a7969d0a4bef7c79e 903s 1..32 903s # Start of param tests 903s ok 1 /param/value 903s ok 2 /param/strings 903s ok 3 /param/qdata 903s ok 4 /param/validate 903s ok 5 /param/convert 903s ok 6 /param/implement # SKIP Skipping slow /param/implement test 903s ok 7 /param/default 903s ok 8 /param/is-valid-name 903s # Start of invalid-name tests 903s # /param/invalid-name/colon summary: Test that properties cannot be created with invalid names 903s ok 9 /param/invalid-name/colon 903s # /param/invalid-name/first-char summary: Test that properties cannot be created with invalid names 903s ok 10 /param/invalid-name/first-char 903s # /param/invalid-name/empty summary: Test that properties cannot be created with invalid names 903s ok - glib/param.test 903s ok 11 /param/invalid-name/empty 903s # End of invalid-name tests 903s # Start of implement tests 903s # Start of subprocess tests 903s # End of subprocess tests 903s # End of implement tests 903s # End of param tests 903s # Start of value tests 903s ok 12 /value/transform 903s # End of value tests 903s # Start of paramspec tests 903s ok 13 /paramspec/char 903s ok 14 /paramspec/uchar 903s ok 15 /paramspec/int 903s ok 16 /paramspec/uint 903s ok 17 /paramspec/long 903s ok 18 /paramspec/ulong 903s ok 19 /paramspec/int64 903s ok 20 /paramspec/uint64 903s ok 21 /paramspec/float 903s ok 22 /paramspec/double 903s ok 23 /paramspec/unichar 903s ok 24 /paramspec/param 903s ok 25 /paramspec/null-param 903s ok 26 /paramspec/string 903s ok 27 /paramspec/override 903s ok 28 /paramspec/gtype 903s ok 29 /paramspec/variant 903s ok 30 /paramspec/custom 903s ok 31 /paramspec/pool 903s # Start of variant tests 903s ok 32 /paramspec/variant/cmp 903s # End of variant tests 903s # End of paramspec tests 903s # Running test: glib/socket-listener.test 903s TAP version 14 903s # random seed: R02S242b042a679efcc4b0c70cec4da2f4b9 903s 1..4 903s # Start of socket-listener tests 903s ok 1 /socket-listener/event-signal 903s # Start of accept tests 903s # /socket-listener/accept/multi-simultaneously summary: Test that accepting multiple pending connections on the same GMainContext iteration works 903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3739 903s ok - glib/socket-listener.test 903s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 903s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xa79cd0aa540 and GSocketClientAsyncConnectData 0xa79cd0a59a0 903s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 903s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xa79cd0acb90 and GSocketClientAsyncConnectData 0xa79cd0ac9e0 903s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 903s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xa79cd0ad3b0 and GSocketClientAsyncConnectData 0xa79cd0ad130 903s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 903s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xa79cd0adc30 and GSocketClientAsyncConnectData 0xa79cd0ad9b0 903s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 903s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xa79cd0ae450 and GSocketClientAsyncConnectData 0xa79cd0ae1d0 903s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 903s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 903s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xa79cd0b0950 for GSocketClientAsyncConnectData 0xa79cd0a59a0 903s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 903s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 903s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xa79cd0b2ac0 for GSocketClientAsyncConnectData 0xa79cd0ac9e0 903s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 903s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 903s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xa79cd0b3270 for GSocketClientAsyncConnectData 0xa79cd0ad130 903s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 903s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 903s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xa79cd0b3910 for GSocketClientAsyncConnectData 0xa79cd0ad9b0 903s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 903s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 903s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xa79cd0afff0 for GSocketClientAsyncConnectData 0xa79cd0ae1d0 903s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 903s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 903s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 903s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 903s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 903s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 903s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 903s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 903s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 903s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 903s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 903s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 903s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 903s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 903s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 903s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 903s ok 2 /socket-listener/accept/multi-simultaneously 903s # End of accept tests 903s # Start of add-any-inet-port tests 903s # /socket-listener/add-any-inet-port/listen-failures summary: Test that adding a listening port succeeds if either listening on IPv4 or IPv6 succeeds 903s # Test 0 903s # Test 1 903s # Test 2 903s # Test 3 903s # Test 4 903s # Test 5 903s # Test 6 903s # Test 7 903s # Test 8 903s # Test 9 903s # Test 10 903s ok 3 /socket-listener/add-any-inet-port/listen-failures 903s # End of add-any-inet-port tests 903s # Start of add-inet-port tests 903s # /socket-listener/add-inet-port/listen-failures summary: Test that adding a listening port succeeds if either listening on IPv4 or IPv6 succeeds 903s # Test 0 903s # Test 1 903s # Test 2 903s # Test 3 903s # Test 4 903s # Test 5 903s # Test 6 903s # Test 7 903s # Test 8 903s # Test 9 903s # Test 10 903s ok 4 /socket-listener/add-inet-port/listen-failures 903s # End of add-inet-port tests 903s # End of socket-listener tests 903s # Running test: glib/mkenums.py.test 903s TAP version 13 903s ok 1 __main__.TestMkenums.test_available_in 903s # glib-mkenums: /usr/bin/glib-mkenums 903s # tmpdir: /tmp/tmpkscdj786 903s # rspfile: False 903s # /tmp/tmpkscdj786/tmpqwgbv_7_.h: 903s # typedef enum { 903s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 903s # } GDBusServerFlags; 903s # 903s # /tmp/tmpkscdj786/tmp6flgodxy.template: 903s # /*** BEGIN file-header ***/ 903s # file-header 903s # /*** END file-header ***/ 903s # 903s # /*** BEGIN file-production ***/ 903s # file-production 903s # filename: @filename@ 903s # basename: @basename@ 903s # /*** END file-production ***/ 903s # 903s # /*** BEGIN enumeration-production ***/ 903s # enumeration-production 903s # EnumName: @EnumName@ 903s # enum_name: @enum_name@ 903s # ENUMNAME: @ENUMNAME@ 903s # ENUMSHORT: @ENUMSHORT@ 903s # ENUMPREFIX: @ENUMPREFIX@ 903s # enumsince: @enumsince@ 903s # type: @type@ 903s # Type: @Type@ 903s # TYPE: @TYPE@ 903s # /*** END enumeration-production ***/ 903s # 903s # /*** BEGIN value-header ***/ 903s # value-header 903s # EnumName: @EnumName@ 903s # enum_name: @enum_name@ 903s # ENUMNAME: @ENUMNAME@ 903s # ENUMSHORT: @ENUMSHORT@ 903s # ENUMPREFIX: @ENUMPREFIX@ 903s # enumsince: @enumsince@ 903s # type: @type@ 903s # Type: @Type@ 903s # TYPE: @TYPE@ 903s # /*** END value-header ***/ 903s # 903s # /*** BEGIN value-production ***/ 903s # value-production 903s # VALUENAME: @VALUENAME@ 903s # valuenick: @valuenick@ 903s # valuenum: @valuenum@ 903s # type: @type@ 903s # Type: @Type@ 903s # TYPE: @TYPE@ 903s # /*** END value-production ***/ 903s # 903s # /*** BEGIN value-tail ***/ 903s # value-tail 903s # EnumName: @EnumName@ 903s # enum_name: @enum_name@ 903s # ENUMNAME: @ENUMNAME@ 903s # ENUMSHORT: @ENUMSHORT@ 903s # ENUMPREFIX: @ENUMPREFIX@ 903s # enumsince: @enumsince@ 903s # type: @type@ 903s # Type: @Type@ 903s # TYPE: @TYPE@ 903s # /*** END value-tail ***/ 903s # 903s # /*** BEGIN comment ***/ 903s # comment 903s # comment: @comment@ 903s # /*** END comment ***/ 903s # 903s # /*** BEGIN file-tail ***/ 903s # file-tail 903s # /*** END file-tail ***/ 903s # 903s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpkscdj786/tmp6flgodxy.template', '/tmp/tmpkscdj786/tmpqwgbv_7_.h'] 903s # Return code: 0 903s # Output: 903s # comment 903s # 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. 903s # 903s # 903s # file-header 903s # file-production 903s # filename: /tmp/tmpkscdj786/tmpqwgbv_7_.h 903s # basename: tmpqwgbv_7_.h 903s # enumeration-production 903s # EnumName: GDBusServerFlags 903s # enum_name: g_dbus_server_flags 903s # ENUMNAME: G_DBUS_SERVER_FLAGS 903s # ENUMSHORT: DBUS_SERVER_FLAGS 903s # ENUMPREFIX: G 903s # enumsince: 903s # type: flags 903s # Type: Flags 903s # TYPE: FLAGS 903s # value-header 903s # EnumName: GDBusServerFlags 903s # enum_name: g_dbus_server_flags 903s # ENUMNAME: G_DBUS_SERVER_FLAGS 903s # ENUMSHORT: DBUS_SERVER_FLAGS 903s # ENUMPREFIX: G 903s # enumsince: 903s # type: flags 903s # Type: Flags 903s # TYPE: FLAGS 903s # value-production 903s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 903s # valuenick: user 903s # valuenum: 4 903s # type: flags 903s # Type: Flags 903s # TYPE: FLAGS 903s # value-tail 903s # EnumName: GDBusServerFlags 903s # enum_name: g_dbus_server_flags 903s # ENUMNAME: G_DBUS_SERVER_FLAGS 903s # ENUMSHORT: DBUS_SERVER_FLAGS 903s # ENUMPREFIX: G 903s # enumsince: 903s # type: flags 903s # Type: Flags 903s # TYPE: FLAGS 903s # file-tail 903s # 903s # comment 903s # comment: Generated data ends here 903s # Error: 903s ok 2 __main__.TestMkenums.test_comma_in_enum_value 903s # glib-mkenums: /usr/bin/glib-mkenums 903s # tmpdir: /tmp/tmpxa5diw7e 903s # rspfile: False 903s # /tmp/tmpxa5diw7e/tmpmhifyqrl.h: 903s # typedef enum { 903s # ENUM_VALUE_WITH_COMMA = ',', 903s # } TestCommaEnum; 903s # 903s # /tmp/tmpxa5diw7e/tmp35woip6p.template: 903s # /*** BEGIN file-header ***/ 903s # file-header 903s # /*** END file-header ***/ 903s # 903s # /*** BEGIN file-production ***/ 903s # file-production 903s # filename: @filename@ 903s # basename: @basename@ 903s # /*** END file-production ***/ 903s # 903s # /*** BEGIN enumeration-production ***/ 903s # enumeration-production 903s # EnumName: @EnumName@ 903s # enum_name: @enum_name@ 903s # ENUMNAME: @ENUMNAME@ 903s # ENUMSHORT: @ENUMSHORT@ 903s # ENUMPREFIX: @ENUMPREFIX@ 903s # enumsince: @enumsince@ 903s # type: @type@ 903s # Type: @Type@ 903s # TYPE: @TYPE@ 903s # /*** END enumeration-production ***/ 903s # 903s # /*** BEGIN value-header ***/ 903s # value-header 903s # EnumName: @EnumName@ 903s # enum_name: @enum_name@ 903s # ENUMNAME: @ENUMNAME@ 903s # ENUMSHORT: @ENUMSHORT@ 903s # ENUMPREFIX: @ENUMPREFIX@ 903s # enumsince: @enumsince@ 903s # type: @type@ 903s # Type: @Type@ 903s # TYPE: @TYPE@ 903s # /*** END value-header ***/ 903s # 903s # /*** BEGIN value-production ***/ 903s # value-production 903s # VALUENAME: @VALUENAME@ 903s # valuenick: @valuenick@ 903s # valuenum: @valuenum@ 903s # type: @type@ 903s # Type: @Type@ 903s # TYPE: @TYPE@ 903s # /*** END value-production ***/ 903s # 903s # /*** BEGIN value-tail ***/ 903s # value-tail 903s # EnumName: @EnumName@ 903s # enum_name: @enum_name@ 903s # ENUMNAME: @ENUMNAME@ 903s # ENUMSHORT: @ENUMSHORT@ 903s # ENUMPREFIX: @ENUMPREFIX@ 903s # enumsince: @enumsince@ 903s # type: @type@ 903s # Type: @Type@ 903s # TYPE: @TYPE@ 903s # /*** END value-tail ***/ 903s # 903s # /*** BEGIN comment ***/ 903s # comment 903s # comment: @comment@ 903s # /*** END comment ***/ 903s # 903s # /*** BEGIN file-tail ***/ 903s # file-tail 903s # /*** END file-tail ***/ 903s # 903s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpxa5diw7e/tmp35woip6p.template', '/tmp/tmpxa5diw7e/tmpmhifyqrl.h'] 903s # Return code: 0 903s # Output: 903s # comment 903s # 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. 903s # 903s # 903s # file-header 903s # file-production 903s # filename: /tmp/tmpxa5diw7e/tmpmhifyqrl.h 903s # basename: tmpmhifyqrl.h 903s # enumeration-production 903s # EnumName: TestCommaEnum 903s # enum_name: test_comma_enum 903s # ENUMNAME: TEST_COMMA_ENUM 903s # ENUMSHORT: COMMA_ENUM 903s # ENUMPREFIX: TEST 903s # enumsince: 903s # type: enum 903s # Type: Enum 903s # TYPE: ENUM 903s # value-header 903s # EnumName: TestCommaEnum 903s # enum_name: test_comma_enum 903s # ENUMNAME: TEST_COMMA_ENUM 903s # ENUMSHORT: COMMA_ENUM 903s # ENUMPREFIX: TEST 903s # enumsince: 903s # type: enum 903s # Type: Enum 903s # TYPE: ENUM 903s # value-production 903s # VALUENAME: ENUM_VALUE_WITH_COMMA 903s # valuenick: comma 903s # valuenum: 44 903s # type: enum 903s # Type: Enum 903s # TYPE: ENUM 903s # value-tail 903s # EnumName: TestCommaEnum 903s # enum_name: test_comma_enum 903s # ENUMNAME: TEST_COMMA_ENUM 903s # ENUMSHORT: COMMA_ENUM 903s # ENUMPREFIX: TEST 903s # enumsince: 903s # type: enum 903s # Type: Enum 903s # TYPE: ENUM 903s # file-tail 903s # 903s # comment 903s # comment: Generated data ends here 903s # Error: 903s ok 3 __main__.TestMkenums.test_deprecated_in 903s # glib-mkenums: /usr/bin/glib-mkenums 903s # tmpdir: /tmp/tmp7ccbzmd4 903s # rspfile: False 903s # /tmp/tmp7ccbzmd4/tmpgz3rifiu.h: 903s # typedef enum { 903s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 903s # } GDBusServerFlags; 903s # 903s # /tmp/tmp7ccbzmd4/tmptdkhnf3c.template: 903s # /*** BEGIN file-header ***/ 903s # file-header 903s # /*** END file-header ***/ 903s # 903s # /*** BEGIN file-production ***/ 903s # file-production 903s # filename: @filename@ 903s # basename: @basename@ 903s # /*** END file-production ***/ 903s # 903s # /*** BEGIN enumeration-production ***/ 903s # enumeration-production 903s # EnumName: @EnumName@ 903s # enum_name: @enum_name@ 903s # ENUMNAME: @ENUMNAME@ 903s # ENUMSHORT: @ENUMSHORT@ 903s # ENUMPREFIX: @ENUMPREFIX@ 903s # enumsince: @enumsince@ 903s # type: @type@ 903s # Type: @Type@ 903s # TYPE: @TYPE@ 903s # /*** END enumeration-production ***/ 903s # 903s # /*** BEGIN value-header ***/ 903s # value-header 903s # EnumName: @EnumName@ 903s # enum_name: @enum_name@ 903s # ENUMNAME: @ENUMNAME@ 903s # ENUMSHORT: @ENUMSHORT@ 903s # ENUMPREFIX: @ENUMPREFIX@ 903s # enumsince: @enumsince@ 903s # type: @type@ 903s # Type: @Type@ 903s # TYPE: @TYPE@ 903s # /*** END value-header ***/ 903s # 903s # /*** BEGIN value-production ***/ 903s # value-production 903s # VALUENAME: @VALUENAME@ 903s # valuenick: @valuenick@ 903s # valuenum: @valuenum@ 903s # type: @type@ 903s # Type: @Type@ 903s # TYPE: @TYPE@ 903s # /*** END value-production ***/ 903s # 903s # /*** BEGIN value-tail ***/ 903s # value-tail 903s # EnumName: @EnumName@ 903s # enum_name: @enum_name@ 903s # ENUMNAME: @ENUMNAME@ 903s # ENUMSHORT: @ENUMSHORT@ 903s # ENUMPREFIX: @ENUMPREFIX@ 903s # enumsince: @enumsince@ 903s # type: @type@ 903s # Type: @Type@ 903s # TYPE: @TYPE@ 903s # /*** END value-tail ***/ 903s # 903s # /*** BEGIN comment ***/ 903s # comment 903s # comment: @comment@ 903s # /*** END comment ***/ 903s # 903s # /*** BEGIN file-tail ***/ 903s # file-tail 903s # /*** END file-tail ***/ 903s # 903s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp7ccbzmd4/tmptdkhnf3c.template', '/tmp/tmp7ccbzmd4/tmpgz3rifiu.h'] 903s # Return code: 0 903s # Output: 903s # comment 903s # 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. 903s # 903s # 903s # file-header 903s # file-production 903s # filename: /tmp/tmp7ccbzmd4/tmpgz3rifiu.h 903s # basename: tmpgz3rifiu.h 903s # enumeration-production 903s # EnumName: GDBusServerFlags 903s # enum_name: g_dbus_server_flags 903s # ENUMNAME: G_DBUS_SERVER_FLAGS 903s # ENUMSHORT: DBUS_SERVER_FLAGS 903s # ENUMPREFIX: G 903s # enumsince: 903s # type: flags 903s # Type: Flags 903s # TYPE: FLAGS 903s # value-header 903s # EnumName: GDBusServerFlags 903s # enum_name: g_dbus_server_flags 903s # ENUMNAME: G_DBUS_SERVER_FLAGS 903s # ENUMSHORT: DBUS_SERVER_FLAGS 903s # ENUMPREFIX: G 903s # enumsince: 903s # type: flags 903s # Type: Flags 903s # TYPE: FLAGS 903s # value-production 903s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 903s # valuenick: user 903s # valuenum: 4 903s # type: flags 903s # Type: Flags 903s # TYPE: FLAGS 903s # value-tail 903s # EnumName: GDBusServerFlags 903s # enum_name: g_dbus_server_flags 903s # ENUMNAME: G_DBUS_SERVER_FLAGS 903s # ENUMSHORT: DBUS_SERVER_FLAGS 903s # ENUMPREFIX: G 903s # enumsince: 903s # type: flags 903s # Type: Flags 903s # TYPE: FLAGS 903s # file-tail 903s # 903s # comment 903s # comment: Generated data ends here 903s # Error: 903s ok 4 __main__.TestMkenums.test_deprecated_in_for 903s # glib-mkenums: /usr/bin/glib-mkenums 903s # tmpdir: /tmp/tmphxrt5kp6 903s # rspfile: False 903s # /tmp/tmphxrt5kp6/tmpdic8pkfq.h: 903s # typedef enum { 903s # 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) 903s # } GDBusServerFlags; 903s # 903s # /tmp/tmphxrt5kp6/tmpdsog2r5a.template: 903s # /*** BEGIN file-header ***/ 903s # file-header 903s # /*** END file-header ***/ 903s # 903s # /*** BEGIN file-production ***/ 903s # file-production 903s # filename: @filename@ 903s # basename: @basename@ 903s # /*** END file-production ***/ 903s # 903s # /*** BEGIN enumeration-production ***/ 903s # enumeration-production 903s # EnumName: @EnumName@ 903s # enum_name: @enum_name@ 903s # ENUMNAME: @ENUMNAME@ 903s # ENUMSHORT: @ENUMSHORT@ 903s # ENUMPREFIX: @ENUMPREFIX@ 903s # enumsince: @enumsince@ 903s # type: @type@ 903s # Type: @Type@ 903s # TYPE: @TYPE@ 903s # /*** END enumeration-production ***/ 903s # 903s # /*** BEGIN value-header ***/ 903s # value-header 903s # EnumName: @EnumName@ 903s # enum_name: @enum_name@ 903s # ENUMNAME: @ENUMNAME@ 903s # ENUMSHORT: @ENUMSHORT@ 903s # ENUMPREFIX: @ENUMPREFIX@ 903s # enumsince: @enumsince@ 903s # type: @type@ 903s # Type: @Type@ 903s # TYPE: @TYPE@ 903s # /*** END value-header ***/ 903s # 903s # /*** BEGIN value-production ***/ 903s # value-production 903s # VALUENAME: @VALUENAME@ 903s # valuenick: @valuenick@ 903s # valuenum: @valuenum@ 903s # type: @type@ 903s # Type: @Type@ 903s # TYPE: @TYPE@ 903s # /*** END value-production ***/ 903s # 903s # /*** BEGIN value-tail ***/ 903s # value-tail 903s # EnumName: @EnumName@ 903s # enum_name: @enum_name@ 903s # ENUMNAME: @ENUMNAME@ 903s # ENUMSHORT: @ENUMSHORT@ 903s # ENUMPREFIX: @ENUMPREFIX@ 903s # enumsince: @enumsince@ 903s # type: @type@ 903s # Type: @Type@ 903s # TYPE: @TYPE@ 903s # /*** END value-tail ***/ 903s # 903s # /*** BEGIN comment ***/ 903s # comment 903s # comment: @comment@ 903s # /*** END comment ***/ 903s # 903s # /*** BEGIN file-tail ***/ 903s # file-tail 903s # /*** END file-tail ***/ 903s # 903s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmphxrt5kp6/tmpdsog2r5a.template', '/tmp/tmphxrt5kp6/tmpdic8pkfq.h'] 903s # Return code: 0 903s # Output: 903s # comment 903s # 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. 903s # 903s # 903s # file-header 903s # file-production 903s # filename: /tmp/tmphxrt5kp6/tmpdic8pkfq.h 903s # basename: tmpdic8pkfq.h 903s # enumeration-production 903s # EnumName: GDBusServerFlags 903s # enum_name: g_dbus_server_flags 903s # ENUMNAME: G_DBUS_SERVER_FLAGS 903s # ENUMSHORT: DBUS_SERVER_FLAGS 903s # ENUMPREFIX: G 903s # enumsince: 903s # type: flags 903s # Type: Flags 903s # TYPE: FLAGS 903s # value-header 903s # EnumName: GDBusServerFlags 903s # enum_name: g_dbus_server_flags 903s # ENUMNAME: G_DBUS_SERVER_FLAGS 903s # ENUMSHORT: DBUS_SERVER_FLAGS 903s # ENUMPREFIX: G 903s # enumsince: 903s # type: flags 903s # Type: Flags 903s # TYPE: FLAGS 903s # value-production 903s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 903s # valuenick: user 903s # valuenum: 4 903s # type: flags 903s # Type: Flags 903s # TYPE: FLAGS 903s # value-tail 903s # EnumName: GDBusServerFlags 903s # enum_name: g_dbus_server_flags 903s # ENUMNAME: G_DBUS_SERVER_FLAGS 903s # ENUMSHORT: DBUS_SERVER_FLAGS 903s # ENUMPREFIX: G 903s # enumsince: 903s # type: flags 903s # Type: Flags 903s # TYPE: FLAGS 903s # file-tail 903s # 903s # comment 903s # comment: Generated data ends here 903s # Error: 903s ok 5 __main__.TestMkenums.test_empty_header 903s # glib-mkenums: /usr/bin/glib-mkenums 903s # tmpdir: /tmp/tmp4ts9paog 903s # rspfile: False 903s # /tmp/tmp4ts9paog/tmpvt8i2j37.h: 903s # /tmp/tmp4ts9paog/tmpxy14ovd5.template: 903s # /*** BEGIN file-header ***/ 903s # file-header 903s # /*** END file-header ***/ 903s # 903s # /*** BEGIN file-production ***/ 903s # file-production 903s # filename: @filename@ 903s # basename: @basename@ 903s # /*** END file-production ***/ 903s # 903s # /*** BEGIN enumeration-production ***/ 903s # enumeration-production 903s # EnumName: @EnumName@ 903s # enum_name: @enum_name@ 903s # ENUMNAME: @ENUMNAME@ 903s # ENUMSHORT: @ENUMSHORT@ 903s # ENUMPREFIX: @ENUMPREFIX@ 903s # enumsince: @enumsince@ 903s # type: @type@ 903s # Type: @Type@ 903s # TYPE: @TYPE@ 903s # /*** END enumeration-production ***/ 903s # 903s # /*** BEGIN value-header ***/ 903s # value-header 903s # EnumName: @EnumName@ 903s # enum_name: @enum_name@ 903s # ENUMNAME: @ENUMNAME@ 903s # ENUMSHORT: @ENUMSHORT@ 903s # ENUMPREFIX: @ENUMPREFIX@ 903s # enumsince: @enumsince@ 903s # type: @type@ 903s # Type: @Type@ 903s # TYPE: @TYPE@ 903s # /*** END value-header ***/ 903s # 903s # /*** BEGIN value-production ***/ 903s # value-production 903s # VALUENAME: @VALUENAME@ 903s # valuenick: @valuenick@ 903s # valuenum: @valuenum@ 903s # type: @type@ 903s # Type: @Type@ 903s # TYPE: @TYPE@ 903s # /*** END value-production ***/ 903s # 903s # /*** BEGIN value-tail ***/ 903s # value-tail 903s # EnumName: @EnumName@ 903s # enum_name: @enum_name@ 903s # ENUMNAME: @ENUMNAME@ 903s # ENUMSHORT: @ENUMSHORT@ 903s # ENUMPREFIX: @ENUMPREFIX@ 903s # enumsince: @enumsince@ 903s # type: @type@ 903s # Type: @Type@ 903s # TYPE: @TYPE@ 903s # /*** END value-tail ***/ 903s # 903s # /*** BEGIN comment ***/ 903s # comment 903s # comment: @comment@ 903s # /*** END comment ***/ 903s # 903s # /*** BEGIN file-tail ***/ 903s # file-tail 903s # /*** END file-tail ***/ 903s # 903s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp4ts9paog/tmpxy14ovd5.template', '/tmp/tmp4ts9paog/tmpvt8i2j37.h'] 903s # Return code: 0 903s # Output: 903s # comment 903s # 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. 903s # 903s # 903s # file-header 903s # file-tail 903s # 903s # comment 903s # comment: Generated data ends here 903s # Error: 903s ok 6 __main__.TestMkenums.test_empty_template 903s # glib-mkenums: /usr/bin/glib-mkenums 903s # tmpdir: /tmp/tmpf4lgslks 903s # rspfile: False 903s # /tmp/tmpf4lgslks/tmpurk69y5x.template: 903s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpf4lgslks/tmpurk69y5x.template'] 903s # Return code: 0 903s # Output: 903s # /* 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. */ 903s # 903s # 903s # /* Generated data ends here */ 903s # Error: 904s ok 7 __main__.TestMkenums.test_enum_name 904s # glib-mkenums: /usr/bin/glib-mkenums 904s # tmpdir: /tmp/tmpja75st6o 904s # rspfile: False 904s # /tmp/tmpja75st6o/tmpm7p6sb3t.h: 904s # typedef enum _SomeEnumIdentifier { 904s # ENUM_VALUE 904s # } SomeEnumIdentifier; 904s # 904s # /tmp/tmpja75st6o/tmp0q9imob4.template: 904s # /*** BEGIN file-header ***/ 904s # file-header 904s # /*** END file-header ***/ 904s # 904s # /*** BEGIN file-production ***/ 904s # file-production 904s # filename: @filename@ 904s # basename: @basename@ 904s # /*** END file-production ***/ 904s # 904s # /*** BEGIN enumeration-production ***/ 904s # enumeration-production 904s # EnumName: @EnumName@ 904s # enum_name: @enum_name@ 904s # ENUMNAME: @ENUMNAME@ 904s # ENUMSHORT: @ENUMSHORT@ 904s # ENUMPREFIX: @ENUMPREFIX@ 904s # enumsince: @enumsince@ 904s # type: @type@ 904s # Type: @Type@ 904s # TYPE: @TYPE@ 904s # /*** END enumeration-production ***/ 904s # 904s # /*** BEGIN value-header ***/ 904s # value-header 904s # EnumName: @EnumName@ 904s # enum_name: @enum_name@ 904s # ENUMNAME: @ENUMNAME@ 904s # ENUMSHORT: @ENUMSHORT@ 904s # ENUMPREFIX: @ENUMPREFIX@ 904s # enumsince: @enumsince@ 904s # type: @type@ 904s # Type: @Type@ 904s # TYPE: @TYPE@ 904s # /*** END value-header ***/ 904s # 904s # /*** BEGIN value-production ***/ 904s # value-production 904s # VALUENAME: @VALUENAME@ 904s # valuenick: @valuenick@ 904s # valuenum: @valuenum@ 904s # type: @type@ 904s # Type: @Type@ 904s # TYPE: @TYPE@ 904s # /*** END value-production ***/ 904s # 904s # /*** BEGIN value-tail ***/ 904s # value-tail 904s # EnumName: @EnumName@ 904s # enum_name: @enum_name@ 904s # ENUMNAME: @ENUMNAME@ 904s # ENUMSHORT: @ENUMSHORT@ 904s # ENUMPREFIX: @ENUMPREFIX@ 904s # enumsince: @enumsince@ 904s # type: @type@ 904s # Type: @Type@ 904s # TYPE: @TYPE@ 904s # /*** END value-tail ***/ 904s # 904s # /*** BEGIN comment ***/ 904s # comment 904s # comment: @comment@ 904s # /*** END comment ***/ 904s # 904s # /*** BEGIN file-tail ***/ 904s # file-tail 904s # /*** END file-tail ***/ 904s # 904s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpja75st6o/tmp0q9imob4.template', '/tmp/tmpja75st6o/tmpm7p6sb3t.h'] 904s # Return code: 0 904s # Output: 904s # comment 904s # 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. 904s # 904s # 904s # file-header 904s # file-production 904s # filename: /tmp/tmpja75st6o/tmpm7p6sb3t.h 904s # basename: tmpm7p6sb3t.h 904s # enumeration-production 904s # EnumName: SomeEnumIdentifier 904s # enum_name: some_enum_identifier 904s # ENUMNAME: SOME_ENUM_IDENTIFIER 904s # ENUMSHORT: ENUM_IDENTIFIER 904s # ENUMPREFIX: SOME 904s # enumsince: 904s # type: enum 904s # Type: Enum 904s # TYPE: ENUM 904s # value-header 904s # EnumName: SomeEnumIdentifier 904s # enum_name: some_enum_identifier 904s # ENUMNAME: SOME_ENUM_IDENTIFIER 904s # ENUMSHORT: ENUM_IDENTIFIER 904s # ENUMPREFIX: SOME 904s # enumsince: 904s # type: enum 904s # Type: Enum 904s # TYPE: ENUM 904s # value-production 904s # VALUENAME: ENUM_VALUE 904s # valuenick: value 904s # valuenum: 0 904s # type: enum 904s # Type: Enum 904s # TYPE: ENUM 904s # value-tail 904s # EnumName: SomeEnumIdentifier 904s # enum_name: some_enum_identifier 904s # ENUMNAME: SOME_ENUM_IDENTIFIER 904s # ENUMSHORT: ENUM_IDENTIFIER 904s # ENUMPREFIX: SOME 904s # enumsince: 904s # type: enum 904s # Type: Enum 904s # TYPE: ENUM 904s # file-tail 904s # 904s # comment 904s # comment: Generated data ends here 904s # Error: 904s ok 8 __main__.TestMkenums.test_enum_private_public 904s # glib-mkenums: /usr/bin/glib-mkenums 904s # tmpdir: /tmp/tmpj2acad0j 904s # rspfile: False 904s # /tmp/tmpj2acad0j/tmp9e3itfvf.h: 904s # typedef enum { 904s # ENUM_VALUE_PUBLIC1, 904s # /*< private >*/ 904s # ENUM_VALUE_PRIVATE, 904s # } SomeEnumA 904s # 904s # /tmp/tmpj2acad0j/tmpodi1wxz3.template: 904s # /*** BEGIN file-header ***/ 904s # file-header 904s # /*** END file-header ***/ 904s # 904s # /*** BEGIN file-production ***/ 904s # file-production 904s # filename: @filename@ 904s # basename: @basename@ 904s # /*** END file-production ***/ 904s # 904s # /*** BEGIN enumeration-production ***/ 904s # enumeration-production 904s # EnumName: @EnumName@ 904s # enum_name: @enum_name@ 904s # ENUMNAME: @ENUMNAME@ 904s # ENUMSHORT: @ENUMSHORT@ 904s # ENUMPREFIX: @ENUMPREFIX@ 904s # enumsince: @enumsince@ 904s # type: @type@ 904s # Type: @Type@ 904s # TYPE: @TYPE@ 904s # /*** END enumeration-production ***/ 904s # 904s # /*** BEGIN value-header ***/ 904s # value-header 904s # EnumName: @EnumName@ 904s # enum_name: @enum_name@ 904s # ENUMNAME: @ENUMNAME@ 904s # ENUMSHORT: @ENUMSHORT@ 904s # ENUMPREFIX: @ENUMPREFIX@ 904s # enumsince: @enumsince@ 904s # type: @type@ 904s # Type: @Type@ 904s # TYPE: @TYPE@ 904s # /*** END value-header ***/ 904s # 904s # /*** BEGIN value-production ***/ 904s # value-production 904s # VALUENAME: @VALUENAME@ 904s # valuenick: @valuenick@ 904s # valuenum: @valuenum@ 904s # type: @type@ 904s # Type: @Type@ 904s # TYPE: @TYPE@ 904s # /*** END value-production ***/ 904s # 904s # /*** BEGIN value-tail ***/ 904s # value-tail 904s # EnumName: @EnumName@ 904s # enum_name: @enum_name@ 904s # ENUMNAME: @ENUMNAME@ 904s # ENUMSHORT: @ENUMSHORT@ 904s # ENUMPREFIX: @ENUMPREFIX@ 904s # enumsince: @enumsince@ 904s # type: @type@ 904s # Type: @Type@ 904s # TYPE: @TYPE@ 904s # /*** END value-tail ***/ 904s # 904s # /*** BEGIN comment ***/ 904s # comment 904s # comment: @comment@ 904s # /*** END comment ***/ 904s # 904s # /*** BEGIN file-tail ***/ 904s # file-tail 904s # /*** END file-tail ***/ 904s # 904s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpj2acad0j/tmpodi1wxz3.template', '/tmp/tmpj2acad0j/tmp9e3itfvf.h'] 904s # Return code: 0 904s # Output: 904s # comment 904s # 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. 904s # 904s # 904s # file-header 904s # file-production 904s # filename: /tmp/tmpj2acad0j/tmp9e3itfvf.h 904s # basename: tmp9e3itfvf.h 904s # enumeration-production 904s # EnumName: SomeEnumA 904s # enum_name: some_enum_a 904s # ENUMNAME: SOME_ENUM_A 904s # ENUMSHORT: ENUM_A 904s # ENUMPREFIX: SOME 904s # enumsince: 904s # type: enum 904s # Type: Enum 904s # TYPE: ENUM 904s # value-header 904s # EnumName: SomeEnumA 904s # enum_name: some_enum_a 904s # ENUMNAME: SOME_ENUM_A 904s # ENUMSHORT: ENUM_A 904s # ENUMPREFIX: SOME 904s # enumsince: 904s # type: enum 904s # Type: Enum 904s # TYPE: ENUM 904s # value-production 904s # VALUENAME: ENUM_VALUE_PUBLIC1 904s # valuenick: public1 904s # valuenum: 0 904s # type: enum 904s # Type: Enum 904s # TYPE: ENUM 904s # value-tail 904s # EnumName: SomeEnumA 904s # enum_name: some_enum_a 904s # ENUMNAME: SOME_ENUM_A 904s # ENUMSHORT: ENUM_A 904s # ENUMPREFIX: SOME 904s # enumsince: 904s # type: enum 904s # Type: Enum 904s # TYPE: ENUM 904s # file-tail 904s # 904s # comment 904s # comment: Generated data ends here 904s # Error: 904s # 904s # /tmp/tmpj2acad0j/tmpxh4k7mfi.h: 904s # typedef enum { 904s # /*< private >*/ 904s # ENUM_VALUE_PRIVATE, 904s # /*< public >*/ 904s # ENUM_VALUE_PUBLIC2, 904s # } SomeEnumB; 904s # 904s # /tmp/tmpj2acad0j/tmpdamcbzcw.template: 904s # /*** BEGIN file-header ***/ 904s # file-header 904s # /*** END file-header ***/ 904s # 904s # /*** BEGIN file-production ***/ 904s # file-production 904s # filename: @filename@ 904s # basename: @basename@ 904s # /*** END file-production ***/ 904s # 904s # /*** BEGIN enumeration-production ***/ 904s # enumeration-production 904s # EnumName: @EnumName@ 904s # enum_name: @enum_name@ 904s # ENUMNAME: @ENUMNAME@ 904s # ENUMSHORT: @ENUMSHORT@ 904s # ENUMPREFIX: @ENUMPREFIX@ 904s # enumsince: @enumsince@ 904s # type: @type@ 904s # Type: @Type@ 904s # TYPE: @TYPE@ 904s # /*** END enumeration-production ***/ 904s # 904s # /*** BEGIN value-header ***/ 904s # value-header 904s # EnumName: @EnumName@ 904s # enum_name: @enum_name@ 904s # ENUMNAME: @ENUMNAME@ 904s # ENUMSHORT: @ENUMSHORT@ 904s # ENUMPREFIX: @ENUMPREFIX@ 904s # enumsince: @enumsince@ 904s # type: @type@ 904s # Type: @Type@ 904s # TYPE: @TYPE@ 904s # /*** END value-header ***/ 904s # 904s # /*** BEGIN value-production ***/ 904s # value-production 904s # VALUENAME: @VALUENAME@ 904s # valuenick: @valuenick@ 904s # valuenum: @valuenum@ 904s # type: @type@ 904s # Type: @Type@ 904s # TYPE: @TYPE@ 904s # /*** END value-production ***/ 904s # 904s # /*** BEGIN value-tail ***/ 904s # value-tail 904s # EnumName: @EnumName@ 904s # enum_name: @enum_name@ 904s # ENUMNAME: @ENUMNAME@ 904s # ENUMSHORT: @ENUMSHORT@ 904s # ENUMPREFIX: @ENUMPREFIX@ 904s # enumsince: @enumsince@ 904s # type: @type@ 904s # Type: @Type@ 904s # TYPE: @TYPE@ 904s # /*** END value-tail ***/ 904s # 904s # /*** BEGIN comment ***/ 904s # comment 904s # comment: @comment@ 904s # /*** END comment ***/ 904s # 904s # /*** BEGIN file-tail ***/ 904s # file-tail 904s # /*** END file-tail ***/ 904s # 904s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpj2acad0j/tmpdamcbzcw.template', '/tmp/tmpj2acad0j/tmpxh4k7mfi.h'] 904s # Return code: 0 904s # Output: 904s # comment 904s # 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. 904s # 904s # 904s # file-header 904s # file-production 904s # filename: /tmp/tmpj2acad0j/tmpxh4k7mfi.h 904s # basename: tmpxh4k7mfi.h 904s # enumeration-production 904s # EnumName: SomeEnumB 904s # enum_name: some_enum_b 904s # ENUMNAME: SOME_ENUM_B 904s # ENUMSHORT: ENUM_B 904s # ENUMPREFIX: SOME 904s # enumsince: 904s # type: enum 904s # Type: Enum 904s # TYPE: ENUM 904s # value-header 904s # EnumName: SomeEnumB 904s # enum_name: some_enum_b 904s # ENUMNAME: SOME_ENUM_B 904s # ENUMSHORT: ENUM_B 904s # ENUMPREFIX: SOME 904s # enumsince: 904s # type: enum 904s # Type: Enum 904s # TYPE: ENUM 904s # value-production 904s # VALUENAME: ENUM_VALUE_PUBLIC2 904s # valuenick: public2 904s # valuenum: 1 904s # type: enum 904s # Type: Enum 904s # TYPE: ENUM 904s # value-tail 904s # EnumName: SomeEnumB 904s # enum_name: some_enum_b 904s # ENUMNAME: SOME_ENUM_B 904s # ENUMSHORT: ENUM_B 904s # ENUMPREFIX: SOME 904s # enumsince: 904s # type: enum 904s # Type: Enum 904s # TYPE: ENUM 904s # file-tail 904s # 904s # comment 904s # comment: Generated data ends here 904s # Error: 904s ok 9 __main__.TestMkenums.test_enum_symbolic_expression 904s # glib-mkenums: /usr/bin/glib-mkenums 904s # tmpdir: /tmp/tmple2f1o1h 904s # rspfile: False 904s # /tmp/tmple2f1o1h/tmpj4082m39.h: 904s # typedef enum { 904s # /*< private >*/ 904s # ENUM_VALUE_PRIVATE = 5, 904s # /*< public >*/ 904s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 904s # } TestSymbolicEnum; 904s # 904s # /tmp/tmple2f1o1h/tmpekaxyw0j.template: 904s # /*** BEGIN file-header ***/ 904s # file-header 904s # /*** END file-header ***/ 904s # 904s # /*** BEGIN file-production ***/ 904s # file-production 904s # filename: @filename@ 904s # basename: @basename@ 904s # /*** END file-production ***/ 904s # 904s # /*** BEGIN enumeration-production ***/ 904s # enumeration-production 904s # EnumName: @EnumName@ 904s # enum_name: @enum_name@ 904s # ENUMNAME: @ENUMNAME@ 904s # ENUMSHORT: @ENUMSHORT@ 904s # ENUMPREFIX: @ENUMPREFIX@ 904s # enumsince: @enumsince@ 904s # type: @type@ 904s # Type: @Type@ 904s # TYPE: @TYPE@ 904s # /*** END enumeration-production ***/ 904s # 904s # /*** BEGIN value-header ***/ 904s # value-header 904s # EnumName: @EnumName@ 904s # enum_name: @enum_name@ 904s # ENUMNAME: @ENUMNAME@ 904s # ENUMSHORT: @ENUMSHORT@ 904s # ENUMPREFIX: @ENUMPREFIX@ 904s # enumsince: @enumsince@ 904s # type: @type@ 904s # Type: @Type@ 904s # TYPE: @TYPE@ 904s # /*** END value-header ***/ 904s # 904s # /*** BEGIN value-production ***/ 904s # value-production 904s # VALUENAME: @VALUENAME@ 904s # valuenick: @valuenick@ 904s # valuenum: @valuenum@ 904s # type: @type@ 904s # Type: @Type@ 904s # TYPE: @TYPE@ 904s # /*** END value-production ***/ 904s # 904s # /*** BEGIN value-tail ***/ 904s # value-tail 904s # EnumName: @EnumName@ 904s # enum_name: @enum_name@ 904s # ENUMNAME: @ENUMNAME@ 904s # ENUMSHORT: @ENUMSHORT@ 904s # ENUMPREFIX: @ENUMPREFIX@ 904s # enumsince: @enumsince@ 904s # type: @type@ 904s # Type: @Type@ 904s # TYPE: @TYPE@ 904s # /*** END value-tail ***/ 904s # 904s # /*** BEGIN comment ***/ 904s # comment 904s # comment: @comment@ 904s # /*** END comment ***/ 904s # 904s # /*** BEGIN file-tail ***/ 904s # file-tail 904s # /*** END file-tail ***/ 904s # 904s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmple2f1o1h/tmpekaxyw0j.template', '/tmp/tmple2f1o1h/tmpj4082m39.h'] 904s # Return code: 0 904s # Output: 904s # comment 904s # 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. 904s # 904s # 904s # file-header 904s # file-production 904s # filename: /tmp/tmple2f1o1h/tmpj4082m39.h 904s # basename: tmpj4082m39.h 904s # enumeration-production 904s # EnumName: TestSymbolicEnum 904s # enum_name: test_symbolic_enum 904s # ENUMNAME: TEST_SYMBOLIC_ENUM 904s # ENUMSHORT: SYMBOLIC_ENUM 904s # ENUMPREFIX: TEST 904s # enumsince: 904s # type: enum 904s # Type: Enum 904s # TYPE: ENUM 904s # value-header 904s # EnumName: TestSymbolicEnum 904s # enum_name: test_symbolic_enum 904s # ENUMNAME: TEST_SYMBOLIC_ENUM 904s # ENUMSHORT: SYMBOLIC_ENUM 904s # ENUMPREFIX: TEST 904s # enumsince: 904s # type: enum 904s # Type: Enum 904s # TYPE: ENUM 904s # value-production 904s # VALUENAME: ENUM_VALUE_PUBLIC 904s # valuenick: public 904s # valuenum: 7 904s # type: enum 904s # Type: Enum 904s # TYPE: ENUM 904s # value-tail 904s # EnumName: TestSymbolicEnum 904s # enum_name: test_symbolic_enum 904s # ENUMNAME: TEST_SYMBOLIC_ENUM 904s # ENUMSHORT: SYMBOLIC_ENUM 904s # ENUMPREFIX: TEST 904s # enumsince: 904s # type: enum 904s # Type: Enum 904s # TYPE: ENUM 904s # file-tail 904s # 904s # comment 904s # comment: Generated data ends here 904s # Error: 904s ok 10 __main__.TestMkenums.test_filename_basename_in_fhead_ftail 904s # glib-mkenums: /usr/bin/glib-mkenums 904s # tmpdir: /tmp/tmp80iwzllu 904s # rspfile: False 904s # /tmp/tmp80iwzllu/tmpskz_hl5d.template: 904s # /*** BEGIN file-header ***/ 904s # file-header 904s # filename: @filename@ 904s # basename: @basename@ 904s # /*** END file-header ***/ 904s # 904s # /*** BEGIN comment ***/ 904s # comment 904s # comment: @comment@ 904s # /*** END comment ***/ 904s # 904s # /*** BEGIN file-tail ***/ 904s # file-tail 904s # filename: @filename@ 904s # basename: @basename@ 904s # /*** END file-tail ***/ 904s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp80iwzllu/tmpskz_hl5d.template'] 904s # Return code: 0 904s # Output: 904s # comment 904s # 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. 904s # 904s # 904s # file-header 904s # filename: @filename@ 904s # basename: @basename@ 904s # file-tail 904s # filename: @filename@ 904s # basename: @basename@ 904s # 904s # comment 904s # comment: Generated data ends here 904s # Error: 904s # WARNING: @filename@ used in file-header section. 904s # WARNING: @basename@ used in file-header section. 904s # WARNING: @filename@ used in file-tail section. 904s # WARNING: @basename@ used in file-tail section. 904s ok 11 __main__.TestMkenums.test_help 904s # glib-mkenums: /usr/bin/glib-mkenums 904s # tmpdir: /tmp/tmp4u79w6zp 904s # rspfile: False 904s # Running: ['/usr/bin/glib-mkenums', '--help'] 904s # Return code: 0 904s # Output: 904s # usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 904s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 904s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 904s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 904s # [--comments COMMENT_TMPL] [--template TEMPLATE] 904s # [--output OUTPUT] [--version] 904s # [args ...] 904s # 904s # positional arguments: 904s # args One or more input files, or a single argument 904s # @rspfile_path pointing to a file that contains the 904s # actual arguments 904s # 904s # options: 904s # -h, --help show this help message and exit 904s # --identifier-prefix IDPREFIX 904s # Identifier prefix 904s # --symbol-prefix SYMPREFIX 904s # Symbol prefix 904s # --fhead FHEAD Output file header 904s # --ftail FTAIL Output file footer 904s # --fprod FPROD Put out TEXT every time a new input file is being 904s # processed. 904s # --eprod EPROD Per enum text, produced prior to value iterations 904s # --vhead VHEAD Value header, produced before iterating over enum 904s # values 904s # --vprod VPROD Value text, produced for each enum value. 904s # --vtail VTAIL Value tail, produced after iterating over enum values 904s # --comments COMMENT_TMPL 904s # Comment structure 904s # --template TEMPLATE Template file 904s # --output OUTPUT 904s # --version, -v Print version information 904s # 904s # Production text substitutions: 904s # @EnumName@ PrefixTheXEnum 904s # @enum_name@ prefix_the_xenum 904s # @ENUMNAME@ PREFIX_THE_XENUM 904s # @ENUMSHORT@ THE_XENUM 904s # @ENUMPREFIX@ PREFIX 904s # @enumsince@ the user-provided since value given 904s # @VALUENAME@ PREFIX_THE_XVALUE 904s # @valuenick@ the-xvalue 904s # @valuenum@ the integer value (limited support, Since: 2.26) 904s # @type@ either enum or flags 904s # @Type@ either Enum or Flags 904s # @TYPE@ either ENUM or FLAGS 904s # @filename@ name of current input file 904s # @basename@ base name of the current input file (Since: 2.22) 904s # Error: 904s ok 12 __main__.TestMkenums.test_no_args 904s # glib-mkenums: /usr/bin/glib-mkenums 904s # tmpdir: /tmp/tmpcua9nu9j 904s # rspfile: False 904s # Running: ['/usr/bin/glib-mkenums'] 904s # Return code: 0 904s # Output: 904s # /* 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. */ 904s # 904s # 904s # /* Generated data ends here */ 904s # Error: 904s ok 13 __main__.TestMkenums.test_no_headers 904s # glib-mkenums: /usr/bin/glib-mkenums 904s # tmpdir: /tmp/tmp7acawp_m 904s # rspfile: False 904s # /tmp/tmp7acawp_m/tmp7hxvtosh.template: 904s # /*** BEGIN file-header ***/ 904s # file-header 904s # /*** END file-header ***/ 904s # 904s # /*** BEGIN file-production ***/ 904s # file-production 904s # filename: @filename@ 904s # basename: @basename@ 904s # /*** END file-production ***/ 904s # 904s # /*** BEGIN enumeration-production ***/ 904s # enumeration-production 904s # EnumName: @EnumName@ 904s # enum_name: @enum_name@ 904s # ENUMNAME: @ENUMNAME@ 904s # ENUMSHORT: @ENUMSHORT@ 904s # ENUMPREFIX: @ENUMPREFIX@ 904s # enumsince: @enumsince@ 904s # type: @type@ 904s # Type: @Type@ 904s # TYPE: @TYPE@ 904s # /*** END enumeration-production ***/ 904s # 904s # /*** BEGIN value-header ***/ 904s # value-header 904s # EnumName: @EnumName@ 904s # enum_name: @enum_name@ 904s # ENUMNAME: @ENUMNAME@ 904s # ENUMSHORT: @ENUMSHORT@ 904s # ENUMPREFIX: @ENUMPREFIX@ 904s # enumsince: @enumsince@ 904s # type: @type@ 904s # Type: @Type@ 904s # TYPE: @TYPE@ 904s # /*** END value-header ***/ 904s # 904s # /*** BEGIN value-production ***/ 904s # value-production 904s # VALUENAME: @VALUENAME@ 904s # valuenick: @valuenick@ 904s # valuenum: @valuenum@ 904s # type: @type@ 904s # Type: @Type@ 904s # TYPE: @TYPE@ 904s # /*** END value-production ***/ 904s # 904s # /*** BEGIN value-tail ***/ 904s # value-tail 904s # EnumName: @EnumName@ 904s # enum_name: @enum_name@ 904s # ENUMNAME: @ENUMNAME@ 904s # ENUMSHORT: @ENUMSHORT@ 904s # ENUMPREFIX: @ENUMPREFIX@ 904s # enumsince: @enumsince@ 904s # type: @type@ 904s # Type: @Type@ 904s # TYPE: @TYPE@ 904s # /*** END value-tail ***/ 904s # 904s # /*** BEGIN comment ***/ 904s # comment 904s # comment: @comment@ 904s # /*** END comment ***/ 904s # 904s # /*** BEGIN file-tail ***/ 904s # file-tail 904s # /*** END file-tail ***/ 904s # 904s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp7acawp_m/tmp7hxvtosh.template'] 904s # Return code: 0 904s # Output: 904s # comment 904s # 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. 904s # 904s # 904s # file-header 904s # file-tail 904s # 904s # comment 904s # comment: Generated data ends here 904s # Error: 904s ok 14 __main__.TestMkenums.test_no_nick 904s # glib-mkenums: /usr/bin/glib-mkenums 904s # tmpdir: /tmp/tmprnhpfzho 904s # rspfile: False 904s # /tmp/tmprnhpfzho/tmp9jn_6cw2.h: 904s # typedef enum { 904s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 904s # } GeglSamplerType; 904s # 904s # /tmp/tmprnhpfzho/tmp1tme7djd.template: 904s # /*** BEGIN file-header ***/ 904s # file-header 904s # /*** END file-header ***/ 904s # 904s # /*** BEGIN file-production ***/ 904s # file-production 904s # filename: @filename@ 904s # basename: @basename@ 904s # /*** END file-production ***/ 904s # 904s # /*** BEGIN enumeration-production ***/ 904s # enumeration-production 904s # EnumName: @EnumName@ 904s # enum_name: @enum_name@ 904s # ENUMNAME: @ENUMNAME@ 904s # ENUMSHORT: @ENUMSHORT@ 904s # ENUMPREFIX: @ENUMPREFIX@ 904s # enumsince: @enumsince@ 904s # type: @type@ 904s # Type: @Type@ 904s # TYPE: @TYPE@ 904s # /*** END enumeration-production ***/ 904s # 904s # /*** BEGIN value-header ***/ 904s # value-header 904s # EnumName: @EnumName@ 904s # enum_name: @enum_name@ 904s # ENUMNAME: @ENUMNAME@ 904s # ENUMSHORT: @ENUMSHORT@ 904s # ENUMPREFIX: @ENUMPREFIX@ 904s # enumsince: @enumsince@ 904s # type: @type@ 904s # Type: @Type@ 904s # TYPE: @TYPE@ 904s # /*** END value-header ***/ 904s # 904s # /*** BEGIN value-production ***/ 904s # value-production 904s # VALUENAME: @VALUENAME@ 904s # valuenick: @valuenick@ 904s # valuenum: @valuenum@ 904s # type: @type@ 904s # Type: @Type@ 904s # TYPE: @TYPE@ 904s # /*** END value-production ***/ 904s # 904s # /*** BEGIN value-tail ***/ 904s # value-tail 904s # EnumName: @EnumName@ 904s # enum_name: @enum_name@ 904s # ENUMNAME: @ENUMNAME@ 904s # ENUMSHORT: @ENUMSHORT@ 904s # ENUMPREFIX: @ENUMPREFIX@ 904s # enumsince: @enumsince@ 904s # type: @type@ 904s # Type: @Type@ 904s # TYPE: @TYPE@ 904s # /*** END value-tail ***/ 904s # 904s # /*** BEGIN comment ***/ 904s # comment 904s # comment: @comment@ 904s # /*** END comment ***/ 904s # 904s # /*** BEGIN file-tail ***/ 904s # file-tail 904s # /*** END file-tail ***/ 904s # 904s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmprnhpfzho/tmp1tme7djd.template', '/tmp/tmprnhpfzho/tmp9jn_6cw2.h'] 904s # Return code: 0 904s # Output: 904s # comment 904s # 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. 904s # 904s # 904s # file-header 904s # file-production 904s # filename: /tmp/tmprnhpfzho/tmp9jn_6cw2.h 904s # basename: tmp9jn_6cw2.h 904s # enumeration-production 904s # EnumName: GeglSamplerType 904s # enum_name: gegl_sampler_type 904s # ENUMNAME: GEGL_SAMPLER_TYPE 904s # ENUMSHORT: SAMPLER_TYPE 904s # ENUMPREFIX: GEGL 904s # enumsince: 904s # type: enum 904s # Type: Enum 904s # TYPE: ENUM 904s # value-header 904s # EnumName: GeglSamplerType 904s # enum_name: gegl_sampler_type 904s # ENUMNAME: GEGL_SAMPLER_TYPE 904s # ENUMSHORT: SAMPLER_TYPE 904s # ENUMPREFIX: GEGL 904s # enumsince: 904s # type: enum 904s # Type: Enum 904s # TYPE: ENUM 904s # value-production 904s # VALUENAME: GEGL_SAMPLER_NEAREST 904s # valuenick: nearest 904s # valuenum: 0 904s # type: enum 904s # Type: Enum 904s # TYPE: ENUM 904s # value-tail 904s # EnumName: GeglSamplerType 904s # enum_name: gegl_sampler_type 904s # ENUMNAME: GEGL_SAMPLER_TYPE 904s # ENUMSHORT: SAMPLER_TYPE 904s # ENUMPREFIX: GEGL 904s # enumsince: 904s # type: enum 904s # Type: Enum 904s # TYPE: ENUM 904s # file-tail 904s # 904s # comment 904s # comment: Generated data ends here 904s # Error: 904s ok 15 __main__.TestMkenums.test_non_utf8_encoding 904s # glib-mkenums: /usr/bin/glib-mkenums 904s # tmpdir: /tmp/tmp07ab87_e 904s # rspfile: False 904s # /tmp/tmp07ab87_e/tmphhaiszev.h: 904s # /* Copyright © La Peña */ 904s # typedef enum { 904s # ENUM_VALUE 904s # } SomeEnumIdentifier; 904s # 904s # /tmp/tmp07ab87_e/tmpu4jcdtbd.template: 904s # /*** BEGIN file-header ***/ 904s # file-header 904s # /*** END file-header ***/ 904s # 904s # /*** BEGIN file-production ***/ 904s # file-production 904s # filename: @filename@ 904s # basename: @basename@ 904s # /*** END file-production ***/ 904s # 904s # /*** BEGIN enumeration-production ***/ 904s # enumeration-production 904s # EnumName: @EnumName@ 904s # enum_name: @enum_name@ 904s # ENUMNAME: @ENUMNAME@ 904s # ENUMSHORT: @ENUMSHORT@ 904s # ENUMPREFIX: @ENUMPREFIX@ 904s # enumsince: @enumsince@ 904s # type: @type@ 904s # Type: @Type@ 904s # TYPE: @TYPE@ 904s # /*** END enumeration-production ***/ 904s # 904s # /*** BEGIN value-header ***/ 904s # value-header 904s # EnumName: @EnumName@ 904s # enum_name: @enum_name@ 904s # ENUMNAME: @ENUMNAME@ 904s # ENUMSHORT: @ENUMSHORT@ 904s # ENUMPREFIX: @ENUMPREFIX@ 904s # enumsince: @enumsince@ 904s # type: @type@ 904s # Type: @Type@ 904s # TYPE: @TYPE@ 904s # /*** END value-header ***/ 904s # 904s # /*** BEGIN value-production ***/ 904s # value-production 904s # VALUENAME: @VALUENAME@ 904s # valuenick: @valuenick@ 904s # valuenum: @valuenum@ 904s # type: @type@ 904s # Type: @Type@ 904s # TYPE: @TYPE@ 904s # /*** END value-production ***/ 904s # 904s # /*** BEGIN value-tail ***/ 904s # value-tail 904s # EnumName: @EnumName@ 904s # enum_name: @enum_name@ 904s # ENUMNAME: @ENUMNAME@ 904s # ENUMSHORT: @ENUMSHORT@ 904s # ENUMPREFIX: @ENUMPREFIX@ 904s # enumsince: @enumsince@ 904s # type: @type@ 904s # Type: @Type@ 904s # TYPE: @TYPE@ 904s # /*** END value-tail ***/ 904s # 904s # /*** BEGIN comment ***/ 904s # comment 904s # comment: @comment@ 904s # /*** END comment ***/ 904s # 904s # /*** BEGIN file-tail ***/ 904s # file-tail 904s # /*** END file-tail ***/ 904s # 904s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp07ab87_e/tmpu4jcdtbd.template', '/tmp/tmp07ab87_e/tmphhaiszev.h'] 904s # Return code: 0 904s # Output: 904s # comment 904s # 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. 904s # 904s # 904s # file-header 904s # file-production 904s # filename: /tmp/tmp07ab87_e/tmphhaiszev.h 904s # basename: tmphhaiszev.h 904s # enumeration-production 904s # EnumName: SomeEnumIdentifier 904s # enum_name: some_enum_identifier 904s # ENUMNAME: SOME_ENUM_IDENTIFIER 904s # ENUMSHORT: ENUM_IDENTIFIER 904s # ENUMPREFIX: SOME 904s # enumsince: 904s # type: enum 904s # Type: Enum 904s # TYPE: ENUM 904s # value-header 904s # EnumName: SomeEnumIdentifier 904s # enum_name: some_enum_identifier 904s # ENUMNAME: SOME_ENUM_IDENTIFIER 904s # ENUMSHORT: ENUM_IDENTIFIER 904s # ENUMPREFIX: SOME 904s # enumsince: 904s # type: enum 904s # Type: Enum 904s # TYPE: ENUM 904s # value-production 904s # VALUENAME: ENUM_VALUE 904s # valuenick: value 904s # valuenum: 0 904s # type: enum 904s # Type: Enum 904s # TYPE: ENUM 904s # value-tail 904s # EnumName: SomeEnumIdentifier 904s # enum_name: some_enum_identifier 904s # ENUMNAME: SOME_ENUM_IDENTIFIER 904s # ENUMSHORT: ENUM_IDENTIFIER 904s # ENUMPREFIX: SOME 904s # enumsince: 904s # type: enum 904s # Type: Enum 904s # TYPE: ENUM 904s # file-tail 904s # 904s # comment 904s # comment: Generated data ends here 904s # Error: 904s # WARNING: UnicodeWarning: invalid start byte at 22 (b'yright \xa9 La Pe\xf1') 904s # WARNING: UnicodeWarning: invalid continuation byte at 29 (b'\xa9 La Pe\xf1a */\n ') 904s ok 16 __main__.TestMkenums.test_reproducible 904s # glib-mkenums: /usr/bin/glib-mkenums 904s # tmpdir: /tmp/tmplsydbyln 904s # rspfile: False 904s # /tmp/tmplsydbyln/tmpjqlv0kx5.template: template 904s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmplsydbyln/tmpjqlv0kx5.template', '/tmp/tmplsydbyln/tmp5342s3c11.h', '/tmp/tmplsydbyln/tmpj35be2h92.h'] 904s # Return code: 0 904s # Output: 904s # /* 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. */ 904s # 904s # 904s # /* Generated data ends here */ 904s # Error: 904s # 904s # /tmp/tmplsydbyln/tmpqt9aai19.template: template 904s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmplsydbyln/tmpqt9aai19.template', '/tmp/tmplsydbyln/tmpj35be2h92.h', '/tmp/tmplsydbyln/tmp5342s3c11.h'] 904s # Return code: 0 904s # Output: 904s # /* 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. */ 904s # 904s # 904s # /* Generated data ends here */ 904s # Error: 904s ok 17 __main__.TestMkenums.test_since 904s # glib-mkenums: /usr/bin/glib-mkenums 904s # tmpdir: /tmp/tmpgc2fdxms 904s # rspfile: False 904s # /tmp/tmpgc2fdxms/tmpfmq9ooo5.h: 904s # typedef enum { /*< since=1.0 >*/ 904s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 904s # } QmiWmsMessageProtocol; 904s # 904s # /tmp/tmpgc2fdxms/tmpjb9waycn.template: 904s # /*** BEGIN file-header ***/ 904s # file-header 904s # /*** END file-header ***/ 904s # 904s # /*** BEGIN file-production ***/ 904s # file-production 904s # filename: @filename@ 904s # basename: @basename@ 904s # /*** END file-production ***/ 904s # 904s # /*** BEGIN enumeration-production ***/ 904s # enumeration-production 904s # EnumName: @EnumName@ 904s # enum_name: @enum_name@ 904s # ENUMNAME: @ENUMNAME@ 904s # ENUMSHORT: @ENUMSHORT@ 904s # ENUMPREFIX: @ENUMPREFIX@ 904s # enumsince: @enumsince@ 904s # type: @type@ 904s # Type: @Type@ 904s # TYPE: @TYPE@ 904s # /*** END enumeration-production ***/ 904s # 904s # /*** BEGIN value-header ***/ 904s # value-header 904s # EnumName: @EnumName@ 904s # enum_name: @enum_name@ 904s # ENUMNAME: @ENUMNAME@ 904s # ENUMSHORT: @ENUMSHORT@ 904s # ENUMPREFIX: @ENUMPREFIX@ 904s # enumsince: @enumsince@ 904s # type: @type@ 904s # Type: @Type@ 904s # TYPE: @TYPE@ 904s # /*** END value-header ***/ 904s # 904s # /*** BEGIN value-production ***/ 904s # value-production 904s # VALUENAME: @VALUENAME@ 904s # valuenick: @valuenick@ 904s # valuenum: @valuenum@ 904s # type: @type@ 904s # Type: @Type@ 904s # TYPE: @TYPE@ 904s # /*** END value-production ***/ 904s # 904s # /*** BEGIN value-tail ***/ 904s # value-tail 904s # EnumName: @EnumName@ 904s # enum_name: @enum_name@ 904s # ENUMNAME: @ENUMNAME@ 904s # ENUMSHORT: @ENUMSHORT@ 904s # ENUMPREFIX: @ENUMPREFIX@ 904s # enumsince: @enumsince@ 904s # type: @type@ 904s # Type: @Type@ 904s # TYPE: @TYPE@ 904s # /*** END value-tail ***/ 904s # 904s # /*** BEGIN comment ***/ 904s # comment 904s # comment: @comment@ 904s # /*** END comment ***/ 904s # 904s # /*** BEGIN file-tail ***/ 904s # file-tail 904s # /*** END file-tail ***/ 904s # 904s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpgc2fdxms/tmpjb9waycn.template', '/tmp/tmpgc2fdxms/tmpfmq9ooo5.h'] 904s # Return code: 0 904s # Output: 904s # comment 904s # 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. 904s # 904s # 904s # file-header 904s # file-production 904s # filename: /tmp/tmpgc2fdxms/tmpfmq9ooo5.h 904s # basename: tmpfmq9ooo5.h 904s # enumeration-production 904s # EnumName: QmiWmsMessageProtocol 904s # enum_name: qmi_wms_message_protocol 904s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 904s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 904s # ENUMPREFIX: QMI 904s # enumsince: 1.0 904s # type: enum 904s # Type: Enum 904s # TYPE: ENUM 904s # value-header 904s # EnumName: QmiWmsMessageProtocol 904s # enum_name: qmi_wms_message_protocol 904s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 904s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 904s # ENUMPREFIX: QMI 904s # enumsince: 1.0 904s # type: enum 904s # Type: Enum 904s # TYPE: ENUM 904s # value-production 904s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 904s # valuenick: cdma 904s # valuenum: 0 904s # type: enum 904s # Type: Enum 904s # TYPE: ENUM 904s # value-tail 904s # EnumName: QmiWmsMessageProtocol 904s # enum_name: qmi_wms_message_protocol 904s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 904s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 904s # ENUMPREFIX: QMI 904s # enumsince: 1.0 904s # type: enum 904s # Type: Enum 904s # TYPE: ENUM 904s # file-tail 904s # 904s # comment 904s # comment: Generated data ends here 904s # Error: 904s ok 18 __main__.TestMkenums.test_with_double_quotes 904s # glib-mkenums: /usr/bin/glib-mkenums 904s # tmpdir: /tmp/tmpp6h2gbh2 904s # rspfile: False 904s # /tmp/tmpp6h2gbh2/tmpjtbls__1.h: 904s # typedef enum { 904s # FOO_VALUE /*< nick="eek, a comma" >*/ 904s # } Foo; 904s # 904s # /tmp/tmpp6h2gbh2/tmpkzw8tzaw.template: 904s # /*** BEGIN file-header ***/ 904s # file-header 904s # /*** END file-header ***/ 904s # 904s # /*** BEGIN file-production ***/ 904s # file-production 904s # filename: @filename@ 904s # basename: @basename@ 904s # /*** END file-production ***/ 904s # 904s # /*** BEGIN enumeration-production ***/ 904s # enumeration-production 904s # EnumName: @EnumName@ 904s # enum_name: @enum_name@ 904s # ENUMNAME: @ENUMNAME@ 904s # ENUMSHORT: @ENUMSHORT@ 904s # ENUMPREFIX: @ENUMPREFIX@ 904s # enumsince: @enumsince@ 904s # type: @type@ 904s # Type: @Type@ 904s # TYPE: @TYPE@ 904s # /*** END enumeration-production ***/ 904s # 904s # /*** BEGIN value-header ***/ 904s # value-header 904s # EnumName: @EnumName@ 904s # enum_name: @enum_name@ 904s # ENUMNAME: @ENUMNAME@ 904s # ENUMSHORT: @ENUMSHORT@ 904s # ENUMPREFIX: @ENUMPREFIX@ 904s # enumsince: @enumsince@ 904s # type: @type@ 904s # Type: @Type@ 904s # TYPE: @TYPE@ 904s # /*** END value-header ***/ 904s # 904s # /*** BEGIN value-production ***/ 904s # value-production 904s # VALUENAME: @VALUENAME@ 904s # valuenick: @valuenick@ 904s # valuenum: @valuenum@ 904s # type: @type@ 904s # Type: @Type@ 904s # TYPE: @TYPE@ 904s # /*** END value-production ***/ 904s # 904s # /*** BEGIN value-tail ***/ 904s # value-tail 904s # EnumName: @EnumName@ 904s # enum_name: @enum_name@ 904s # ENUMNAME: @ENUMNAME@ 904s # ENUMSHORT: @ENUMSHORT@ 904s # ENUMPREFIX: @ENUMPREFIX@ 904s # enumsince: @enumsince@ 904s # type: @type@ 904s # Type: @Type@ 904s # TYPE: @TYPE@ 904s # /*** END value-tail ***/ 904s # 904s # /*** BEGIN comment ***/ 904s # comment 904s # comment: @comment@ 904s # /*** END comment ***/ 904s # 904s # /*** BEGIN file-tail ***/ 904s # file-tail 904s # /*** END file-tail ***/ 904s # 904s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpp6h2gbh2/tmpkzw8tzaw.template', '/tmp/tmpp6h2gbh2/tmpjtbls__1.h'] 904s # Return code: 0 904s # Output: 904s # comment 904s # 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. 904s # 904s # 904s # file-header 904s # file-production 904s # filename: /tmp/tmpp6h2gbh2/tmpjtbls__1.h 904s # basename: tmpjtbls__1.h 904s # enumeration-production 904s # EnumName: Foo 904s # enum_name: foo_ 904s # ENUMNAME: FOO_ 904s # ENUMSHORT: 904s # ENUMPREFIX: FOO 904s # enumsince: 904s # type: enum 904s # Type: Enum 904s # TYPE: ENUM 904s # value-header 904s # EnumName: Foo 904s # enum_name: foo_ 904s # ENUMNAME: FOO_ 904s # ENUMSHORT: 904s # ENUMPREFIX: FOO 904s # enumsince: 904s # type: enum 904s # Type: Enum 904s # TYPE: ENUM 904s # value-production 904s # VALUENAME: FOO_VALUE 904s # valuenick: eek, a comma 904s # valuenum: 0 904s # type: enum 904s # Type: Enum 904s # TYPE: ENUM 904s # value-tail 904s # EnumName: Foo 904s # enum_name: foo_ 904s # ENUMNAME: FOO_ 904s # ENUMSHORT: 904s # ENUMPREFIX: FOO 904s # enumsince: 904s # type: enum 904s # Type: Enum 904s # TYPE: ENUM 904s # file-tail 904s # 904s # comment 904s # comment: Generated data ends here 904s # Error: 904s ok 19 __main__.TestRspMkenums.test_available_in 904s # glib-mkenums: /usr/bin/glib-mkenums 904s # tmpdir: /tmp/tmpvev1g_mi 904s # rspfile: True 904s # /tmp/tmpvev1g_mi/tmpmey7erbb.h: 904s # typedef enum { 904s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 904s # } GDBusServerFlags; 904s # 904s # /tmp/tmpvev1g_mi/tmpur5rcugu.template: 904s # /*** BEGIN file-header ***/ 904s # file-header 904s # /*** END file-header ***/ 904s # 904s # /*** BEGIN file-production ***/ 904s # file-production 904s # filename: @filename@ 904s # basename: @basename@ 904s # /*** END file-production ***/ 904s # 904s # /*** BEGIN enumeration-production ***/ 904s # enumeration-production 904s # EnumName: @EnumName@ 904s # enum_name: @enum_name@ 904s # ENUMNAME: @ENUMNAME@ 904s # ENUMSHORT: @ENUMSHORT@ 904s # ENUMPREFIX: @ENUMPREFIX@ 904s # enumsince: @enumsince@ 904s # type: @type@ 904s # Type: @Type@ 904s # TYPE: @TYPE@ 904s # /*** END enumeration-production ***/ 904s # 904s # /*** BEGIN value-header ***/ 904s # value-header 904s # EnumName: @EnumName@ 904s # enum_name: @enum_name@ 904s # ENUMNAME: @ENUMNAME@ 904s # ENUMSHORT: @ENUMSHORT@ 904s # ENUMPREFIX: @ENUMPREFIX@ 904s # enumsince: @enumsince@ 904s # type: @type@ 904s # Type: @Type@ 904s # TYPE: @TYPE@ 904s # /*** END value-header ***/ 904s # 904s # /*** BEGIN value-production ***/ 904s # value-production 904s # VALUENAME: @VALUENAME@ 904s # valuenick: @valuenick@ 904s # valuenum: @valuenum@ 904s # type: @type@ 904s # Type: @Type@ 904s # TYPE: @TYPE@ 904s # /*** END value-production ***/ 904s # 904s # /*** BEGIN value-tail ***/ 904s # value-tail 904s # EnumName: @EnumName@ 904s # enum_name: @enum_name@ 904s # ENUMNAME: @ENUMNAME@ 904s # ENUMSHORT: @ENUMSHORT@ 904s # ENUMPREFIX: @ENUMPREFIX@ 904s # enumsince: @enumsince@ 904s # type: @type@ 904s # Type: @Type@ 904s # TYPE: @TYPE@ 904s # /*** END value-tail ***/ 904s # 904s # /*** BEGIN comment ***/ 904s # comment 904s # comment: @comment@ 904s # /*** END comment ***/ 904s # 904s # /*** BEGIN file-tail ***/ 904s # file-tail 904s # /*** END file-tail ***/ 904s # 904s # Response file contains: --template /tmp/tmpvev1g_mi/tmpur5rcugu.template /tmp/tmpvev1g_mi/tmpmey7erbb.h 904s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpvev1g_mi/tmpdq5pdikg'] 904s # Return code: 0 904s # Output: 904s # comment 904s # 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. 904s # 904s # 904s # file-header 904s # file-production 904s # filename: /tmp/tmpvev1g_mi/tmpmey7erbb.h 904s # basename: tmpmey7erbb.h 904s # enumeration-production 904s # EnumName: GDBusServerFlags 904s # enum_name: g_dbus_server_flags 904s # ENUMNAME: G_DBUS_SERVER_FLAGS 904s # ENUMSHORT: DBUS_SERVER_FLAGS 904s # ENUMPREFIX: G 904s # enumsince: 904s # type: flags 904s # Type: Flags 904s # TYPE: FLAGS 904s # value-header 904s # EnumName: GDBusServerFlags 904s # enum_name: g_dbus_server_flags 904s # ENUMNAME: G_DBUS_SERVER_FLAGS 904s # ENUMSHORT: DBUS_SERVER_FLAGS 904s # ENUMPREFIX: G 904s # enumsince: 904s # type: flags 904s # Type: Flags 904s # TYPE: FLAGS 904s # value-production 904s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 904s # valuenick: user 904s # valuenum: 4 904s # type: flags 904s # Type: Flags 904s # TYPE: FLAGS 904s # value-tail 904s # EnumName: GDBusServerFlags 904s # enum_name: g_dbus_server_flags 904s # ENUMNAME: G_DBUS_SERVER_FLAGS 904s # ENUMSHORT: DBUS_SERVER_FLAGS 904s # ENUMPREFIX: G 904s # enumsince: 904s # type: flags 904s # Type: Flags 904s # TYPE: FLAGS 904s # file-tail 904s # 904s # comment 904s # comment: Generated data ends here 904s # Error: 904s ok 20 __main__.TestRspMkenums.test_comma_in_enum_value 904s # glib-mkenums: /usr/bin/glib-mkenums 904s # tmpdir: /tmp/tmpc9zsuwyy 904s # rspfile: True 904s # /tmp/tmpc9zsuwyy/tmpf0kmmyy6.h: 904s # typedef enum { 904s # ENUM_VALUE_WITH_COMMA = ',', 904s # } TestCommaEnum; 904s # 904s # /tmp/tmpc9zsuwyy/tmprt7_82n0.template: 904s # /*** BEGIN file-header ***/ 904s # file-header 904s # /*** END file-header ***/ 904s # 904s # /*** BEGIN file-production ***/ 904s # file-production 904s # filename: @filename@ 904s # basename: @basename@ 904s # /*** END file-production ***/ 904s # 904s # /*** BEGIN enumeration-production ***/ 904s # enumeration-production 904s # EnumName: @EnumName@ 904s # enum_name: @enum_name@ 904s # ENUMNAME: @ENUMNAME@ 904s # ENUMSHORT: @ENUMSHORT@ 904s # ENUMPREFIX: @ENUMPREFIX@ 904s # enumsince: @enumsince@ 904s # type: @type@ 904s # Type: @Type@ 904s # TYPE: @TYPE@ 904s # /*** END enumeration-production ***/ 904s # 904s # /*** BEGIN value-header ***/ 904s # value-header 904s # EnumName: @EnumName@ 904s # enum_name: @enum_name@ 904s # ENUMNAME: @ENUMNAME@ 904s # ENUMSHORT: @ENUMSHORT@ 904s # ENUMPREFIX: @ENUMPREFIX@ 904s # enumsince: @enumsince@ 904s # type: @type@ 904s # Type: @Type@ 904s # TYPE: @TYPE@ 904s # /*** END value-header ***/ 904s # 904s # /*** BEGIN value-production ***/ 904s # value-production 904s # VALUENAME: @VALUENAME@ 904s # valuenick: @valuenick@ 904s # valuenum: @valuenum@ 904s # type: @type@ 904s # Type: @Type@ 904s # TYPE: @TYPE@ 904s # /*** END value-production ***/ 904s # 904s # /*** BEGIN value-tail ***/ 904s # value-tail 904s # EnumName: @EnumName@ 904s # enum_name: @enum_name@ 904s # ENUMNAME: @ENUMNAME@ 904s # ENUMSHORT: @ENUMSHORT@ 904s # ENUMPREFIX: @ENUMPREFIX@ 904s # enumsince: @enumsince@ 904s # type: @type@ 904s # Type: @Type@ 904s # TYPE: @TYPE@ 904s # /*** END value-tail ***/ 904s # 904s # /*** BEGIN comment ***/ 904s # comment 904s # comment: @comment@ 904s # /*** END comment ***/ 904s # 904s # /*** BEGIN file-tail ***/ 904s # file-tail 904s # /*** END file-tail ***/ 904s # 904s # Response file contains: --template /tmp/tmpc9zsuwyy/tmprt7_82n0.template /tmp/tmpc9zsuwyy/tmpf0kmmyy6.h 904s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpc9zsuwyy/tmp7ubo66r_'] 904s # Return code: 0 904s # Output: 904s # comment 904s # 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. 904s # 904s # 904s # file-header 904s # file-production 904s # filename: /tmp/tmpc9zsuwyy/tmpf0kmmyy6.h 904s # basename: tmpf0kmmyy6.h 904s # enumeration-production 904s # EnumName: TestCommaEnum 904s # enum_name: test_comma_enum 904s # ENUMNAME: TEST_COMMA_ENUM 904s # ENUMSHORT: COMMA_ENUM 904s # ENUMPREFIX: TEST 904s # enumsince: 904s # type: enum 904s # Type: Enum 904s # TYPE: ENUM 904s # value-header 904s # EnumName: TestCommaEnum 904s # enum_name: test_comma_enum 904s # ENUMNAME: TEST_COMMA_ENUM 904s # ENUMSHORT: COMMA_ENUM 904s # ENUMPREFIX: TEST 904s # enumsince: 904s # type: enum 904s # Type: Enum 904s # TYPE: ENUM 904s # value-production 904s # VALUENAME: ENUM_VALUE_WITH_COMMA 904s # valuenick: comma 904s # valuenum: 44 904s # type: enum 904s # Type: Enum 904s # TYPE: ENUM 904s # value-tail 904s # EnumName: TestCommaEnum 904s # enum_name: test_comma_enum 904s # ENUMNAME: TEST_COMMA_ENUM 904s # ENUMSHORT: COMMA_ENUM 904s # ENUMPREFIX: TEST 904s # enumsince: 904s # type: enum 904s # Type: Enum 904s # TYPE: ENUM 904s # file-tail 904s # 904s # comment 904s # comment: Generated data ends here 904s # Error: 904s ok 21 __main__.TestRspMkenums.test_deprecated_in 904s # glib-mkenums: /usr/bin/glib-mkenums 904s # tmpdir: /tmp/tmplujzdxbw 904s # rspfile: True 904s # /tmp/tmplujzdxbw/tmp75jzn9ah.h: 904s # typedef enum { 904s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 904s # } GDBusServerFlags; 904s # 904s # /tmp/tmplujzdxbw/tmpbftm2bx3.template: 904s # /*** BEGIN file-header ***/ 904s # file-header 904s # /*** END file-header ***/ 904s # 904s # /*** BEGIN file-production ***/ 904s # file-production 904s # filename: @filename@ 904s # basename: @basename@ 904s # /*** END file-production ***/ 904s # 904s # /*** BEGIN enumeration-production ***/ 904s # enumeration-production 904s # EnumName: @EnumName@ 904s # enum_name: @enum_name@ 904s # ENUMNAME: @ENUMNAME@ 904s # ENUMSHORT: @ENUMSHORT@ 904s # ENUMPREFIX: @ENUMPREFIX@ 904s # enumsince: @enumsince@ 904s # type: @type@ 904s # Type: @Type@ 904s # TYPE: @TYPE@ 904s # /*** END enumeration-production ***/ 904s # 904s # /*** BEGIN value-header ***/ 904s # value-header 904s # EnumName: @EnumName@ 904s # enum_name: @enum_name@ 904s # ENUMNAME: @ENUMNAME@ 904s # ENUMSHORT: @ENUMSHORT@ 904s # ENUMPREFIX: @ENUMPREFIX@ 904s # enumsince: @enumsince@ 904s # type: @type@ 904s # Type: @Type@ 904s # TYPE: @TYPE@ 904s # /*** END value-header ***/ 904s # 904s # /*** BEGIN value-production ***/ 904s # value-production 904s # VALUENAME: @VALUENAME@ 904s # valuenick: @valuenick@ 904s # valuenum: @valuenum@ 904s # type: @type@ 904s # Type: @Type@ 904s # TYPE: @TYPE@ 904s # /*** END value-production ***/ 904s # 904s # /*** BEGIN value-tail ***/ 904s # value-tail 904s # EnumName: @EnumName@ 904s # enum_name: @enum_name@ 904s # ENUMNAME: @ENUMNAME@ 904s # ENUMSHORT: @ENUMSHORT@ 904s # ENUMPREFIX: @ENUMPREFIX@ 904s # enumsince: @enumsince@ 904s # type: @type@ 904s # Type: @Type@ 904s # TYPE: @TYPE@ 904s # /*** END value-tail ***/ 904s # 904s # /*** BEGIN comment ***/ 904s # comment 904s # comment: @comment@ 904s # /*** END comment ***/ 904s # 904s # /*** BEGIN file-tail ***/ 904s # file-tail 904s # /*** END file-tail ***/ 904s # 904s # Response file contains: --template /tmp/tmplujzdxbw/tmpbftm2bx3.template /tmp/tmplujzdxbw/tmp75jzn9ah.h 904s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmplujzdxbw/tmp_dvksdfa'] 904s # Return code: 0 904s # Output: 904s # comment 904s # 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. 904s # 904s # 904s # file-header 904s # file-production 904s # filename: /tmp/tmplujzdxbw/tmp75jzn9ah.h 904s # basename: tmp75jzn9ah.h 904s # enumeration-production 904s # EnumName: GDBusServerFlags 904s # enum_name: g_dbus_server_flags 904s # ENUMNAME: G_DBUS_SERVER_FLAGS 904s # ENUMSHORT: DBUS_SERVER_FLAGS 904s # ENUMPREFIX: G 904s # enumsince: 904s # type: flags 904s # Type: Flags 904s # TYPE: FLAGS 904s # value-header 904s # EnumName: GDBusServerFlags 904s # enum_name: g_dbus_server_flags 904s # ENUMNAME: G_DBUS_SERVER_FLAGS 904s # ENUMSHORT: DBUS_SERVER_FLAGS 904s # ENUMPREFIX: G 904s # enumsince: 904s # type: flags 904s # Type: Flags 904s # TYPE: FLAGS 904s # value-production 904s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 904s # valuenick: user 904s # valuenum: 4 904s # type: flags 904s # Type: Flags 904s # TYPE: FLAGS 904s # value-tail 904s # EnumName: GDBusServerFlags 904s # enum_name: g_dbus_server_flags 904s # ENUMNAME: G_DBUS_SERVER_FLAGS 904s # ENUMSHORT: DBUS_SERVER_FLAGS 904s # ENUMPREFIX: G 904s # enumsince: 904s # type: flags 904s # Type: Flags 904s # TYPE: FLAGS 904s # file-tail 904s # 904s # comment 904s # comment: Generated data ends here 904s # Error: 904s ok 22 __main__.TestRspMkenums.test_deprecated_in_for 904s # glib-mkenums: /usr/bin/glib-mkenums 904s # tmpdir: /tmp/tmprxo33csa 904s # rspfile: True 904s # /tmp/tmprxo33csa/tmp6wxryycp.h: 904s # typedef enum { 904s # 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) 904s # } GDBusServerFlags; 904s # 904s # /tmp/tmprxo33csa/tmpx3hazlq6.template: 904s # /*** BEGIN file-header ***/ 904s # file-header 904s # /*** END file-header ***/ 904s # 904s # /*** BEGIN file-production ***/ 904s # file-production 904s # filename: @filename@ 904s # basename: @basename@ 904s # /*** END file-production ***/ 904s # 904s # /*** BEGIN enumeration-production ***/ 904s # enumeration-production 904s # EnumName: @EnumName@ 904s # enum_name: @enum_name@ 904s # ENUMNAME: @ENUMNAME@ 904s # ENUMSHORT: @ENUMSHORT@ 904s # ENUMPREFIX: @ENUMPREFIX@ 904s # enumsince: @enumsince@ 904s # type: @type@ 904s # Type: @Type@ 904s # TYPE: @TYPE@ 904s # /*** END enumeration-production ***/ 904s # 904s # /*** BEGIN value-header ***/ 904s # value-header 904s # EnumName: @EnumName@ 904s # enum_name: @enum_name@ 904s # ENUMNAME: @ENUMNAME@ 904s # ENUMSHORT: @ENUMSHORT@ 904s # ENUMPREFIX: @ENUMPREFIX@ 904s # enumsince: @enumsince@ 904s # type: @type@ 904s # Type: @Type@ 904s # TYPE: @TYPE@ 904s # /*** END value-header ***/ 904s # 904s # /*** BEGIN value-production ***/ 904s # value-production 904s # VALUENAME: @VALUENAME@ 904s # valuenick: @valuenick@ 904s # valuenum: @valuenum@ 904s # type: @type@ 904s # Type: @Type@ 904s # TYPE: @TYPE@ 904s # /*** END value-production ***/ 904s # 904s # /*** BEGIN value-tail ***/ 904s # value-tail 904s # EnumName: @EnumName@ 904s # enum_name: @enum_name@ 904s # ENUMNAME: @ENUMNAME@ 904s # ENUMSHORT: @ENUMSHORT@ 904s # ENUMPREFIX: @ENUMPREFIX@ 904s # enumsince: @enumsince@ 904s # type: @type@ 904s # Type: @Type@ 904s # TYPE: @TYPE@ 904s # /*** END value-tail ***/ 904s # 904s # /*** BEGIN comment ***/ 904s # comment 904s # comment: @comment@ 904s # /*** END comment ***/ 904s # 904s # /*** BEGIN file-tail ***/ 904s # file-tail 904s # /*** END file-tail ***/ 904s # 904s # Response file contains: --template /tmp/tmprxo33csa/tmpx3hazlq6.template /tmp/tmprxo33csa/tmp6wxryycp.h 904s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmprxo33csa/tmpb52c0q_8'] 904s # Return code: 0 904s # Output: 904s # comment 904s # 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. 904s # 904s # 904s # file-header 904s # file-production 904s # filename: /tmp/tmprxo33csa/tmp6wxryycp.h 904s # basename: tmp6wxryycp.h 904s # enumeration-production 904s # EnumName: GDBusServerFlags 904s # enum_name: g_dbus_server_flags 904s # ENUMNAME: G_DBUS_SERVER_FLAGS 904s # ENUMSHORT: DBUS_SERVER_FLAGS 904s # ENUMPREFIX: G 904s # enumsince: 904s # type: flags 904s # Type: Flags 904s # TYPE: FLAGS 904s # value-header 904s # EnumName: GDBusServerFlags 904s # enum_name: g_dbus_server_flags 904s # ENUMNAME: G_DBUS_SERVER_FLAGS 904s # ENUMSHORT: DBUS_SERVER_FLAGS 904s # ENUMPREFIX: G 904s # enumsince: 904s # type: flags 904s # Type: Flags 904s # TYPE: FLAGS 904s # value-production 904s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 904s # valuenick: user 904s # valuenum: 4 904s # type: flags 904s # Type: Flags 904s # TYPE: FLAGS 904s # value-tail 904s # EnumName: GDBusServerFlags 904s # enum_name: g_dbus_server_flags 904s # ENUMNAME: G_DBUS_SERVER_FLAGS 904s # ENUMSHORT: DBUS_SERVER_FLAGS 904s # ENUMPREFIX: G 904s # enumsince: 904s # type: flags 904s # Type: Flags 904s # TYPE: FLAGS 904s # file-tail 904s # 904s # comment 904s # comment: Generated data ends here 904s # Error: 904s ok 23 __main__.TestRspMkenums.test_empty_header 904s # glib-mkenums: /usr/bin/glib-mkenums 904s # tmpdir: /tmp/tmp5ug3v1cp 904s # rspfile: True 904s # /tmp/tmp5ug3v1cp/tmpier5ii_0.h: 904s # /tmp/tmp5ug3v1cp/tmpbxctnhwg.template: 904s # /*** BEGIN file-header ***/ 904s # file-header 904s # /*** END file-header ***/ 904s # 904s # /*** BEGIN file-production ***/ 904s # file-production 904s # filename: @filename@ 904s # basename: @basename@ 904s # /*** END file-production ***/ 904s # 904s # /*** BEGIN enumeration-production ***/ 904s # enumeration-production 904s # EnumName: @EnumName@ 904s # enum_name: @enum_name@ 904s # ENUMNAME: @ENUMNAME@ 904s # ENUMSHORT: @ENUMSHORT@ 904s # ENUMPREFIX: @ENUMPREFIX@ 904s # enumsince: @enumsince@ 904s # type: @type@ 904s # Type: @Type@ 904s # TYPE: @TYPE@ 904s # /*** END enumeration-production ***/ 904s # 904s # /*** BEGIN value-header ***/ 904s # value-header 904s # EnumName: @EnumName@ 904s # enum_name: @enum_name@ 904s # ENUMNAME: @ENUMNAME@ 904s # ENUMSHORT: @ENUMSHORT@ 904s # ENUMPREFIX: @ENUMPREFIX@ 904s # enumsince: @enumsince@ 904s # type: @type@ 904s # Type: @Type@ 904s # TYPE: @TYPE@ 904s # /*** END value-header ***/ 904s # 904s # /*** BEGIN value-production ***/ 904s # value-production 904s # VALUENAME: @VALUENAME@ 904s # valuenick: @valuenick@ 904s # valuenum: @valuenum@ 904s # type: @type@ 904s # Type: @Type@ 904s # TYPE: @TYPE@ 904s # /*** END value-production ***/ 904s # 904s # /*** BEGIN value-tail ***/ 904s # value-tail 904s # EnumName: @EnumName@ 904s # enum_name: @enum_name@ 904s # ENUMNAME: @ENUMNAME@ 904s # ENUMSHORT: @ENUMSHORT@ 904s # ENUMPREFIX: @ENUMPREFIX@ 904s # enumsince: @enumsince@ 904s # type: @type@ 904s # Type: @Type@ 904s # TYPE: @TYPE@ 904s # /*** END value-tail ***/ 904s # 904s # /*** BEGIN comment ***/ 904s # comment 904s # comment: @comment@ 904s # /*** END comment ***/ 904s # 904s # /*** BEGIN file-tail ***/ 904s # file-tail 904s # /*** END file-tail ***/ 904s # 904s # Response file contains: --template /tmp/tmp5ug3v1cp/tmpbxctnhwg.template /tmp/tmp5ug3v1cp/tmpier5ii_0.h 904s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp5ug3v1cp/tmpayn1x3vc'] 904s # Return code: 0 904s # Output: 904s # comment 904s # 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. 904s # 904s # 904s # file-header 904s # file-tail 904s # 904s # comment 904s # comment: Generated data ends here 904s # Error: 904s ok 24 __main__.TestRspMkenums.test_empty_template 904s # glib-mkenums: /usr/bin/glib-mkenums 904s # tmpdir: /tmp/tmppb823f3u 904s # rspfile: True 904s # /tmp/tmppb823f3u/tmphw4ckmyt.template: 904s # Response file contains: --template /tmp/tmppb823f3u/tmphw4ckmyt.template 904s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmppb823f3u/tmpa3bzwlo_'] 904s # Return code: 0 904s # Output: 904s # /* 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. */ 904s # 904s # 904s # /* Generated data ends here */ 904s # Error: 904s ok 25 __main__.TestRspMkenums.test_enum_name 904s # glib-mkenums: /usr/bin/glib-mkenums 904s # tmpdir: /tmp/tmpu6u2pyoe 904s # rspfile: True 904s # /tmp/tmpu6u2pyoe/tmpbndisuk_.h: 904s # typedef enum _SomeEnumIdentifier { 904s # ENUM_VALUE 904s # } SomeEnumIdentifier; 904s # 904s # /tmp/tmpu6u2pyoe/tmpk1o6t9a2.template: 904s # /*** BEGIN file-header ***/ 904s # file-header 904s # /*** END file-header ***/ 904s # 904s # /*** BEGIN file-production ***/ 904s # file-production 904s # filename: @filename@ 904s # basename: @basename@ 904s # /*** END file-production ***/ 904s # 904s # /*** BEGIN enumeration-production ***/ 904s # enumeration-production 904s # EnumName: @EnumName@ 904s # enum_name: @enum_name@ 904s # ENUMNAME: @ENUMNAME@ 904s # ENUMSHORT: @ENUMSHORT@ 904s # ENUMPREFIX: @ENUMPREFIX@ 904s # enumsince: @enumsince@ 904s # type: @type@ 904s # Type: @Type@ 904s # TYPE: @TYPE@ 904s # /*** END enumeration-production ***/ 904s # 904s # /*** BEGIN value-header ***/ 904s # value-header 904s # EnumName: @EnumName@ 904s # enum_name: @enum_name@ 904s # ENUMNAME: @ENUMNAME@ 904s # ENUMSHORT: @ENUMSHORT@ 904s # ENUMPREFIX: @ENUMPREFIX@ 904s # enumsince: @enumsince@ 904s # type: @type@ 904s # Type: @Type@ 904s # TYPE: @TYPE@ 904s # /*** END value-header ***/ 904s # 904s # /*** BEGIN value-production ***/ 904s # value-production 904s # VALUENAME: @VALUENAME@ 904s # valuenick: @valuenick@ 904s # valuenum: @valuenum@ 904s # type: @type@ 904s # Type: @Type@ 904s # TYPE: @TYPE@ 904s # /*** END value-production ***/ 904s # 904s # /*** BEGIN value-tail ***/ 904s # value-tail 904s # EnumName: @EnumName@ 904s # enum_name: @enum_name@ 904s # ENUMNAME: @ENUMNAME@ 904s # ENUMSHORT: @ENUMSHORT@ 904s # ENUMPREFIX: @ENUMPREFIX@ 904s # enumsince: @enumsince@ 904s # type: @type@ 904s # Type: @Type@ 904s # TYPE: @TYPE@ 904s # /*** END value-tail ***/ 904s # 904s # /*** BEGIN comment ***/ 904s # comment 904s # comment: @comment@ 904s # /*** END comment ***/ 904s # 904s # /*** BEGIN file-tail ***/ 904s # file-tail 904s # /*** END file-tail ***/ 904s # 904s # Response file contains: --template /tmp/tmpu6u2pyoe/tmpk1o6t9a2.template /tmp/tmpu6u2pyoe/tmpbndisuk_.h 904s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpu6u2pyoe/tmpigppf8lm'] 904s # Return code: 0 904s # Output: 904s # comment 904s # 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. 904s # 904s # 904s # file-header 904s # file-production 904s # filename: /tmp/tmpu6u2pyoe/tmpbndisuk_.h 904s # basename: tmpbndisuk_.h 904s # enumeration-production 904s # EnumName: SomeEnumIdentifier 904s # enum_name: some_enum_identifier 904s # ENUMNAME: SOME_ENUM_IDENTIFIER 904s # ENUMSHORT: ENUM_IDENTIFIER 904s # ENUMPREFIX: SOME 904s # enumsince: 904s # type: enum 904s # Type: Enum 904s # TYPE: ENUM 904s # value-header 904s # EnumName: SomeEnumIdentifier 904s # enum_name: some_enum_identifier 904s # ENUMNAME: SOME_ENUM_IDENTIFIER 904s # ENUMSHORT: ENUM_IDENTIFIER 904s # ENUMPREFIX: SOME 904s # enumsince: 904s # type: enum 904s # Type: Enum 904s # TYPE: ENUM 904s # value-production 904s # VALUENAME: ENUM_VALUE 904s # valuenick: value 904s # valuenum: 0 904s # type: enum 904s # Type: Enum 904s # TYPE: ENUM 904s # value-tail 904s # EnumName: SomeEnumIdentifier 904s # enum_name: some_enum_identifier 904s # ENUMNAME: SOME_ENUM_IDENTIFIER 904s # ENUMSHORT: ENUM_IDENTIFIER 904s # ENUMPREFIX: SOME 904s # enumsince: 904s # type: enum 904s # Type: Enum 904s # TYPE: ENUM 904s # file-tail 904s # 904s # comment 904s # comment: Generated data ends here 904s # Error: 904s ok 26 __main__.TestRspMkenums.test_enum_private_public 904s # glib-mkenums: /usr/bin/glib-mkenums 904s # tmpdir: /tmp/tmpmrpfk3gb 904s # rspfile: True 904s # /tmp/tmpmrpfk3gb/tmp78ljspd6.h: 904s # typedef enum { 904s # ENUM_VALUE_PUBLIC1, 904s # /*< private >*/ 904s # ENUM_VALUE_PRIVATE, 904s # } SomeEnumA 904s # 904s # /tmp/tmpmrpfk3gb/tmp4f464osm.template: 904s # /*** BEGIN file-header ***/ 904s # file-header 904s # /*** END file-header ***/ 904s # 904s # /*** BEGIN file-production ***/ 904s # file-production 904s # filename: @filename@ 904s # basename: @basename@ 904s # /*** END file-production ***/ 904s # 904s # /*** BEGIN enumeration-production ***/ 904s # enumeration-production 904s # EnumName: @EnumName@ 904s # enum_name: @enum_name@ 904s # ENUMNAME: @ENUMNAME@ 904s # ENUMSHORT: @ENUMSHORT@ 904s # ENUMPREFIX: @ENUMPREFIX@ 904s # enumsince: @enumsince@ 904s # type: @type@ 904s # Type: @Type@ 904s # TYPE: @TYPE@ 904s # /*** END enumeration-production ***/ 904s # 904s # /*** BEGIN value-header ***/ 904s # value-header 904s # EnumName: @EnumName@ 904s # enum_name: @enum_name@ 904s # ENUMNAME: @ENUMNAME@ 904s # ENUMSHORT: @ENUMSHORT@ 904s # ENUMPREFIX: @ENUMPREFIX@ 904s # enumsince: @enumsince@ 904s # type: @type@ 904s # Type: @Type@ 904s # TYPE: @TYPE@ 904s # /*** END value-header ***/ 904s # 904s # /*** BEGIN value-production ***/ 904s # value-production 904s # VALUENAME: @VALUENAME@ 904s # valuenick: @valuenick@ 904s # valuenum: @valuenum@ 904s # type: @type@ 904s # Type: @Type@ 904s # TYPE: @TYPE@ 904s # /*** END value-production ***/ 904s # 904s # /*** BEGIN value-tail ***/ 904s # value-tail 904s # EnumName: @EnumName@ 904s # enum_name: @enum_name@ 904s # ENUMNAME: @ENUMNAME@ 904s # ENUMSHORT: @ENUMSHORT@ 904s # ENUMPREFIX: @ENUMPREFIX@ 904s # enumsince: @enumsince@ 904s # type: @type@ 904s # Type: @Type@ 904s # TYPE: @TYPE@ 904s # /*** END value-tail ***/ 904s # 904s # /*** BEGIN comment ***/ 904s # comment 904s # comment: @comment@ 904s # /*** END comment ***/ 904s # 904s # /*** BEGIN file-tail ***/ 904s # file-tail 904s # /*** END file-tail ***/ 904s # 904s # Response file contains: --template /tmp/tmpmrpfk3gb/tmp4f464osm.template /tmp/tmpmrpfk3gb/tmp78ljspd6.h 904s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpmrpfk3gb/tmp9lp4ebvm'] 904s # Return code: 0 904s # Output: 904s # comment 904s # 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. 904s # 904s # 904s # file-header 904s # file-production 904s # filename: /tmp/tmpmrpfk3gb/tmp78ljspd6.h 904s # basename: tmp78ljspd6.h 904s # enumeration-production 904s # EnumName: SomeEnumA 904s # enum_name: some_enum_a 904s # ENUMNAME: SOME_ENUM_A 904s # ENUMSHORT: ENUM_A 904s # ENUMPREFIX: SOME 904s # enumsince: 904s # type: enum 904s # Type: Enum 904s # TYPE: ENUM 904s # value-header 904s # EnumName: SomeEnumA 904s # enum_name: some_enum_a 904s # ENUMNAME: SOME_ENUM_A 904s # ENUMSHORT: ENUM_A 904s # ENUMPREFIX: SOME 904s # enumsince: 904s # type: enum 904s # Type: Enum 904s # TYPE: ENUM 904s # value-production 904s # VALUENAME: ENUM_VALUE_PUBLIC1 904s # valuenick: public1 904s # valuenum: 0 904s # type: enum 904s # Type: Enum 904s # TYPE: ENUM 904s # value-tail 904s # EnumName: SomeEnumA 904s # enum_name: some_enum_a 904s # ENUMNAME: SOME_ENUM_A 904s # ENUMSHORT: ENUM_A 904s # ENUMPREFIX: SOME 904s # enumsince: 904s # type: enum 904s # Type: Enum 904s # TYPE: ENUM 904s # file-tail 904s # 904s # comment 904s # comment: Generated data ends here 904s # Error: 904s # 904s # /tmp/tmpmrpfk3gb/tmp0d24cai6.h: 904s # typedef enum { 904s # /*< private >*/ 904s # ENUM_VALUE_PRIVATE, 904s # /*< public >*/ 904s # ENUM_VALUE_PUBLIC2, 904s # } SomeEnumB; 904s # 904s # /tmp/tmpmrpfk3gb/tmpi3oafof4.template: 904s # /*** BEGIN file-header ***/ 904s # file-header 904s # /*** END file-header ***/ 904s # 904s # /*** BEGIN file-production ***/ 904s # file-production 904s # filename: @filename@ 904s # basename: @basename@ 904s # /*** END file-production ***/ 904s # 904s # /*** BEGIN enumeration-production ***/ 904s # enumeration-production 904s # EnumName: @EnumName@ 904s # enum_name: @enum_name@ 904s # ENUMNAME: @ENUMNAME@ 904s # ENUMSHORT: @ENUMSHORT@ 904s # ENUMPREFIX: @ENUMPREFIX@ 904s # enumsince: @enumsince@ 904s # type: @type@ 904s # Type: @Type@ 904s # TYPE: @TYPE@ 904s # /*** END enumeration-production ***/ 904s # 904s # /*** BEGIN value-header ***/ 904s # value-header 904s # EnumName: @EnumName@ 904s # enum_name: @enum_name@ 904s # ENUMNAME: @ENUMNAME@ 904s # ENUMSHORT: @ENUMSHORT@ 904s # ENUMPREFIX: @ENUMPREFIX@ 904s # enumsince: @enumsince@ 904s # type: @type@ 904s # Type: @Type@ 904s # TYPE: @TYPE@ 904s # /*** END value-header ***/ 904s # 904s # /*** BEGIN value-production ***/ 904s # value-production 904s # VALUENAME: @VALUENAME@ 904s # valuenick: @valuenick@ 904s # valuenum: @valuenum@ 904s # type: @type@ 904s # Type: @Type@ 904s # TYPE: @TYPE@ 904s # /*** END value-production ***/ 904s # 904s # /*** BEGIN value-tail ***/ 904s # value-tail 904s # EnumName: @EnumName@ 904s # enum_name: @enum_name@ 904s # ENUMNAME: @ENUMNAME@ 904s # ENUMSHORT: @ENUMSHORT@ 904s # ENUMPREFIX: @ENUMPREFIX@ 904s # enumsince: @enumsince@ 904s # type: @type@ 904s # Type: @Type@ 904s # TYPE: @TYPE@ 904s # /*** END value-tail ***/ 904s # 904s # /*** BEGIN comment ***/ 904s # comment 904s # comment: @comment@ 904s # /*** END comment ***/ 904s # 904s # /*** BEGIN file-tail ***/ 904s # file-tail 904s # /*** END file-tail ***/ 904s # 904s # Response file contains: --template /tmp/tmpmrpfk3gb/tmpi3oafof4.template /tmp/tmpmrpfk3gb/tmp0d24cai6.h 904s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpmrpfk3gb/tmpwwcbah0y'] 904s # Return code: 0 904s # Output: 904s # comment 904s # 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. 904s # 904s # 904s # file-header 904s # file-production 904s # filename: /tmp/tmpmrpfk3gb/tmp0d24cai6.h 904s # basename: tmp0d24cai6.h 904s # enumeration-production 904s # EnumName: SomeEnumB 904s # enum_name: some_enum_b 904s # ENUMNAME: SOME_ENUM_B 904s # ENUMSHORT: ENUM_B 904s # ENUMPREFIX: SOME 904s # enumsince: 904s # type: enum 904s # Type: Enum 904s # TYPE: ENUM 904s # value-header 904s # EnumName: SomeEnumB 904s # enum_name: some_enum_b 904s # ENUMNAME: SOME_ENUM_B 904s # ENUMSHORT: ENUM_B 904s # ENUMPREFIX: SOME 904s # enumsince: 904s # type: enum 904s # Type: Enum 904s # TYPE: ENUM 904s # value-production 904s # VALUENAME: ENUM_VALUE_PUBLIC2 904s # valuenick: public2 904s # valuenum: 1 904s # type: enum 904s # Type: Enum 904s # TYPE: ENUM 904s # value-tail 904s # EnumName: SomeEnumB 904s # enum_name: some_enum_b 904s # ENUMNAME: SOME_ENUM_B 904s # ENUMSHORT: ENUM_B 904s # ENUMPREFIX: SOME 904s # enumsince: 904s # type: enum 904s # Type: Enum 904s # TYPE: ENUM 904s # file-tail 904s # 904s # comment 904s # comment: Generated data ends here 904s # Error: 904s ok 27 __main__.TestRspMkenums.test_enum_symbolic_expression 904s # glib-mkenums: /usr/bin/glib-mkenums 904s # tmpdir: /tmp/tmpvpbsm1vd 904s # rspfile: True 904s # /tmp/tmpvpbsm1vd/tmpj4byakoz.h: 904s # typedef enum { 904s # /*< private >*/ 904s # ENUM_VALUE_PRIVATE = 5, 904s # /*< public >*/ 904s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 904s # } TestSymbolicEnum; 904s # 904s # /tmp/tmpvpbsm1vd/tmpgrs07n8t.template: 904s # /*** BEGIN file-header ***/ 904s # file-header 904s # /*** END file-header ***/ 904s # 904s # /*** BEGIN file-production ***/ 904s # file-production 904s # filename: @filename@ 904s # basename: @basename@ 904s # /*** END file-production ***/ 904s # 904s # /*** BEGIN enumeration-production ***/ 904s # enumeration-production 904s # EnumName: @EnumName@ 904s # enum_name: @enum_name@ 904s # ENUMNAME: @ENUMNAME@ 904s # ENUMSHORT: @ENUMSHORT@ 904s # ENUMPREFIX: @ENUMPREFIX@ 904s # enumsince: @enumsince@ 904s # type: @type@ 904s # Type: @Type@ 904s # TYPE: @TYPE@ 904s # /*** END enumeration-production ***/ 904s # 904s # /*** BEGIN value-header ***/ 904s # value-header 904s # EnumName: @EnumName@ 904s # enum_name: @enum_name@ 904s # ENUMNAME: @ENUMNAME@ 904s # ENUMSHORT: @ENUMSHORT@ 904s # ENUMPREFIX: @ENUMPREFIX@ 904s # enumsince: @enumsince@ 904s # type: @type@ 904s # Type: @Type@ 904s # TYPE: @TYPE@ 904s # /*** END value-header ***/ 904s # 904s # /*** BEGIN value-production ***/ 904s # value-production 904s # VALUENAME: @VALUENAME@ 904s # valuenick: @valuenick@ 904s # valuenum: @valuenum@ 904s # type: @type@ 904s # Type: @Type@ 904s # TYPE: @TYPE@ 904s # /*** END value-production ***/ 904s # 904s # /*** BEGIN value-tail ***/ 904s # value-tail 904s # EnumName: @EnumName@ 904s # enum_name: @enum_name@ 904s # ENUMNAME: @ENUMNAME@ 904s # ENUMSHORT: @ENUMSHORT@ 904s # ENUMPREFIX: @ENUMPREFIX@ 904s # enumsince: @enumsince@ 904s # type: @type@ 904s # Type: @Type@ 904s # TYPE: @TYPE@ 904s # /*** END value-tail ***/ 904s # 904s # /*** BEGIN comment ***/ 904s # comment 904s # comment: @comment@ 904s # /*** END comment ***/ 904s # 904s # /*** BEGIN file-tail ***/ 904s # file-tail 904s # /*** END file-tail ***/ 904s # 904s # Response file contains: --template /tmp/tmpvpbsm1vd/tmpgrs07n8t.template /tmp/tmpvpbsm1vd/tmpj4byakoz.h 904s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpvpbsm1vd/tmp7nu6_iok'] 904s # Return code: 0 904s # Output: 904s # comment 904s # 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. 904s # 904s # 904s # file-header 904s # file-production 904s # filename: /tmp/tmpvpbsm1vd/tmpj4byakoz.h 904s # basename: tmpj4byakoz.h 904s # enumeration-production 904s # EnumName: TestSymbolicEnum 904s # enum_name: test_symbolic_enum 904s # ENUMNAME: TEST_SYMBOLIC_ENUM 904s # ENUMSHORT: SYMBOLIC_ENUM 904s # ENUMPREFIX: TEST 904s # enumsince: 904s # type: enum 904s # Type: Enum 904s # TYPE: ENUM 904s # value-header 904s # EnumName: TestSymbolicEnum 904s # enum_name: test_symbolic_enum 904s # ENUMNAME: TEST_SYMBOLIC_ENUM 904s # ENUMSHORT: SYMBOLIC_ENUM 904s # ENUMPREFIX: TEST 904s # enumsince: 904s # type: enum 904s # Type: Enum 904s # TYPE: ENUM 904s # value-production 904s # VALUENAME: ENUM_VALUE_PUBLIC 904s # valuenick: public 904s # valuenum: 7 904s # type: enum 904s # Type: Enum 904s # TYPE: ENUM 904s # value-tail 904s # EnumName: TestSymbolicEnum 904s # enum_name: test_symbolic_enum 904s # ENUMNAME: TEST_SYMBOLIC_ENUM 904s # ENUMSHORT: SYMBOLIC_ENUM 904s # ENUMPREFIX: TEST 904s # enumsince: 904s # type: enum 904s # Type: Enum 904s # TYPE: ENUM 904s # file-tail 904s # 904s # comment 904s # comment: Generated data ends here 904s # Error: 904s ok 28 __main__.TestRspMkenums.test_filename_basename_in_fhead_ftail 904s # glib-mkenums: /usr/bin/glib-mkenums 904s # tmpdir: /tmp/tmpxdidesru 904s # rspfile: True 904s # /tmp/tmpxdidesru/tmp7w7b1b2j.template: 904s # /*** BEGIN file-header ***/ 904s # file-header 904s # filename: @filename@ 904s # basename: @basename@ 904s # /*** END file-header ***/ 904s # 904s # /*** BEGIN comment ***/ 904s # comment 904s # comment: @comment@ 904s # /*** END comment ***/ 904s # 904s # /*** BEGIN file-tail ***/ 904s # file-tail 904s # filename: @filename@ 904s # basename: @basename@ 904s # /*** END file-tail ***/ 904s # Response file contains: --template /tmp/tmpxdidesru/tmp7w7b1b2j.template 904s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpxdidesru/tmpm2yzhhj3'] 904s # Return code: 0 904s # Output: 904s # comment 904s # 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. 904s # 904s # 904s # file-header 904s # filename: @filename@ 904s # basename: @basename@ 904s # file-tail 904s # filename: @filename@ 904s # basename: @basename@ 904s # 904s # comment 904s # comment: Generated data ends here 904s # Error: 904s # WARNING: @filename@ used in file-header section. 904s # WARNING: @basename@ used in file-header section. 904s # WARNING: @filename@ used in file-tail section. 904s # WARNING: @basename@ used in file-tail section. 904s ok 29 __main__.TestRspMkenums.test_help 904s # glib-mkenums: /usr/bin/glib-mkenums 904s # tmpdir: /tmp/tmpxhbmvtk8 904s # rspfile: True 904s # Response file contains: --help 904s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpxhbmvtk8/tmptyd8wr83'] 904s # Return code: 0 904s # Output: 904s # usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 904s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 904s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 904s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 904s # [--comments COMMENT_TMPL] [--template TEMPLATE] 904s # [--output OUTPUT] [--version] 904s # [args ...] 904s # 904s # positional arguments: 904s # args One or more input files, or a single argument 904s # @rspfile_path pointing to a file that contains the 904s # actual arguments 904s # 904s # options: 904s # -h, --help show this help message and exit 904s # --identifier-prefix IDPREFIX 904s # Identifier prefix 904s # --symbol-prefix SYMPREFIX 904s # Symbol prefix 904s # --fhead FHEAD Output file header 904s # --ftail FTAIL Output file footer 904s # --fprod FPROD Put out TEXT every time a new input file is being 904s # processed. 904s # --eprod EPROD Per enum text, produced prior to value iterations 904s # --vhead VHEAD Value header, produced before iterating over enum 904s # values 904s # --vprod VPROD Value text, produced for each enum value. 904s # --vtail VTAIL Value tail, produced after iterating over enum values 904s # --comments COMMENT_TMPL 904s # Comment structure 904s # --template TEMPLATE Template file 904s # --output OUTPUT 904s # --version, -v Print version information 904s # 904s # Production text substitutions: 904s # @EnumName@ PrefixTheXEnum 904s # @enum_name@ prefix_the_xenum 904s # @ENUMNAME@ PREFIX_THE_XENUM 904s # @ENUMSHORT@ THE_XENUM 904s # @ENUMPREFIX@ PREFIX 904s # @enumsince@ the user-provided since value given 904s # @VALUENAME@ PREFIX_THE_XVALUE 904s # @valuenick@ the-xvalue 904s # @valuenum@ the integer value (limited support, Since: 2.26) 904s # @type@ either enum or flags 904s # @Type@ either Enum or Flags 904s # @TYPE@ either ENUM or FLAGS 904s # @filename@ name of current input file 904s # @basename@ base name of the current input file (Since: 2.22) 904s # Error: 904s ok 30 __main__.TestRspMkenums.test_no_args 904s # glib-mkenums: /usr/bin/glib-mkenums 904s # tmpdir: /tmp/tmp9_jwj78g 904s # rspfile: True 904s # Response file contains: 904s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp9_jwj78g/tmp5opekh_5'] 904s # Return code: 0 904s # Output: 904s # /* 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. */ 904s # 904s # 904s # /* Generated data ends here */ 904s # Error: 904s ok 31 __main__.TestRspMkenums.test_no_headers 904s # glib-mkenums: /usr/bin/glib-mkenums 904s # tmpdir: /tmp/tmppap1kcp5 904s # rspfile: True 904s # /tmp/tmppap1kcp5/tmphlo2aly2.template: 904s # /*** BEGIN file-header ***/ 904s # file-header 904s # /*** END file-header ***/ 904s # 904s # /*** BEGIN file-production ***/ 904s # file-production 904s # filename: @filename@ 904s # basename: @basename@ 904s # /*** END file-production ***/ 904s # 904s # /*** BEGIN enumeration-production ***/ 904s # enumeration-production 904s # EnumName: @EnumName@ 904s # enum_name: @enum_name@ 904s # ENUMNAME: @ENUMNAME@ 904s # ENUMSHORT: @ENUMSHORT@ 904s # ENUMPREFIX: @ENUMPREFIX@ 904s # enumsince: @enumsince@ 904s # type: @type@ 904s # Type: @Type@ 904s # TYPE: @TYPE@ 904s # /*** END enumeration-production ***/ 904s # 904s # /*** BEGIN value-header ***/ 904s # value-header 904s # EnumName: @EnumName@ 904s # enum_name: @enum_name@ 904s # ENUMNAME: @ENUMNAME@ 904s # ENUMSHORT: @ENUMSHORT@ 904s # ENUMPREFIX: @ENUMPREFIX@ 904s # enumsince: @enumsince@ 904s # type: @type@ 904s # Type: @Type@ 904s # TYPE: @TYPE@ 904s # /*** END value-header ***/ 904s # 904s # /*** BEGIN value-production ***/ 904s # value-production 904s # VALUENAME: @VALUENAME@ 904s # valuenick: @valuenick@ 904s # valuenum: @valuenum@ 904s # type: @type@ 904s # Type: @Type@ 904s # TYPE: @TYPE@ 904s # /*** END value-production ***/ 904s # 904s # /*** BEGIN value-tail ***/ 904s # value-tail 904s # EnumName: @EnumName@ 904s # enum_name: @enum_name@ 904s # ENUMNAME: @ENUMNAME@ 904s # ENUMSHORT: @ENUMSHORT@ 904s # ENUMPREFIX: @ENUMPREFIX@ 904s # enumsince: @enumsince@ 904s # type: @type@ 904s # Type: @Type@ 904s # TYPE: @TYPE@ 904s # /*** END value-tail ***/ 904s # 904s # /*** BEGIN comment ***/ 904s # comment 904s # comment: @comment@ 904s # /*** END comment ***/ 904s # 904s # /*** BEGIN file-tail ***/ 904s # file-tail 904s # /*** END file-tail ***/ 904s # 904s # Response file contains: --template /tmp/tmppap1kcp5/tmphlo2aly2.template 904s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmppap1kcp5/tmpfzrhc55o'] 904s # Return code: 0 904s # Output: 904s # comment 904s # 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. 904s # 904s # 904s # file-header 904s # file-tail 904s # 904s # comment 904s # comment: Generated data ends here 904s # Error: 905s ok 32 __main__.TestRspMkenums.test_no_nick 905s # glib-mkenums: /usr/bin/glib-mkenums 905s # tmpdir: /tmp/tmp9gc7nyq5 905s # rspfile: True 905s # /tmp/tmp9gc7nyq5/tmp70tsh0b2.h: 905s # typedef enum { 905s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 905s # } GeglSamplerType; 905s # 905s # /tmp/tmp9gc7nyq5/tmp22lxcv3q.template: 905s # /*** BEGIN file-header ***/ 905s # file-header 905s # /*** END file-header ***/ 905s # 905s # /*** BEGIN file-production ***/ 905s # file-production 905s # filename: @filename@ 905s # basename: @basename@ 905s # /*** END file-production ***/ 905s # 905s # /*** BEGIN enumeration-production ***/ 905s # enumeration-production 905s # EnumName: @EnumName@ 905s # enum_name: @enum_name@ 905s # ENUMNAME: @ENUMNAME@ 905s # ENUMSHORT: @ENUMSHORT@ 905s # ENUMPREFIX: @ENUMPREFIX@ 905s # enumsince: @enumsince@ 905s # type: @type@ 905s # Type: @Type@ 905s # TYPE: @TYPE@ 905s # /*** END enumeration-production ***/ 905s # 905s # /*** BEGIN value-header ***/ 905s # value-header 905s # EnumName: @EnumName@ 905s # enum_name: @enum_name@ 905s # ENUMNAME: @ENUMNAME@ 905s # ENUMSHORT: @ENUMSHORT@ 905s # ENUMPREFIX: @ENUMPREFIX@ 905s # enumsince: @enumsince@ 905s # type: @type@ 905s # Type: @Type@ 905s # TYPE: @TYPE@ 905s # /*** END value-header ***/ 905s # 905s # /*** BEGIN value-production ***/ 905s # value-production 905s # VALUENAME: @VALUENAME@ 905s # valuenick: @valuenick@ 905s # valuenum: @valuenum@ 905s # type: @type@ 905s # Type: @Type@ 905s # TYPE: @TYPE@ 905s # /*** END value-production ***/ 905s # 905s # /*** BEGIN value-tail ***/ 905s # value-tail 905s # EnumName: @EnumName@ 905s # enum_name: @enum_name@ 905s # ENUMNAME: @ENUMNAME@ 905s # ENUMSHORT: @ENUMSHORT@ 905s # ENUMPREFIX: @ENUMPREFIX@ 905s # enumsince: @enumsince@ 905s # type: @type@ 905s # Type: @Type@ 905s # TYPE: @TYPE@ 905s # /*** END value-tail ***/ 905s # 905s # /*** BEGIN comment ***/ 905s # comment 905s # comment: @comment@ 905s # /*** END comment ***/ 905s # 905s # /*** BEGIN file-tail ***/ 905s # file-tail 905s # /*** END file-tail ***/ 905s # 905s # Response file contains: --template /tmp/tmp9gc7nyq5/tmp22lxcv3q.template /tmp/tmp9gc7nyq5/tmp70tsh0b2.h 905s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp9gc7nyq5/tmpt3togrwy'] 905s # Return code: 0 905s # Output: 905s # comment 905s # 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. 905s # 905s # 905s # file-header 905s # file-production 905s # filename: /tmp/tmp9gc7nyq5/tmp70tsh0b2.h 905s # basename: tmp70tsh0b2.h 905s # enumeration-production 905s # EnumName: GeglSamplerType 905s # enum_name: gegl_sampler_type 905s # ENUMNAME: GEGL_SAMPLER_TYPE 905s # ENUMSHORT: SAMPLER_TYPE 905s # ENUMPREFIX: GEGL 905s # enumsince: 905s # type: enum 905s # Type: Enum 905s # TYPE: ENUM 905s # value-header 905s # EnumName: GeglSamplerType 905s # enum_name: gegl_sampler_type 905s # ENUMNAME: GEGL_SAMPLER_TYPE 905s # ENUMSHORT: SAMPLER_TYPE 905s # ENUMPREFIX: GEGL 905s # enumsince: 905s # type: enum 905s # Type: Enum 905s # TYPE: ENUM 905s # value-production 905s # VALUENAME: GEGL_SAMPLER_NEAREST 905s # valuenick: nearest 905s # valuenum: 0 905s # type: enum 905s # Type: Enum 905s # TYPE: ENUM 905s # value-tail 905s # EnumName: GeglSamplerType 905s # enum_name: gegl_sampler_type 905s # ENUMNAME: GEGL_SAMPLER_TYPE 905s # ENUMSHORT: SAMPLER_TYPE 905s # ENUMPREFIX: GEGL 905s # enumsince: 905s # type: enum 905s # Type: Enum 905s # TYPE: ENUM 905s # file-tail 905s # 905s # comment 905s # comment: Generated data ends here 905s # Error: 905s ok 33 __main__.TestRspMkenums.test_non_utf8_encoding 905s # glib-mkenums: /usr/bin/glib-mkenums 905s # tmpdir: /tmp/tmp4kwh1r4m 905s # rspfile: True 905s # /tmp/tmp4kwh1r4m/tmpmkqvj3h5.h: 905s # /* Copyright © La Peña */ 905s # typedef enum { 905s # ENUM_VALUE 905s # } SomeEnumIdentifier; 905s # 905s # /tmp/tmp4kwh1r4m/tmpbt19ziay.template: 905s # /*** BEGIN file-header ***/ 905s # file-header 905s # /*** END file-header ***/ 905s # 905s # /*** BEGIN file-production ***/ 905s # file-production 905s # filename: @filename@ 905s # basename: @basename@ 905s # /*** END file-production ***/ 905s # 905s # /*** BEGIN enumeration-production ***/ 905s # enumeration-production 905s # EnumName: @EnumName@ 905s # enum_name: @enum_name@ 905s # ENUMNAME: @ENUMNAME@ 905s # ENUMSHORT: @ENUMSHORT@ 905s # ENUMPREFIX: @ENUMPREFIX@ 905s # enumsince: @enumsince@ 905s # type: @type@ 905s # Type: @Type@ 905s # TYPE: @TYPE@ 905s # /*** END enumeration-production ***/ 905s # 905s # /*** BEGIN value-header ***/ 905s # value-header 905s # EnumName: @EnumName@ 905s # enum_name: @enum_name@ 905s # ENUMNAME: @ENUMNAME@ 905s # ENUMSHORT: @ENUMSHORT@ 905s # ENUMPREFIX: @ENUMPREFIX@ 905s # enumsince: @enumsince@ 905s # type: @type@ 905s # Type: @Type@ 905s # TYPE: @TYPE@ 905s # /*** END value-header ***/ 905s # 905s # /*** BEGIN value-production ***/ 905s # value-production 905s # VALUENAME: @VALUENAME@ 905s # valuenick: @valuenick@ 905s # valuenum: @valuenum@ 905s # type: @type@ 905s # Type: @Type@ 905s # TYPE: @TYPE@ 905s # /*** END value-production ***/ 905s # 905s # /*** BEGIN value-tail ***/ 905s # value-tail 905s # EnumName: @EnumName@ 905s # enum_name: @enum_name@ 905s # ENUMNAME: @ENUMNAME@ 905s # ENUMSHORT: @ENUMSHORT@ 905s # ENUMPREFIX: @ENUMPREFIX@ 905s # enumsince: @enumsince@ 905s # type: @type@ 905s # Type: @Type@ 905s # TYPE: @TYPE@ 905s # /*** END value-tail ***/ 905s # 905s # /*** BEGIN comment ***/ 905s # comment 905s # comment: @comment@ 905s # /*** END comment ***/ 905s # 905s # /*** BEGIN file-tail ***/ 905s # file-tail 905s # /*** END file-tail ***/ 905s # 905s # Response file contains: --template /tmp/tmp4kwh1r4m/tmpbt19ziay.template /tmp/tmp4kwh1r4m/tmpmkqvj3h5.h 905s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp4kwh1r4m/tmp2x4jkc5d'] 905s # Return code: 0 905s # Output: 905s # comment 905s # 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. 905s # 905s # 905s # file-header 905s # file-production 905s # filename: /tmp/tmp4kwh1r4m/tmpmkqvj3h5.h 905s # basename: tmpmkqvj3h5.h 905s # enumeration-production 905s # EnumName: SomeEnumIdentifier 905s # enum_name: some_enum_identifier 905s # ENUMNAME: SOME_ENUM_IDENTIFIER 905s # ENUMSHORT: ENUM_IDENTIFIER 905s # ENUMPREFIX: SOME 905s # enumsince: 905s # type: enum 905s # Type: Enum 905s # TYPE: ENUM 905s # value-header 905s # EnumName: SomeEnumIdentifier 905s # enum_name: some_enum_identifier 905s # ENUMNAME: SOME_ENUM_IDENTIFIER 905s # ENUMSHORT: ENUM_IDENTIFIER 905s # ENUMPREFIX: SOME 905s # enumsince: 905s # type: enum 905s # Type: Enum 905s # TYPE: ENUM 905s # value-production 905s # VALUENAME: ENUM_VALUE 905s # valuenick: value 905s # valuenum: 0 905s # type: enum 905s # Type: Enum 905s # TYPE: ENUM 905s # value-tail 905s # EnumName: SomeEnumIdentifier 905s # enum_name: some_enum_identifier 905s # ENUMNAME: SOME_ENUM_IDENTIFIER 905s # ENUMSHORT: ENUM_IDENTIFIER 905s # ENUMPREFIX: SOME 905s # enumsince: 905s # type: enum 905s # Type: Enum 905s # TYPE: ENUM 905s # file-tail 905s # 905s # comment 905s # comment: Generated data ends here 905s # Error: 905s # WARNING: UnicodeWarning: invalid start byte at 22 (b'yright \xa9 La Pe\xf1') 905s # WARNING: UnicodeWarning: invalid continuation byte at 29 (b'\xa9 La Pe\xf1a */\n ') 905s ok 34 __main__.TestRspMkenums.test_reproducible 905s # glib-mkenums: /usr/bin/glib-mkenums 905s # tmpdir: /tmp/tmp8yrcqgjd 905s # rspfile: True 905s # /tmp/tmp8yrcqgjd/tmp_5vwu9c7.template: template 905s # Response file contains: --template /tmp/tmp8yrcqgjd/tmp_5vwu9c7.template /tmp/tmp8yrcqgjd/tmpv20ynkry1.h /tmp/tmp8yrcqgjd/tmpchvwfq4j2.h 905s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp8yrcqgjd/tmpk7yqtn1g'] 905s # Return code: 0 905s # Output: 905s # /* 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. */ 905s # 905s # 905s # /* Generated data ends here */ 905s # Error: 905s # 905s # /tmp/tmp8yrcqgjd/tmp1hxzw5gb.template: template 905s # Response file contains: --template /tmp/tmp8yrcqgjd/tmp1hxzw5gb.template /tmp/tmp8yrcqgjd/tmpchvwfq4j2.h /tmp/tmp8yrcqgjd/tmpv20ynkry1.h 905s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp8yrcqgjd/tmp3t3pvsmw'] 905s # Return code: 0 905s # Output: 905s # /* 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. */ 905s # 905s # 905s # /* Generated data ends here */ 905s # Error: 905s ok 35 __main__.TestRspMkenums.test_since 905s # glib-mkenums: /usr/bin/glib-mkenums 905s # tmpdir: /tmp/tmp1luca00m 905s # rspfile: True 905s # /tmp/tmp1luca00m/tmpwjgvo5wm.h: 905s # typedef enum { /*< since=1.0 >*/ 905s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 905s # } QmiWmsMessageProtocol; 905s # 905s # /tmp/tmp1luca00m/tmp_wt2cmd3.template: 905s # /*** BEGIN file-header ***/ 905s # file-header 905s # /*** END file-header ***/ 905s # 905s # /*** BEGIN file-production ***/ 905s # file-production 905s # filename: @filename@ 905s # basename: @basename@ 905s # /*** END file-production ***/ 905s # 905s # /*** BEGIN enumeration-production ***/ 905s # enumeration-production 905s # EnumName: @EnumName@ 905s # enum_name: @enum_name@ 905s # ENUMNAME: @ENUMNAME@ 905s # ENUMSHORT: @ENUMSHORT@ 905s # ENUMPREFIX: @ENUMPREFIX@ 905s # enumsince: @enumsince@ 905s # type: @type@ 905s # Type: @Type@ 905s # TYPE: @TYPE@ 905s # /*** END enumeration-production ***/ 905s # 905s # /*** BEGIN value-header ***/ 905s # value-header 905s # EnumName: @EnumName@ 905s # enum_name: @enum_name@ 905s # ENUMNAME: @ENUMNAME@ 905s # ENUMSHORT: @ENUMSHORT@ 905s # ENUMPREFIX: @ENUMPREFIX@ 905s # enumsince: @enumsince@ 905s # type: @type@ 905s # Type: @Type@ 905s # TYPE: @TYPE@ 905s # /*** END value-header ***/ 905s # 905s # /*** BEGIN value-production ***/ 905s # value-production 905s # VALUENAME: @VALUENAME@ 905s # valuenick: @valuenick@ 905s # valuenum: @valuenum@ 905s # type: @type@ 905s # Type: @Type@ 905s # TYPE: @TYPE@ 905s # /*** END value-production ***/ 905s # 905s # /*** BEGIN value-tail ***/ 905s # value-tail 905s # EnumName: @EnumName@ 905s # enum_name: @enum_name@ 905s # ENUMNAME: @ENUMNAME@ 905s # ENUMSHORT: @ENUMSHORT@ 905s # ENUMPREFIX: @ENUMPREFIX@ 905s # enumsince: @enumsince@ 905s # type: @type@ 905s # Type: @Type@ 905s # TYPE: @TYPE@ 905s # /*** END value-tail ***/ 905s # 905s # /*** BEGIN comment ***/ 905s # comment 905s # comment: @comment@ 905s # /*** END comment ***/ 905s # 905s # /*** BEGIN file-tail ***/ 905s # file-tail 905s # /*** END file-tail ***/ 905s # 905s # Response file contains: --template /tmp/tmp1luca00m/tmp_wt2cmd3.template /tmp/tmp1luca00m/tmpwjgvo5wm.h 905s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp1luca00m/tmp7ipoz9_c'] 905s # Return code: 0 905s # Output: 905s # comment 905s # 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. 905s # 905s # 905s # file-header 905s # file-production 905s # filename: /tmp/tmp1luca00m/tmpwjgvo5wm.h 905s # basename: tmpwjgvo5wm.h 905s # enumeration-production 905s # EnumName: QmiWmsMessageProtocol 905s # enum_name: qmi_wms_message_protocol 905s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 905s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 905s # ENUMPREFIX: QMI 905s # enumsince: 1.0 905s # type: enum 905s # Type: Enum 905s # TYPE: ENUM 905s # value-header 905s # EnumName: QmiWmsMessageProtocol 905s # enum_name: qmi_wms_message_protocol 905s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 905s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 905s # ENUMPREFIX: QMI 905s # enumsince: 1.0 905s # type: enum 905s # Type: Enum 905s # TYPE: ENUM 905s # value-production 905s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 905s # valuenick: cdma 905s # valuenum: 0 905s # type: enum 905s # Type: Enum 905s # TYPE: ENUM 905s # value-tail 905s # EnumName: QmiWmsMessageProtocol 905s # enum_name: qmi_wms_message_protocol 905s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 905s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 905s # ENUMPREFIX: QMI 905s # enumsince: 1.0 905s # type: enum 905s # Type: Enum 905s # TYPE: ENUM 905s # file-tail 905s # 905s # comment 905s # comment: Generated data ends here 905s # Error: 905s ok - glib/mkenums.py.test 905s # Running test: glib/unix.test 905s ok 36 __main__.TestRspMkenums.test_with_double_quotes 905s # glib-mkenums: /usr/bin/glib-mkenums 905s # tmpdir: /tmp/tmpio36wh_n 905s # rspfile: True 905s # /tmp/tmpio36wh_n/tmpt9q0fiiw.h: 905s # typedef enum { 905s # FOO_VALUE /*< nick="eek, a comma" >*/ 905s # } Foo; 905s # 905s # /tmp/tmpio36wh_n/tmpb007_231.template: 905s # /*** BEGIN file-header ***/ 905s # file-header 905s # /*** END file-header ***/ 905s # 905s # /*** BEGIN file-production ***/ 905s # file-production 905s # filename: @filename@ 905s # basename: @basename@ 905s # /*** END file-production ***/ 905s # 905s # /*** BEGIN enumeration-production ***/ 905s # enumeration-production 905s # EnumName: @EnumName@ 905s # enum_name: @enum_name@ 905s # ENUMNAME: @ENUMNAME@ 905s # ENUMSHORT: @ENUMSHORT@ 905s # ENUMPREFIX: @ENUMPREFIX@ 905s # enumsince: @enumsince@ 905s # type: @type@ 905s # Type: @Type@ 905s # TYPE: @TYPE@ 905s # /*** END enumeration-production ***/ 905s # 905s # /*** BEGIN value-header ***/ 905s # value-header 905s # EnumName: @EnumName@ 905s # enum_name: @enum_name@ 905s # ENUMNAME: @ENUMNAME@ 905s # ENUMSHORT: @ENUMSHORT@ 905s # ENUMPREFIX: @ENUMPREFIX@ 905s # enumsince: @enumsince@ 905s # type: @type@ 905s # Type: @Type@ 905s # TYPE: @TYPE@ 905s # /*** END value-header ***/ 905s # 905s # /*** BEGIN value-production ***/ 905s # value-production 905s # VALUENAME: @VALUENAME@ 905s # valuenick: @valuenick@ 905s # valuenum: @valuenum@ 905s # type: @type@ 905s # Type: @Type@ 905s # TYPE: @TYPE@ 905s # /*** END value-production ***/ 905s # 905s # /*** BEGIN value-tail ***/ 905s # value-tail 905s # EnumName: @EnumName@ 905s # enum_name: @enum_name@ 905s # ENUMNAME: @ENUMNAME@ 905s # ENUMSHORT: @ENUMSHORT@ 905s # ENUMPREFIX: @ENUMPREFIX@ 905s # enumsince: @enumsince@ 905s # type: @type@ 905s # Type: @Type@ 905s # TYPE: @TYPE@ 905s # /*** END value-tail ***/ 905s # 905s # /*** BEGIN comment ***/ 905s # comment 905s # comment: @comment@ 905s # /*** END comment ***/ 905s # 905s # /*** BEGIN file-tail ***/ 905s # file-tail 905s # /*** END file-tail ***/ 905s # 905s # Response file contains: --template /tmp/tmpio36wh_n/tmpb007_231.template /tmp/tmpio36wh_n/tmpt9q0fiiw.h 905s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpio36wh_n/tmp_mjdctk6'] 905s # Return code: 0 905s # Output: 905s # comment 905s # 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. 905s # 905s # 905s # file-header 905s # file-production 905s # filename: /tmp/tmpio36wh_n/tmpt9q0fiiw.h 905s # basename: tmpt9q0fiiw.h 905s # enumeration-production 905s # EnumName: Foo 905s # enum_name: foo_ 905s # ENUMNAME: FOO_ 905s # ENUMSHORT: 905s # ENUMPREFIX: FOO 905s # enumsince: 905s # type: enum 905s # Type: Enum 905s # TYPE: ENUM 905s # value-header 905s # EnumName: Foo 905s # enum_name: foo_ 905s # ENUMNAME: FOO_ 905s # ENUMSHORT: 905s # ENUMPREFIX: FOO 905s # enumsince: 905s # type: enum 905s # Type: Enum 905s # TYPE: ENUM 905s # value-production 905s # VALUENAME: FOO_VALUE 905s # valuenick: eek, a comma 905s # valuenum: 0 905s # type: enum 905s # Type: Enum 905s # TYPE: ENUM 905s # value-tail 905s # EnumName: Foo 905s # enum_name: foo_ 905s # ENUMNAME: FOO_ 905s # ENUMSHORT: 905s # ENUMPREFIX: FOO 905s # enumsince: 905s # type: enum 905s # Type: Enum 905s # TYPE: ENUM 905s # file-tail 905s # 905s # comment 905s # comment: Generated data ends here 905s # Error: 905s 1..36 905s TAP version 14 905s # random seed: R02Sa87b3a64f7bd900e51a97bcf3b60ce54 905s 1..20 905s # Start of glib-unix tests 905s # /glib-unix/closefrom summary: Test g_closefrom(), g_fdwalk_set_cloexec() 905s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3247 905s ok 1 /glib-unix/closefrom 905s ok 2 /glib-unix/pipe 905s # /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 905s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2795 905s ok 3 /glib-unix/pipe-stdio-overwrite 905s # /glib-unix/pipe-struct summary: Test GUnixPipe structure 905s ok 4 /glib-unix/pipe-struct 905s # /glib-unix/pipe-struct-auto summary: Test g_auto(GUnixPipe) 905s ok 5 /glib-unix/pipe-struct-auto 905s ok 6 /glib-unix/error 905s ok 7 /glib-unix/nonblocking 905s ok 8 /glib-unix/sighup 905s # slow test /glib-unix/sighup executed in 0.50 secs 906s ok 9 /glib-unix/sigterm 906s # slow test /glib-unix/sigterm executed in 0.50 secs 906s ok 10 /glib-unix/sighup_again 906s # slow test /glib-unix/sighup_again executed in 0.50 secs 906s ok 11 /glib-unix/sighup_add_remove 906s ok 12 /glib-unix/sighup_nested 908s # Executing: glib/unix.test 908s ok 13 /glib-unix/callback_after_signal 908s # slow test /glib-unix/callback_after_signal executed in 2.00 secs 908s ok 14 /glib-unix/child-wait 908s # Start of closefrom tests 908s # Start of subprocess tests 908s # End of subprocess tests 908s # End of closefrom tests 908s # Start of pipe tests 908s # /glib-unix/pipe/fd-cloexec summary: Test that FD_CLOEXEC is still accepted as an argument to g_unix_open_pipe() 908s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3459 908s # GLib-DEBUG: g_unix_open_pipe() called with FD_CLOEXEC; please migrate to using O_CLOEXEC instead 908s ok 15 /glib-unix/pipe/fd-cloexec 908s # End of pipe tests 908s # Start of sighup tests 909s ok 16 /glib-unix/sighup/alternate-stack 909s # slow test /glib-unix/sighup/alternate-stack executed in 1.00 secs 909s # End of sighup tests 909s # Start of sigterm tests 910s ok 17 /glib-unix/sigterm/alternate-stack 910s # slow test /glib-unix/sigterm/alternate-stack executed in 1.00 secs 910s # End of sigterm tests 910s # Start of sighup_again tests 911s ok - glib/unix.test 911s # Running test: glib/contenttype.test 911s ok 18 /glib-unix/sighup_again/alternate-stack 911s # slow test /glib-unix/sighup_again/alternate-stack executed in 1.00 secs 911s # End of sighup_again tests 911s # Start of get-passwd-entry tests 911s # /glib-unix/get-passwd-entry/root summary: Tests that g_unix_get_passwd_entry() works for a known-existing username. 911s ok 19 /glib-unix/get-passwd-entry/root 911s # /glib-unix/get-passwd-entry/nonexistent summary: Tests that g_unix_get_passwd_entry() returns an error for a nonexistent username. 911s ok 20 /glib-unix/get-passwd-entry/nonexistent 911s # End of get-passwd-entry tests 911s # End of glib-unix tests 911s TAP version 14 911s # random seed: R02Sab1462a98cf46dd555cd0e08b8049da8 911s 1..14 911s # Start of contenttype tests 911s ok 1 /contenttype/guess 911s ok 2 /contenttype/guess_svg_from_data 911s ok 3 /contenttype/mime_to_content # SKIP mime from content type test not implemented on UNIX 911s ok 4 /contenttype/mime_from_content # SKIP mime from content type test not implemented on UNIX 911s ok 5 /contenttype/unknown 911s ok 6 /contenttype/subtype 911s ok 7 /contenttype/list 911s ok 8 /contenttype/executable 911s ok 9 /contenttype/description 911s ok 10 /contenttype/icon 911s ok 11 /contenttype/symbolic-icon 911s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 911s ok - glib/contenttype.test 911s # Running test: glib/cancellable.test 911s ok 12 /contenttype/tree 911s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3168 911s ok 13 /contenttype/tree_invalid_encoding 911s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=782311 911s ok 14 /contenttype/test_type_is_a_special_case 911s # End of contenttype tests 911s TAP version 14 911s # random seed: R02S47c8e4f43042d4275fa26d6f159fcb47 911s 1..18 911s # Start of cancellable tests 911s ok 1 /cancellable/multiple-concurrent # SKIP Not running timing heavy test 911s ok 2 /cancellable/null 911s ok 3 /cancellable/connect-data-is-destroyed-on-disconnect-and-dispose 911s # /cancellable/connect-to-disposing-callback summary: A cancellable signal callback can unref the cancellable 911s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3643 911s ok 4 /cancellable/connect-to-disposing-callback 911s ok 5 /cancellable/connect-cancelled-data-is-destroyed 911s # Toggle reference callback for GCancellable (0x1a98a30bebf0), last: 1 911s # Toggle reference callback for GCancellable (0x1a98a30bebf0), last: 0 911s # Toggle reference callback for GCancellable (0x1a98a30bebf0), last: 1 911s ok 6 /cancellable/connect-to-disposing-callback-with-toggle-reference 911s # /cancellable/connect-cancelled-to-disposing-callback summary: A cancellable signal callback can unref the cancellable 911s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3643 911s ok 7 /cancellable/connect-cancelled-to-disposing-callback 911s ok 8 /cancellable/connect-cancelled-with-destroy-func-disposing-cancellable 911s # Toggle reference callback for GCancellable (0x1a98a30bebf0), last: 1 911s # Toggle reference callback for GCancellable (0x1a98a30bebf0), last: 0 911s # Toggle reference callback for GCancellable (0x1a98a30bebf0), last: 1 911s # Toggle reference callback for GCancellable (0x1a98a30bebf0), last: 0 911s # Toggle reference callback for GCancellable (0x1a98a30bebf0), last: 1 911s ok 9 /cancellable/connect-cancelled-to-disposing-callback-with-toggle-reference 911s # /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 911s ok 10 /cancellable/disconnect-on-cancelled-callback-hangs 911s # /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 912s ok 11 /cancellable/resets-on-cancel-callback-hangs 912s ok 12 /cancellable/poll-fd 912s # /cancellable/poll-fd-cancelled summary: Tests that cancellation wakes up a pollable FD on creation 912s ok 13 /cancellable/poll-fd-cancelled 912s # /cancellable/poll-fd-cancelled-threaded summary: Tests that a cancellation wakes up a pollable FD 912s ok 14 /cancellable/poll-fd-cancelled-threaded 912s # /cancellable/cancel-reset-races summary: Tests threads racing for cancelling and resetting a GCancellable 912s ok 15 /cancellable/cancel-reset-races 912s # /cancellable/cancel-reset-connect-races summary: Tests threads racing for cancelling, connecting and disconnecting and resetting a GCancellable 912s ok 16 /cancellable/cancel-reset-connect-races 912s # End of cancellable tests 912s # Start of cancellable-source tests 912s # /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) 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1841 912s ok - glib/cancellable.test 912s # Running test: glib/scannerapi.test 912s ok 17 /cancellable-source/threaded-dispose 912s # slow test /cancellable-source/threaded-dispose executed in 0.80 secs 912s # /cancellable-source/can-be-fired-multiple-times summary: Test a cancellable source callback can be called multiple times 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/774 912s ok 18 /cancellable-source/can-be-fired-multiple-times 912s # End of cancellable-source tests 912s TAP version 14 912s # random seed: R02Sad18f54cf0d6027e63fa8defaf6b7dc7 912s 1..8 912s # Start of scanner tests 912s ok 1 /scanner/warn 912s ok 2 /scanner/error 912s ok 3 /scanner/symbols 912s ok 4 /scanner/tokens 912s ok 5 /scanner/multiline-comment 912s ok 6 /scanner/int-to-float 912s ok 7 /scanner/fd-input 912s # Start of fd-input tests 912s ok 8 /scanner/fd-input/rewind 912s # End of fd-input tests 912s # End of scanner tests 912s ok - glib/scannerapi.test 912s # Running test: glib/notify-init.test 912s TAP version 14 912s # random seed: R02Sb6c4fbe2f749e15078b37548a6c116c1 912s 1..1 912s # Start of properties tests 913s # /properties/notify-in-init summary: Test that emitting notify with a handler already connected in test_object_init() works 913s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 913s ok 1 /properties/notify-in-init 913s # End of properties tests 913s TAP version 14 913s # random seed: R02Se0cd55241d2d00fa5e71cd5c786866fe 913s 1..5 913s # Start of async-splice tests 913s ok 1 /async-splice/copy-chunks 913s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 913s ok 2 /async-splice/copy-chunks-threaded-input 913s ok 3 /async-splice/copy-chunks-threaded-output 913s ok 4 /async-splice/copy-chunks-threaded 913s ok 5 /async-splice/cancelled 913s # End of async-splice tests 913s TAP version 14 913s # random seed: R02S289267bab71a20d1f8f31e13d8e24e3b 913s 1..1 913s # Start of gthash tests 913s ok 1 /gthash/build-retrieve 913s # End of gthash tests 913s TAP version 14 913s # random seed: R02S3ede17cd69aab452c7734d7b500ee40d 913s 1..2 913s # Start of properties tests 913s # Start of custom-dispatch tests 913s # /properties/custom-dispatch/init summary: Test that custom dispatch_properties_changed is called on initialization 913s ok 1 /properties/custom-dispatch/init 913s # /properties/custom-dispatch/set summary: Test that custom dispatch_properties_changed is called regardless of connected notify handlers 913s ok 2 /properties/custom-dispatch/set 913s # End of custom-dispatch tests 913s # End of properties tests 913s TAP version 14 913s # random seed: R02S4ac27e7f1dc70feee79056d9872c6ae9 913s 1..7 913s # Start of threadpool tests 913s ok 1 /threadpool/functions 913s ok - glib/notify-init.test 913s # Running test: glib/async-splice-output-stream.test 913s ok - glib/async-splice-output-stream.test 913s # Running test: glib/gthash.test 913s ok - glib/gthash.test 913s # Running test: glib/custom-dispatch.test 913s ok - glib/custom-dispatch.test 913s # Running test: glib/thread-pool-slow.test 913s # Executing: glib/thread-pool-slow.test 913s ok 2 /threadpool/stop-unused 913s # slow test /threadpool/stop-unused executed in 0.51 secs 913s ok 3 /threadpool/pools 913s # [unsorted] ===> pushed new thread with id:75, number of threads:1, unprocessed:1 913s # [unsorted] ===> pushed new thread with id:66, number of threads:2, unprocessed:2 913s # [unsorted] ===> pushed new thread with id:40, number of threads:3, unprocessed:3 913s # [unsorted] ===> pushed new thread with id:51, number of threads:4, unprocessed:4 913s # [unsorted] ===> pushed new thread with id:25, number of threads:5, unprocessed:5 913s # [unsorted] ===> pushed new thread with id:72, number of threads:6, unprocessed:6 913s # [unsorted] ===> pushed new thread with id:11, number of threads:7, unprocessed:7 913s # [unsorted] ===> pushed new thread with id:87, number of threads:8, unprocessed:8 913s # [unsorted] ===> pushed new thread with id:66, number of threads:9, unprocessed:9 913s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:9 913s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:9 913s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:10 913s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:10 913s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:10 913s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:11 913s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:12 913s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:13 913s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:14 913s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:15 913s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:16 913s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:17 913s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:18 913s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:19 913s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:20 913s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:21 913s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:22 913s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:23 913s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:24 913s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:25 913s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:26 913s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:27 913s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:28 913s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:29 913s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:30 913s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:31 913s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:32 913s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:33 913s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:34 913s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:35 913s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:36 913s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:37 913s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:38 913s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:39 913s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:40 913s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:41 913s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:42 913s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:43 913s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:44 913s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:45 913s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:46 913s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:47 913s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:48 913s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:49 913s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:50 913s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:51 913s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:52 913s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:53 913s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:54 913s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:55 913s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:56 913s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:57 913s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:58 913s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:59 913s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:60 913s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:61 913s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:62 913s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:63 913s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:64 913s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:65 913s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:66 913s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:67 913s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:68 913s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:69 913s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:70 913s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:71 913s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:72 913s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:73 913s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:74 913s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:75 913s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:76 913s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:77 913s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:78 913s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:79 913s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:80 913s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:81 913s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:82 913s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:83 913s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:84 913s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:85 913s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:86 913s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:87 913s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:88 913s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:89 913s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:90 913s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:91 913s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:92 913s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:93 913s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:94 913s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:95 913s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:96 913s ok 4 /threadpool/no-sort 913s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:1 913s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:2 913s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:3 913s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:4 913s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:5 913s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:6 913s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:7 913s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:8 913s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:9 913s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:10 913s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:11 913s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:12 913s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:13 913s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:14 913s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:15 913s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:16 913s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:17 913s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:18 913s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:19 913s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:20 913s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:21 913s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:22 913s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:23 913s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:24 913s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:25 913s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:26 913s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:27 913s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:28 913s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:29 913s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:30 913s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:31 913s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:32 913s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:33 913s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:34 913s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:35 913s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:36 913s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:37 913s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:38 913s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:39 913s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:40 913s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:41 913s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:42 913s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:43 913s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:44 913s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:45 913s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:46 913s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:47 913s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:48 913s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:49 913s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:50 913s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:51 913s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:52 913s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:53 913s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:54 913s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:55 913s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:56 913s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:57 913s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:58 913s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:59 913s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:60 913s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:61 913s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:62 913s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:63 913s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:64 913s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:65 913s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:66 913s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:67 913s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:68 913s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:69 913s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:70 913s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:71 913s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:72 913s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:73 913s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:74 913s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:75 913s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:76 913s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:77 913s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:78 913s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:79 913s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:80 913s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:81 913s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:82 913s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:83 913s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:84 913s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:85 913s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:86 913s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:87 913s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:88 913s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:89 913s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:90 913s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:91 913s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:92 913s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:93 913s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:94 913s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:95 913s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:96 913s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:97 913s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:98 913s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:99 913s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:100 913s # Starting thread pool processing 913s ok 5 /threadpool/sort 914s ok 6 /threadpool/stop-unused-multiple 914s # slow test /threadpool/stop-unused-multiple executed in 0.51 secs 914s # Pool idle thread count: 0, unprocessed jobs: 40 914s # Pool idle thread count: 0, unprocessed jobs: 0 914s # Pool idle thread count: 0, unprocessed jobs: 0 915s # Pool idle thread count: 10, unprocessed jobs: 0 915s # Pool idle thread count: 10, unprocessed jobs: 0 915s # Pool idle thread count: 10, unprocessed jobs: 0 915s # Pool idle thread count: 10, unprocessed jobs: 0 916s # Pool idle thread count: 10, unprocessed jobs: 0 916s # Pool idle thread count: 10, unprocessed jobs: 0 916s # Pool idle thread count: 10, unprocessed jobs: 0 916s # Pool idle thread count: 10, unprocessed jobs: 0 917s # Pool idle thread count: 10, unprocessed jobs: 0 917s # Pool idle thread count: 10, unprocessed jobs: 0 917s # Pool idle thread count: 10, unprocessed jobs: 0 917s # Pool idle thread count: 10, unprocessed jobs: 0 918s # Pool idle thread count: 10, unprocessed jobs: 0 918s # Pool idle thread count: 10, unprocessed jobs: 0 918s # Executing: glib/thread-pool-slow.test 918s # Pool idle thread count: 10, unprocessed jobs: 0 918s # Pool idle thread count: 10, unprocessed jobs: 0 919s # Pool idle thread count: 10, unprocessed jobs: 0 919s # Pool idle thread count: 10, unprocessed jobs: 0 919s # Pool idle thread count: 10, unprocessed jobs: 0 919s # Pool idle thread count: 10, unprocessed jobs: 0 920s # Pool idle thread count: 10, unprocessed jobs: 0 920s # Pool idle thread count: 10, unprocessed jobs: 0 920s # Pool idle thread count: 10, unprocessed jobs: 0 920s # Pool idle thread count: 10, unprocessed jobs: 0 921s # Pool idle thread count: 10, unprocessed jobs: 0 921s # Pool idle thread count: 10, unprocessed jobs: 0 921s # Pool idle thread count: 10, unprocessed jobs: 0 921s # Pool idle thread count: 10, unprocessed jobs: 0 922s # Pool idle thread count: 10, unprocessed jobs: 0 922s # Pool idle thread count: 10, unprocessed jobs: 0 922s # Pool idle thread count: 10, unprocessed jobs: 0 922s # Pool idle thread count: 10, unprocessed jobs: 0 923s # Pool idle thread count: 10, unprocessed jobs: 2 923s # Pool idle thread count: 10, unprocessed jobs: 2 923s # Pool idle thread count: 8, unprocessed jobs: 0 923s # Pool idle thread count: 8, unprocessed jobs: 0 923s # Executing: glib/thread-pool-slow.test 923s # Pool idle thread count: 10, unprocessed jobs: 0 923s # Pool idle thread count: 10, unprocessed jobs: 0 924s # Pool idle thread count: 10, unprocessed jobs: 0 924s # Pool idle thread count: 10, unprocessed jobs: 0 924s # Pool idle thread count: 10, unprocessed jobs: 0 924s # Pool idle thread count: 10, unprocessed jobs: 0 925s # Pool idle thread count: 2, unprocessed jobs: 0 925s # Pool idle thread count: 2, unprocessed jobs: 0 925s # Pool idle thread count: 2, unprocessed jobs: 0 925s # Pool idle thread count: 2, unprocessed jobs: 0 926s # Pool idle thread count: 2, unprocessed jobs: 0 926s # Pool idle thread count: 2, unprocessed jobs: 0 926s # Pool idle thread count: 2, unprocessed jobs: 0 926s # Pool idle thread count: 2, unprocessed jobs: 0 927s # Pool idle thread count: 2, unprocessed jobs: 0 927s # Pool idle thread count: 2, unprocessed jobs: 0 927s # Pool idle thread count: 2, unprocessed jobs: 0 927s # Pool idle thread count: 2, unprocessed jobs: 0 928s # Pool idle thread count: 2, unprocessed jobs: 0 928s # Pool idle thread count: 2, unprocessed jobs: 0 928s # Executing: glib/thread-pool-slow.test 928s # Pool idle thread count: 2, unprocessed jobs: 0 928s # Pool idle thread count: 2, unprocessed jobs: 0 929s # Pool idle thread count: 2, unprocessed jobs: 0 929s # Pool idle thread count: 2, unprocessed jobs: 0 929s # Pool idle thread count: 2, unprocessed jobs: 0 929s # Pool idle thread count: 2, unprocessed jobs: 0 930s # Pool idle thread count: 2, unprocessed jobs: 0 930s # Pool idle thread count: 2, unprocessed jobs: 0 930s # Pool idle thread count: 2, unprocessed jobs: 0 930s # Pool idle thread count: 2, unprocessed jobs: 0 931s # Pool idle thread count: 2, unprocessed jobs: 0 931s # Pool idle thread count: 2, unprocessed jobs: 0 931s # Pool idle thread count: 2, unprocessed jobs: 0 931s # Pool idle thread count: 2, unprocessed jobs: 0 932s # Pool idle thread count: 2, unprocessed jobs: 0 932s # Pool idle thread count: 2, unprocessed jobs: 0 932s # Pool idle thread count: 2, unprocessed jobs: 0 932s # Pool idle thread count: 2, unprocessed jobs: 0 933s # Pool idle thread count: 2, unprocessed jobs: 0 933s # Pool idle thread count: 2, unprocessed jobs: 0 933s # Executing: glib/thread-pool-slow.test 933s ok - glib/thread-pool-slow.test 933s ok 7 /threadpool/idle-time 933s # slow test /threadpool/idle-time executed in 19.53 secs 933s # End of threadpool tests 933s # Running test: glib/gdbus-connection-loss.test 933s TAP version 14 933s # random seed: R02Sf1576d5d4af32b263e2aff1c4f20eb15 933s 1..1 933s # Start of gdbus tests 933s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-loss_QFGVE3/gdbus/connection-loss/.dirs/home 933s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-loss_QFGVE3/gdbus/connection-loss/.dirs/cache 933s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-loss_QFGVE3/gdbus/connection-loss/.dirs/system-config1:/tmp/test_gdbus-connection-loss_QFGVE3/gdbus/connection-loss/.dirs/system-config2 933s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-loss_QFGVE3/gdbus/connection-loss/.dirs/config 933s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-loss_QFGVE3/gdbus/connection-loss/.dirs/system-data1:/tmp/test_gdbus-connection-loss_QFGVE3/gdbus/connection-loss/.dirs/system-data2 933s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-loss_QFGVE3/gdbus/connection-loss/.dirs/data 933s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-loss_QFGVE3/gdbus/connection-loss/.dirs/state 933s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-loss_QFGVE3/gdbus/connection-loss/.dirs/runtime 933s ok 1 /gdbus/connection-loss 933s # End of gdbus tests 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s ok - glib/gdbus-connection-loss.test 933s # Running test: glib/actions.test 933s TAP version 14 933s # random seed: R02S02e9266f77078876dedf69473817df33 933s 1..13 933s # Start of actions tests 933s ok 1 /actions/basic 933s ok 2 /actions/name 933s ok 3 /actions/simplegroup 933s ok 4 /actions/stateful 933s ok 5 /actions/default-activate 933s ok 6 /actions/entries 933s ok 7 /actions/parse-detailed 933s ok 8 /actions/property 933s ok 9 /actions/no-properties 933s # Start of dbus tests 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s ok 10 /actions/dbus/export 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s ok 11 /actions/dbus/threaded 935s # slow test /actions/dbus/threaded executed in 2.14 secs 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 936s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 936s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 936s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 936s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 936s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 936s ok 12 /actions/dbus/bug679509 936s # Start of export tests 936s # /actions/dbus/export/error-handling summary: Test that error handling of action group export failure works 936s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 936s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 936s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 936s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 936s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 936s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 936s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 936s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 936s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 936s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 936s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 936s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 936s ok 13 /actions/dbus/export/error-handling 936s # End of export tests 936s # End of dbus tests 936s # End of actions tests 936s ok - glib/actions.test 936s # Running test: glib/portal-support-snap-classic.test 936s TAP version 14 936s ok - glib/portal-support-snap-classic.test 936s # Running test: glib/callable-info.test 936s # random seed: R02Saa21931c25badc4d6fee79b5a20df039 936s 1..3 936s # Start of portal-support tests 936s # Start of snap-classic tests 936s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_B9RLE3/portal-support/snap-classic/no-snapctl/.dirs/home 936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_B9RLE3/portal-support/snap-classic/no-snapctl/.dirs/cache 936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_B9RLE3/portal-support/snap-classic/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap-classic_B9RLE3/portal-support/snap-classic/no-snapctl/.dirs/system-config2 936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_B9RLE3/portal-support/snap-classic/no-snapctl/.dirs/config 936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_B9RLE3/portal-support/snap-classic/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap-classic_B9RLE3/portal-support/snap-classic/no-snapctl/.dirs/system-data2 936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_B9RLE3/portal-support/snap-classic/no-snapctl/.dirs/data 936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_B9RLE3/portal-support/snap-classic/no-snapctl/.dirs/state 936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_B9RLE3/portal-support/snap-classic/no-snapctl/.dirs/runtime 936s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_B9RLE3/portal-support/snap-classic/no-snapctl: No such file or directory 936s ok 1 /portal-support/snap-classic/no-snapctl 936s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_B9RLE3/portal-support/snap-classic/none/.dirs/home 936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_B9RLE3/portal-support/snap-classic/none/.dirs/cache 936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_B9RLE3/portal-support/snap-classic/none/.dirs/system-config1:/tmp/test_portal-support-snap-classic_B9RLE3/portal-support/snap-classic/none/.dirs/system-config2 936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_B9RLE3/portal-support/snap-classic/none/.dirs/config 936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_B9RLE3/portal-support/snap-classic/none/.dirs/system-data1:/tmp/test_portal-support-snap-classic_B9RLE3/portal-support/snap-classic/none/.dirs/system-data2 936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_B9RLE3/portal-support/snap-classic/none/.dirs/data 936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_B9RLE3/portal-support/snap-classic/none/.dirs/state 936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_B9RLE3/portal-support/snap-classic/none/.dirs/runtime 936s # Created snap.yaml in /tmp/test_portal-support-snap-classic_B9RLE3/meta/snap.yaml 936s # Created snapctl in /tmp/test_portal-support-snap-classic_B9RLE3/portal-support/snap-classic/none/.dirs/runtime/snapctl 936s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_B9RLE3/portal-support/snap-classic/none: No such file or directory 936s ok 2 /portal-support/snap-classic/none 936s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_B9RLE3/portal-support/snap-classic/all/.dirs/home 936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_B9RLE3/portal-support/snap-classic/all/.dirs/cache 936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_B9RLE3/portal-support/snap-classic/all/.dirs/system-config1:/tmp/test_portal-support-snap-classic_B9RLE3/portal-support/snap-classic/all/.dirs/system-config2 936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_B9RLE3/portal-support/snap-classic/all/.dirs/config 936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_B9RLE3/portal-support/snap-classic/all/.dirs/system-data1:/tmp/test_portal-support-snap-classic_B9RLE3/portal-support/snap-classic/all/.dirs/system-data2 936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_B9RLE3/portal-support/snap-classic/all/.dirs/data 936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_B9RLE3/portal-support/snap-classic/all/.dirs/state 936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_B9RLE3/portal-support/snap-classic/all/.dirs/runtime 936s # Created snap.yaml in /tmp/test_portal-support-snap-classic_B9RLE3/meta/snap.yaml 936s # Created snapctl in /tmp/test_portal-support-snap-classic_B9RLE3/portal-support/snap-classic/all/.dirs/runtime/snapctl 936s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_B9RLE3/portal-support/snap-classic/all: No such file or directory 936s ok 3 /portal-support/snap-classic/all 936s # End of snap-classic tests 936s # End of portal-support tests 936s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_B9RLE3: No such file or directory 936s TAP version 14 936s # random seed: R02S7a0996b91422f8a0c5b3bb402126e961 936s 1..6 936s # Start of callable-info tests 936s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_UDULE3/callable-info/sync-function/.dirs/home 936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_UDULE3/callable-info/sync-function/.dirs/cache 936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_UDULE3/callable-info/sync-function/.dirs/system-config1:/tmp/test_callable-info_UDULE3/callable-info/sync-function/.dirs/system-config2 936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_UDULE3/callable-info/sync-function/.dirs/config 936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_UDULE3/callable-info/sync-function/.dirs/system-data1:/tmp/test_callable-info_UDULE3/callable-info/sync-function/.dirs/system-data2 936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_UDULE3/callable-info/sync-function/.dirs/data 936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_UDULE3/callable-info/sync-function/.dirs/state 936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_UDULE3/callable-info/sync-function/.dirs/runtime 936s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 936s ok 1 /callable-info/sync-function 936s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_UDULE3/callable-info/async-function/.dirs/home 936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_UDULE3/callable-info/async-function/.dirs/cache 936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_UDULE3/callable-info/async-function/.dirs/system-config1:/tmp/test_callable-info_UDULE3/callable-info/async-function/.dirs/system-config2 936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_UDULE3/callable-info/async-function/.dirs/config 936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_UDULE3/callable-info/async-function/.dirs/system-data1:/tmp/test_callable-info_UDULE3/callable-info/async-function/.dirs/system-data2 936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_UDULE3/callable-info/async-function/.dirs/data 936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_UDULE3/callable-info/async-function/.dirs/state 936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_UDULE3/callable-info/async-function/.dirs/runtime 936s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 936s ok 2 /callable-info/async-function 936s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_UDULE3/callable-info/is-method/.dirs/home 936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_UDULE3/callable-info/is-method/.dirs/cache 936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_UDULE3/callable-info/is-method/.dirs/system-config1:/tmp/test_callable-info_UDULE3/callable-info/is-method/.dirs/system-config2 936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_UDULE3/callable-info/is-method/.dirs/config 936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_UDULE3/callable-info/is-method/.dirs/system-data1:/tmp/test_callable-info_UDULE3/callable-info/is-method/.dirs/system-data2 936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_UDULE3/callable-info/is-method/.dirs/data 936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_UDULE3/callable-info/is-method/.dirs/state 936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_UDULE3/callable-info/is-method/.dirs/runtime 936s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 936s ok 3 /callable-info/is-method 936s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_UDULE3/callable-info/static-method/.dirs/home 936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_UDULE3/callable-info/static-method/.dirs/cache 936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_UDULE3/callable-info/static-method/.dirs/system-config1:/tmp/test_callable-info_UDULE3/callable-info/static-method/.dirs/system-config2 936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_UDULE3/callable-info/static-method/.dirs/config 936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_UDULE3/callable-info/static-method/.dirs/system-data1:/tmp/test_callable-info_UDULE3/callable-info/static-method/.dirs/system-data2 936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_UDULE3/callable-info/static-method/.dirs/data 936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_UDULE3/callable-info/static-method/.dirs/state 936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_UDULE3/callable-info/static-method/.dirs/runtime 936s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 936s ok 4 /callable-info/static-method 936s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_UDULE3/callable-info/static-vfunc/.dirs/home 936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_UDULE3/callable-info/static-vfunc/.dirs/cache 936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_UDULE3/callable-info/static-vfunc/.dirs/system-config1:/tmp/test_callable-info_UDULE3/callable-info/static-vfunc/.dirs/system-config2 936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_UDULE3/callable-info/static-vfunc/.dirs/config 936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_UDULE3/callable-info/static-vfunc/.dirs/system-data1:/tmp/test_callable-info_UDULE3/callable-info/static-vfunc/.dirs/system-data2 936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_UDULE3/callable-info/static-vfunc/.dirs/data 936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_UDULE3/callable-info/static-vfunc/.dirs/state 936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_UDULE3/callable-info/static-vfunc/.dirs/runtime 936s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 936s # Bug Reference: https://gitlab.gnome.org/GNOME/gobject-introspection/-/merge_requests/361 936s ok 5 /callable-info/static-vfunc # SKIP g-ir-scanner is not new enough 936s # Start of platform tests 936s # Start of unix tests 936s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_UDULE3/callable-info/platform/unix/is-method/.dirs/home 936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_UDULE3/callable-info/platform/unix/is-method/.dirs/cache 936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_UDULE3/callable-info/platform/unix/is-method/.dirs/system-config1:/tmp/test_callable-info_UDULE3/callable-info/platform/unix/is-method/.dirs/system-config2 936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_UDULE3/callable-info/platform/unix/is-method/.dirs/config 936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_UDULE3/callable-info/platform/unix/is-method/.dirs/system-data1:/tmp/test_callable-info_UDULE3/callable-info/platform/unix/is-method/.dirs/system-data2 936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_UDULE3/callable-info/platform/unix/is-method/.dirs/data 936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_UDULE3/callable-info/platform/unix/is-method/.dirs/state 936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_UDULE3/callable-info/platform/unix/is-method/.dirs/runtime 936s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 936s # Checking DesktopAppInfo in Gio 936s # Checking DesktopAppInfo in GioUnix 936s ok 6 /callable-info/platform/unix/is-method 936s # End of unix tests 936s # End of platform tests 936s # End of callable-info tests 936s TAP version 14 936s # random seed: R02S21b5ee839c1bf140435133aba87b917d 936s 1..4 936s # Start of dump tests 936s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_00OLE3/dump/empty-file/.dirs/home 936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_00OLE3/dump/empty-file/.dirs/cache 936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_00OLE3/dump/empty-file/.dirs/system-config1:/tmp/test_dump_00OLE3/dump/empty-file/.dirs/system-config2 936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_00OLE3/dump/empty-file/.dirs/config 936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_00OLE3/dump/empty-file/.dirs/system-data1:/tmp/test_dump_00OLE3/dump/empty-file/.dirs/system-data2 936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_00OLE3/dump/empty-file/.dirs/data 936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_00OLE3/dump/empty-file/.dirs/state 936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_00OLE3/dump/empty-file/.dirs/runtime 936s ok 1 /dump/empty-file 936s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_00OLE3/dump/missing-get-type/.dirs/home 936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_00OLE3/dump/missing-get-type/.dirs/cache 936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_00OLE3/dump/missing-get-type/.dirs/system-config1:/tmp/test_dump_00OLE3/dump/missing-get-type/.dirs/system-config2 936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_00OLE3/dump/missing-get-type/.dirs/config 936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_00OLE3/dump/missing-get-type/.dirs/system-data1:/tmp/test_dump_00OLE3/dump/missing-get-type/.dirs/system-data2 936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_00OLE3/dump/missing-get-type/.dirs/data 936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_00OLE3/dump/missing-get-type/.dirs/state 936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_00OLE3/dump/missing-get-type/.dirs/runtime 936s Invalid GType function: 'does_not_exist_get_type' 936s ok 2 /dump/missing-get-type 936s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_00OLE3/dump/missing-quark/.dirs/home 936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_00OLE3/dump/missing-quark/.dirs/cache 936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_00OLE3/dump/missing-quark/.dirs/system-config1:/tmp/test_dump_00OLE3/dump/missing-quark/.dirs/system-config2 936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_00OLE3/dump/missing-quark/.dirs/config 936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_00OLE3/dump/missing-quark/.dirs/system-data1:/tmp/test_dump_00OLE3/dump/missing-quark/.dirs/system-data2 936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_00OLE3/dump/missing-quark/.dirs/data 936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_00OLE3/dump/missing-quark/.dirs/state 936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_00OLE3/dump/missing-quark/.dirs/runtime 936s Invalid error quark function: 'does_not_exist_error' 936s ok 3 /dump/missing-quark 936s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_00OLE3/dump/basic/.dirs/home 936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_00OLE3/dump/basic/.dirs/cache 936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_00OLE3/dump/basic/.dirs/system-config1:/tmp/test_dump_00OLE3/dump/basic/.dirs/system-config2 936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_00OLE3/dump/basic/.dirs/config 936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_00OLE3/dump/basic/.dirs/system-data1:/tmp/test_dump_00OLE3/dump/basic/.dirs/system-data2 936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_00OLE3/dump/basic/.dirs/data 936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_00OLE3/dump/basic/.dirs/state 936s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_00OLE3/dump/basic/.dirs/runtime 936s ok 4 /dump/basic 936s # End of dump tests 936s TAP version 14 936s # random seed: R02S1904dc76d572cd3894802971a15819fa 936s 1..1 936s # Start of gobject tests 936s # Start of refcount tests 936s # init 0x1d19c4e7d490 936s # 936s # init 0x1d19c4e75580 936s # 936s ok - glib/callable-info.test 936s # Running test: glib/dump.test 936s ok - glib/dump.test 936s # Running test: glib/signals-refcount1.test 938s # Executing: glib/signals-refcount1.test 941s # dispose 0x1d19c4e7d490! 941s # 941s # dispose 0x1d19c4e75580! 941s # 941s ok 1 /gobject/refcount/signals 941s # slow test /gobject/refcount/signals executed in 5.00 secs 941s # End of refcount tests 941s # End of gobject tests 941s ok - glib/signals-refcount1.test 941s # Running test: glib/spawn-singlethread.test 941s TAP version 14 941s # random seed: R02Sf78edee867a36e06f10a7033d3d2d8ea 941s 1..9 941s # Start of gthread tests 941s ok 1 /gthread/spawn-single-sync 941s # /gthread/spawn-stderr-socket summary: Test calling g_spawn_sync() with its stderr FD set to a socket 941s ok 2 /gthread/spawn-stderr-socket 941s ok 3 /gthread/spawn-single-async 941s # thread 1 941s # thread 1 941s ok 4 /gthread/spawn-single-async-with-fds 941s ok - glib/spawn-singlethread.test 941s # Running test: glib/ir-parser.test 941s ok - glib/ir-parser.test 941s # Running test: glib/array-test.test 941s ok 5 /gthread/spawn-async-with-invalid-fds 941s ok 6 /gthread/spawn-script 941s ok 7 /gthread/spawn-posix-spawn 941s # Start of spawn tests 941s ok 8 /gthread/spawn/nonexistent 941s # FD map: 941s # • 5 → 15 941s # • 6 → 16 941s # • 7 → 17 941s # • 8 → 18 941s # • 9 → 19 941s # • 10 → 20 941s # • 11 → 21 941s # • 12 → 22 941s # • 13 → 23 941s # • 3 → 13 941s ok 9 /gthread/spawn/fd-assignment-clash 941s # End of spawn tests 941s # End of gthread tests 941s TAP version 14 941s # random seed: R02S5a0e96c6454192e976768310c1c40946 941s 1..1 941s # Start of ir-parser tests 941s # /ir-parser/type-parsing summary: Test parsing different valid and invalid types 941s # GLib-GIRepository-DEBUG: 941s # GLib-GIRepository-DEBUG: pushing node 1 dummy 941s # GLib-GIRepository-DEBUG: Parsed type: GLib.Error => 20 941s # GLib-GIRepository-DEBUG: 941s # GLib-GIRepository-DEBUG: 941s # GLib-GIRepository-DEBUG: 941s # GLib-GIRepository-DEBUG: 941s # GLib-GIRepository-DEBUG: popping node 1 dummy 941s # GLib-GIRepository-DEBUG: 941s # GLib-GIRepository-DEBUG: 941s # GLib-GIRepository-DEBUG: 941s # GLib-GIRepository-DEBUG: pushing node 1 dummy 941s # GLib-GIRepository-DEBUG: Parsed type: GLib.Error => 20 941s # GLib-GIRepository-DEBUG: 941s # GLib-GIRepository-DEBUG: 941s # GLib-GIRepository-DEBUG: 941s # GLib-GIRepository-DEBUG: 941s # GLib-GIRepository-DEBUG: popping node 1 dummy 941s # GLib-GIRepository-DEBUG: 941s # GLib-GIRepository-DEBUG: 941s # GLib-GIRepository-DEBUG: 941s # GLib-GIRepository-DEBUG: pushing node 1 dummy 941s # GLib-GIRepository-DEBUG: Failed to parse type: 'GLib.Error 994s # Received memory warning signal, level 994s # Received memory warning signal, level 994s 1..1 994s PASS: glib/memory-monitor-dbus.test 994s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.2s; system=0.0s; maxrss=38912 994s autopkgtest [19:53:19]: test memory-monitor-dbus: -----------------------] 995s memory-monitor-dbus PASS 995s autopkgtest [19:53:20]: test memory-monitor-dbus: - - - - - - - - - - results - - - - - - - - - - 995s autopkgtest [19:53:20]: test socket: preparing testbed 995s Reading package lists... 996s Building dependency tree... 996s Reading state information... 996s Solving dependencies... 996s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 997s autopkgtest [19:53:22]: test socket: [----------------------- 997s Running test: glib/socket.test 997s TAP version 14 997s # random seed: R02S57e20d1dbb683f08e929d3ad6be19786 997s 1..30 997s # Start of socket tests 998s ok 1 /socket/ipv4_sync 998s # slow test /socket/ipv4_sync executed in 1.00 secs 999s ok 2 /socket/ipv4_async 999s # slow test /socket/ipv4_async executed in 1.00 secs 999s ok 3 /socket/ipv6_sync 999s ok 4 /socket/ipv6_async 999s ok 5 /socket/ipv6_v4mapped 1000s ok 6 /socket/close_graceful 1000s # slow test /socket/close_graceful executed in 1.00 secs 1000s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 1000s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 1000s ok 8 /socket/fd_reuse 1000s ok 9 /socket/address 1000s ok 10 /socket/unix-from-fd 1000s ok 11 /socket/unix-connection 1000s ok 12 /socket/unix-connection-ancillary-data 1000s ok 13 /socket/source-postmortem 1000s ok 14 /socket/read_write 1000s ok 15 /socket/read_writev 1000s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 1000s ok 16 /socket/receive_bytes 1000s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 1000s ok 17 /socket/receive_bytes_from 1000s # Start of ipv4_sync tests 1000s ok 18 /socket/ipv4_sync/datagram 1000s # Start of datagram tests 1001s ok 19 /socket/ipv4_sync/datagram/timeouts 1001s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 1001s # End of datagram tests 1001s # End of ipv4_sync tests 1001s # Start of ipv6_sync tests 1001s ok 20 /socket/ipv6_sync/datagram 1001s # Start of datagram tests 1003s ok 21 /socket/ipv6_sync/datagram/timeouts 1003s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 1003s # End of datagram tests 1003s # End of ipv6_sync tests 1003s # Start of reuse tests 1003s ok 22 /socket/reuse/tcp 1003s ok 23 /socket/reuse/udp 1003s # End of reuse tests 1003s # Start of get_available tests 1003s ok 24 /socket/get_available/datagram 1003s ok 25 /socket/get_available/stream 1003s # End of get_available tests 1003s # Start of credentials tests 1003s # Supported on this OS: GCredentials:linux-ucred:pid=0 1003s ok 26 /socket/credentials/tcp_client 1003s # Supported on this OS: GCredentials:linux-ucred:pid=0 1003s ok 27 /socket/credentials/tcp_server 1003s # Supported on this OS: GCredentials:linux-ucred:pid=66548,uid=1000,gid=1000 1003s ok 28 /socket/credentials/unix_socketpair 1003s # End of credentials tests 1003s # Start of accept tests 1003s # /socket/accept/cancelled summary: Calling g_socket_accept() with a cancelled cancellable should return immediately regardless of whether the socket is blocking 1003s ok 29 /socket/accept/cancelled 1003s # End of accept tests 1003s # Start of connect tests 1003s # /socket/connect/cancelled summary: Calling g_socket_connect() with a cancelled cancellable should return immediately regardless of whether the socket is blocking 1003s ok 30 /socket/connect/cancelled 1003s # End of connect tests 1003s # End of socket tests 1003s PASS: glib/socket.test 1003s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=8192 1003s autopkgtest [19:53:28]: test socket: -----------------------] 1003s socket PASS 1003s autopkgtest [19:53:28]: test socket: - - - - - - - - - - results - - - - - - - - - - 1004s autopkgtest [19:53:29]: test testfilemonitor: preparing testbed 1004s Reading package lists... 1004s Building dependency tree... 1004s Reading state information... 1004s Solving dependencies... 1004s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1005s autopkgtest [19:53:30]: test testfilemonitor: [----------------------- 1006s Running test: glib/testfilemonitor.test 1006s TAP version 14 1006s # random seed: R02Se79c113cd21c288bca923b2b6cce2529 1006s 1..8 1006s # Start of monitor tests 1006s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1006s # Using temporary directory: /tmp/gio-test-testfilemonitor_GJ8LE3 1006s # Using GFileMonitor GInotifyFileMonitor 1008s ok 1 /monitor/atomic-replace 1008s # slow test /monitor/atomic-replace executed in 2.00 secs 1008s # Using temporary directory: /tmp/gio-test-testfilemonitor_RK4LE3 1008s # Using GFileMonitor GInotifyFileMonitor 1010s ok 2 /monitor/file-changes 1010s # slow test /monitor/file-changes executed in 2.50 secs 1010s # Using temporary directory: /tmp/gio-test-testfilemonitor_DGSXE3 1010s # Using GFileMonitor GInotifyFileMonitor 1011s Executing: glib/testfilemonitor.test 1014s ok 3 /monitor/dir-monitor 1014s # slow test /monitor/dir-monitor executed in 3.50 secs 1014s # Using temporary directory: /tmp/gio-test-testfilemonitor_MRXLE3 1014s # Using GFileMonitor GInotifyFileMonitor 1016s Executing: glib/testfilemonitor.test 1021s Executing: glib/testfilemonitor.test 1026s Executing: glib/testfilemonitor.test 1031s Executing: glib/testfilemonitor.test 1036s Executing: glib/testfilemonitor.test 1039s ok 4 /monitor/dir-not-existent 1039s # slow test /monitor/dir-not-existent executed in 25.02 secs 1039s # Using temporary directory: /tmp/gio-test-testfilemonitor_ROJLE3 1039s # Using GFileMonitor 0 GInotifyFileMonitor 1039s # Using GFileMonitor 1 GInotifyFileMonitor 1041s ok 5 /monitor/cross-dir-moves 1041s # slow test /monitor/cross-dir-moves executed in 2.00 secs 1041s # Using temporary directory: /tmp/gio-test-testfilemonitor_EGFLE3 1041s # /monitor/finalize-in-callback summary: Test that finalization of a GFileMonitor in one of its callbacks doesn’t cause a deadlock. 1041s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1941 1041s ok 6 /monitor/finalize-in-callback 1041s # Using temporary directory: /tmp/gio-test-testfilemonitor_RNCLE3 1041s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 1041s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 1041s ok 7 /monitor/root 1041s # Start of file tests 1041s # Using temporary directory: /tmp/gio-test-testfilemonitor_QPCLE3 1041s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755721 1041s # Running with hard link tests 1041s # Using GFileMonitor GInotifyFileMonitor 1041s Executing: glib/testfilemonitor.test 1044s # Event 0 at expected index 7 skipped because it is marked as optional 1044s # Event 2 at expected index 11 skipped because it is marked as optional 1044s ok 8 /monitor/file/hard-links 1044s # slow test /monitor/file/hard-links executed in 3.50 secs 1044s # End of file tests 1044s # End of monitor tests 1044s PASS: glib/testfilemonitor.test 1044s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=8192 1044s autopkgtest [19:54:09]: test testfilemonitor: -----------------------] 1045s testfilemonitor PASS 1045s autopkgtest [19:54:10]: test testfilemonitor: - - - - - - - - - - results - - - - - - - - - - 1045s autopkgtest [19:54:10]: test thread-pool-slow: preparing testbed 1046s Reading package lists... 1046s Building dependency tree... 1046s Reading state information... 1046s Solving dependencies... 1046s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1047s autopkgtest [19:54:12]: test thread-pool-slow: [----------------------- 1047s Running test: glib/thread-pool-slow.test 1047s TAP version 14 1047s # random seed: R02S294a67543f32a147edf39d7858d520bc 1047s 1..7 1047s # Start of threadpool tests 1047s ok 1 /threadpool/functions 1048s ok 2 /threadpool/stop-unused 1048s # slow test /threadpool/stop-unused executed in 0.51 secs 1048s ok 3 /threadpool/pools 1048s # [unsorted] ===> pushed new thread with id:5, number of threads:1, unprocessed:1 1048s # [unsorted] ===> pushed new thread with id:37, number of threads:2, unprocessed:1 1048s # [unsorted] ===> pushed new thread with id:38, number of threads:3, unprocessed:1 1048s # [unsorted] ===> pushed new thread with id:53, number of threads:4, unprocessed:2 1048s # [unsorted] ===> pushed new thread with id:45, number of threads:5, unprocessed:2 1048s # [unsorted] ===> pushed new thread with id:36, number of threads:6, unprocessed:2 1048s # [unsorted] ===> pushed new thread with id:75, number of threads:7, unprocessed:2 1048s # [unsorted] ===> pushed new thread with id:17, number of threads:8, unprocessed:3 1048s # [unsorted] ===> pushed new thread with id:30, number of threads:9, unprocessed:4 1048s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:5 1048s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:6 1048s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:7 1048s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:8 1048s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:9 1048s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:10 1048s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:11 1048s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:12 1048s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:13 1048s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:14 1048s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:15 1048s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:15 1048s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:16 1048s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:16 1048s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:16 1048s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:16 1048s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:17 1048s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:17 1048s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:18 1048s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:19 1048s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:20 1048s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:21 1048s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:22 1048s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:23 1048s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:24 1048s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:25 1048s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:26 1048s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:27 1048s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:28 1048s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:29 1048s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:30 1048s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:31 1048s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:32 1048s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:33 1048s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:34 1048s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:35 1048s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:36 1048s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:37 1048s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:38 1048s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:39 1048s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:40 1048s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:41 1048s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:42 1048s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:43 1048s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:44 1048s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:45 1048s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:46 1048s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:47 1048s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:48 1048s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:49 1048s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:50 1048s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:51 1048s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:52 1048s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:53 1048s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:54 1048s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:55 1048s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:56 1048s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:57 1048s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:58 1048s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:59 1048s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:60 1048s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:61 1048s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:62 1048s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:63 1048s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:64 1048s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:65 1048s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:66 1048s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:67 1048s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:68 1048s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:69 1048s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:70 1048s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:71 1048s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:72 1048s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:73 1048s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:74 1048s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:75 1048s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:76 1048s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:77 1048s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:78 1048s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:79 1048s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:80 1048s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:81 1048s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:82 1048s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:83 1048s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:84 1048s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:85 1048s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:86 1048s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:87 1048s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:88 1048s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:89 1048s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:90 1048s ok 4 /threadpool/no-sort 1048s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:1 1048s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:2 1048s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:3 1048s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:4 1048s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:5 1048s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:6 1048s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:7 1048s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:8 1048s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:9 1048s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:10 1048s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:11 1048s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:12 1048s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:13 1048s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:14 1048s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:15 1048s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:16 1048s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:17 1048s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:18 1048s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:19 1048s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:20 1048s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:21 1048s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:22 1048s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:23 1048s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:24 1048s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:25 1048s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:26 1048s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:27 1048s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:28 1048s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:29 1048s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:30 1048s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:31 1048s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:32 1048s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:33 1048s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:34 1048s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:35 1048s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:36 1048s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:37 1048s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:38 1048s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:39 1048s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:40 1048s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:41 1048s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:42 1048s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:43 1048s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:44 1048s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:45 1048s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:46 1048s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:47 1048s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:48 1048s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:49 1048s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:50 1048s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:51 1048s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:52 1048s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:53 1048s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:54 1048s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:55 1048s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:56 1048s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:57 1048s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:58 1048s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:59 1048s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:60 1048s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:61 1048s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:62 1048s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:63 1048s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:64 1048s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:65 1048s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:66 1048s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:67 1048s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:68 1048s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:69 1048s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:70 1048s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:71 1048s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:72 1048s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:73 1048s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:74 1048s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:75 1048s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:76 1048s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:77 1048s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:78 1048s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:79 1048s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:80 1048s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:81 1048s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:82 1048s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:83 1048s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:84 1048s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:85 1048s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:86 1048s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:87 1048s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:88 1048s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:89 1048s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:90 1048s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:91 1048s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:92 1048s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:93 1048s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:94 1048s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:95 1048s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:96 1048s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:97 1048s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:98 1048s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:99 1048s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:100 1048s # Starting thread pool processing 1048s ok 5 /threadpool/sort 1048s ok 6 /threadpool/stop-unused-multiple 1048s # slow test /threadpool/stop-unused-multiple executed in 0.51 secs 1048s # Pool idle thread count: 0, unprocessed jobs: 40 1049s # Pool idle thread count: 0, unprocessed jobs: 0 1049s # Pool idle thread count: 0, unprocessed jobs: 0 1049s # Pool idle thread count: 10, unprocessed jobs: 0 1049s # Pool idle thread count: 10, unprocessed jobs: 0 1050s # Pool idle thread count: 10, unprocessed jobs: 0 1050s # Pool idle thread count: 10, unprocessed jobs: 0 1050s # Pool idle thread count: 10, unprocessed jobs: 0 1050s # Pool idle thread count: 10, unprocessed jobs: 0 1051s # Pool idle thread count: 10, unprocessed jobs: 0 1051s # Pool idle thread count: 10, unprocessed jobs: 0 1051s # Pool idle thread count: 10, unprocessed jobs: 0 1051s # Pool idle thread count: 10, unprocessed jobs: 0 1052s # Pool idle thread count: 10, unprocessed jobs: 0 1052s # Pool idle thread count: 10, unprocessed jobs: 0 1052s # Pool idle thread count: 10, unprocessed jobs: 0 1052s # Pool idle thread count: 10, unprocessed jobs: 0 1053s Executing: glib/thread-pool-slow.test 1053s # Pool idle thread count: 10, unprocessed jobs: 0 1053s # Pool idle thread count: 10, unprocessed jobs: 0 1053s # Pool idle thread count: 10, unprocessed jobs: 0 1053s # Pool idle thread count: 10, unprocessed jobs: 0 1054s # Pool idle thread count: 10, unprocessed jobs: 0 1054s # Pool idle thread count: 10, unprocessed jobs: 0 1054s # Pool idle thread count: 10, unprocessed jobs: 0 1054s # Pool idle thread count: 10, unprocessed jobs: 0 1055s # Pool idle thread count: 10, unprocessed jobs: 0 1055s # Pool idle thread count: 10, unprocessed jobs: 0 1056s # Pool idle thread count: 10, unprocessed jobs: 0 1056s # Pool idle thread count: 10, unprocessed jobs: 0 1056s # Pool idle thread count: 10, unprocessed jobs: 0 1056s # Pool idle thread count: 10, unprocessed jobs: 0 1056s # Pool idle thread count: 10, unprocessed jobs: 0 1056s # Pool idle thread count: 10, unprocessed jobs: 0 1057s # Pool idle thread count: 10, unprocessed jobs: 0 1057s # Pool idle thread count: 10, unprocessed jobs: 0 1057s # Pool idle thread count: 10, unprocessed jobs: 2 1057s # Pool idle thread count: 10, unprocessed jobs: 2 1057s # Pool idle thread count: 8, unprocessed jobs: 0 1057s # Pool idle thread count: 8, unprocessed jobs: 0 1058s Executing: glib/thread-pool-slow.test 1058s # Pool idle thread count: 10, unprocessed jobs: 0 1058s # Pool idle thread count: 10, unprocessed jobs: 0 1058s # Pool idle thread count: 10, unprocessed jobs: 0 1058s # Pool idle thread count: 10, unprocessed jobs: 0 1059s # Pool idle thread count: 10, unprocessed jobs: 0 1059s # Pool idle thread count: 10, unprocessed jobs: 0 1059s # Pool idle thread count: 2, unprocessed jobs: 0 1059s # Pool idle thread count: 2, unprocessed jobs: 0 1060s # Pool idle thread count: 2, unprocessed jobs: 0 1060s # Pool idle thread count: 2, unprocessed jobs: 0 1060s # Pool idle thread count: 2, unprocessed jobs: 0 1060s # Pool idle thread count: 2, unprocessed jobs: 0 1061s # Pool idle thread count: 2, unprocessed jobs: 0 1061s # Pool idle thread count: 2, unprocessed jobs: 0 1061s # Pool idle thread count: 2, unprocessed jobs: 0 1061s # Pool idle thread count: 2, unprocessed jobs: 0 1062s # Pool idle thread count: 2, unprocessed jobs: 0 1062s # Pool idle thread count: 2, unprocessed jobs: 0 1062s # Pool idle thread count: 2, unprocessed jobs: 0 1062s # Pool idle thread count: 2, unprocessed jobs: 0 1063s Executing: glib/thread-pool-slow.test 1063s # Pool idle thread count: 2, unprocessed jobs: 0 1063s # Pool idle thread count: 2, unprocessed jobs: 0 1063s # Pool idle thread count: 2, unprocessed jobs: 0 1063s # Pool idle thread count: 2, unprocessed jobs: 0 1064s # Pool idle thread count: 2, unprocessed jobs: 0 1064s # Pool idle thread count: 2, unprocessed jobs: 0 1064s # Pool idle thread count: 2, unprocessed jobs: 0 1064s # Pool idle thread count: 2, unprocessed jobs: 0 1065s # Pool idle thread count: 2, unprocessed jobs: 0 1065s # Pool idle thread count: 2, unprocessed jobs: 0 1066s # Pool idle thread count: 2, unprocessed jobs: 0 1066s # Pool idle thread count: 2, unprocessed jobs: 0 1066s # Pool idle thread count: 2, unprocessed jobs: 0 1066s # Pool idle thread count: 2, unprocessed jobs: 0 1066s # Pool idle thread count: 2, unprocessed jobs: 0 1066s # Pool idle thread count: 2, unprocessed jobs: 0 1067s # Pool idle thread count: 2, unprocessed jobs: 0 1067s # Pool idle thread count: 2, unprocessed jobs: 0 1067s # Pool idle thread count: 2, unprocessed jobs: 0 1067s # Pool idle thread count: 2, unprocessed jobs: 0 1068s Executing: glib/thread-pool-slow.test 1068s ok 7 /threadpool/idle-time 1068s # slow test /threadpool/idle-time executed in 19.52 secs 1068s # End of threadpool tests 1068s PASS: glib/thread-pool-slow.test 1068s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.5s; system=0.0s; maxrss=8192 1068s autopkgtest [19:54:33]: test thread-pool-slow: -----------------------] 1069s autopkgtest [19:54:34]: test thread-pool-slow: - - - - - - - - - - results - - - - - - - - - - 1069s thread-pool-slow PASS 1069s autopkgtest [19:54:34]: test threadtests: preparing testbed 1070s Reading package lists... 1070s Building dependency tree... 1070s Reading state information... 1070s Solving dependencies... 1070s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1071s autopkgtest [19:54:36]: test threadtests: [----------------------- 1071s Running test: glib/threadtests.test 1071s TAP version 14 1071s # random seed: R02S2cb75e5c513c989644f522d141c4d508 1071s 1..5 1071s # Start of GObject tests 1071s ok 1 /GObject/threaded-object-init 1072s ok 2 /GObject/threaded-weak-ref 1072s # slow test /GObject/threaded-weak-ref executed in 0.89 secs 1072s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 1072s # /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 1072s ok 3 /GObject/threaded-toggle-notify 1072s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 1072s # Start of threaded-weak-ref tests 1072s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1072s # /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. 1072s ok 5 /GObject/threaded-weak-ref/on-finalization 1072s # End of threaded-weak-ref tests 1072s # End of GObject tests 1072s PASS: glib/threadtests.test 1072s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.6s; system=0.5s; maxrss=4096 1072s autopkgtest [19:54:37]: test threadtests: -----------------------] 1073s threadtests PASS 1073s autopkgtest [19:54:38]: test threadtests: - - - - - - - - - - results - - - - - - - - - - 1073s autopkgtest [19:54:38]: test timeout: preparing testbed 1073s Reading package lists... 1074s Building dependency tree... 1074s Reading state information... 1074s Solving dependencies... 1074s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1075s autopkgtest [19:54:40]: test timeout: [----------------------- 1075s Running test: glib/timeout.test 1075s TAP version 14 1075s # random seed: R02S63abbe2b2b0e4be0049533573fd196fc 1075s 1..5 1075s # Start of timeout tests 1075s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 1077s ok 1 /timeout/seconds 1077s # slow test /timeout/seconds executed in 2.10 secs 1079s ok 2 /timeout/seconds-once 1079s # slow test /timeout/seconds-once executed in 2.10 secs 1079s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 1080s Executing: glib/timeout.test 1081s ok 3 /timeout/weeks-overflow 1081s # slow test /timeout/weeks-overflow executed in 2.10 secs 1081s ok 4 /timeout/far-future-ready-time 1085s Executing: glib/timeout.test 1090s Executing: glib/timeout.test 1092s ok 5 /timeout/rounding 1092s # slow test /timeout/rounding executed in 10.76 secs 1092s # End of timeout tests 1092s PASS: glib/timeout.test 1092s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2048 1092s autopkgtest [19:54:57]: test timeout: -----------------------] 1093s autopkgtest [19:54:58]: test timeout: - - - - - - - - - - results - - - - - - - - - - 1093s timeout PASS 1093s autopkgtest [19:54:58]: test timer: preparing testbed 1093s Reading package lists... 1093s Building dependency tree... 1093s Reading state information... 1093s Solving dependencies... 1094s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1094s autopkgtest [19:54:59]: test timer: [----------------------- 1095s Running test: glib/timer.test 1095s TAP version 14 1095s # random seed: R02S217c8fc0a3063a3d2e3a431e495dbdd1 1095s 1..10 1095s # Start of timer tests 1095s ok 1 /timer/basic 1095s ok 2 /timer/stop 1095s ok 3 /timer/continue 1095s ok 4 /timer/reset 1095s ok 5 /timer/is_active 1095s # End of timer tests 1095s # Start of timeval tests 1095s ok 6 /timeval/add 1095s ok 7 /timeval/from-iso8601 1095s ok 8 /timeval/to-iso8601 1095s # Start of to-iso8601 tests 1095s ok 9 /timeval/to-iso8601/overflow 1095s # End of to-iso8601 tests 1095s # End of timeval tests 1095s # Start of usleep tests 1095s ok 10 /usleep/with-zero-wait 1095s # End of usleep tests 1095s PASS: glib/timer.test 1095s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2048 1095s autopkgtest [19:55:00]: test timer: -----------------------] 1095s autopkgtest [19:55:00]: test timer: - - - - - - - - - - results - - - - - - - - - - 1095s timer PASS 1096s autopkgtest [19:55:01]: test 1065022-futureproofing: preparing testbed 1119s Creating nova instance adt-resolute-ppc64el-glib2.0-20251018-193645-juju-7f2275-prod-proposed-migration-environment-2-4a736ee2-114d-4b35-bce9-243db4658526 from image adt/ubuntu-resolute-ppc64el-server-20251018.img (UUID 746a0a80-14f1-4bf7-89b6-cbb5ab236a4e)... 1179s autopkgtest [19:56:24]: testbed dpkg architecture: ppc64el 1179s autopkgtest [19:56:24]: testbed apt version: 3.1.8ubuntu1 1180s autopkgtest [19:56:25]: @@@@@@@@@@@@@@@@@@@@ test bed setup 1180s autopkgtest [19:56:25]: testbed release detected to be: resolute 1181s autopkgtest [19:56:26]: updating testbed package index (apt update) 1181s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [83.3 kB] 1181s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 1181s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 1181s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 1182s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [5028 B] 1182s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [16.7 kB] 1182s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [456 kB] 1182s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [50.7 kB] 1182s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el Packages [92.0 kB] 1182s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/restricted ppc64el Packages [940 B] 1182s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/universe ppc64el Packages [317 kB] 1182s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse ppc64el Packages [4660 B] 1182s Fetched 1026 kB in 1s (977 kB/s) 1183s Reading package lists... 1184s Failed to check for VM: Permission denied 1184s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 1184s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 1184s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 1184s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 1185s Reading package lists... 1185s Reading package lists... 1185s Building dependency tree... 1185s Reading state information... 1185s Calculating upgrade... 1185s The following packages will be upgraded: 1185s gir1.2-girepository-2.0 libgirepository-1.0-1 libpython3-stdlib python3 1185s python3-minimal 1185s 5 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1185s Need to get 185 kB of archives. 1185s After this operation, 2048 B of additional disk space will be used. 1185s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el python3-minimal ppc64el 3.13.7-2 [27.8 kB] 1186s Get:2 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el python3 ppc64el 3.13.7-2 [23.9 kB] 1186s Get:3 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el libpython3-stdlib ppc64el 3.13.7-2 [10.6 kB] 1186s Get:4 http://ftpmaster.internal/ubuntu resolute/main ppc64el libgirepository-1.0-1 ppc64el 1.86.0-6 [97.4 kB] 1186s Get:5 http://ftpmaster.internal/ubuntu resolute/main ppc64el gir1.2-girepository-2.0 ppc64el 1.86.0-6 [25.3 kB] 1186s dpkg-preconfigure: unable to re-open stdin: No such file or directory 1186s Fetched 185 kB in 0s (450 kB/s) 1186s (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 ... 76461 files and directories currently installed.) 1186s Preparing to unpack .../python3-minimal_3.13.7-2_ppc64el.deb ... 1186s Unpacking python3-minimal (3.13.7-2) over (3.13.7-1) ... 1186s Setting up python3-minimal (3.13.7-2) ... 1187s (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 ... 76461 files and directories currently installed.) 1187s Preparing to unpack .../python3_3.13.7-2_ppc64el.deb ... 1187s running python pre-rtupdate hooks for python3.13... 1187s Unpacking python3 (3.13.7-2) over (3.13.7-1) ... 1187s Preparing to unpack .../libpython3-stdlib_3.13.7-2_ppc64el.deb ... 1187s Unpacking libpython3-stdlib:ppc64el (3.13.7-2) over (3.13.7-1) ... 1187s Preparing to unpack .../libgirepository-1.0-1_1.86.0-6_ppc64el.deb ... 1187s Unpacking libgirepository-1.0-1:ppc64el (1.86.0-6) over (1.84.0-1) ... 1187s Preparing to unpack .../gir1.2-girepository-2.0_1.86.0-6_ppc64el.deb ... 1187s Unpacking gir1.2-girepository-2.0:ppc64el (1.86.0-6) over (1.84.0-1) ... 1187s Setting up libgirepository-1.0-1:ppc64el (1.86.0-6) ... 1187s Setting up libpython3-stdlib:ppc64el (3.13.7-2) ... 1187s Setting up python3 (3.13.7-2) ... 1187s running python rtupdate hooks for python3.13... 1187s running python post-rtupdate hooks for python3.13... 1187s Setting up gir1.2-girepository-2.0:ppc64el (1.86.0-6) ... 1187s Processing triggers for man-db (2.13.1-1) ... 1188s Processing triggers for libc-bin (2.42-0ubuntu3) ... 1188s autopkgtest [19:56:33]: upgrading testbed (apt dist-upgrade and autopurge) 1188s Reading package lists... 1189s Building dependency tree... 1189s Reading state information... 1189s Calculating upgrade... 1189s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1189s Reading package lists... 1189s Building dependency tree... 1189s Reading state information... 1189s Solving dependencies... 1189s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1192s Reading package lists... 1192s Building dependency tree... 1192s Reading state information... 1192s Solving dependencies... 1192s The following NEW packages will be installed: 1192s dconf-gsettings-backend dconf-service dpkg-repack gsettings-desktop-schemas 1192s libdconf1 1193s 0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded. 1193s Need to get 153 kB of archives. 1193s After this operation, 831 kB of additional disk space will be used. 1193s Get:1 http://ftpmaster.internal/ubuntu resolute/main ppc64el libdconf1 ppc64el 0.40.0-5willsync1 [45.0 kB] 1193s Get:2 http://ftpmaster.internal/ubuntu resolute/main ppc64el dconf-service ppc64el 0.40.0-5willsync1 [31.4 kB] 1193s Get:3 http://ftpmaster.internal/ubuntu resolute/main ppc64el dconf-gsettings-backend ppc64el 0.40.0-5willsync1 [27.3 kB] 1193s Get:4 http://ftpmaster.internal/ubuntu resolute/main ppc64el dpkg-repack all 1.54 [11.2 kB] 1193s Get:5 http://ftpmaster.internal/ubuntu resolute/main ppc64el gsettings-desktop-schemas all 49.0-1ubuntu1 [38.1 kB] 1193s Fetched 153 kB in 0s (352 kB/s) 1193s Selecting previously unselected package libdconf1:ppc64el. 1193s (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 ... 76461 files and directories currently installed.) 1193s Preparing to unpack .../libdconf1_0.40.0-5willsync1_ppc64el.deb ... 1193s Unpacking libdconf1:ppc64el (0.40.0-5willsync1) ... 1193s Selecting previously unselected package dconf-service. 1193s Preparing to unpack .../dconf-service_0.40.0-5willsync1_ppc64el.deb ... 1193s Unpacking dconf-service (0.40.0-5willsync1) ... 1193s Selecting previously unselected package dconf-gsettings-backend:ppc64el. 1193s Preparing to unpack .../dconf-gsettings-backend_0.40.0-5willsync1_ppc64el.deb ... 1193s Unpacking dconf-gsettings-backend:ppc64el (0.40.0-5willsync1) ... 1193s Selecting previously unselected package dpkg-repack. 1193s Preparing to unpack .../dpkg-repack_1.54_all.deb ... 1193s Unpacking dpkg-repack (1.54) ... 1193s Selecting previously unselected package gsettings-desktop-schemas. 1193s Preparing to unpack .../gsettings-desktop-schemas_49.0-1ubuntu1_all.deb ... 1193s Unpacking gsettings-desktop-schemas (49.0-1ubuntu1) ... 1193s Setting up dpkg-repack (1.54) ... 1193s Setting up libdconf1:ppc64el (0.40.0-5willsync1) ... 1193s Setting up dconf-service (0.40.0-5willsync1) ... 1193s Setting up dconf-gsettings-backend:ppc64el (0.40.0-5willsync1) ... 1193s Setting up gsettings-desktop-schemas (49.0-1ubuntu1) ... 1193s Processing triggers for man-db (2.13.1-1) ... 1194s Processing triggers for libglib2.0-0t64:ppc64el (2.86.0-2) ... 1194s Processing triggers for libc-bin (2.42-0ubuntu3) ... 1201s autopkgtest [19:56:46]: test 1065022-futureproofing: [----------------------- 1201s + export DEBIAN_FRONTEND=noninteractive 1201s + n=0 1201s + failed=0 1201s + binary_package=libglib2.0-0t64 1201s + future_binary_package=libglib2.0-0xyz 1201s + pwd 1201s + srcdir=/tmp/autopkgtest.GrinVw/build.8ws/src 1201s + mktemp -d 1201s + tmpdir=/tmp/tmp.5JgvAIxHkq 1201s + cd /tmp/tmp.5JgvAIxHkq 1201s + exec 1201s + [ -e /tmp/autopkgtest.GrinVw/build.8ws/src/debian/tests/manual/local-1065022.sources ] 1201s + dpkg-query -W dpkg-repack 1201s dpkg-repack 1.54 1201s + dpkg-query -s libglib2.0-0t64 1201s Package: libglib2.0-0t64 1201s Status: install ok installed 1201s Priority: important 1201s Section: libs 1201s Installed-Size: 6014 1201s Maintainer: Ubuntu Developers 1201s Architecture: ppc64el 1201s Multi-Arch: same 1201s Source: glib2.0 1201s Version: 2.86.0-2 1201s Replaces: libglib2.0-0 (<< 2.80.0-7~) 1201s Provides: libgio-2.0-0 (= 2.86.0-2), libglib-2.0-0 (= 2.86.0-2), libglib2.0-0 (= 2.86.0-2), libgmodule-2.0-0 (= 2.86.0-2), libgobject-2.0-0 (= 2.86.0-2), libgthread-2.0-0 (= 2.86.0-2) 1201s Depends: libatomic1 (>= 4.8), libc6 (>= 2.38), libffi8 (>= 3.4), libmount1 (>= 2.40~rc2), libpcre2-8-0 (>= 10.22), libselinux1 (>= 3.1~), zlib1g (>= 1:1.2.2) 1201s Recommends: libglib2.0-data, shared-mime-info, xdg-user-dirs 1201s Suggests: low-memory-monitor 1201s Breaks: glib-networking-tests (<< 2.70.0~), gnome-keyring (<< 40.0-3~), gnome-shell (<< 44.9-2~), libedataserver-1.2-26 (<< 3.44.3-2~), libgladeui-2-6 (<< 3.22.2), libglib2.0-0 (<< 2.80.0-7~), libsoup2.4-tests (<< 2.72.0-3~) 1201s Description: GLib library of C routines 1201s GLib is a library containing many useful C routines for things such 1201s as trees, hashes, lists, and strings. It is a useful general-purpose 1201s C library used by projects such as GTK+, GIMP, and GNOME. 1201s . 1201s This package contains the shared libraries. 1201s Original-Maintainer: Debian GNOME Maintainers 1201s Homepage: https://gitlab.gnome.org/GNOME/glib 1201s + dpkg-query -W -f ${Version} libglib2.0-0t64 1201s + binary_version=2.86.0-2 1201s + dpkg-repack --generate libglib2.0-0t64 1202s dpkg-repack: warning: unknown information field 'Original-Maintainer' in input data in stanza in dpkg's status file 1202s dpkg-repack: info: created dpkg-repack.libglib2.0-0t64._HrR3_ for libglib2.0-0t64 1202s dpkg-repack: info: to build use: "dpkg-deb --build dpkg-repack.libglib2.0-0t64._HrR3_ ." 1202s + grep -q ^Breaks: dpkg-repack.libglib2.0-0t64._HrR3_/DEBIAN/control 1202s + grep -q ^Provides: dpkg-repack.libglib2.0-0t64._HrR3_/DEBIAN/control 1202s + grep -q ^Replaces: dpkg-repack.libglib2.0-0t64._HrR3_/DEBIAN/control 1202s + env binary_package=libglib2.0-0t64 binary_version=2.86.0-2 future_binary_package=libglib2.0-0xyz perl -p -i -e s/^Package:.*$/Package: $ENV{future_binary_package}/; -e s/^(Breaks:.*)$/$1, $ENV{binary_package}/; -e s/^(Provides:.*)$/$1, $ENV{binary_package} (= $ENV{binary_version})/; -e s/^(Replaces:.*)$/$1, $ENV{binary_package}/; dpkg-repack.libglib2.0-0t64._HrR3_/DEBIAN/control 1202s + dpkg-deb --build dpkg-repack.libglib2.0-0t64._HrR3_ libglib2.0-0xyz.deb 1202s dpkg-deb: building package 'libglib2.0-0xyz' in 'libglib2.0-0xyz.deb'. 1203s + dpkg-deb --info libglib2.0-0xyz.deb 1203s new Debian package, version 2.0. 1203s size 1844248 bytes: control archive=25858 bytes. 1203s 1383 bytes, 24 lines control 1203s 1184 bytes, 14 lines md5sums 1203s 1328 bytes, 44 lines * postinst #!/bin/sh 1203s 2582 bytes, 87 lines * postrm #!/bin/sh 1203s 2408 bytes, 53 lines * preinst #!/bin/sh 1203s 466 bytes, 10 lines shlibs 1203s 172677 bytes, 4529 lines symbols 1203s 178 bytes, 4 lines triggers 1203s Package: libglib2.0-0xyz 1203s Source: glib2.0 1203s Version: 2.86.0-2 1203s Architecture: ppc64el 1203s Maintainer: Ubuntu Developers 1203s Installed-Size: 6014 1203s Depends: libatomic1 (>= 4.8), libc6 (>= 2.38), libffi8 (>= 3.4), libmount1 (>= 2.40~rc2), libpcre2-8-0 (>= 10.22), libselinux1 (>= 3.1~), zlib1g (>= 1:1.2.2) 1203s Recommends: libglib2.0-data, shared-mime-info, xdg-user-dirs 1203s Suggests: low-memory-monitor 1203s Breaks: glib-networking-tests (<< 2.70.0~), gnome-keyring (<< 40.0-3~), gnome-shell (<< 44.9-2~), libedataserver-1.2-26 (<< 3.44.3-2~), libgladeui-2-6 (<< 3.22.2), libglib2.0-0 (<< 2.80.0-7~), libsoup2.4-tests (<< 2.72.0-3~), libglib2.0-0t64 1203s Replaces: libglib2.0-0 (<< 2.80.0-7~), libglib2.0-0t64 1203s Provides: libgio-2.0-0 (= 2.86.0-2), libglib-2.0-0 (= 2.86.0-2), libglib2.0-0 (= 2.86.0-2), libgmodule-2.0-0 (= 2.86.0-2), libgobject-2.0-0 (= 2.86.0-2), libgthread-2.0-0 (= 2.86.0-2), libglib2.0-0t64 (= 2.86.0-2) 1203s Section: libs 1203s Priority: important 1203s Multi-Arch: same 1203s Homepage: https://gitlab.gnome.org/GNOME/glib 1203s Description: GLib library of C routines 1203s GLib is a library containing many useful C routines for things such 1203s as trees, hashes, lists, and strings. It is a useful general-purpose 1203s C library used by projects such as GTK+, GIMP, and GNOME. 1203s . 1203s This package contains the shared libraries. 1203s . 1203s (Repackaged on Sat, 18 Oct 2025 19:56:47 +0000 by dpkg-repack.) 1203s + dpkg-deb --contents libglib2.0-0xyz.deb 1203s drwxr-xr-x root/root 0 2025-10-18 19:56 ./ 1203s drwxr-xr-x root/root 0 2025-10-18 19:56 ./usr/ 1203s drwxr-xr-x root/root 0 2025-10-18 19:56 ./usr/lib/ 1203s drwxr-xr-x root/root 0 2025-10-18 19:56 ./usr/lib/powerpc64le-linux-gnu/ 1203s drwxr-xr-x root/root 0 2025-10-18 19:56 ./usr/lib/powerpc64le-linux-gnu/gio/ 1203s drwxr-xr-x root/root 0 2025-10-18 19:56 ./usr/lib/powerpc64le-linux-gnu/gio/modules/ 1203s drwxr-xr-x root/root 0 2025-10-18 19:56 ./usr/lib/powerpc64le-linux-gnu/glib-2.0/ 1203s -rwxr-xr-x root/root 67832 2025-09-12 02:01 ./usr/lib/powerpc64le-linux-gnu/glib-2.0/gio-launch-desktop 1203s -rwxr-xr-x root/root 67832 2025-09-12 02:01 ./usr/lib/powerpc64le-linux-gnu/glib-2.0/gio-querymodules 1203s -rwxr-xr-x root/root 67872 2025-09-12 02:01 ./usr/lib/powerpc64le-linux-gnu/glib-2.0/glib-compile-schemas 1203s -rw-r--r-- root/root 2756184 2025-09-12 02:01 ./usr/lib/powerpc64le-linux-gnu/libgio-2.0.so.0.8600.0 1203s -rw-r--r-- root/root 1904216 2025-09-12 02:01 ./usr/lib/powerpc64le-linux-gnu/libglib-2.0.so.0.8600.0 1203s -rw-r--r-- root/root 67640 2025-09-12 02:01 ./usr/lib/powerpc64le-linux-gnu/libgmodule-2.0.so.0.8600.0 1203s -rw-r--r-- root/root 592184 2025-09-12 02:01 ./usr/lib/powerpc64le-linux-gnu/libgobject-2.0.so.0.8600.0 1203s -rw-r--r-- root/root 67600 2025-09-12 02:01 ./usr/lib/powerpc64le-linux-gnu/libgthread-2.0.so.0.8600.0 1203s drwxr-xr-x root/root 0 2025-10-18 19:56 ./usr/share/ 1203s drwxr-xr-x root/root 0 2025-10-18 19:56 ./usr/share/doc/ 1203s drwxr-xr-x root/root 0 2025-10-18 19:56 ./usr/share/doc/libglib2.0-0t64/ 1203s -rw-r--r-- root/root 256698 2025-09-05 12:42 ./usr/share/doc/libglib2.0-0t64/NEWS.gz 1203s -rw-r--r-- root/root 1703 2025-09-12 02:01 ./usr/share/doc/libglib2.0-0t64/README.Debian 1203s -rw-r--r-- root/root 3248 2025-09-05 12:42 ./usr/share/doc/libglib2.0-0t64/README.md 1203s -rw-r--r-- root/root 37088 2025-09-12 02:01 ./usr/share/doc/libglib2.0-0t64/changelog.Debian.gz 1203s -rw-r--r-- root/root 55103 2025-09-12 02:01 ./usr/share/doc/libglib2.0-0t64/copyright 1203s drwxr-xr-x root/root 0 2025-10-18 19:56 ./usr/share/glib-2.0/ 1203s drwxr-xr-x root/root 0 2025-10-18 19:56 ./usr/share/glib-2.0/schemas/ 1203s drwxr-xr-x root/root 0 2025-10-18 19:56 ./usr/share/lintian/ 1203s drwxr-xr-x root/root 0 2025-10-18 19:56 ./usr/share/lintian/overrides/ 1203s -rw-r--r-- root/root 520 2025-09-12 02:01 ./usr/share/lintian/overrides/libglib2.0-0t64 1203s lrwxrwxrwx root/root 0 2025-09-12 02:01 ./usr/lib/powerpc64le-linux-gnu/libgio-2.0.so.0 -> libgio-2.0.so.0.8600.0 1203s lrwxrwxrwx root/root 0 2025-09-12 02:01 ./usr/lib/powerpc64le-linux-gnu/libglib-2.0.so.0 -> libglib-2.0.so.0.8600.0 1203s lrwxrwxrwx root/root 0 2025-09-12 02:01 ./usr/lib/powerpc64le-linux-gnu/libgmodule-2.0.so.0 -> libgmodule-2.0.so.0.8600.0 1203s lrwxrwxrwx root/root 0 2025-09-12 02:01 ./usr/lib/powerpc64le-linux-gnu/libgobject-2.0.so.0 -> libgobject-2.0.so.0.8600.0 1203s lrwxrwxrwx root/root 0 2025-09-12 02:01 ./usr/lib/powerpc64le-linux-gnu/libgthread-2.0.so.0 -> libgthread-2.0.so.0.8600.0 1203s + apt-get -y install ./libglib2.0-0xyz.deb dconf-gsettings-backend gsettings-desktop-schemas 1203s Reading package lists... 1204s Building dependency tree... 1204s Reading state information... 1204s dconf-gsettings-backend is already the newest version (0.40.0-5willsync1). 1204s gsettings-desktop-schemas is already the newest version (49.0-1ubuntu1). 1204s Solving dependencies... 1204s The following additional packages will be installed: 1204s xdg-user-dirs 1204s Suggested packages: 1204s low-memory-monitor 1204s The following packages will be REMOVED: 1204s libglib2.0-0t64 1204s The following NEW packages will be installed: 1204s libglib2.0-0xyz xdg-user-dirs 1204s 0 upgraded, 2 newly installed, 1 to remove and 0 not upgraded. 1204s Need to get 20.8 kB/1865 kB of archives. 1204s After this operation, 213 kB of additional disk space will be used. 1204s Get:1 /tmp/tmp.5JgvAIxHkq/libglib2.0-0xyz.deb libglib2.0-0xyz ppc64el 2.86.0-2 [1844 kB] 1204s Get:2 http://ftpmaster.internal/ubuntu resolute/main ppc64el xdg-user-dirs ppc64el 0.18-3 [20.8 kB] 1204s Fetched 20.8 kB in 0s (98.3 kB/s) 1204s dpkg: libglib2.0-0t64:ppc64el: dependency problems, but removing anyway as you requested: 1204s shared-mime-info depends on libglib2.0-0t64 (>= 2.76.0). 1204s python3-gi depends on libglib2.0-0t64 (>= 2.78.0). 1204s python3-dbus depends on libglib2.0-0t64 (>= 2.16.0). 1204s netplan.io depends on libglib2.0-0t64 (>= 2.70.0). 1204s netplan-generator depends on libglib2.0-0t64 (>= 2.70.0). 1204s libnetplan1:ppc64el depends on libglib2.0-0t64 (>= 2.76.0). 1204s libgirepository-1.0-1:ppc64el depends on libglib2.0-0t64 (>= 2.82.0). 1204s libdconf1:ppc64el depends on libglib2.0-0t64 (>= 2.80.0). 1204s gir1.2-glib-2.0:ppc64el depends on libglib2.0-0t64 (= 2.86.0-2). 1204s dconf-service depends on libglib2.0-0t64 (>= 2.83.0). 1204s dconf-gsettings-backend:ppc64el depends on libglib2.0-0t64 (>= 2.80.0). 1204s 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 ... 76528 files and directories currently installed.) 1204s Removing libglib2.0-0t64:ppc64el (2.86.0-2) ... 1205s Selecting previously unselected package libglib2.0-0xyz:ppc64el. 1205s (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 ... 76509 files and directories currently installed.) 1205s Preparing to unpack .../libglib2.0-0xyz.deb ... 1205s Unpacking libglib2.0-0xyz:ppc64el (2.86.0-2) ... 1205s Selecting previously unselected package xdg-user-dirs. 1205s Preparing to unpack .../xdg-user-dirs_0.18-3_ppc64el.deb ... 1205s Unpacking xdg-user-dirs (0.18-3) ... 1205s Setting up xdg-user-dirs (0.18-3) ... 1205s Created symlink '/etc/systemd/user/graphical-session-pre.target.wants/xdg-user-dirs.service' → '/usr/lib/systemd/user/xdg-user-dirs.service'. 1205s Setting up libglib2.0-0xyz:ppc64el (2.86.0-2) ... 1205s Processing triggers for libc-bin (2.42-0ubuntu3) ... 1205s Processing triggers for man-db (2.13.1-1) ... 1206s ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1206s ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1206s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1206s + n=1 1206s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1206s + echo ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1206s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1206s + n=2 1206s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1206s + echo ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1206s ok 3 - test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1206s ok 4 - test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1206s ok 5 - test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1206s ok 6 - test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1206s + assert test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1206s + n=3 1206s + test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1206s + echo ok 3 - test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1206s + assert test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1206s + n=4 1206s + test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1206s + echo ok 4 - test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1206s + assert test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1206s + n=5 1206s + test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1206s + echo ok 5 - test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1206s + assert test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1206s + n=6 1206s + test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1206s + echo ok 6 - test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1206s + apt-get -y purge libglib2.0-0t64 1206s Reading package lists... 1206s Building dependency tree... 1206s Reading state information... 1206s Solving dependencies... 1206s The following packages will be REMOVED: 1206s libglib2.0-0t64* 1206s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 1206s After this operation, 0 B of additional disk space will be used. 1207s (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 ... 76543 files and directories currently installed.) 1207s Purging configuration files for libglib2.0-0t64:ppc64el (2.86.0-2) ... 1207s ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1207s ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1207s ok 9 - test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1207s ok 10 - test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1207s ok 11 - test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1207s ok 12 - test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1207s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1207s + n=7 1207s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1207s + echo ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1207s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1207s + n=8 1207s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1207s + echo ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1207s + assert test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1207s + n=9 1207s + test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1207s + echo ok 9 - test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1207s + assert test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1207s + n=10 1207s + test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1207s + echo ok 10 - test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1207s + assert test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1207s + n=11 1207s + test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1207s + echo ok 11 - test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1207s + assert test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1207s + n=12 1207s + test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1207s + echo ok 12 - test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1207s + apt-get -y purge libglib2.0-0xyz 1207s Reading package lists... 1207s Building dependency tree... 1207s Reading state information... 1207s Solving dependencies... 1207s The following additional packages will be installed: 1207s libglib2.0-0t64 1207s Suggested packages: 1207s low-memory-monitor 1207s The following packages will be REMOVED: 1207s libglib2.0-0xyz* 1207s The following NEW packages will be installed: 1207s libglib2.0-0t64 1207s 0 upgraded, 1 newly installed, 1 to remove and 0 not upgraded. 1207s Need to get 1844 kB of archives. 1207s After this operation, 0 B of additional disk space will be used. 1207s Get:1 http://ftpmaster.internal/ubuntu resolute/main ppc64el libglib2.0-0t64 ppc64el 2.86.0-2 [1844 kB] 1209s Fetched 1844 kB in 1s (1367 kB/s) 1209s dpkg: libglib2.0-0xyz:ppc64el: dependency problems, but removing anyway as you requested: 1209s shared-mime-info depends on libglib2.0-0t64 (>= 2.76.0); however: 1209s Package libglib2.0-0t64 is not installed. 1209s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1209s python3-gi depends on libglib2.0-0t64 (>= 2.78.0); however: 1209s Package libglib2.0-0t64 is not installed. 1209s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1209s python3-dbus depends on libglib2.0-0t64 (>= 2.16.0); however: 1209s Package libglib2.0-0t64 is not installed. 1209s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1209s netplan.io depends on libglib2.0-0t64 (>= 2.70.0); however: 1209s Package libglib2.0-0t64 is not installed. 1209s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1209s netplan-generator depends on libglib2.0-0t64 (>= 2.70.0); however: 1209s Package libglib2.0-0t64 is not installed. 1209s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1209s libnetplan1:ppc64el depends on libglib2.0-0t64 (>= 2.76.0); however: 1209s Package libglib2.0-0t64 is not installed. 1209s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1209s libgirepository-1.0-1:ppc64el depends on libglib2.0-0t64 (>= 2.82.0); however: 1209s Package libglib2.0-0t64 is not installed. 1209s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1209s libdconf1:ppc64el depends on libglib2.0-0t64 (>= 2.80.0); however: 1209s Package libglib2.0-0t64 is not installed. 1209s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1209s gir1.2-glib-2.0:ppc64el depends on libglib2.0-0t64 (= 2.86.0-2); however: 1209s Package libglib2.0-0t64 is not installed. 1209s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1209s dconf-service depends on libglib2.0-0t64 (>= 2.83.0); however: 1209s Package libglib2.0-0t64 is not installed. 1209s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1209s dconf-gsettings-backend:ppc64el depends on libglib2.0-0t64 (>= 2.80.0); however: 1209s Package libglib2.0-0t64 is not installed. 1209s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1209s 1209s (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 ... 76543 files and directories currently installed.) 1209s Removing libglib2.0-0xyz:ppc64el (2.86.0-2) ... 1209s Selecting previously unselected package libglib2.0-0t64:ppc64el. 1209s (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 ... 76524 files and directories currently installed.) 1209s Preparing to unpack .../libglib2.0-0t64_2.86.0-2_ppc64el.deb ... 1209s Unpacking libglib2.0-0t64:ppc64el (2.86.0-2) ... 1209s Setting up libglib2.0-0t64:ppc64el (2.86.0-2) ... 1209s Processing triggers for libc-bin (2.42-0ubuntu3) ... 1209s (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 ... 76543 files and directories currently installed.) 1209s Purging configuration files for libglib2.0-0xyz:ppc64el (2.86.0-2) ... 1209s not ok 13 - should not have succeeded: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1209s not ok 14 - should not have succeeded: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1209s not ok 15 - should not have succeeded: test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1209s not ok 16 - should not have succeeded: test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1209s 1..16 1209s + assert_not test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1209s + n=13 1209s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1209s + echo not ok 13 - should not have succeeded: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1209s + failed=1 1209s + assert_not test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1209s + n=14 1209s + test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1209s + echo not ok 14 - should not have succeeded: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1209s + failed=1 1209s + assert_not test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1209s + n=15 1209s + test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1209s + echo not ok 15 - should not have succeeded: test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1209s + failed=1 1209s + assert_not test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1209s + n=16 1209s + test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1209s + echo not ok 16 - should not have succeeded: test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1209s + failed=1 1209s + echo 1..16 1209s + exit 1 1210s autopkgtest [19:56:55]: test 1065022-futureproofing: -----------------------] 1210s autopkgtest [19:56:55]: test 1065022-futureproofing: - - - - - - - - - - results - - - - - - - - - - 1210s 1065022-futureproofing FLAKY non-zero exit status 1 1211s autopkgtest [19:56:56]: @@@@@@@@@@@@@@@@@@@@ summary 1211s build PASS (superficial) 1211s build-static PASS (superficial) 1211s girepository-tools PASS (superficial) 1211s libgio-2.0-dev-bin PASS (superficial) 1211s libglib2.0-dev PASS (superficial) 1211s installed-tests PASS 1211s closure-refcount PASS 1211s debugcontroller PASS 1211s gdbus-server-auth PASS 1211s gdbus-threading PASS 1211s gmenumodel PASS 1211s mainloop PASS 1211s memory-monitor-dbus PASS 1211s socket PASS 1211s testfilemonitor PASS 1211s thread-pool-slow PASS 1211s threadtests PASS 1211s timeout PASS 1211s timer PASS 1211s 1065022-futureproofing FLAKY non-zero exit status 1